@charset "utf-8";

/* ========================================
   L2ATLAS UNIFIED DESIGN SYSTEM
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background: #0D0E1A;
    line-height: 1.4;
}

.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(135deg, rgba(13, 14, 26, 0.9), rgba(18, 20, 35, 0.95)),
            url(../images/bg.jpg) center/cover no-repeat;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(100, 255, 218, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(0, 0, 0, 0.4) 70%);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(13, 14, 26, 0.95), rgba(18, 20, 35, 0.98));
    backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 4px 25px rgba(100, 255, 218, 0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    height: 80px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 14, 26, 0.98);
    height: 70px;
    padding: 0.8rem 2rem;
    box-shadow: 0 4px 30px rgba(100, 255, 218, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.4));
    transition: all 0.3s ease;
}

.brand-logo:hover {
    filter: drop-shadow(0 0 15px rgba(100, 255, 218, 0.6));
    transform: scale(1.05);
}

.brand-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00FFDA;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #00FFDA;
    background: rgba(100, 255, 218, 0.15);
    text-shadow: 0 0 8px rgba(100, 255, 218, 0.5);
}

.nav-link.donate-link {
    background: linear-gradient(135deg, #FF9B00, #e67e22);
    color: #ffffff;
    font-weight: 600;
    border-radius: 15px;
    padding: 0.5rem 1.2rem;
}

.nav-link.donate-link:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-1px);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: #00FFDA;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-content {
    margin-top: 80px;
    padding: 0;
    min-height: calc(100vh - 80px);
}

.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 70px);
    gap: 3rem;
    position: relative;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    flex: 1;
}

.hero-status {
    position: absolute;
    top: 3rem;
    right: 2rem;
    width: 320px;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    margin-top: -1rem;
}

.hero-logo {
    width: clamp(180px, 22.5vw, 300px);
    height: auto;
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.6));
    transition: all 0.3s ease;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.hero-logo:hover {
    filter: drop-shadow(0 0 30px rgba(100, 255, 218, 0.8));
    transform: scale(1.05);
}

@keyframes logoGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.6));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(100, 255, 218, 0.9)) drop-shadow(0 0 40px rgba(100, 255, 218, 0.4));
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.8);
    }
    to {
        text-shadow: 0 0 40px rgba(100, 255, 218, 1), 0 0 50px rgba(100, 255, 218, 0.5);
    }
}

.hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.server-launch,
.server-info {
    background: rgba(18, 20, 35, 0.8);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
}

.launch-text,
.server-status {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.join-message {
    color: #00e921;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 233, 33, 0.4);
}

.countdown-box {
    text-align: center;
    max-width: 600px;
    min-width: 400px;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(139, 92, 246, 0.05));
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2),
    inset 0 0 20px rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -60px;
    right: -60px;
    bottom: -10px;
    background: linear-gradient(45deg,
    transparent,
    rgba(100, 255, 218, 0.4),
    transparent,
    rgba(139, 92, 246, 0.3));
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.countdown-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00FFDA;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
    animation: titlePulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    from {
        text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 25px rgba(100, 255, 218, 0.9);
        transform: scale(1.05);
    }
}

.countdown {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #FF9B00;
    text-shadow: 0 0 20px rgba(255, 155, 0, 0.8),
    0 0 40px rgba(255, 155, 0, 0.4),
    0 0 60px rgba(255, 155, 0, 0.2);
    letter-spacing: 3px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.countdown-segment {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(18, 20, 35, 0.8);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.4);
    width: 100px;
    position: relative;
    transition: all 0.3s ease;
}

.countdown-segment:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.countdown-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(100, 255, 218, 0.1));
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.countdown-segment:hover::before {
    opacity: 1;
}

.countdown-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8),
    0 0 40px rgba(100, 255, 218, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    animation: numberPulse 1s ease-in-out infinite;
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.countdown-label {
    font-size: 0.9rem;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 600;
}

@keyframes liveGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.launch-times {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.launch-times span {
    background: rgba(100, 255, 218, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    font-weight: 600;
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B35, #E55527);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E55527, #CC4A1F);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6);
    border-color: rgba(255, 107, 53, 0.8);
}

.btn-secondary {
    background: transparent;
    color: #00FFDA;
    border-color: #00FFDA;
    border: 2px solid #00FFDA;
}

.btn-secondary:hover {
    background: #00FFDA;
    color: #0D0E1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.3);
}

.ranking-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.ranking-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #00FFDA;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.status-item span:first-child {
    color: #a0aab5;
    font-weight: 500;
    font-size: 0.9rem;
}

.status-online {
    color: #00e921;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 233, 33, 0.4);
}

.status-offline {
    color: #e74c3c;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(231, 76, 60, 0.4);
}

.modern-status-card {
    background: rgba(18, 20, 35, 0.95);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.modern-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00FFDA, #8B5CF6, #FF6B35);
    border-radius: 16px 16px 0 0;
}

.server-status-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.status-indicator {
    position: relative;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(100, 255, 218, 0.3);
    box-sizing: border-box;
}

.status-indicator.online {
    border-color: rgba(0, 233, 33, 0.5);
    background: radial-gradient(circle, rgba(0, 233, 33, 0.1) 0%, rgba(0, 233, 33, 0.05) 70%, transparent 100%);
}

.status-indicator.offline {
    border-color: rgba(231, 76, 60, 0.5);
    background: radial-gradient(circle, rgba(231, 76, 60, 0.1) 0%, rgba(231, 76, 60, 0.05) 70%, transparent 100%);
}

.status-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0;
}

.status-indicator.online .status-pulse {
    background: rgba(0, 233, 33, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.offline .status-pulse {
    background: rgba(231, 76, 60, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.status-icon {
    font-size: 2rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.status-indicator.online .status-icon {
    color: #00e921;
    text-shadow: 0 0 15px rgba(0, 233, 33, 0.6);
}

.status-indicator.offline .status-icon {
    color: #e74c3c;
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
}

.status-text h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.status-label {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.status-label.online {
    color: #00e921;
    text-shadow: 0 0 10px rgba(0, 233, 33, 0.6);
}

.status-label.offline {
    color: #e74c3c;
    text-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
}

.players-online {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 12px;
}

.players-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.players-icon i {
    font-size: 1.5rem;
    color: #00FFDA;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}

.players-count {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00FFDA;
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
    margin: 0;
    line-height: 1;
}

.players-label {
    font-size: 0.9rem;
    color: #a0aab5;
    font-weight: 500;
    margin: 0;
}

.info-item i {
    color: #8B5CF6;
    font-size: 0.9rem;
}

.info-item span {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.rank-item {
    display: grid;
    grid-template-columns: 40px 1fr 45px;
    align-items: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
}

.rank-item:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
}

.rank-pos {
    text-align: center;
}

.rank-icon {
    width: 20px;
    height: 20px;
}

.rank-number {
    font-weight: 700;
    color: #8B5CF6;
    font-size: 0.85rem;
}

.rank-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-score {
    color: #00e921;
    font-weight: 700;
    text-align: right;
    font-size: 0.85rem;
    text-shadow: 0 0 5px rgba(0, 233, 33, 0.3);
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 0.8rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, #FF6B35, #E55527);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.view-more:hover {
    background: linear-gradient(135deg, #E55527, #CC4A1F);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px 300px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.vote-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.vote-card h3,
.video-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #00FFDA;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-card {
    width: clamp(300px, 80vw, 1000px);
    height: auto;
    background: rgba(18, 20, 35, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

/* Streams Section */
.streams-container {
    max-width: 1400px;
    margin: 0 auto;
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .streams-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 1024px) {
    .streams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .streams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stream-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.stream-card iframe {
    width: 100%;
    min-width: 400px;
    height: 300px;
    border: none;
    border-radius: 8px;
    display: block;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.event-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.event-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #00FFDA;
    margin-bottom: 0.3rem;
}

.event-info p {
    font-size: 0.85rem;
    color: #a0aab5;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.info-btn {
    background: linear-gradient(135deg, #FF6B35, #E55527);
    color: #ffffff;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.info-btn:hover {
    background: linear-gradient(135deg, #E55527, #CC4A1F);
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.vote-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vote-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.vote-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.3);
    color: #ffffff;
    text-decoration: none;
    transform: translateX(3px);
}

.vote-link i {
    color: #8B5CF6;
    font-size: 1rem;
}

.video-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 8px;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.footer {
    background: rgba(13, 14, 26, 0.95);
    border-top: 1px solid rgba(100, 255, 218, 0.3);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-info p {
    color: #6c757d;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.footer-license {
    font-size: 0.75rem;
}

.footer-license a {
    color: #00FFDA;
    text-decoration: none;
}

.rating-logo {
    width: 150px;
}

@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr 350px;
        gap: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr 250px 250px;
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .launch-times {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 1rem;
    }

    .hero-section {
        padding: 1.5rem 1rem;
        min-height: auto;
        flex-direction: column;
    }

    .hero-status {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .ranking-card,
    .vote-card,
    .video-card,
    .modern-status-card {
        padding: 1rem;
    }

    .server-status-main {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .status-indicator {
        width: 60px;
        height: 60px;
    }

    .status-icon {
        font-size: 1.5rem;
    }

    .players-online {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .players-icon {
        width: 40px;
        height: 40px;
    }

    .players-count {
        font-size: 1.5rem;
    }

    .event-item {
        padding: 0.8rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }

    .content-grid {
        padding: 1rem;
    }

    .rank-item {
        grid-template-columns: 30px 1fr 40px;
        padding: 0.5rem;
    }

    .event-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.info-modal-content {
    background: linear-gradient(135deg, rgba(18, 20, 35, 0.95), rgba(13, 14, 26, 0.95));
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.4);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    position: relative;
}

.info-modal-content h2 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.info-modal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.info-modal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.info-modal-content li {
    margin-bottom: 0.5rem;
    color: #a0aab5;
    line-height: 1.5;
}

.info-modal-content a {
    color: #00FFDA;
    text-decoration: none;
}

.info-modal-content a:hover {
    text-decoration: underline;
}

.close {
    color: #a0aab5;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #00FFDA;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.nav-menu.active {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(13, 14, 26, 0.95);
    flex-direction: column;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 255, 218, 0.3);
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.floating-social {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-bubble {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(18, 20, 35, 0.9), rgba(13, 14, 26, 0.95));
    border: 2px solid rgba(100, 255, 218, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #00FFDA;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.1);
}

.social-bubble:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.2), rgba(139, 92, 246, 0.1));
    border-color: rgba(100, 255, 218, 0.8);
    box-shadow: 0 6px 20px rgba(100, 255, 218, 0.3);
    color: #FFFFFF;
}

.social-bubble i {
    transition: all 0.3s ease;
}

.social-bubble:hover i {
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.8);
}

.floating-nav {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
    height: 22px;
}

.nav-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #00FFDA;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.nav-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(100, 255, 218, 0.3);
    border: 2px solid rgba(100, 255, 218, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-item.active .nav-dot {
    background: rgba(100, 255, 218, 0.8);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
    transform: scale(1.2);
}

.nav-item.active .nav-text {
    opacity: 1;
    transform: translateX(0);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.nav-item:hover .nav-dot {
    background: rgba(100, 255, 218, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
}

.nav-item:not(.active) {
    position: relative;
}

.nav-item:not(.active)::before {
    content: attr(data-tooltip) ' →';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #00FFDA;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.nav-item:not(.active):hover::before {
    opacity: 1;
}

.nav-item:not(.active):hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .floating-social {
        left: 1rem;
        gap: 0.8rem;
    }

    .social-bubble {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .floating-nav {
        right: 1rem;
        gap: 0.6rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .floating-social {
        display: none;
    }

    .floating-nav {
        display: none;
    }
}

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

.page-header {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
    margin-top: 80px;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #00FFDA;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.page-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: #8B5CF6;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.account-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.info-section {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 0.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.4));
}

.info-grid {
    display: grid;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.info-item:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateX(5px);
}

.info-bullet {
    color: #FF6B35;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.info-item span:not(.info-bullet) {
    color: #ffffff;
    line-height: 1.4;
    font-size: 0.95rem;
}

.info-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.info-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.three-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(231, 76, 60, 0.1));
    border: 2px solid rgba(255, 107, 53, 0.5);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    color: #FF6B35;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.content-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 15px;
    padding: 2.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.register-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #00FFDA;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.4);
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00FFDA;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.1) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 2px solid rgba(100, 255, 218, 0.3) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.15) inset !important;
    border-color: #00FFDA !important;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3) !important;
}

.form-note {
    font-size: 0.8rem;
    color: #8B5CF6;
    font-style: italic;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    margin: 1.5rem 0;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.login-link {
    margin-top: 1rem;
    color: #a0aab5;
}

.login-link a {
    color: #00FFDA;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-link a:hover {
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
}

.info-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.4);
}

.info-card .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    align-items: center;
    gap: 1rem;
    background: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    margin: 0;
}

