* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --pink: #FF4F79;
    --green: #00D26A;
    --dark: #0a0e1a;
    --dark-light: #151b2d;
    --dark-lighter: #1f2937;
    --text: #e5e7eb;
    --text-dim: #9ca3af;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    animation: pageLoad 0.6s ease-out;
}

/* Selection styling */
::selection {
    background: var(--pink);
    color: white;
}

::-moz-selection {
    background: var(--pink);
    color: white;
}

/* Enhanced focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
    border-radius: 4px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* IP address text selection styling */
.ip-address, .server-status strong {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    cursor: text;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--green));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--green), var(--pink));
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, rgba(21, 27, 45, 0.98), rgba(15, 20, 35, 0.98));
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    border: 1px solid rgba(255, 79, 121, 0.3);
    min-width: 280px;
    max-width: 400px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--green);
}

.toast-info {
    border-left: 4px solid var(--pink);
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: var(--green);
    color: white;
}

.toast-info .toast-icon {
    background: var(--pink);
    color: white;
}

.toast-message {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink), var(--green));
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 79, 121, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 25px rgba(255, 79, 121, 0.6);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
    transition: transform 0.3s ease;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-transition {
    animation: pageTransition 0.4s ease-in-out;
}

@keyframes pageTransition {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.container, .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 79, 121, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    text-decoration: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo {
    font-size: 2rem;
}

.brand-name {
    background: linear-gradient(135deg, var(--pink) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--pink), var(--green));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--pink);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--green) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 79, 121, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--pink);
}

.btn-secondary:hover {
    background: var(--pink);
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-light) 0%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--green), transparent);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: slideDown 0.6s ease-out;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    animation: slideDown 0.6s ease-out 0.1s both;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    animation: slideDown 0.6s ease-out 0.2s both;
}

.header-stat {
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.5s ease forwards;
}

.header-stat:nth-child(1) { animation-delay: 0.3s; }
.header-stat:nth-child(2) { animation-delay: 0.4s; }
.header-stat:nth-child(3) { animation-delay: 0.5s; }

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.3rem;
}

.stat-label {
    display: block;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 79, 121, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 210, 106, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

/* Server Status */
.server-status {
    background: var(--dark-light);
    border: 1px solid rgba(255, 79, 121, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(255, 79, 121, 0.1);
}

.status-header {
    margin-bottom: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--green);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.status-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.status-item {
    text-align: center;
}

.status-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.status-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pink);
}

.server-ip {
    color: var(--green);
    font-family: 'Courier New', monospace;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--pink) 0%, var(--green) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 79, 121, 0.4);
}

.btn-secondary {
    background: var(--dark-light);
    color: var(--text);
    border: 2px solid var(--pink);
}

.btn-secondary:hover {
    background: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 79, 121, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--pink);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--pink);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 15px;
        opacity: 0;
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

/* Features Section */
.features {
    background: var(--dark-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 79, 121, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--pink);
    box-shadow: 0 15px 40px rgba(255, 79, 121, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--pink);
}

.feature-card p {
    color: var(--text-dim);
}

/* Game Modes Section */
.gamemodes {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.gamemodes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pink), var(--green), transparent);
}

.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.gamemode-card {
    background: linear-gradient(135deg, rgba(21, 27, 45, 0.9), rgba(15, 20, 35, 0.9));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 79, 121, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gamemode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--green));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.gamemode-card:hover {
    transform: translateY(-8px);
    border-color: var(--pink);
    box-shadow: 0 20px 60px rgba(255, 79, 121, 0.3);
}

.gamemode-card:hover::before {
    transform: scaleX(1);
}

.gamemode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.gamemode-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 79, 121, 0.5));
}

.gamemode-header h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--pink), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gamemode-description {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.gamemode-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.stat-badge {
    background: rgba(255, 79, 121, 0.1);
    color: var(--pink);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255, 79, 121, 0.2);
}

.player-count {
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: auto;
}

/* Leaderboard Section */
.leaderboard-container {
    background: var(--dark-light);
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 79, 121, 0.2);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--dark);
    font-weight: 700;
    color: var(--pink);
    border-bottom: 2px solid var(--pink);
}

