:root {
    --primary: #00a8ff;
    --primary-rgb: 0, 168, 255;
    --primary-dark: #0097e6;
    --primary-glow: rgba(0, 168, 255, 0.4);
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.65);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    background: #000;
}

body.loading {
    overflow: hidden;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-duel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    perspective: 1000px;
}

.preloader-logo {
    width: 180px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: all 0.5s ease;
}

.preloader-logo.ice {
    animation: fadeInScale 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards, floatingLogo 4s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    animation: fillLoader 2.5s ease-in-out forwards;
}

.preloader-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
}

@keyframes fillLoader {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav-panel {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-nav-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Global Background */
.bg-fixed-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.bg-image,
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-image {
    background-size: cover;
    background-position: center;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) grayscale(0.2);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8), #000);
    z-index: 1;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    z-index: 5;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-dim);
}

/* Combined Section Layout */
.section-combined {
    padding: 100px 0;
}

.info-main {
    max-width: 1000px;
    margin: 0 auto;
}

.info-nested-classes {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.subsection-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.9;
}


@media (min-width: 1200px) {
    .info-grid-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 60px;
    }

    .info-main,
    .info-classes {
        width: 100%;
        flex: none;
    }
}


/* Hero Section */
.section-hero {
    height: 60vh;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 10;
    position: relative;
}

.hero-brand {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.hero-logo {
    margin-bottom: 0;
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: floatingLogo 4s ease-in-out infinite;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 5px;
    text-shadow: 0 0 30px var(--primary-glow);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 18px 45px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-discord {
    padding: 18px 45px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.4s ease;
    background: rgba(88, 101, 242, 0.1);
    color: #fff;
    border: 1px solid rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-discord i {
    font-size: 1.2rem;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px var(--primary-glow);
    background: #fff;
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    z-index: 11;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin: 10px auto 30px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
}

.status-badge.online {
    color: var(--primary);
    border-color: var(--primary-glow);
}

.status-badge.offline {
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.4);
}

.status-badge.online .status-dot {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.status-badge.offline .status-dot {
    background: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
}

.status-badge.online .status-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: statusPulse 2s infinite;
}

/* Feature Boxes */
.server-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: translateX(5px);
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.2);
}

.feature-content {
    text-align: left;
}

.feature-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    font-weight: 700;
}

.feature-value {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}


/* Classes Section */
.classes-description {
    text-align: center;
    color: rgba(200, 220, 255, 0.75);
    font-size: 13px;
    line-height: 1.7;
    max-width: 700px;
    margin: 10px auto 0;
    padding: 0 10px;
}

.classes-horizontal-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 20px auto 0;
    padding: 24px;
    max-width: 860px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.class-item-mini {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    width: 80px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.class-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.class-item-mini:hover .class-icon-wrapper {
    background: rgba(0, 100, 200, 0.3);
    border-color: var(--primary);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 22px var(--primary-glow);
    z-index: 10;
}

.class-name-label {
    display: block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: rgba(180, 210, 255, 0.85);
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
    word-break: break-word;
    transition: color 0.3s ease;
}

.class-item-mini:hover .class-name-label {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 150, 255, 0.9);
}

.class-icon-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
    border-radius: 10px;
}

.class-item-mini:hover .class-icon-mini {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Rich Hover Preview */
.class-hover-preview {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 220px;
    background: rgba(5, 5, 5, 0.96);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 15px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    pointer-events: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 168, 255, 0.15);
    overflow: hidden;
    text-align: center;
}

