/* ==========================================================================
   ND NETWORK - OFFICIAL MINECRAFT SERVER STYLESHEET
   Primary Theme: #FF0000 (Crimson Red / Blood Red Gaming Dark Theme)
   ========================================================================== */

:root {
    --primary: #FF0000;
    --primary-rgb: 255, 0, 0;
    --primary-light: #ff3333;
    --primary-hover: #d60000;
    --primary-glow: rgba(255, 0, 0, 0.45);
    --primary-subtle: rgba(255, 0, 0, 0.12);

    --bg-darkest: #070709;
    --bg-darker: #0d0d12;
    --bg-card: rgba(18, 18, 24, 0.85);
    --bg-card-hover: rgba(26, 26, 36, 0.95);
    --bg-glass: rgba(20, 20, 28, 0.6);

    --text-main: #f0f0f5;
    --text-muted: #9fa3b5;
    --text-dim: #6c7086;

    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 0, 0, 0.35);

    --font-heading: 'Cinzel', serif;
    --font-subheading: 'Rajdhani', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= Global Reset & Defaults ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image:
        radial-gradient(circle at 50% -10%, rgba(255, 0, 0, 0.18) 0%, transparent 60%),
        radial-gradient(circle at 90% 40%, rgba(255, 0, 0, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(255, 0, 0, 0.06) 0%, transparent 45%);
    background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}

::-webkit-scrollbar-thumb {
    background: #331010;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Helper Utilities */
.highlight {
    color: var(--primary);
    text-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 10%, #ff4b4b 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 10, 14, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    height: 70px;
    background: rgba(7, 7, 10, 0.95);
    border-bottom-color: rgba(255, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.45));
    transition: var(--transition);
}

.nav-logo:hover .brand-logo-img {
    transform: scale(1.06) rotate(2deg);
    filter: drop-shadow(0 0 16px rgba(255, 0, 0, 0.7));
}

.brand-name {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link:hover i {
    color: var(--primary);
    transform: translateY(-2px);
}

/* ================= Social Media Dropdown ================= */
.social-dropdown {
    position: relative;
}

.social-dropdown-btn {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.35);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-family: var(--font-subheading);
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.social-dropdown-btn .caret-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.social-dropdown.open .social-dropdown-btn .caret-icon {
    transform: rotate(180deg);
}

.social-dropdown-btn:hover,
.social-dropdown.open .social-dropdown-btn {
    background: rgba(255, 0, 0, 0.22);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.social-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 250px;
    background: rgba(14, 14, 20, 0.97);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 200;
    animation: fadeInMenu 0.25s ease forwards;
}

.social-dropdown.open .social-dropdown-menu {
    display: flex;
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02);
}

.social-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.social-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.discord-bg {
    background: #5865F2;
    box-shadow: 0 2px 10px rgba(88, 101, 242, 0.4);
}

.yt-bg {
    background: #FF0000;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.4);
}

.insta-bg {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 2px 10px rgba(220, 39, 67, 0.4);
}

.social-item-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.social-item-text strong {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.social-item-text span {
    color: var(--text-muted);
    font-size: 0.76rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-copy-btn {
    background: linear-gradient(135deg, var(--primary), #b30000);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-family: var(--font-subheading);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.quick-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.quick-copy-btn:active {
    transform: scale(0.96);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= Toast Notification ================= */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(20, 20, 26, 0.96);
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--primary-glow);
    z-index: 1000;
    transform: translateY(120px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ================= Hero Section ================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.hero-glow-orb {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.28) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-logo {
    width: 140px;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(255, 0, 0, 0.5));
    animation: floatLogo 5s ease-in-out infinite;
}

.logo-halo {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.45) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
    animation: pulseHalo 3s ease-in-out infinite alternate;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseHalo {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.15);
        opacity: 1;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.35);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ff6666;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #00ff66;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff66;
    animation: blink 1.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 2rem;
}

/* Live Server Status Pill */
.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(18, 18, 25, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 8px 22px;
    margin-bottom: 2.5rem;
    font-size: 0.92rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.status-light {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.status-light.online {
    background: #00ff73;
    box-shadow: 0 0 10px #00ff73;
}

.status-light.offline {
    background: #ff3b30;
    box-shadow: 0 0 10px #ff3b30;
}

.status-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.18);
}

.players-online {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 700;
}

.players-online i {
    color: var(--primary);
}

/* IP Selector Grid */
.ip-selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 950px;
    margin-bottom: 3rem;
}