.leaderboard-entry {
    display: grid;
    grid-template-columns: 100px 1fr 150px 150px;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 79, 121, 0.1);
    transition: all 0.3s ease;
    align-items: center;
}

.leaderboard-entry:hover {
    background: var(--dark);
}

.leaderboard-entry:last-child {
    border-bottom: none;
}

.rank {
    font-size: 1.5rem;
    font-weight: 700;
}

.player {
    font-weight: 600;
    color: var(--text);
}

.wins, .kd {
    font-weight: 600;
    color: var(--green);
}

.rank-1, .rank-2, .rank-3 {
    background: linear-gradient(90deg, rgba(255, 79, 121, 0.05) 0%, transparent 100%);
}

/* About Section */
.about {
    background: var(--dark-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--dark);
    border-radius: 15px;
    border: 1px solid rgba(255, 79, 121, 0.2);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--pink);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 79, 121, 0.1) 0%, rgba(0, 210, 106, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 79, 121, 0.3);
}

.placeholder-icon {
    font-size: 10rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    padding: 2rem;
    background: var(--dark-light);
    border-radius: 15px;
    border: 1px solid rgba(255, 79, 121, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--pink);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--pink);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-dim);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: var(--dark-light);
    border: 1px solid rgba(255, 79, 121, 0.2);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 20px rgba(255, 79, 121, 0.2);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #2d5a3f 100%);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 79, 121, 0.1);
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.footer-brand-section {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 400;
}

.footer-connect h4,
.footer-links-section h4 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon.discord {
    background: #5865F2;
    color: white;
}

.social-icon.tiktok {
    background: #000000;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.twitter {
    background: #000000;
    color: white;
}

.social-icon.youtube {
    background: #FF0000;
    color: white;
}

.social-icon.email {
    background: #FFA500;
    color: white;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 79, 121, 0.5);
    filter: brightness(1.1);
}

.social-icon:active {
    transform: translateY(-2px) scale(1.05);
}

.footer-links-section {
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--pink);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

.status-icon {
    font-size: 1.2rem;
}

.status-text {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-copyright {
    text-align: right;
    flex: 1;
}

.footer-copyright p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0.2rem 0;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    opacity: 0.7;
}

/* Rules Page */
.rules-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.rules-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.overview-card {
    background: linear-gradient(135deg, rgba(21, 27, 45, 0.5), rgba(15, 20, 35, 0.5));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 79, 121, 0.2);
    transition: all 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink);
    box-shadow: 0 10px 30px rgba(255, 79, 121, 0.2);
}

.overview-card h3 {
    color: var(--pink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.overview-card p {
    color: var(--text-dim);
    line-height: 1.7;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rule-category {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 79, 121, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-icon {
    font-size: 2rem;
}

.category-header h2 {
    color: var(--pink);
    font-size: 1.8rem;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 79, 121, 0.05);
    transform: translateX(10px);
}

.rule-number {
    background: linear-gradient(135deg, var(--pink), var(--green));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.rule-item:hover .rule-number {
    transform: rotate(360deg) scale(1.1);
}

.rule-content h3 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.rule-content p {
    color: var(--text-dim);
    line-height: 1.8;
}

.punishment-info {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 79, 121, 0.2);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 2rem;
}

.info-header h2 {
    color: var(--pink);
    font-size: 1.8rem;
}

.punishment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.punishment-card {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 79, 121, 0.2);
    text-align: center;
}

.punishment-card.severe {
    border-color: var(--pink);
    background: linear-gradient(135deg, rgba(255, 79, 121, 0.1), rgba(255, 79, 121, 0.05));
}

.punishment-card h3 {
    color: var(--pink);
    margin-bottom: 0.5rem;
}

.punishment-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.appeal-notice {
    background: var(--dark);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--green);
}

.appeal-notice a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
}

.appeal-notice a:hover {
    text-decoration: underline;
}

/* Staff Page */
.staff-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.staff-category {
    margin-bottom: 4rem;
}

.staff-category-title {
    text-align: center;
    margin-bottom: 2rem;
}

.category-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
}

