/* Home page styles
 * Moved out of index.php (was an inline <style>) on 2026-11-04. It is linked at the same spot,
 * so the cascade order is unchanged. Image URLs are root-absolute ($base_path is always "/").
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800;900&family=Cinzel:wght@600;700;900&display=swap');

* { font-family: 'Inter', sans-serif; }

/* ============ PURE-CSS GAMING BACKGROUND (Lighter & Cleaner) ============ */
body {
    min-height: 100vh;
    position: relative;
    color: #e2e8f0;
    background-color: #050608; /* Deep black base */
    background-image:
        radial-gradient(1000px 700px at -10% 35%, rgba(220, 38, 38, 0.2), transparent 65%),  /* Deep Red Glow */
        radial-gradient(800px 600px at -5% 85%, rgba(234, 88, 12, 0.2), transparent 70%),   /* Dark Orange Glow */
        linear-gradient(180deg, #0f0c0c 0%, #050608 45%, #000000 100%);                    /* Black Vignette */
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(234, 179, 8, .8), transparent 55%),     /* Dark Yellow Embers */
        radial-gradient(1.5px 1.5px at 30% 70%, rgba(234, 88, 12, .6), transparent 55%), /* Dark Orange Embers */
        radial-gradient(2px 2px at 55% 40%, rgba(220, 38, 38, .65), transparent 55%),    /* Red Embers */
        radial-gradient(1.5px 1.5px at 75% 80%, rgba(234, 179, 8, .55), transparent 55%),
        radial-gradient(2px 2px at 90% 25%, rgba(234, 88, 12, .6), transparent 55%),
        radial-gradient(1.5px 1.5px at 45% 90%, rgba(220, 38, 38, .6), transparent 55%),
        radial-gradient(2px 2px at 65% 10%, rgba(234, 179, 8, .55), transparent 55%);
    background-size: 900px 700px;
    animation: emberDrift 45s linear infinite;
    opacity: .75;
    pointer-events: none;
    z-index: 0;
}
@keyframes emberDrift {
    from { background-position: 0 0; }
    to   { background-position: 900px -700px; }
}

body::after {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.40) 100%);
    pointer-events: none;
    z-index: 0;
}

main { position: relative; z-index: 1; }