.ip-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.ip-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-subtle);
}

.ip-card:hover::before {
    opacity: 1;
}

.primary-ip-card {
    border-color: rgba(255, 0, 0, 0.3);
    background: linear-gradient(180deg, rgba(35, 12, 14, 0.6) 0%, var(--bg-card) 100%);
}

.ip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ip-tag {
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ip-tag i {
    color: var(--primary);
}

.status-badge-mini {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 0, 0, 0.2);
    color: #ff6666;
    border: 1px solid rgba(255, 0, 0, 0.35);
}

.status-badge-mini.bedrock {
    background: rgba(0, 150, 255, 0.15);
    color: #66b5ff;
    border-color: rgba(0, 150, 255, 0.3);
}

.status-badge-mini.backup {
    background: rgba(255, 180, 0, 0.15);
    color: #ffd066;
    border-color: rgba(255, 180, 0, 0.3);
}

.ip-body {
    margin-bottom: 1.25rem;
}

.ip-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.ip-code-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.45);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ip-address {
    font-family: monospace;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.ip-address.small {
    font-size: 0.88rem;
}

.highlight-port {
    color: #ff4b4b;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.05rem;
}

.ip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copy-icon-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.copy-icon-btn:hover {
    color: var(--primary);
    transform: scale(1.15);
}

/* Action Buttons */
.action-btn-primary,
.action-btn-secondary,
.action-btn-outline {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.action-btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.action-btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.action-btn-secondary {
    background: #0077cc;
    border: 1px solid #0077cc;
    color: #ffffff;
}

.action-btn-secondary:hover {
    background: #0060a3;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.4);
}

.action-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
}

.action-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scroll Down Prompt */
.scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.scroll-down i {
    animation: bounceDown 1.8s infinite;
}

.scroll-down:hover {
    color: var(--primary);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ================= Highlights Bar ================= */
.highlights-bar {
    background: rgba(14, 14, 18, 0.95);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.highlights-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.highlight-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.25);
    padding: 14px;
    border-radius: var(--radius-md);
    box-shadow: 0 0 15px var(--primary-subtle);
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.highlight-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================= Section Headers ================= */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ================= Gamemodes Section ================= */
.gamemodes-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.gamemodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gamemode-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
}

.gamemode-card:hover {
    transform: translateY(-8px);
}

/* Custom Gamemode Themes & Glows */
/* 1. Lime (Survival) */
.mode-survival:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.25);
}

