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

:root {
    --bg-dark: #090914;
    --bg-panel: #141428;
    --bg-panel-light: #1d1d38;

    --cyan: #22d3ee;
    --cyan-dark: #0891b2;

    --magenta: #ec4899;
    --magenta-dark: #be185d;

    --text-light: #f8fafc;
    --text-muted: #cbd5e1;

    --border-glow: rgba(34, 211, 238, 0.55);
    --magenta-glow: rgba(236, 72, 153, 0.55);
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);

    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navbar */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(9, 9, 20, 0.92);
    padding: 20px 8%;
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
    position: relative;
    z-index: 10;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 128px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    filter:
        drop-shadow(0 0 6px var(--cyan))
        drop-shadow(0 0 10px var(--magenta));
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--cyan);
    text-shadow:
        0 0 8px var(--cyan),
        0 0 18px var(--magenta);
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 24px;
    font-weight: bold;
}

.nav-links a:hover {
    color: var(--magenta);
    text-shadow: 0 0 10px var(--magenta);
}

/* Background used on all pages */

.site-background {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #090914;
    z-index: 0;
}

.site-background::before {
    content: "";
    position: absolute;
    inset: -20px;
    background-image: url("../images/main-background.png");
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 0;
    pointer-events: none;
}

.site-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(9, 9, 20, 0.55), rgba(9, 9, 20, 0.85)),
        radial-gradient(circle at top left, rgba(34, 211, 238, 0.20), transparent 35%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.20), transparent 35%);
    z-index: 1;
    pointer-events: none;
}

/* Make page content sit above the background */

.hero,
.section,
.cards,
.page-header,
.gallery,
.staff-grid,
.ranks-grid {
    position: relative;
    z-index: 2;
}

/* Home page hero */

.hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-size: 64px;
    color: var(--cyan);

    -webkit-text-stroke: 2px #000;

    text-shadow:
        3px 3px 0 #000,
        0 0 10px var(--cyan),
        0 0 24px var(--magenta);
}

.hero-content p {
    font-size: 22px;
    margin: 20px 0;
    color: var(--text-muted);
    text-shadow: 2px 2px 4px #000;
}

.server-box {
    display: inline-flex;
    align-items: center;
    background: rgba(20, 20, 40, 0.92);
    border: 2px solid var(--cyan);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow:
        0 0 18px var(--border-glow),
        0 0 28px rgba(236, 72, 153, 0.22);
}

.server-box span {
    padding: 16px 24px;
    font-size: 20px;
}

.server-box button {
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    border: none;
    color: #090914;
    font-weight: bold;
    cursor: pointer;
}

.server-box button:hover {
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
}

/* General sections */

.section {
    padding: 30px 8%;
    text-align: center;
}

.section h2 {
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--magenta);
    text-shadow:
        2px 2px 0 #000,
        0 0 14px var(--magenta);
}

/* Cards */

.cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 40px 8%;
}

.card {
    background: linear-gradient(180deg, rgba(29, 29, 56, 0.94), rgba(20, 20, 40, 0.94));
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 16px;
    padding: 30px;
    width: 280px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.12);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--magenta);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(236, 72, 153, 0.28);
}

.card h3 {
    color: var(--cyan);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

.card p {
    color: var(--text-muted);
}

/* Page headers */

.page-header {
    text-align: center;
    padding: 80px 8% 40px;
}

.page-header h1 {
    font-size: 48px;
    color: var(--cyan);

    -webkit-text-stroke: 1.5px #000;

    text-shadow:
        3px 3px 0 #000,
        0 0 10px var(--cyan),
        0 0 20px var(--magenta);
}

.page-header p {
    font-size: 20px;
    color: var(--text-muted);
    margin-top: 10px;
    text-shadow: 2px 2px 4px #000;
}

/* Rules page */

.rules-list {
    max-width: 700px;
    margin: auto;
    text-align: left;
    font-size: 20px;
    line-height: 2;
    color: var(--text-light);
    background: rgba(20, 20, 40, 0.82);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 16px;
    padding: 30px 50px;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.12);
}

.rules-list li::marker {
    color: var(--magenta);
    font-weight: bold;
}

/* Gallery page */

.gallery {
    padding: 40px 8% 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery img {
    width: 100%;
    border-radius: 16px;
    border: 2px solid rgba(34, 211, 238, 0.45);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.18);
    transition: 0.25s ease;
}