.info-card .info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #a0aab5;
    font-weight: 500;
}

.info-value {
    color: #ffffff;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.feature-list li i {
    color: #00e921;
    font-size: 0.8rem;
}

.downloads-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.download-section {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
}

.download-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.download-item:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
    transform: translateY(-2px);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B35, #E55527);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00FFDA;
    margin-bottom: 0.5rem;
}

.download-description {
    color: #a0aab5;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.download-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.download-link {
    background: linear-gradient(135deg, #00FFDA, #00C7A8);
    color: #0D0E1A;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-link:hover {
    background: linear-gradient(135deg, #00C7A8, #009B85);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.3);
}

.instructions {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.instructions h4 {
    color: #FF6B35;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.instructions ol {
    color: #ffffff;
    padding-left: 1.5rem;
}

.instructions li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.ranking-button {
    display: block;
    background: rgba(18, 20, 35, 0.9);
    border: 2px solid rgba(100, 255, 218, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    text-align: center;
}

.ranking-button:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.2);
}

.ranking-button i {
    font-size: 2rem;
    color: #00FFDA;
    margin-bottom: 1rem;
    display: block;
}

.ranking-button .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #00FFDA;
    margin-bottom: 0.5rem;
}

.ranking-button .description {
    font-size: 0.9rem;
    color: #a0aab5;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem 1rem 1rem;
    }

    .info-container,
    .downloads-container {
        padding: 1rem;
    }

    .two-column-layout,
    .three-column-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-grid.cols-2,
    .info-grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
    }

    .download-links {
        justify-content: center;
    }

    .rankings-grid {
        grid-template-columns: 1fr;
    }
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
}