/* ============ GAMING DESIGN SYSTEM ============ */
.wow-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 12, 12, 0.95), rgba(5, 6, 8, 0.95)); /* Pure Black/Charcoal panels */
    border: 1px solid rgba(234, 88, 12, 0.35); /* Dark Orange panel border trim */
    box-shadow: 0 12px 32px rgba(0,0,0,.85), inset 0 0 60px rgba(220, 38, 38, 0.15); /* Subtle inner red shadow */
}
.wow-panel::before {
    content: ''; position: absolute; inset: 5px;
    border: 1px solid rgba(234, 179, 8, 0.15); /* Fine Dark Yellow inner frame accent */
    pointer-events: none;
}
.wow-panel::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(#ea580c,#ea580c) left top / 18px 2px,     /* Corner bracket swaps to Dark Orange */
        linear-gradient(#ea580c,#ea580c) left top / 2px 18px,
        linear-gradient(#ea580c,#ea580c) right top / 18px 2px,
        linear-gradient(#ea580c,#ea580c) right top / 2px 18px,
        linear-gradient(#ea580c,#ea580c) left bottom / 18px 2px,
        linear-gradient(#ea580c,#ea580c) left bottom / 2px 18px,
        linear-gradient(#ea580c,#ea580c) right bottom / 18px 2px,
        linear-gradient(#ea580c,#ea580c) right bottom / 2px 18px;
    background-repeat: no-repeat;
}

.wow-title {
    font-family: 'Cinzel', serif;
    font-weight: 900;
    background: linear-gradient(180deg, #fef08a 0%, #eab308 35%, #ea580c 70%, #991b1b 100%); /* Yellow -> Dark Orange -> Dark Red Gradient */
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,.95));
    letter-spacing: .02em;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #eab308; /* Dark Yellow Title */
    text-shadow: 0 0 12px rgba(234, 88, 12, 0.5), 0 2px 4px rgba(0,0,0,.9);
    display: flex; align-items: center; gap: .6rem;
}
.section-title::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(234, 88, 12, 0.5), transparent); /* Dark Orange line gradient */
}

.btn-game {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .95rem 2rem;
    font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: transform .2s ease, filter .2s ease;
    text-decoration: none;
}
.btn-game:hover { transform: translateY(-2px) scale(1.02); }

.btn-gold {
    background: linear-gradient(180deg, #fef08a 0%, #eab308 45%, #ea580c 100%); /* Orange & Yellow Gradient */
    color: #050608;
    text-shadow: 0 1px 0 rgba(255,255,255,.2);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 -8px 14px rgba(0,0,0,.3);
    animation: pulseGold 2.8s ease-in-out infinite;
}
@keyframes pulseGold {
    0%,100% { filter: drop-shadow(0 0 6px rgba(234, 88, 12, 0.4)); }
    50%     { filter: drop-shadow(0 0 18px rgba(220, 38, 38, 0.7)); } /* Pulses to an intense red/orange glow */
}

/* Secondary Buttons (Volcanic Charcoal & Dark Orange Theme) */
.btn-iron {
    background: linear-gradient(180deg, #1c1917 0%, #0c0a09 55%, #000000 100%) !important; /* Deep charcoal/black button */
    color: #ea580c !important; /* Intense Dark Orange font to remove the pink look */
    border: 1px solid rgba(234, 88, 12, 0.45) !important; /* Defined dark orange border line */
    box-shadow: inset 0 0 0 1px rgba(234, 179, 8, 0.1), inset 0 -8px 14px rgba(0,0,0,.6) !important;
    filter: drop-shadow(0 0 8px rgba(234, 88, 12, 0.15)) !important;
    transition: all 0.3s ease-in-out !important;
}

.btn-iron:hover {
    color: #fef08a !important; /* Shifts text to crisp dark yellow on hover */
    border-color: #eab308 !important; /* Lights border frame up to sharp yellow */
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.5), 0 1px 2px rgba(0,0,0,0.9);
    filter: drop-shadow(0 0 16px rgba(234, 88, 12, 0.55)) drop-shadow(0 0 4px rgba(234, 179, 8, 0.3)) !important;
}


.social-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px;
    font-weight: 700; font-size: 13px; letter-spacing: .03em;
    color: #fff; text-decoration: none; border: none; cursor: pointer;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: transform .2s ease, filter .2s ease;
}
.social-btn:hover { transform: translateY(-3px); }
.social-btn.youtube   { background: linear-gradient(180deg,#ff4d4d,#cc0000); filter: drop-shadow(0 0 6px rgba(255,0,0,.3)); }
.social-btn.youtube:hover   { filter: drop-shadow(0 0 14px rgba(255,0,0,.55)); }
.social-btn.discord   { background: linear-gradient(180deg,#7289ff,#4752c4); filter: drop-shadow(0 0 6px rgba(88,101,242,.3)); }
.social-btn.discord:hover   { filter: drop-shadow(0 0 14px rgba(88,101,242,.55)); }
.social-btn.instagram { background: linear-gradient(45deg,#405de6,#833ab4,#e1306c); filter: drop-shadow(0 0 6px rgba(225,48,108,.3)); }
.social-btn.instagram:hover { filter: drop-shadow(0 0 14px rgba(225,48,108,.55)); }

/* ============ FIXED ALLIGNMENTS (Gallery & Track Sizes) ============ */
.slider-frame { border: 1px solid rgba(234, 88, 12, 0.3); padding: 6px; background: rgba(0,0,0,.45); }
.slider-container { overflow: hidden; position: relative; width: 100%; }
.slider-track { display: flex; transition: transform .5s ease-in-out; width: 100%; }
.slide { min-width: 100%; width: 100%; }
.slide img { width: 100%; display: block; filter: saturate(1.05) contrast(1.05); }

.slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #eab308; font-size: 18px;
    background: linear-gradient(180deg, rgba(30,34,42,.9), rgba(10,12,16,.9));
    border: 1px solid rgba(234, 88, 12, 0.45);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all .2s ease;
}
.slider-nav:hover { color: #fff; border-color: #eab308; filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.6)); }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }

.dot {
    width: 9px; height: 9px; transform: rotate(45deg);
    background: #4b5563; cursor: pointer; transition: all .3s ease;
    box-shadow: 0 0 0 1px rgba(0,0,0,.6);
}
.dot:hover { background: #9ca3af; }
.dot.active {
    background: #eab308;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.8), 0 0 0 1px rgba(0,0,0,.6);
    transform: rotate(45deg) scale(1.25);
}

.news-card {
    display: block; position: relative; overflow: hidden;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.6), rgba(12, 10, 9, 0.8));
    border: 1px solid rgba(234, 88, 12, 0.2);
    transition: transform .3s ease, border-color .3s ease, filter .3s ease;
    text-decoration: none;
}
.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 179, 8, 0.7);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.8)) drop-shadow(0 0 10px rgba(234, 88, 12, 0.3));
}
.news-card .news-date {
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: #ea580c;
}

.tab-btn {
    position: relative;
    padding: .7rem 1.6rem;
    font-family: 'Cinzel', serif; font-weight: 700; font-size: .85rem; letter-spacing: .06em;
    color: #78716c; background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.03);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all .25s ease;
    cursor: pointer;
}
.tab-btn:hover { color: #d6d3d1; border-color: rgba(234, 88, 12, 0.4); }
.tab-btn.active {
    color: #eab308;
    background: linear-gradient(180deg, rgba(234, 88, 12, 0.2), rgba(234, 88, 12, 0.05));
    border-color: rgba(234, 179, 8, 0.65);
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.5);
}
.tab-panel { display: none; animation: fadeIn .4s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============ VIDEO EMBED ALIGNMENT FIX ============ */
.video-frame {
    border: 1px solid rgba(234, 88, 12, 0.35);
    padding: 6px; background: rgba(0,0,0,.5);
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.6));
    width: 100%;
}
.video-frame iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }

.status-online  { color: #4ade80; text-shadow: 0 0 8px rgba(74,222,128,.5); }
.status-offline { color: #f87171; text-shadow: 0 0 8px rgba(248,113,113,.5); }

.ornate-divider {
    border: 0; height: 12px; margin: 24px 0; position: relative;
    background: linear-gradient(90deg, transparent, rgba(234, 88, 12, 0.55), transparent);
}
.ornate-divider::after {
    content: '◆'; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    color: #eab308; font-size: 8px; text-shadow: 0 0 8px rgba(234, 179, 8, 0.8);
}

/* ============ RESPONSIVE SIDEBAR FIX ============ */
@media (max-width: 1024px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .sidebar-sticky .wow-panel {
        padding: 1rem;
    }
    .sidebar-sticky .wow-title {
        font-size: 1.1rem;
    }
}

/* Discord widget responsive */
.discord-widget-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.discord-widget-container iframe {
    max-width: 100%;
    height: 340px;
}
@media (max-width: 480px) {
    .discord-widget-container iframe {
        height: 280px;
    }
}

/* ============ FORCE TEXT WRAPPING ============ */
.force-wrap {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