.gallery img:hover {
    border-color: var(--magenta);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(236, 72, 153, 0.35);
}

/* Footer */

footer {
    text-align: center;
    padding: 24px;
    background: #090914;
    border-top: 2px solid var(--magenta);
    box-shadow: 0 0 24px rgba(236, 72, 153, 0.22);
    position: relative;
    z-index: 10;
}

footer strong {
    color: var(--cyan);
}

/* Mobile layout */

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 18px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .nav-links a {
        margin-left: 0;
    }

    .logo-img {
        width: 56px;
        height: 38px;
    }

    .logo-text {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 42px;
        -webkit-text-stroke: 1.5px #000;
    }

    .hero-content p {
        font-size: 18px;
    }

    .server-box {
        flex-direction: column;
    }

    .server-box span,
    .server-box button {
        width: 100%;
    }

    .page-header h1 {
        font-size: 38px;
    }

    .rules-list {
        padding: 24px 32px;
        font-size: 18px;
    }
}

/* Staff page */

.staff-grid {
    padding: 40px 8% 80px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.staff-card {
    width: 280px;
    background: linear-gradient(180deg, rgba(29, 29, 56, 0.94), rgba(20, 20, 40, 0.94));
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.12);
    transition: 0.25s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    border-color: var(--magenta);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(236, 72, 153, 0.28);
}

.staff-image-wrap {
    height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 18px;
    background:
        radial-gradient(circle at center, rgba(34, 211, 238, 0.18), transparent 55%),
        rgba(9, 9, 20, 0.35);
    border-radius: 16px;
    border: 1px solid rgba(236, 72, 153, 0.25);
    overflow: hidden;
}

.staff-image {
    height: 260px;
    width: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(34, 211, 238, 0.45))
        drop-shadow(0 0 14px rgba(236, 72, 153, 0.35));
}

.staff-card h3 {
    color: var(--cyan);
    font-size: 24px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.55);
}

.staff-card p {
    color: var(--magenta);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.45);
}

.panel-link {
    color: #090914 !important;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow:
        0 0 12px rgba(34, 211, 238, 0.35),
        0 0 18px rgba(236, 72, 153, 0.25);
}

.panel-link:hover {
    color: #090914 !important;
    text-shadow: none !important;
    transform: translateY(-2px);
}

.discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5865F2, var(--cyan));
    box-shadow:
        0 0 12px rgba(88, 101, 242, 0.45),
        0 0 18px rgba(34, 211, 238, 0.25);
    transition: 0.25s ease;
    vertical-align: middle;
}

.discord-link:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 16px rgba(88, 101, 242, 0.6),
        0 0 24px rgba(34, 211, 238, 0.35);
}

.discord-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.discord-hero-button {
    display: inline-block;
    text-decoration: none;
    color: #090914;
    background: linear-gradient(135deg, #5865F2, var(--cyan), var(--magenta));
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow:
        0 0 16px rgba(88, 101, 242, 0.45),
        0 0 24px rgba(236, 72, 153, 0.25);
    transition: 0.25s ease;
}

.discord-hero-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(88, 101, 242, 0.6),
        0 0 30px rgba(236, 72, 153, 0.35);
}

/* Ranks page */

.ranks-grid {
    padding: 40px 8% 80px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.rank-card {
    width: 300px;
    background: linear-gradient(180deg, rgba(29, 29, 56, 0.94), rgba(20, 20, 40, 0.94));
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 0 18px rgba(34, 211, 238, 0.12);
    transition: 0.25s ease;
}

.rank-card:hover {
    transform: translateY(-4px);
    border-color: var(--magenta);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(236, 72, 153, 0.28);
}

.rank-card h2 {
    font-size: 30px;
    color: var(--cyan);
    margin-bottom: 10px;
    text-shadow:
        2px 2px 0 #000,
        0 0 12px rgba(34, 211, 238, 0.6);
}

.rank-price {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #090914;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    font-weight: bold;
}

.rank-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.rank-perks {
    list-style: none;
    text-align: left;
}

.rank-perks li {
    color: var(--text-light);
    margin-bottom: 12px;
    padding-left: 26px;
    position: relative;
}

.rank-perks li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--magenta);
    text-shadow: 0 0 8px var(--magenta);
}