.ranking-header h3 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.ranking-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.ranking-body::-webkit-scrollbar {
    width: 8px;
}

.ranking-body::-webkit-scrollbar-track {
    background: rgba(13, 14, 26, 0.8);
    border-radius: 4px;
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.ranking-body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00FFDA, #8B5CF6);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.ranking-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B5CF6, #FF6B35);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.ranking-body {
    scrollbar-width: thin;
    scrollbar-color: #00FFDA rgba(13, 14, 26, 0.8);
    max-height: 600px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

.modern-ranking-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.ranking-header-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 1fr 80px;
    position: relative;
    padding-left: 3px;
    border-right: 10px solid transparent;
}

.ranking-header-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: -3px;
    right: -10px;
    bottom: 0;
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(139, 92, 246, 0.1));
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
    z-index: -1;
}

.ranking-header-cell {
    padding: 1rem 0.75rem;
    text-align: center;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.4);
    font-size: 0.9rem;
    border-right: 1px solid rgba(100, 255, 218, 0.2);
}

.ranking-header-cell:last-child {
    border-right: none;
}

.ranking-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr 1fr 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.ranking-row:hover {
    background: rgba(100, 255, 218, 0.05);
    box-shadow: inset 0 0 0 1px rgba(100, 255, 218, 0.2);
}

