/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --color-bg-dark: #080402;
    --color-bg-panel: rgba(28, 12, 5, 0.75);
    --color-bg-panel-solid: #170702;
    
    --color-orange-primary: #ff6a00;
    --color-orange-light: #ffaa55;
    --color-orange-dark: #a83800;
    --color-orange-gradient: linear-gradient(180deg, #f4863c, #c94900);
    --color-orange-gradient-hover: linear-gradient(180deg, #ff9b57, #e85906);
    
    --color-text-main: #dfc8bb;
    --color-text-light: #fdf5f0;
    --color-text-muted: #8a7366;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #2a1104;
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-orange-dark);
}

.highlight-gold {
    color: var(--color-orange-primary); /* keeping class name for HTML compat */
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(255, 106, 0, 0.4); }
    50% { box-shadow: 0 0 30px rgba(255, 106, 0, 0.7); }
}

@keyframes spark {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn--premium {
    background: var(--color-orange-gradient);
    color: #2a1104;
    padding: 12px 28px;
    font-size: 14px;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.btn--premium:hover {
    background: var(--color-orange-gradient-hover);
    transform: translateY(-2px);
}

.btn--giant {
    background: var(--color-orange-gradient);
    color: #2a1104;
    padding: 20px 80px;
    font-size: clamp(20px, 2.5vw, 26px);
    letter-spacing: 4px;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.btn--glow {
    animation: pulse-glow 2s infinite;
}
.btn--glow:hover {
    background: var(--color-orange-gradient-hover);
    transform: scale(1.05);
}

.btn--outline {
    background: rgba(38, 12, 2, 0.4);
    border: 1px solid rgba(255, 106, 0, 0.5);
    color: var(--color-text-light);
    padding: 14px 40px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}
.btn--outline::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.2), transparent);
    transition: left 0.5s ease;
}
.btn--outline:hover {
    background: rgba(56, 17, 3, 0.8);
    border-color: var(--color-orange-primary);
    color: var(--color-orange-light);
}
.btn--outline:hover::before {
    left: 100%;
}

.btn--small {
    padding: 10px 24px;
    font-size: 14px;
}

/* ==========================================================================
   Header & Nav
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, rgba(8, 4, 2, 0.95), rgba(8, 4, 2, 0.7));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0px; 
    left: -30%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6a00, transparent);
    animation: sweepHeader 4s ease-in-out infinite alternate;
    box-shadow: 0 0 10px #ff6a00;
}

.header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 3px;
    color: var(--color-text-light);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav__link {
    font-family: 'Trajan Pro', 'Cinzel', serif;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text-main);
    transition: color var(--transition-fast);
}
.nav__link:hover, .nav__link.active {
    color: var(--color-orange-primary);
}

.header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(180deg, rgba(8,4,2,0.1) 0%, rgba(8,4,2,0.95) 100%),
        url('../img/bg-top-l2carnage.png');
    background-size: cover;
    background-position: top center;
    z-index: 1;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero__social {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange-primary);
    background: rgba(38, 12, 2, 0.4);
    backdrop-filter: blur(4px);
    transition: all var(--transition-fast);
}
.social-link:hover {
    border-color: var(--color-orange-light);
    background: rgba(56, 17, 3, 0.7);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
}

.hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__entrance-logo {
    margin: -24% auto -20%; /* Collapse invisible PNG transparent boundaries */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
    position: relative;
    z-index: 10;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-text-light);
    line-height: 1.1;
    text-shadow: 0 4px 25px rgba(0,0,0,1);
    margin-bottom: 25px;
}
.hero__subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 400;
    color: var(--color-orange-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 10px;
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-orange-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 25px auto -20px;
    text-shadow: 0 0 15px rgba(255,106,0,0.5);
    z-index: 2;
}

.hero-timer {
    margin: 30px auto 40px;
}

.hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px auto;
    max-width: 600px;
}
.hero__divider .line {
    flex: 1;
    height: 1px;
}
.hero__divider .line:first-child {
    background: linear-gradient(90deg, transparent, rgba(255,106,0,0.6));
}
.hero__divider .line:last-child {
    background: linear-gradient(90deg, rgba(255,106,0,0.6), transparent);
}
.hero__divider .diamond {
    color: var(--color-orange-primary);
    font-size: 14px;
}