.category-badge.owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.category-badge.management {
    background: linear-gradient(135deg, var(--pink), #f34165);
    color: white;
}

.category-badge.admin {
    background: linear-gradient(135deg, var(--pink), #ff1744);
    color: white;
}

.category-badge.moderator {
    background: linear-gradient(135deg, #2196F3, #00BCD4);
    color: white;
}

.category-badge.helper {
    background: linear-gradient(135deg, var(--green), #00E676);
    color: white;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.staff-card {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 79, 121, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.staff-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--pink);
    box-shadow: 0 15px 40px rgba(255, 79, 121, 0.3);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--pink);
    transition: all 0.3s ease;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 79, 121, 0.4);
}

.staff-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.staff-name {
    font-size: 1.3rem;
    color: var(--text);
}

.staff-role {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 auto;
}

.staff-role.owner {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.staff-role.management {
    background: linear-gradient(135deg, var(--pink), #f34165);
    color: white;
}

.staff-role.admin {
    background: linear-gradient(135deg, var(--pink), #ff1744);
    color: white;
}

.staff-role.moderator {
    background: linear-gradient(135deg, #2196F3, #00BCD4);
    color: white;
}

.staff-role.helper {
    background: linear-gradient(135deg, var(--green), #00E676);
    color: white;
}

.staff-bio {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.staff-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.staff-link {
    color: var(--pink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.staff-link:hover {
    text-decoration: underline;
}

.application-section {
    margin-top: 4rem;
}

.application-card {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    border: 2px solid var(--pink);
}

.application-card h2 {
    color: var(--pink);
    margin-bottom: 1rem;
}

.application-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.requirements {
    background: var(--dark);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.requirements h3 {
    color: var(--green);
    margin-bottom: 1rem;
}

.requirements ul {
    list-style: none;
    padding: 0;
}

.requirements li {
    color: var(--text-dim);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* About Page */
.about-section {
    padding: 4rem 0;
    min-height: 60vh;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    color: var(--pink);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: var(--text-dim);
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--dark-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 79, 121, 0.1);
}

.info-card h3 {
    color: var(--pink);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.info-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

.info-label {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.gamemode-list {
    list-style: none;
    padding: 0;
}

.gamemode-list li {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: var(--dark);
    border-radius: 8px;
    color: var(--text);
}

.info-card p {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-card .btn {
    width: 100%;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .btn-small {
        display: none;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .status-details {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .header-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .features-grid,
    .gamemodes-grid {
        grid-template-columns: 1fr;
    }

    .gamemode-card {
        padding: 1.5rem;
    }

    .rules-overview {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
    }

    .placeholder-icon {
        font-size: 8rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .punishment-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand-section,
    .footer-connect,
    .footer-links-section {
        text-align: center;
    }

    .footer-links-section .footer-links {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-copyright {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Keyboard Help Modal */
.keyboard-help-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.keyboard-help-content {
    background: var(--dark-light);
    border: 1px solid rgba(255, 79, 121, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

.keyboard-help-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--pink), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shortcuts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.shortcut-item kbd {
    background: var(--darker);
    color: var(--pink);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    border: 1px solid rgba(255, 79, 121, 0.3);
    box-shadow: 0 2px 0 rgba(255, 79, 121, 0.2);
    font-size: 0.85rem;
}

.shortcut-item span {
    color: var(--text);
    flex: 1;
}

.shortcut-item .tip {
    color: var(--green);
    font-style: italic;
}

.close-help {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--pink), #ff6b94);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-help:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 79, 121, 0.4);
}

/* Loading Progress Bar */
.loading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--green));
    z-index: 10001;
    transition: width 0.3s ease, opacity 0.3s ease;
}

/* Link Tooltip */
.link-tooltip {
    position: absolute;
    background: var(--dark-light);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 79, 121, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.link-tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced card hover effects */
.feature-card,
.gamemode-card,
.staff-card,
.overview-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover,
.gamemode-card:hover,
.staff-card:hover,
.overview-card:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Shake animation for errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.4s ease;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.btn-primary:active {
    animation: pulse 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glowing text effect */
.gradient-text {
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 79, 121, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 210, 106, 0.8));
    }
}