.ranking-row.top-three {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.05));
    border-left: 3px solid #FFD700;
}

.ranking-cell {
    padding: 0.75rem;
    text-align: center;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ranking-cell:last-child {
    border-right: none;
}

.rank-position {
    font-weight: bold;
}

.rank-medal {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 32px;
}

.rank-medal i {
    font-size: 0.8rem;
    margin-right: 0.2rem;
}

.rank-medal.rank-1 {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.rank-medal.rank-1 i {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.rank-medal.rank-2 {
    color: #C0C0C0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.6);
}

.rank-medal.rank-2 i {
    color: #C0C0C0;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.8);
}

.rank-medal.rank-3 {
    color: #CD7F32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.6);
}

.rank-medal.rank-3 i {
    color: #CD7F32;
    text-shadow: 0 0 15px rgba(205, 127, 50, 0.8);
}

.rank-number {
    font-family: 'Orbitron', monospace;
    color: #8B5CF6;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 32px;
}

.player-name {
    color: #00FFDA;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.3);
}

.clan-name {
    color: #FF6B35;
    font-style: italic;
}

.class-name {
    color: #8B5CF6;
    font-size: 0.9rem;
}

.rank-value {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.ranking-footer {
    padding: 0.75rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    color: #a0aab5;
    font-size: 0.85rem;
}

.cached-indicator {
    color: #8B5CF6;
    font-weight: 500;
}

.loading-state, .error-state, .empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #a0aab5;
}

.loading-state i, .error-state i, .empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.loading-state i {
    color: #00FFDA;
    animation: spin 1s linear infinite;
}

.error-state i {
    color: #FF6B35;
}

.empty-state i {
    color: #8B5CF6;
}

.error-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: #FF6B35;
    font-style: italic;
}

@media (max-width: 768px) {
    .ranking-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .ranking-controls {
        justify-content: center;
    }

    .ranking-header-row, .ranking-row {
        grid-template-columns: 50px 1fr 80px 60px 60px;
        font-size: 0.85rem;
    }

    .ranking-cell {
        padding: 0.5rem 0.25rem;
    }

    .clan-name {
        display: none;
    }

    .ranking-header-row .ranking-header-cell:nth-child(3) {
        display: none;
    }
}

@media (max-width: 480px) {
    .ranking-header-row, .ranking-row {
        grid-template-columns: 40px 1fr 50px;
    }

    .class-name, .clan-name {
        display: none;
    }

    .ranking-header-row .ranking-header-cell:nth-child(3),
    .ranking-header-row .ranking-header-cell:nth-child(4) {
        display: none;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(100, 255, 218, 0.3);
}

.form-header h2 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.form-header p {
    color: #a0aab5;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.status-online {
    color: #00e921;
    text-shadow: 0 0 5px rgba(0, 233, 33, 0.4);
}

/* ========================================
   NEWS & EVENTS LAYOUT
   ======================================== */

.news-events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.news-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.news-card, .vote-card {
    background: rgba(18, 20, 35, 0.9);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 25px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card h3 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.news-card h3 i {
    font-size: 1.1rem;
    color: #FF6B35;
}

.launch-text {
    color: #FFD700;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.vote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    flex: 1;
    align-content: start;
}

.vote-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    font-size: 0.85rem;
    text-align: center;
}

.vote-link:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.4);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

.vote-link i {
    color: #8B5CF6;
    font-size: 1.2rem;
}

.events-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.75rem;
    font-weight: 900;
    color: #00FFDA;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.8);
}

.section-title i {
    color: #FF6B35;
    font-size: 0.8em;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #8B5CF6;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.event-card {
    background: rgba(18, 20, 35, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00FFDA, #8B5CF6, #FF6B35);
    border-radius: 20px 20px 0 0;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.5);
}

.event-card-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.event-card-header .event-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.event-card-header h3 {
    font-family: 'Orbitron', monospace;
    color: #00FFDA;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
    margin: 0;
}

.event-card-content {
    padding: 1.5rem;
}

.event-prize {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.event-description {
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-align: center;
}

.event-card-content h4 {
    color: #8B5CF6;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.8rem 0;
    text-shadow: 0 0 5px rgba(139, 92, 246, 0.4);
}

.event-points-list, .event-rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.event-points-list li, .event-rules-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.event-points-list li:last-child, .event-rules-list li:last-child {
    border-bottom: none;
}

.event-rules-list li {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
}

.event-rules-list li::before {
    content: '▸';
    color: #00FFDA;
    font-weight: bold;
    flex-shrink: 0;
}

.activity {
    color: #ffffff;
}

.points {
    color: #FF6B35;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.event-rewards {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.reward-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.reward-item:not(:last-child) {
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.reward-value {
    color: #00e921;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
}

.event-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(100, 255, 218, 0.2);
    text-align: center;
}

.event-footer p {
    color: #a0aab5;
    font-size: 0.85rem;
    margin: 0;
}

.event-slots {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    color: #FF6B35 !important;
    font-size: 0.9rem !important;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #5865F2, #404EED);
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.discord-btn:hover {
    background: linear-gradient(135deg, #404EED, #36398A);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.discord-btn i {
    font-size: 1.2rem;
}

.event-card-content a {
    color: #00FFDA;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-card-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .news-area {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .news-events-container,
    .events-hero-container {
        padding: 1rem;
    }

    .vote-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card-header,
    .event-card-content {
        padding: 1rem;
    }

    .section-header-center {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .vote-grid {
        grid-template-columns: 1fr;
    }
}