.hero__scroll {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: float 3s ease-in-out infinite;
}

/* ==========================================================================
   Game Info & Sliders
   ========================================================================== */
.game-info {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: -80px auto 100px;
    padding: 0 20px;
}

.game-info__container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch;
}

.glow-box {
    position: relative;
    background: var(--color-bg-panel);
    border: 1px solid rgba(255, 106, 0, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 40px rgba(40,10,2,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.corner {
    position: absolute;
    width: 16px; height: 16px;
}
.corner.tl { top: 6px; left: 6px; border-top: 1px solid var(--color-orange-primary); border-left: 1px solid var(--color-orange-primary); }
.corner.tr { top: 6px; right: 6px; border-top: 1px solid var(--color-orange-primary); border-right: 1px solid var(--color-orange-primary); }
.corner.bl { bottom: 6px; left: 6px; border-bottom: 1px solid var(--color-orange-primary); border-left: 1px solid var(--color-orange-primary); }
.corner.br { bottom: 6px; right: 6px; border-bottom: 1px solid var(--color-orange-primary); border-right: 1px solid var(--color-orange-primary); }

.fancy-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,106,0,0.4), transparent);
    margin: 30px 0;
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(8,4,2, 0.8);
    border: 1px solid rgba(255,106,0,0.3);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-light);
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ff5500;
    box-shadow: 0 0 8px #ff5500;
}

/* Premium Countdown Container */
.cd-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.cd-box {
    width: 85px;
    height: 95px;
    background: rgba(8, 4, 2, 0.7);
    border: 1px solid rgba(255, 106, 0, 0.4);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.7), inset 0 0 25px rgba(255,106,0,0.15);
    backdrop-filter: blur(8px);
}
.cd-box::after {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,106,0,0.6), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.cd-val {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 36px;
    color: var(--color-text-light);
    line-height: 1;
    text-shadow: 0 0 15px rgba(255,106,0,0.6);
}
.cd-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange-light);
    margin-top: 6px;
}

/* Season Slider Overlay */
.season-slider {
    flex: 1 1 500px;
    min-height: 480px;
    border: 1px solid rgba(255,106,0,0.3);
    background-image: url('../img/bg-top-l2carnage.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}
.season-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8,4,2,0.95) 0%, rgba(8,4,2,0.3) 100%);
    z-index: 1;
}
.season-slider__content {
    position: relative;
    z-index: 2;
    max-width: 400px;
}
.season-slider__title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
    color: var(--color-text-light);
    line-height: 1.2;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

/* ==========================================================================
   Sections base
   ========================================================================== */
.section {
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 20px;
}
.section__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}
.section__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    white-space: nowrap;
}
.section__title.title--huge {
    font-size: clamp(34px, 5vw, 56px);
}
.section__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,106,0,0.4), transparent);
}

/* ==========================================================================
   Server Features / Info Grid
   ========================================================================== */
.server-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 4, 2, 0.4);
    border: 1px solid rgba(255,106,0,0.15);
    padding: 12px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.feature-item:hover {
    background: rgba(40, 15, 5, 0.6);
    border-color: rgba(255,106,0,0.5);
    transform: translateX(5px);
}
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange-primary);
    filter: drop-shadow(0 0 5px rgba(255,106,0,0.5));
}
.feature-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text-main);
    letter-spacing: 1px;
}
.feature-text strong {
    color: var(--color-orange-light);
}

/* ==========================================================================
   Roadmap
   ========================================================================== */
.roadmap__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.roadmap-card {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    z-index: 1;
    display: block;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 75%, rgba(255, 106, 0, 0.9) 100%);
    animation: rotateBorder 3.5s linear infinite;
    z-index: 0;
}

.roadmap-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg-panel-solid);
    border-radius: 11px;
    z-index: 1;
    transition: background var(--transition-medium);
}

.roadmap-card > * {
    position: relative;
    z-index: 2;
}