.class-item-mini:hover .class-hover-preview {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.preview-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.preview-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.class-item-mini:hover .preview-img {
    transform: scale(1.1) translateY(-5px);
}

.preview-content {
    position: relative;
    z-index: 5;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.preview-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.preview-cta {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Arrow for the preview card */
.class-hover-preview::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(0, 168, 255, 0.3) transparent transparent transparent;
}


/* Downloads Section */
.section-downloads {
    padding: 100px 0;
    background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
}

.text-center {
    text-align: center;
}

.download-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.download-card {
    display: flex;
    flex-direction: column;
    width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.dl-card-content {
    padding: 40px 30px;
    text-align: center;
}

.download-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.dl-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.download-card:hover .dl-icon {
    transform: scale(1.1);
}

/* Individual branding */
.download-card.google {
    --dl-color: #4285F4;
}

.download-card.mega {
    --dl-color: #ff0000;
}

.download-card.mediafire {
    --dl-color: #0070f3;
}

.download-card.torrent {
    --dl-color: #34A853;
}

.download-card .dl-icon i {
    color: var(--dl-color, var(--primary));
    filter: drop-shadow(0 0 15px var(--dl-color, var(--primary)));
}

.dl-name {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

/* Inline Class Layout */
.inline-classes-display {
    background: radial-gradient(circle at 30% 30%, rgba(0, 168, 255, 0.05), transparent),
        linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
    margin: 40px auto;
    padding: 0;
    border: 1px solid rgba(0, 168, 255, 0.3);
    width: 100%;
    max-width: 1200px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.three-col-layout {
    display: flex;
    flex-direction: row;
    min-height: 520px;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    gap: 0;
}

.modal-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Side Panels */
.mod-left,
.mod-right {
    flex: 1;
    max-width: 380px;
    background: linear-gradient(135deg, rgba(0, 15, 30, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    position: relative;
    z-index: 10;
    padding: 30px;
    border-right: 1px solid rgba(0, 168, 255, 0.15);
}

.mod-right {
    border-right: none;
    border-left: 1px solid rgba(0, 168, 255, 0.15);
}

/* Center Character Panel */
.mod-center {
    flex: 1.5;
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 168, 255, 0.05) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
    z-index: 5;
}

/* Background "Aura" behind character */
.mod-center::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    opacity: 0.6;
    animation: aura-pulse 4s infinite alternate ease-in-out;
    z-index: -1;
}

.mod-center img {
    width: auto;
    max-width: 120%;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
    animation: hero-float 6s infinite ease-in-out;
}


.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 6px;
    text-align: center;
    text-shadow: 0 0 10px var(--primary-glow);
}

.modal-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
}

.modal-info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

/* Stat Bars */
.modal-stats {
    width: 100%;
}

.stats-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 8px var(--primary-glow);
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stat-icon {
    display: none;
    /* Hidden in the reference layout */
}

.stat-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 12px;
    font-weight: 700;
    color: #e74c3c;
}

.stat-bar-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    width: 100%;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: #e74c3c;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 8px rgba(231, 76, 60, 0.6);
}


.info-item {
    padding: 0;
    border: none;
    background: transparent;
    transition: none;
    margin-bottom: 5px;
}

.info-item:hover {
    transform: none;
    border-color: transparent;
}

.info-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-item h4 i {
    display: none;
}

.info-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.pros h4 {
    color: #2ecc71;
}

.cons h4 {
    color: #e74c3c;
}

/* Classes Section Intro */
.info-nested-classes {
    margin-bottom: 80px;
    text-align: center;
}

.subsection-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--primary-glow);
}

.classes-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* Class Navigation - Race & Class Tabs */
.race-tabs-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.race-tab {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 168, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
}

.race-tab:hover {
    background: rgba(0, 168, 255, 0.1);
    color: #fff;
    border-color: rgba(0, 168, 255, 0.5);
}

.race-tab.active {
    background: rgba(0, 168, 255, 0.15);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.class-sub-tabs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.class-tab {
    position: relative;
    background-color: rgba(0, 5, 10, 0.8);
    border: 1px solid rgba(0, 168, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.class-tab-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
    transition: all 0.3s ease;
}

.class-tab span {
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.class-tab:hover {
    color: #fff;
    border-color: rgba(0, 168, 255, 0.5);
    background-color: rgba(0, 168, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.class-tab:hover .class-tab-icon {
    filter: drop-shadow(0 0 8px rgba(0, 168, 255, 0.6));
}

.class-tab.active {
    background-color: rgba(0, 168, 255, 0.3);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow), inset 0 0 10px rgba(0, 168, 255, 0.2);
}

.class-tab.active .class-tab-icon {
    filter: drop-shadow(0 0 12px var(--primary-glow));
}

.class-tab.active span {
    text-shadow: 0 0 8px rgba(0, 168, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* Central Nav Controls Pill */
.class-nav-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 40px;
    padding: 5px;
    margin-top: -20px;
    width: 260px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.class-nav-controls .nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.class-nav-controls .nav-arrow:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.class-nav-controls .nav-label {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .three-col-layout {
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
        max-height: 80vh;
    }

    .mod-left,
    .mod-center,
    .mod-right {
        max-width: 100%;
        width: 100%;
        border: none;
        border-bottom: 1px solid rgba(0, 168, 255, 0.15);
        padding: 30px 20px;
    }

    .mod-right {
        border-bottom: none;
    }

    .mod-center img {
        max-height: 400px;
    }

    .modal-title {
        font-size: 2.2rem;
    }
}

.dl-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dl-action {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    border-top: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

.download-card:hover .dl-action {
    background: var(--dl-color, var(--primary));
    color: #fff;
}

/* Footer */
.main-footer {
    background: #000;
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Animations */
@keyframes floatingLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes statusPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-logo {
        max-height: 120px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .section-combined {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .hero-actions {
        flex-direction: column;
        padding: 0 20px;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 0.85rem;
    }

    .btn-discord {
        background: #5865F2 !important;
        /* Make it more prominent on mobile */
        opacity: 1 !important;
        box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
    }

    .timer {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-block {
        min-width: 60px;
        padding: 10px;
    }

    .time-block span {
        font-size: 1.5rem;
    }

    .server-features {
        grid-template-columns: 1fr;
    }

    .race-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .class-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .class-nav-controls {
        width: 100%;
        max-width: 300px;
    }

    .mod-center img {
        max-height: 400px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .subsection-title {
        font-size: 1.8rem;
    }

    .mod-left,
    .mod-right,
    .mod-center {
        padding: 15px;
    }

    .mod-center img {
        max-height: 300px;
    }
}

/* Footer Credits */
.footer-credits {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.4;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.footer-credits:hover {
    opacity: 0.8;
}

.footer-credits i {
    margin: 0 5px;
    color: #5865F2;
}