/* Import premium gaming fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --primary: #00f0ff; /* Neon Cyan */
    --secondary: #ff007f; /* Hot Pink */
    --background: #020202;
    --panel-bg: rgba(5, 5, 5, 0.85);
    --border-color: rgba(255, 255, 255, 0.15);
    --border-hover: #ffffff;
    --text-color: #ffffff;
    --text-muted: #888888;
    --success: #39ff14; /* Neon Green */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)), url('web_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- STICKY NAVIGATION HEADER --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: #bbbbbb;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

nav a:hover::after {
    width: 100%;
}

/* Highlight VIP Button in nav */
nav a.vip-btn {
    border: 1px solid var(--secondary);
    padding: 5px 15px;
    color: var(--secondary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav a.vip-btn::after {
    display: none;
}

nav a.vip-btn:hover {
    background-color: var(--secondary);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

/* Mobile Menu Toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    padding: 160px 0 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1, .hero h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span, .hero h2 span {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.cta-btn {
    display: inline-block;
    border: 2px solid var(--primary);
    background-color: rgba(0, 240, 255, 0.05);
    color: #ffffff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
    cursor: pointer;
}

.cta-btn:hover {
    background-color: var(--primary);
    color: #000000;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.5);
    transform: translateY(-2px);
}

/* --- MAIN SECTION LAYOUT --- */
main {
    padding: 80px 0;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title span {
    color: var(--primary);
}

/* --- NEWS GRID (RESPONSIVE) --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.news-card {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
}

.news-header {
    margin-bottom: 15px;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 8px;
    display: block;
}

.news-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-card:hover h3 {
    color: var(--primary);
}

.news-body p {
    color: #bbbbbb;
    font-size: 0.98rem;
    margin-bottom: 25px;
}

.card-btn {
    display: inline-block;
    border: 1px solid var(--border-color);
    background: none;
    color: #ffffff;
    padding: 8px 20px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.news-card:hover .card-btn {
    border-color: #ffffff;
}

.card-btn:hover {
    background-color: #ffffff;
    color: #000000 !important;
}

/* --- SERVERS SECTION --- */
.servers-panel {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px 30px;
}

.server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.server-item:last-child {
    border-bottom: none;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.server-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-title h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.server-status {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--success);
}

.server-ip {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.server-actions {
    display: flex;
    gap: 10px;
}

.copy-ip-btn, .ranking-btn {
    display: inline-block;
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: #ffffff;
    padding: 10px 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.copy-ip-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.ranking-btn {
    border-color: var(--primary);
    background-color: rgba(0, 240, 255, 0.03);
    color: var(--primary);
}

.ranking-btn:hover {
    background-color: var(--primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

/* --- DOWNLOADS PAGE SPECIAL STYLES --- */
.downloads-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.download-card {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.download-card p {
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
}

.download-btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, #0088ff 100%);
    color: #000000;
    padding: 20px 50px;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    cursor: pointer;
}

.download-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(0, 240, 255, 0.7);
    filter: brightness(1.1);
}

.download-meta {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    gap: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.features-box {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
}

.features-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    color: var(--primary);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-list li {
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.req-container {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 60px;
}

.req-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th {
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--primary);
    font-size: 1.1rem;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.req-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.req-table td:first-child {
    font-weight: bold;
    color: #bbbbbb;
    width: 40%;
}

.steps-container {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.step-card {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.step-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- RANKING PAGE SPECIAL STYLES --- */
.ranking-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.tab-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #bbbbbb;
    padding: 10px 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tab-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.search-container {
    margin-bottom: 30px;
    position: relative;
}

.search-input {
    width: 100%;
    background-color: rgba(5, 5, 5, 0.85);
    border: 1px solid var(--border-color);
    color: #ffffff;
    padding: 15px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.ranking-table-wrapper {
    background-color: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ranking-table th {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
}

.ranking-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    vertical-align: middle;
}

.ranking-table tbody tr {
    transition: background-color 0.2s ease;
}

.ranking-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.rank-col {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    width: 80px;
}

.player-col {
    font-weight: 600;
}

.badge-rank {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.badge-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    color: #000000;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.badge-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

/* --- FOOTER --- */
footer {
    margin-top: 100px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.95);
}

footer p {
    margin-bottom: 10px;
}

/* --- CUSTOM TOAST NOTIFICATION --- */
#toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #000000;
    border: 1px solid var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 1001;
    left: 50%;
    bottom: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 900px) {
    .downloads-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .nav-container {
        padding: 0 15px;
    }

    nav {
        display: none; /* simple JS toggle for mobile */
    }
    
    nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 130px 15px 70px 15px;
    }

    .hero h1, .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    main {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .server-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .server-actions {
        width: 100%;
    }

    .copy-ip-btn, .ranking-btn {
        flex: 1;
        text-align: center;
    }

    .req-tables {
        grid-template-columns: 1fr;
    }
}