.roadmap-card__top {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-orange-primary), transparent);
    width: 0%;
    transition: width var(--transition-medium);
    margin: 0 auto;
}
.roadmap-card__content {
    padding: 35px 30px;
}
.roadmap-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}
.roadmap-card:hover::after {
    background: rgba(38, 12, 2, 0.95);
}
.roadmap-card:hover .roadmap-card__top {
    width: 100%;
}
.roadmap-card__date {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-orange-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}
.roadmap-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}
.roadmap-card__desc {
    font-size: 15px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Shop
   ========================================================================== */
.shop__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.shop__dots {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text-muted);
    font-size: 18px;
}
.shop__dots .chevron { font-size: 24px; cursor: pointer; transition: color 0.2s;}
.shop__dots .chevron:hover { color: var(--color-text-light); }
.shop__dots .diamond { color: var(--color-orange-primary); font-size: 12px;}

.shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.shop-card {
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    z-index: 1;
    display: block;
}

.shop-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 75%, rgba(255, 106, 0, 0.9) 100%);
    animation: rotateBorder 3.5s linear infinite;
    z-index: 0;
}

.shop-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: var(--color-bg-panel-solid);
    border-radius: 11px;
    z-index: 1;
    transition: background var(--transition-medium);
}

.shop-card > * {
    position: relative;
    z-index: 2;
}

.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,106,0,0.05); /* inset won't show over the pseudo element... we need to place box-shadow on the main div? Yes */
}
.shop-card:hover::after {
    background: rgba(38, 12, 2, 0.95);
}
.shop-card__tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-orange-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
}
.shop-card__tag.highlight {
    color: #ff3300;
    text-shadow: 0 0 10px rgba(255, 51, 0, 0.5);
}
.shop-card__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.shop-card__desc {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #080402;
    border-top: 1px solid rgba(255,106,0,0.15);
    padding: 50px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 18px;
    color: var(--color-text-muted);
}
.footer__brand svg {
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s;
}
.footer__brand:hover svg {
    filter: grayscale(0%) opacity(1);
}

.footer__links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer__links a {
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8c6a58;
    transition: color var(--transition-fast);
}
.footer__links a:hover {
    color: var(--color-orange-primary);
}

.footer__copyright {
    width: 100%;
    text-align: center;
    font-size: 13px;
    color: #634a3e;
    letter-spacing: 1px;
    margin-top: 20px;
}

/* ==========================================================================
   Discord Popup 
   ========================================================================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8,4,2,0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.popup-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.popup-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--color-bg-panel-solid);
    border: 2px solid var(--color-orange-primary);
    border-radius: 12px;
    padding: 35px 25px 25px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 50px rgba(255,106,0, 0.15), inset 0 0 30px rgba(255,106,0, 0.05);
}
.popup-overlay.is-active .popup-modal {
    transform: scale(1);
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: var(--color-orange-primary);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
}
.popup-close:hover {
    color: var(--color-text-light);
    transform: scale(1.1);
}
.popup-title {
    font-family: var(--font-heading);
    color: var(--color-orange-primary);
    font-size: 20px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255,106,0,0.4);
}
.popup-widget {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,106,0,0.3);
    background: #180b05;
}
.discord-btn {
    width: 100%;
    background: #cc4400;
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    margin-top: 20px;
    padding: 14px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    letter-spacing: 1px;
}
.discord-btn:hover {
    background: #a83800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204,68,0,0.4);
}

/* ==========================================================================
   Responsiveness
   ========================================================================== */
.show-mobile { display: none; }
.hidden-mobile { display: flex; }

@media (max-width: 1024px) {
    .header__nav {
        gap: 15px;
    }
    .nav__link {
        font-size: 13px;
    }
    .btn--premium {
        padding: 10px 20px;
    }
    .season-slider {
        padding: 40px;
    }
}

@media (max-width: 860px) {
    .hero__social {
        display: none;
    }
    .hero {
        padding: 140px 20px 40px;
    }
    
    .status-card {
        padding: 30px 20px;
    }

    /* Mobile Header/Nav */
    .header__mobile-toggle {
        display: block;
    }
    .header__nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(8,4,2,0.98);
        flex-direction: column;
        padding: 30px 20px;
        border-bottom: 1px solid rgba(255,106,0,0.3);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 99;
    }
    .header__nav.is-open {
        transform: translateY(0);
    }
    .nav__cta {
        margin-top: 15px;
        width: 100%;
    }
    
    .show-mobile { display: inline-flex; }
    .hidden-mobile { display: none !important; }
}