.badge-lime {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.chip-lime {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-lime {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.mode-survival:hover .btn-lime {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
}

.survival-art {
    background: linear-gradient(135deg, #093824 0%, #061c12 100%);
}

.mode-survival:hover .mode-floating-icon {
    color: #10b981;
    filter: drop-shadow(0 0 25px #10b981);
}

/* 2. Light Red (Bedwars) */
.mode-bedwars:hover {
    border-color: rgba(255, 77, 77, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 77, 77, 0.25);
}

.badge-lightred {
    background: #ff4d4d;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.4);
}

.chip-lightred {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

.btn-lightred {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ffffff;
}

.mode-bedwars:hover .btn-lightred {
    background: #ff4d4d;
    border-color: #ff4d4d;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.5);
}

.bedwars-art {
    background: linear-gradient(135deg, #441014 0%, #1e090b 100%);
}

.mode-bedwars:hover .mode-floating-icon {
    color: #ff4d4d;
    filter: drop-shadow(0 0 25px #ff4d4d);
}

/* 3. Light Blue (Minigames) */
.mode-minigames:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.25);
}

.badge-lightblue {
    background: #38bdf8;
    color: #051923;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.chip-lightblue {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-lightblue {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #ffffff;
}

.mode-minigames:hover .btn-lightblue {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #051923;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.5);
}

.minigames-art {
    background: linear-gradient(135deg, #0c2e4e 0%, #051726 100%);
}

.mode-minigames:hover .mode-floating-icon {
    color: #38bdf8;
    filter: drop-shadow(0 0 25px #38bdf8);
}

/* 4. White (Parkour) */
.mode-parkour:hover {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.3);
}

.badge-white {
    background: #ffffff;
    color: #0a0a0d;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.chip-white {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-white {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.mode-parkour:hover .btn-white {
    background: #ffffff;
    border-color: #ffffff;
    color: #0a0a0d;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.6);
}

.parkour-art {
    background: linear-gradient(135deg, #2b303c 0%, #11141a 100%);
}

.mode-parkour:hover .mode-floating-icon {
    color: #ffffff;
    filter: drop-shadow(0 0 25px #ffffff);
}

/* 5. Mystic Gold (Pillars of Fortune) */
.mode-pillars:hover {
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.25);
}

.chip-gold {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-gold {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #ffffff;
}

.mode-pillars:hover .btn-gold {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #000;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.pillars-art {
    background: linear-gradient(135deg, #3d2a09 0%, #1e1505 100%);
}

.mode-pillars:hover .mode-floating-icon {
    color: #f59e0b;
    filter: drop-shadow(0 0 25px #f59e0b);
}

/* 6. Orange (FFA) */
.mode-ffa:hover {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(249, 115, 22, 0.25);
}

.chip-orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.btn-orange {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #ffffff;
}

.mode-ffa:hover .btn-orange {
    background: #f97316;
    border-color: #f97316;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.5);
}

.ffa-art {
    background: linear-gradient(135deg, #441c09 0%, #210d04 100%);
}

.mode-ffa:hover .mode-floating-icon {
    color: #f97316;
    filter: drop-shadow(0 0 25px #f97316);
}

/* Shared Coming Soon Badge */
.badge-comingsoon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.mode-badge-top {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 5;
}

.card-art-box {
    height: 160px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.art-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 40%, rgba(18, 18, 24, 0.95) 100%);
}

.mode-floating-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: var(--transition);
}

.gamemode-card:hover .mode-floating-icon {
    transform: scale(1.15) rotate(5deg);
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mode-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.mode-title-row h3 {
    font-family: var(--font-subheading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
}

.mode-chip {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: var(--radius-sm);
}

.mode-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.mode-features-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.mode-features-preview span {
    font-size: 0.78rem;
    color: #d1d5db;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.join-mode-btn {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
}

.join-mode-btn i {
    transition: transform 0.25s ease;
}

.gamemode-card:hover .join-mode-btn i {
    transform: translateX(4px);
}

/* ================= Dedicated Gamemode Overlay & Detailed View ================= */
.gamemode-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 6, 9, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999;
    overflow-y: auto;
    display: none;
    padding: 2rem 1.5rem;
    animation: fadeInOverlay 0.35s ease forwards;
}

.gamemode-overlay.active {
    display: block;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gamemode-overlay-content {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 5rem;
}

.close-overlay-btn {
    position: sticky;
    top: 1.5rem;
    z-index: 50;
    background: rgba(20, 20, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.close-overlay-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateX(-4px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.mode-theme-badge {
    display: inline-block;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gamemode-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: var(--transition);
}

.gamemode-feature-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.sub-section-box {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= How to Join Section ================= */
.connect-section {
    padding: 6rem 0;
    background: rgba(11, 11, 15, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.tab-switcher {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-subheading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.guide-panel {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.guide-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 0, 0, 0.25);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

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

.highlight-code {
    background: rgba(255, 0, 0, 0.15);
    color: #ff6666;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
}

.small-hint {
    font-size: 0.78rem !important;
    color: var(--text-dim) !important;
    margin-top: 6px;
}

.connect-copy-banner {
    background: linear-gradient(90deg, rgba(30, 10, 12, 0.9) 0%, rgba(20, 20, 28, 0.9) 100%);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.banner-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.banner-info i {
    font-size: 2.5rem;
    color: var(--primary);
}

.banner-info h4 {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.banner-info p {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.connect-copy-banner button {
    width: auto;
    padding: 12px 24px;
}

/* ================= Survival Ranks Section ================= */
.store-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.survival-ranks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    margin-bottom: 2.5rem;
}

.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.rank-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 20px var(--primary-subtle);
}

.free-rank-card {
    border-color: rgba(0, 255, 128, 0.35);
    background: linear-gradient(180deg, rgba(10, 35, 20, 0.5) 0%, var(--bg-card) 100%);
}

.free-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00c853, #009624);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
    white-space: nowrap;
}

.tier-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-dim);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 4px;
}

.devil-rank-card {
    border-color: rgba(255, 0, 0, 0.55);
    background: linear-gradient(180deg, rgba(45, 10, 15, 0.8) 0%, var(--bg-card) 100%);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.2);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #b30000);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px var(--primary-glow);
    white-space: nowrap;
}

.rank-badge {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.vip-badge {
    color: #55ff55;
    text-shadow: 0 0 15px rgba(85, 255, 85, 0.4);
}

.royal-badge {
    color: #3b82f6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.king-badge {
    color: #f59e0b;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.legend-badge {
    color: #a855f7;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.immortal-badge {
    color: #06b6d4;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.devil-badge {
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.rank-price {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.free-text {
    color: #00ff73;
    font-weight: 900;
}

.tba-text {
    color: var(--text-dim);
    font-size: 1.6rem;
    letter-spacing: 2px;
}

.rank-price small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-body);
}

.rank-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    min-height: 40px;
    line-height: 1.45;
}

.rank-perks {
    list-style: none;
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.rank-perks li {
    font-size: 0.85rem;
    color: #d1d5db;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.rank-perks li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.8rem;
}

.rank-perks li i.fa-clock {
    color: #f59e0b;
}

.rank-btn {
    width: 100%;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
}

.rank-btn-vote {
    background: #00c853;
    border: 1px solid #00c853;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.rank-btn-vote:hover {
    background: #00a844;
    transform: translateY(-2px);
}

.rank-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    cursor: default;
}

.rank-btn-devil {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.rank-btn-devil:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 0, 0, 0.6);
}

/* Kits & Crates Notice Box */
.kits-crates-notice {
    background: rgba(20, 20, 28, 0.85);
    border: 1px solid rgba(255, 180, 0, 0.35);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.kits-crates-notice i {
    font-size: 2.2rem;
    color: #f59e0b;
    flex-shrink: 0;
}

.kits-crates-notice h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.kits-crates-notice p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.kits-crates-notice a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

/* ================= YouTuber Rank Section ================= */
.youtuber-section {
    padding: 6rem 0;
    background: rgba(11, 11, 15, 0.85);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.yt-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem auto;
}

.yt-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.yt-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.fast-track-card {
    border-color: rgba(255, 0, 0, 0.45);
    background: linear-gradient(180deg, rgba(40, 10, 15, 0.6) 0%, var(--bg-card) 100%);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.15);
}

.yt-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.free-yt {
    background: #00c853;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.paid-yt {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.yt-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.yt-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.fast-track-price {
    font-size: 2.4rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.fast-track-price span {
    color: var(--primary);
}

.fast-track-price small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.yt-req-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.yt-req-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: #d1d5db;
}

.yt-req-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.rank-btn-yt-paid {
    background: linear-gradient(135deg, var(--primary), #b30000);
    border: none;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.rank-btn-yt-paid:hover {
    background: linear-gradient(135deg, #ff2222, #cc0000);
}

/* YouTuber Rules Box */
.yt-rules-box {
    background: rgba(20, 10, 12, 0.95);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.yt-rules-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.yt-rules-header i {
    font-size: 1.8rem;
}

.yt-rules-header h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
}

.yt-rules-content ul {
    list-style: none;
}

.yt-rules-content li {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.yt-rules-content li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.yt-rules-content li strong {
    color: #ffffff;
}

.yt-rules-content a {
    color: var(--primary);
    text-decoration: underline;
}

/* ================= Vote Section ================= */
.vote-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.vote-box {
    background: linear-gradient(135deg, rgba(30, 10, 14, 0.9) 0%, rgba(15, 15, 22, 0.95) 100%);
    border: 1px solid rgba(255, 0, 0, 0.35);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.vote-content .section-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    text-align: left;
}

.vote-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vote-rewards-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reward-chip {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.25);
    color: #ff9999;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
}

.reward-chip i {
    color: var(--primary);
}

.vote-action-box {
    display: flex;
    justify-content: center;
}

.vote-portal-card {
    background: rgba(20, 20, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    width: 100%;
    max-width: 380px;
    transition: var(--transition);
}

.vote-portal-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.vote-portal-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

.vote-portal-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.vote-url-text {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.vote-portal-btn {
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.vote-portal-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

/* ================= Staff Leadership Section ================= */
.staff-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary-subtle);
}

.owner-card {
    border-color: rgba(255, 0, 0, 0.4);
    background: linear-gradient(180deg, rgba(35, 10, 14, 0.6) 0%, var(--bg-card) 100%);
}

.coowner-card {
    border-color: rgba(236, 72, 153, 0.35);
    background: linear-gradient(180deg, rgba(35, 10, 25, 0.6) 0%, var(--bg-card) 100%);
}

.staff-role-badge {
    position: absolute;
    top: -12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.role-owner {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.role-coowner {
    background: #ec4899;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
}

.role-admin {
    background: #6366f1;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.staff-avatar-wrapper {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.staff-skin {
    height: 130px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
}

.staff-card:hover .staff-skin {
    transform: scale(1.08) translateY(-4px);
}

.placeholder-wrapper {
    width: 100px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-placeholder-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-dim);
}

.staff-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
}

.staff-title {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.staff-yt-link {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6666;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.staff-yt-link:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.staff-status {
    font-size: 0.82rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================= Rules Section ================= */
.rules-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
}

.rule-card:hover {
    border-color: rgba(255, 0, 0, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.rule-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.rule-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.rule-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ================= Discord Banner ================= */
.discord-cta-section {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.discord-card {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(20, 10, 15, 0.9) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.discord-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.discord-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #5865F2;
    background: rgba(88, 101, 242, 0.15);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.discord-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.discord-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.discord-btn-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-discord-action {
    background: #5865F2;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord-action:hover {
    background: #4752c4;
    transform: translateY(-3px);
}

.btn-ip-quick {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-ip-quick:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.discord-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-logo-glow {
    width: 200px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(88, 101, 242, 0.45));
}

/* ================= FAQ Section ================= */
.faq-section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.faq-accordion {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.75rem;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-answer p {
    padding: 0 1.75rem 1.5rem 1.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================= Footer ================= */
.footer {
    background: #050507;
    border-top: 1px solid var(--border-color);
    padding-top: 4.5rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    max-width: 380px;
    margin: 1rem 0 1.5rem 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-logo img {
    height: 38px;
    width: auto;
    border-radius: 6px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.footer-links-group h4 {
    color: #ffffff;
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group ul li {
    margin-bottom: 10px;
}

.footer-links-group ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links-group ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.ip-footer-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ip-footer-list code {
    color: #ffffff;
    background: rgba(255, 0, 0, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.82rem;
}

.footer-bottom {
    background: #020203;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.bottom-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.disclaimer {
    font-size: 0.78rem;
    max-width: 550px;
    text-align: right;
}

/* ================= Responsive Queries ================= */
@media (max-width: 1024px) {
    .ip-selector-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .highlights-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .gamemodes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .survival-ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yt-cards-grid {
        grid-template-columns: 1fr;
    }

    .vote-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .vote-content .section-title {
        text-align: center;
    }

    .vote-rewards-chips {
        justify-content: center;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .discord-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .discord-btn-group {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 14, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .highlights-container {
        grid-template-columns: 1fr;
    }

    .gamemodes-grid {
        grid-template-columns: 1fr;
    }

    .gamemode-overlay {
        padding: 1rem 0.75rem;
    }

    .gamemode-overlay-content {
        padding-bottom: 3rem;
    }

    .survival-ranks-grid {
        grid-template-columns: 1fr;
    }

    .staff-grid {
        grid-template-columns: 1fr;
    }

    .kits-crates-notice {
        flex-direction: column;
        text-align: center;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .rules-grid {
        grid-template-columns: 1fr;
    }

    .connect-copy-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .banner-info {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .disclaimer {
        text-align: center;
    }
}