@media (max-width: 500px) {
    .hero__title {
        font-size: 28px;
    }
    .btn--giant {
        width: 100%;
        padding: 16px 20px;
        font-size: 18px;
    }
    .cd-box {
        width: 65px;
        height: 75px;
    }
    .cd-val {
        font-size: 24px;
    }
    .cd-label {
        font-size: 9px;
    }
}

/* =========================================
   RANKING STYLES (L2 CARNAGE DARK FANTASY)
   ========================================= */
.ranking-wrapper h1, .ranking-wrapper h2 {
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    text-align: center;
    text-transform: uppercase;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.rankings_options {
    background: rgba(8, 4, 2, 0.8);
    border: 1px solid rgba(255, 106, 0, 0.3);
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    text-align: center;
    font-family: 'Cinzel', serif;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    box-shadow: inset 0 0 15px rgba(165, 93, 36, 0.2);
}
.rankings_options div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.rankings_options a {
    color: var(--color-orange-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(165, 93, 36, 0.1);
}
.rankings_options a:hover {
    background: rgba(255, 106, 0, 0.15);
    color: var(--color-gold);
    border-color: rgba(255, 106, 0, 0.5);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
}
.rankings_options a.ativa, .rankings_options a.act {
    background: rgba(255, 85, 0, 0.3);
    color: var(--color-orange-light);
    border-color: var(--color-orange-primary);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.4);
    font-weight: 600;
}
.horMenu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.horMenu a {
    color: var(--color-orange-secondary);
    padding: 8px 20px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s ease;
    font-family: 'Cinzel', serif;
}
.horMenu a:hover, .horMenu a.act {
    color: var(--color-gold);
    border-color: var(--color-orange-primary);
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.5);
}

table.default {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: rgba(20, 8, 3, 0.6);
    color: #ffdcb5;
    border: 1px solid rgba(165, 93, 36, 0.3);
}
table.default th {
    background: linear-gradient(180deg, rgba(60,20,5,0.7) 0%, rgba(8,4,2,0.9) 100%);
    padding: 15px;
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-orange-primary);
    text-align: left;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
}
table.default th.pos {
    text-align: center;
    width: 60px;
}
table.default td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(165, 93, 36, 0.15);
    font-size: 14px;
    transition: background 0.2s;
}
table.default td.pos {
    text-align: center;
    color: var(--color-gold);
    font-weight: bold;
    font-family: 'Cinzel', serif;
}
table.default tr.two {
    background: rgba(255, 255, 255, 0.02);
}
table.default tr:hover td {
    background: rgba(255, 106, 0, 0.1);
}
table.default td.foco {
    color: var(--color-orange-primary) !important;
    font-weight: 600;
}

.castled {
    background: linear-gradient(135deg, rgba(60,20,5,0.3) 0%, rgba(8,4,2,0.6) 100%);
    border: 1px solid rgba(165, 93, 36, 0.4);
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.castled::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 2px; height: 100%;
    background: var(--color-orange-primary);
    box-shadow: 0 0 10px var(--color-orange-primary);
}
.castled .ct {
    width: 100%;
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255, 106, 0, 0.2);
    padding-bottom: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.castled .ci {
    flex: 1;
    min-width: 250px;
}
.castled .co {
    color: var(--color-orange-secondary);
    display: inline-block;
    width: 90px;
    font-weight: 500;
}
.castled .cc {
    display: inline-block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400;
}
.castled .nwar {
    flex: 1;
    min-width: 250px;
    color: #e0d0c0;
}
.pddInner {
    text-align: center;
    color: var(--color-orange-secondary);
    font-size: 13px;
    margin-bottom: 20px;
}
.formpadrao {
    display: inline-block;
    background: rgba(8, 4, 2, 0.8);
    border: 1px solid rgba(165, 93, 36, 0.4);
    padding: 10px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.formpadrao .desc {
    color: var(--color-gold);
    font-family: 'Cinzel', serif;
    margin-right: 10px;
    display: inline-block;
}
.formpadrao .camp {
    display: inline-block;
}
.formpadrao select {
    background: rgba(60, 20, 5, 0.5);
    color: #fff;
    border: 1px solid var(--color-orange-primary);
    padding: 5px 10px;
    font-family: 'Outfit', sans-serif;
    border-radius: 3px;
    outline: none;
}
.formpadrao select:focus {
    box-shadow: 0 0 8px rgba(255, 106, 0, 0.4);
}

/* =========================================
   EDITABLE LOGO IMG STYLES
   ========================================= */
.header__logo-img {
    height: 48px; /* Mantém o tamanho amigável para navegação */
    width: auto;
    object-fit: contain;
}

.hero__logo-img {
    width: 100%;
    max-width: 550px; /* Logo enorme e considerável na center, mas que não invade outras seções */
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.hero__logo-img:hover {
    transform: scale(1.05);
}

/* =========================================
   ANIMATED BORDER HELPERS
   ========================================= */
@keyframes rotateBorder {
    100% { transform: rotate(360deg); }
}

@keyframes sweepHeader {
    0% { left: -30%; }
    100% { left: 100%; }
}

.corner {
    display: none !important;
}

/* =========================================
   FLOATING DISCORD BUTTON
   ========================================= */
.floating-discord {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(23,7,2,0.9), rgba(8,4,2,0.95));
    border: 1px solid var(--color-orange-primary);
    border-radius: 9999px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8), 0 0 15px rgba(255,106,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.floating-discord::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--color-orange-primary));
    animation: rotateBorder 4s linear infinite;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-discord:hover::before {
    opacity: 1;
}

.floating-discord:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.9), 0 0 25px rgba(255,106,0,0.6);
    border-color: var(--color-orange-light);
}

.floating-discord svg {
    width: 24px;
    height: 24px;
    fill: var(--color-orange-primary);
    transition: fill 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(255,106,0,0.5));
}

.floating-discord:hover svg {
    fill: var(--color-orange-light);
    transform: scale(1.1) rotate(-5deg);
}

.floating-discord span {
    font-family: "Trajan Pro", "Cinzel", serif;
    color: var(--color-orange-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
/* The contextual short button */
.klaro .cookie-notice {
    background: var(--color-bg-panel-solid) !important;
    border: 1px solid var(--color-orange-primary) !important;
    border-radius: 20px !important;
}
.klaro .cookie-notice .cn-button {
    font-family: 'Trajan Pro', 'Cinzel', serif !important;
}
.klaro .slider {
    background-color: var(--color-bg-panel) !important;
    border: 1px solid var(--color-orange-dark) !important;
}
input:checked + .klaro .slider, .klaro input:checked + .slider {
    background-color: var(--color-orange-primary) !important;
}
.klaro .cm-link {
    color: var(--color-orange-primary) !important;
}
#kl-privacy-toggle {
    background: var(--color-bg-panel-solid) !important;
    border: 1px solid var(--color-orange-primary) !important;
    border-radius: 4px !important;
    color: var(--color-text-light) !important;
    font-family: 'Trajan Pro', 'Cinzel', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 8px 16px !important;
}
#kl-privacy-toggle svg {
    color: var(--color-orange-primary) !important;
}
#kl-privacy-toggle:hover {
    background: var(--color-bg-dark) !important;
    box-shadow: 0 0 15px rgba(255,106,0,0.5) !important;
}


/* Server Status Widget Layout */
.server-status-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* Push to right */
}
.server-status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.server-status-item .label {
    color: #a09d94;
}
.server-status-led {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 5px currentColor;
}
.server-status-led.online {
    background: #00ff02;
    color: #00ff02;
    box-shadow: 0 0 10px #00ff02, 0 0 20px #00ff02;
}
.server-status-led.offline {
    background: #ff3333;
    color: #ff3333;
    box-shadow: 0 0 10px #ff3333, 0 0 20px #ff3333;
}
.server-status-text.online {
    color: #00ff02;
    text-shadow: 0 0 5px rgba(0,255,2,0.3);
}
.server-status-text.offline {
    color: #ff3333;
    text-shadow: 0 0 5px rgba(255,51,51,0.3);
}
@media (max-width: 900px) {
    .server-status-widget {
        display: none; /* Hide on small screens where header breaks */
    }
}