/* --- ROOT VARIABLES & RESET --- */
:root {
    --primary: #00f3ff;
    --primary-dark: #0099a8;
    --secondary: #ff0055;
    --secondary-dark: #cc0044;
    --accent: #ffd700;
    --dark-bg: #020208;
    --card-bg: rgba(8, 12, 30, 0.85);
    --glass: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #8899bb;
    --font-title: 'Cinzel', serif;
    --font-body: 'Cinzel', serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --cosmic-glow: 0 0 15px rgba(0,243,255,0.3), 0 0 30px rgba(0,243,255,0.1);
    --nebula-1: rgba(0,243,255,0.08);
    --nebula-2: rgba(255,0,85,0.06);
    --nebula-3: rgba(255,215,0,0.05);
}

/* Global scaling baseline */
html {
    font-size: clamp(13px, 1.2vw + 6px, 22px);
}
@media (max-width: 575.98px) {
    html { font-size: 13px; }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    html { font-size: 14px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    html { font-size: 15px; }
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--dark-bg);
}

body {
    background-color: var(--dark-bg);
    background-image: 
        radial-gradient(ellipse at 20% 50%, var(--nebula-1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, var(--nebula-2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, var(--nebula-3) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #010108; }
::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, var(--primary), var(--secondary)); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(to bottom, var(--secondary), var(--primary)); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6, .cinematic-font {
    font-family: var(--font-title);
    letter-spacing: 3px;
}

.text-neon { 
    color: var(--primary); 
    text-shadow: 0 0 10px rgba(0,243,255,0.6), 0 0 20px rgba(0,243,255,0.3), 0 0 40px rgba(0,243,255,0.15); 
    animation: cosmicPulse 3s ease-in-out infinite;
}
.text-danger-neon { 
    color: var(--secondary); 
    text-shadow: 0 0 10px rgba(255,0,85,0.6), 0 0 20px rgba(255,0,85,0.3), 0 0 40px rgba(255,0,85,0.15); 
}
.text-gold { 
    color: var(--accent); 
    text-shadow: 0 0 10px rgba(255,215,0,0.6), 0 0 20px rgba(255,215,0,0.3), 0 0 40px rgba(255,215,0,0.15); 
}

@keyframes cosmicPulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0,243,255,0.6), 0 0 20px rgba(0,243,255,0.3), 0 0 40px rgba(0,243,255,0.15); }
    50% { text-shadow: 0 0 15px rgba(0,243,255,0.8), 0 0 30px rgba(0,243,255,0.5), 0 0 60px rgba(0,243,255,0.25); }
}

@keyframes cosmicFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes nebulaShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.movie-item {
    transition: all 0.3s ease;
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0,243,255,0.3); box-shadow: 0 0 15px rgba(0,243,255,0.1); }
    50% { border-color: rgba(0,243,255,0.6); box-shadow: 0 0 25px rgba(0,243,255,0.2); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}



/* --- BACKGROUND PARTICLES --- */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 30% 20%, #0a0a2e 0%, #020208 40%, #000003 100%);
}

html.assistive-browser,
html.assistive-browser body {
    scroll-behavior: auto !important;
}

html.assistive-browser *,
html.assistive-browser *::before,
html.assistive-browser *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

html.assistive-browser #particles-js,
html.assistive-browser #matrixCanvas {
    display: none !important;
}

html.assistive-browser section::before,
html.assistive-browser .skill-video-overlay {
    display: none !important;
}

/* --- NAVIGATION --- */
.navbar {
    background: linear-gradient(180deg, rgba(5,5,20,0.97) 0%, rgba(5,5,15,0.92) 100%);
    backdrop-filter: blur(30px) saturate(1.6);
    border-bottom: 1px solid rgba(0,243,255,0.1);
    --bs-navbar-padding-y: 0;
    --bs-navbar-padding-x: 0;
    padding: 6px 0 !important;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(0,243,255,0.08) inset;
}
.navbar > .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}
.navbar-brand {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main) !important;
    text-shadow: 0 0 15px rgba(255,0,85,0.5), 2px 2px 0px var(--secondary);
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin: 0 0px;
    padding: 5px 5px !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    border: none;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    text-shadow: 0 0 12px rgba(0,243,255,0.5);
}

/* No scanning hover glow */
.nav-link::before {
    display: none !important;
}

/* Hover effect - no border/shadow */
.nav-link:hover {
    background: transparent;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: none;
}

/* Active link - no border/shadow/animation */
.nav-link.active {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    animation: none;
}

/* Nav icons on desktop */
.nav-link-icon {
    display: inline-block;
    font-size: 0.7rem;
    margin-right: 3px;
    color: rgba(0, 243, 255, 0.4);
    transition: all 0.3s ease;
    vertical-align: middle;
    text-align: center;
}
.nav-link:hover .nav-link-icon {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0,243,255,0.5);
    transform: scale(1.15);
}
.nav-link.active .nav-link-icon {
    color: var(--primary);
    text-shadow: 0 0 12px rgba(0,243,255,0.6);
}

/* Desktop nav item stagger animation (same as mobile) */
.navbar-nav .nav-item {
    animation: desktopNavFadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
    position: relative;
}
.navbar-nav .nav-item:nth-child(1) { animation-delay: 0.03s; }
.navbar-nav .nav-item:nth-child(2) { animation-delay: 0.06s; }
.navbar-nav .nav-item:nth-child(3) { animation-delay: 0.09s; }
.navbar-nav .nav-item:nth-child(4) { animation-delay: 0.12s; }
.navbar-nav .nav-item:nth-child(5) { animation-delay: 0.15s; }
.navbar-nav .nav-item:nth-child(6) { animation-delay: 0.18s; }
.navbar-nav .nav-item:nth-child(7) { animation-delay: 0.21s; }
.navbar-nav .nav-item:nth-child(8) { animation-delay: 0.24s; }
.navbar-nav .nav-item:nth-child(9) { animation-delay: 0.27s; }
.navbar-nav .nav-item:nth-child(10) { animation-delay: 0.30s; }


@keyframes desktopNavFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.global-search-bar,
.navbar-search-row {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 8px;
    border-top: none;
}
.navbar-search-inline {
    flex: 0 1 auto;
    display: flex;
    margin-right: 20px;
    min-width: 0;
    max-width: calc(100% - 200px);
    width: calc(100% - 200px);
    order: 12;
}
.navbar-icons {
    flex-shrink: 0;
    order: 13;
}
.navbar-search-inline .search-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 auto;
    position: relative;
}
.navbar-search-inline .search-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,243,255,0.5);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 2;
}
.navbar-search-inline .search-field {
    width: 100% !important;
    opacity: 1 !important;
    border: 1px solid rgba(0,243,255,0.12);
    border-radius: 24px;
    background: rgba(0,243,255,0.03);
    height: 34px;
    line-height: 34px;
    font-size: 0.75rem;
    padding: 0 14px 0 38px;
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.navbar-search-inline .search-field:focus {
    border-color: rgba(0,243,255,0.35);
    background: rgba(0,243,255,0.06);
    box-shadow: 0 0 20px rgba(0,243,255,0.08), inset 0 0 12px rgba(0,243,255,0.03);
}
.navbar-search-inline .search-field::placeholder {
    color: rgba(136,153,187,0.45);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}
.navbar-search-row .search-wrap {
    width: 100%;
    max-width: 700px;
    position: relative;
}
.navbar-search-row .search-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0,243,255,0.5);
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 2;
}
.navbar-search-row .search-field {
    width: 100% !important;
    opacity: 1 !important;
    border: 1px solid rgba(0,243,255,0.12);
    border-radius: 24px;
    background: rgba(0,243,255,0.03);
    height: 34px;
    line-height: 34px;
    font-size: 0.75rem;
    padding: 0 14px 0 38px;
    color: #fff;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.navbar-search-row .search-field:focus {
    border-color: rgba(0,243,255,0.35);
    background: rgba(0,243,255,0.06);
    box-shadow: 0 0 20px rgba(0,243,255,0.08), inset 0 0 12px rgba(0,243,255,0.03);
}
.navbar-search-row .search-field::placeholder {
    color: rgba(136,153,187,0.45);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}
.search-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}
@media (min-width: 992px) {
    .navbar-search-row {
        padding: 5px 0;
    }
    .navbar-search-row .search-wrap,
    .navbar-search-inline .search-wrap {
        max-width: 100%;
    }
    .navbar-search-row .search-field,
    .navbar-search-inline .search-field {
        height: 36px;
        line-height: 36px;
        font-size: 0.8rem;
        border-radius: 22px;
        padding: 0 16px 0 40px;
    }
    .navbar-search-row .search-field::placeholder,
    .navbar-search-inline .search-field::placeholder {
        font-size: 0.76rem;
    }
    .navbar-search-row .search-wrap .search-icon,
    .navbar-search-inline .search-wrap .search-icon {
        font-size: 0.85rem;
        left: 14px;
    }
}

/* --- SECTIONS COMMON --- */
section {
    padding: 10px 0 60px 0;
    min-height: 100vh;
    display: none;
    position: relative;
}
section.active { display: block; }
section#home.active { display: flex; }
section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 90%, rgba(0,243,255,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(255,0,85,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
section > * { position: relative; z-index: 1; }

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(5px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* --- HERO SECTION --- */
#home {
    background: url('https://images.unsplash.com/photo-1475274047050-1d0c0975c63e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#home::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: 
        linear-gradient(to bottom, rgba(2,2,8,0.2) 0%, rgba(2,2,8,0.6) 50%, var(--dark-bg) 100%),
        radial-gradient(ellipse at center top, rgba(0,243,255,0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(255,0,85,0.08) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 40%, var(--secondary) 70%, var(--accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0,243,255,0.4)) drop-shadow(0 0 60px rgba(255,0,85,0.2));
    animation: nebulaShift 6s ease-in-out infinite;
}

/* --- CHARACTER CARDS (3D TILT) --- */
.filter-bar {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    background: rgba(8, 12, 30, 0.6);
    border: 1px solid rgba(0,243,255,0.15);
    border-radius: 50px;
    padding: 6px 8px;
    backdrop-filter: blur(10px);
}
.filter-bar .filter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,243,255,0.1);
    color: var(--primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.filter-scroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0,243,255,0.25);
    background: rgba(0,243,255,0.06);
    color: var(--primary);
    font-size: 0.65rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}
.filter-scroll-btn:hover {
    background: rgba(0,243,255,0.15);
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0,243,255,0.3);
}
.char-filters {
    display: flex;
    flex: 1;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(0,243,255,0.08);
    scroll-behavior: smooth;
    min-width: 0;
    padding-bottom: 6px;
}
.char-filters::-webkit-scrollbar { height: 4px; }
.char-filters::-webkit-scrollbar-track { background: rgba(0,243,255,0.08); border-radius: 10px; }
.char-filters::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.char-filters::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
.filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 5px 14px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-btn:hover {
    color: var(--primary);
    background: rgba(0,243,255,0.08);
    border-color: rgba(0,243,255,0.2);
}
.filter-btn.active {
    background: linear-gradient(135deg, rgba(0,243,255,0.2), rgba(0,243,255,0.08));
    color: #fff;
    border-color: rgba(0,243,255,0.5);
    box-shadow: 0 0 12px rgba(0,243,255,0.2);
    text-shadow: 0 0 8px rgba(0,243,255,0.4);
}

.char-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.1);
    aspect-ratio: 3 / 4;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}
.char-card:hover { transform: scale(1.04); }
.char-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top, rgba(2,2,8,0.5) 0%, rgba(2,2,8,0.1) 30%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}
.char-card::after {
    content: ''; position: absolute; inset: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.4s;
    z-index: 4;
    pointer-events: none;
}
.char-card:hover::after { border-color: rgba(0,243,255,0.15); }
.char-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    flex-shrink: 0;
    transition: transform 0.6s var(--ease), filter 0.4s;
}
.char-card:hover .char-img { transform: scale(1.05); }
.char-info {
    width: 100%;
    padding: 8px 10px;
    z-index: 2;
    background: rgba(2,2,8,0.92);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.char-name { 
    font-size: 0.85rem; font-weight: 700; margin: 0; line-height: 1.2;
    text-shadow: 0 0 20px rgba(255,255,255,0.25), 0 1px 3px rgba(0,0,0,0.8);
    white-space: nowrap;
    text-align: center;
    letter-spacing: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.char-info-divider {
    width: 30px; height: 1px; margin: 5px auto;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 1px;
    opacity: 0.7;
    transition: width 0.4s ease, opacity 0.4s ease;
}
.char-card:hover .char-info-divider { width: 50px; opacity: 1; }
.char-universe { 
    color: rgba(255,255,255,0.55); font-size: 0.6rem; margin: 0;
    letter-spacing: 1px;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
}
.char-universe span:first-child {
    color: var(--primary);
    opacity: 1;
    text-shadow: 0 0 10px rgba(0,243,255,0.5);
}
.char-universe span:last-child {
    color: var(--accent);
    opacity: 1;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.role-badge {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px;
    font-size: 1.2rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    z-index: 3;
    border: 2px solid transparent;
    backdrop-filter: blur(6px);
    font-family: var(--font-title);
    color: #fff;
}
/* ---- VILLAIN Badge ---- */
.role-badge.villain {
    background: radial-gradient(circle, #ff2040, #b0001e);
    border-color: rgba(255,80,80,0.5);
    box-shadow: 0 0 12px rgba(255,0,40,0.5), 0 0 25px rgba(255,0,40,0.15);
    text-shadow: 0 0 6px rgba(255,0,0,0.7);
}
/* ---- HERO Badge ---- */
.role-badge.hero {
    background: radial-gradient(circle, #00e060, #008a30);
    border-color: rgba(80,255,120,0.5);
    box-shadow: 0 0 12px rgba(0,224,96,0.5), 0 0 25px rgba(0,224,96,0.15);
    text-shadow: 0 0 6px rgba(0,200,80,0.7);
}
/* ---- NEUTRAL Badge ---- */
.role-badge.neutral {
    background: radial-gradient(circle, #a070ff, #6030c0);
    border-color: rgba(180,140,255,0.5);
    box-shadow: 0 0 12px rgba(160,100,255,0.5), 0 0 25px rgba(160,100,255,0.15);
    text-shadow: 0 0 6px rgba(160,100,255,0.7);
    color: #e0d0ff;
}

/* --- MODAL (CHARACTER DETAILS) --- */
.full-screen-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #020208;
    z-index: 10000;
    overflow-y: auto;
    display: none;
    padding: 40px 0;
    animation: zoomIn 0.5s ease;
}
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; filter: blur(10px); } to { transform: scale(1); opacity: 1; filter: blur(0); } }
.close-modal {
    position: fixed; top: 20px; left: 20px;
    width: 44px; height: 44px;
    font-size: 1.6rem; color: #fff; cursor: pointer; z-index: 10001;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.close-modal:hover { transform: rotate(90deg); color: var(--secondary); text-shadow: 0 0 20px rgba(255,0,85,0.5); background: rgba(255,0,85,0.15); border-color: rgba(255,0,85,0.3); }

/* === CHARACTER PROFILE PANEL === */
.char-profile-panel {
    background: radial-gradient(ellipse at top, rgba(10,15,35,0.95), rgba(2,2,8,0.98));
    border: 1px solid rgba(0,243,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.char-profile-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}
.profile-header {
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.profile-header i {
    color: var(--accent);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}
.profile-header h4 {
    margin: 0;
    color: var(--accent);
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255,215,0,0.3);
}
/* Bio Info Grid */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
}
.bio-item {
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    transition: background 0.3s ease;
}
.bio-item:hover {
    background: rgba(0,243,255,0.03);
}
.bio-item:nth-child(even) {
    border-right: none;
}
.bio-label {
    font-size: 0.65rem;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
    opacity: 0.8;
}
.bio-value {
    font-size: 1rem;
    color: #fff;
    font-family: var(--font-title);
    font-weight: 600;
}
/* Combat Stats Section */
.combat-stats-section {
    margin-top: 16px;
    padding: 0;
}
.combat-stats-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}
.combat-stats-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.5), rgba(255,140,0,0.3), transparent);
}
.combat-stats-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.combat-stats-header-title span {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,215,0,0.5), 0 0 30px rgba(255,140,0,0.3);
}
.combat-stats-header-title i {
    color: var(--accent);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
    animation: statsIconPulse 3s ease-in-out infinite;
}
@keyframes statsIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}
.stat-row {
    display: flex;
    align-items: center;
    padding: 8px 24px;
    gap: 12px;
    transition: background 0.3s ease;
}
.stat-row:hover {
    background: rgba(255,255,255,0.02);
}
.stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.stat-icon.power-icon { background: rgba(255,0,85,0.15); color: var(--secondary); }
.stat-icon.speed-icon { background: rgba(0,243,255,0.15); color: var(--primary); }
.stat-icon.strength-icon { background: rgba(255,215,0,0.15); color: var(--accent); }
.stat-icon.int-icon { background: rgba(138,43,226,0.2); color: #b366ff; }
.stat-icon.endurance-icon { background: rgba(0,255,136,0.15); color: #00ff88; }

.stat-name {
    width: 100px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    flex-shrink: 0;
}
.stat-bar-bg {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.stat-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s;
    position: relative;
}
.stat-bar-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: inherit;
    box-shadow: 0 0 8px currentColor, 0 0 16px currentColor;
    opacity: 0.8;
}
.stat-bar-fill.bar-power { background: linear-gradient(90deg, rgba(255,0,85,0.3), var(--secondary)); color: var(--secondary); }
.stat-bar-fill.bar-speed { background: linear-gradient(90deg, rgba(0,243,255,0.3), var(--primary)); color: var(--primary); }
.stat-bar-fill.bar-strength { background: linear-gradient(90deg, rgba(255,215,0,0.3), var(--accent)); color: var(--accent); }
.stat-bar-fill.bar-int { background: linear-gradient(90deg, rgba(138,43,226,0.3), #b366ff); color: #b366ff; }
.stat-bar-fill.bar-endurance { background: linear-gradient(90deg, rgba(0,255,136,0.3), #00ff88); color: #00ff88; }

.stat-value {
    width: 32px;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-title);
    flex-shrink: 0;
}
.stat-value.val-power { color: var(--secondary); }
.stat-value.val-speed { color: var(--primary); }
.stat-value.val-strength { color: var(--accent); }
.stat-value.val-int { color: #b366ff; }
.stat-value.val-endurance { color: #00ff88; }

/* Overall Rating */
.overall-rating {
    margin-top: 16px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(255,215,0,0.04), rgba(255,140,0,0.02), rgba(120,0,255,0.02));
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.overall-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), rgba(255,140,0,0.4), rgba(120,0,255,0.3), transparent);
}
.overall-rating::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(120,0,255,0.3), rgba(255,140,0,0.4), rgba(255,215,0,0.6), transparent);
}
.overall-rating-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255,215,0,0.15), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: overallGlow 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes overallGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}
.overall-label {
    font-family: var(--font-title);
    font-size: 0.75rem;
    color: rgba(255,215,0,0.7);
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255,215,0,0.2);
}
.overall-value {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: var(--font-title);
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ff8c00, #ffd700);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.4)) drop-shadow(0 0 30px rgba(255,140,0,0.2));
    z-index: 1;
    animation: overallShine 3s ease-in-out infinite;
    line-height: 1;
}
@keyframes overallShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@media (max-width: 576px) {
    .bio-grid { grid-template-columns: 1fr 1fr; }
    .bio-item { padding: 10px 16px; }
    .stat-row { padding: 6px 16px; }
    .stat-name { width: 85px; font-size: 0.6rem; }
    .stat-icon { width: 24px; height: 24px; font-size: 0.6rem; }
}

.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.skill-btn {
    background: linear-gradient(145deg, rgba(120,0,255,0.12), rgba(255,0,85,0.08), rgba(0,200,255,0.06));
    border: 1px solid rgba(120,0,255,0.3);
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}
.skill-btn::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(120,0,255,0.2), rgba(255,0,85,0.15), rgba(0,243,255,0.1));
    opacity: 0;
    transition: opacity 0.4s;
}
.skill-btn::after {
    content: '';
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(120,0,255,0.15), transparent, rgba(255,0,85,0.1), transparent);
    animation: skillRotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}
@keyframes skillRotate {
    100% { transform: rotate(360deg); }
}
.skill-btn:hover::before { opacity: 1; }
.skill-btn:hover::after { opacity: 1; }
.skill-btn:hover {
    border-color: rgba(120,0,255,0.6);
    box-shadow: 0 0 15px rgba(120,0,255,0.3), 0 0 30px rgba(255,0,85,0.15), 0 4px 15px rgba(0,0,0,0.3);
    transform: translateY(-3px) scale(1.02);
}
.skill-btn.active {
    background: linear-gradient(145deg, rgba(120,0,255,0.2), rgba(255,0,85,0.15));
    border-color: rgba(120,0,255,0.5);
    box-shadow: 0 0 20px rgba(120,0,255,0.3), 0 0 40px rgba(255,0,85,0.15), inset 0 0 25px rgba(120,0,255,0.08);
}
.skill-btn-name {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(120,0,255,0.4);
    position: relative;
    z-index: 1;
}
.skill-btn-cd {
    color: var(--accent);
    font-size: 0.6rem;
    font-family: monospace;
    margin-top: 4px;
    opacity: 0.85;
    text-shadow: 0 0 6px rgba(255,215,0,0.3);
    position: relative;
    z-index: 1;
}

/* === STORY SECTION === */
.story-section {
    margin-top: 20px;
}

/* === SKILLS SECTION HEADER === */
.skills-section {
    margin-top: 24px;
}
.skills-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.skills-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,0,85,0.5), rgba(120,0,255,0.3), transparent);
}
.skills-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.skills-header-title span {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255,0,85,0.5), 0 0 30px rgba(120,0,255,0.3);
}
.skills-header-title i {
    color: var(--secondary);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(255,0,85,0.5);
    animation: skillsIconPulse 3s ease-in-out infinite;
}
@keyframes skillsIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.15) rotate(10deg); }
}

.model-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.model-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,243,255,0.4), rgba(120,0,255,0.3), transparent);
}
.model-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.model-header-title span {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0,243,255,0.5), 0 0 30px rgba(120,0,255,0.3);
}
.model-header-title i {
    color: var(--primary);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0,243,255,0.5);
    animation: modelIconPulse 3s ease-in-out infinite;
}
@keyframes modelIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

.story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.story-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,243,255,0.4), rgba(120,0,255,0.3), transparent);
}
.story-header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.story-header-title span {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #fff;
    text-shadow: 0 0 15px rgba(0,243,255,0.5), 0 0 30px rgba(120,0,255,0.3);
}
.story-header-title i {
    color: var(--primary);
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(0,243,255,0.5);
    animation: storyIconPulse 3s ease-in-out infinite;
}
@keyframes storyIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
.story-container {
    position: relative;
    background: linear-gradient(145deg, rgba(5,8,25,0.9), rgba(10,15,40,0.7), rgba(5,5,20,0.85));
    border: 1px solid rgba(0,243,255,0.1);
    border-radius: 16px;
    padding: 28px 24px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.story-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), rgba(120,0,255,0.8), var(--secondary), transparent);
    opacity: 0.8;
}
.story-container::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), rgba(120,0,255,0.8), var(--primary), transparent);
    opacity: 0.4;
}
.story-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0,243,255,0.04) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(120,0,255,0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(255,0,85,0.02) 0%, transparent 40%);
    animation: storyGlowFloat 8s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes storyGlowFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -15px) rotate(3deg); }
}
.story-text {
    color: rgba(200,210,230,0.9);
    font-size: 0.92rem;
    line-height: 1.9;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: justify;
}

/* --- SKILL PAGE OVERLAY --- */
.skill-page-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at top, rgba(8,8,25,0.99), rgba(0,0,3,1));
    z-index: 20000;
    overflow-y: auto;
    display: none;
    padding: 0;
}
.skill-page-overlay.show { display: block; animation: skillPageIn 0.5s ease; }
@keyframes skillPageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.skill-page-close {
    position: fixed;
    top: 20px; left: 20px;
    z-index: 20001;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(255,0,85,0.4);
    background: rgba(10,10,20,0.85);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.skill-page-close:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255,0,85,0.4);
    transform: scale(1.1);
}
.skill-video-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255,0,85,0.2);
}
.skill-video-wrapper video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.skill-video-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,3,1), transparent);
    pointer-events: none;
}
.skill-page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 28px 60px;
}
.skill-page-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.skill-page-title {
    color: #fff;
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 0 25px rgba(255,0,85,0.4);
    background: linear-gradient(135deg, #fff 30%, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.skill-page-cd-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,243,255,0.08);
    border: 1px solid rgba(0,243,255,0.25);
    padding: 7px 16px;
    border-radius: 20px;
    color: var(--primary);
    font-family: monospace;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(0,243,255,0.3);
}
.skill-page-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, var(--secondary), var(--primary), var(--accent));
    opacity: 0.3;
    margin: 10px 0 24px;
}
.skill-page-desc-label {
    color: var(--secondary);
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 0.8;
}
.skill-page-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    border-left: 3px solid var(--secondary);
    padding-left: 18px;
    margin: 0;
}
@media (max-width: 480px) {
    .skill-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
    .skill-btn { padding: 8px 6px; }
    .skill-btn-name { font-size: 0.6rem; }
    .skill-page-close { top: 12px; left: 12px; width: 38px; height: 38px; font-size: 1rem; }
    .skill-page-content { padding: 20px 16px 40px; }
    .skill-page-title { font-size: 1.3rem; }
    .skill-page-desc { font-size: 0.9rem; }
}

/* --- OTHER SECTIONS - COSMIC INSANITY REDESIGN --- */

/* ============ NEWS SECTION — PREMIUM REDESIGN ============ */
#news { padding: 10px 0 60px; }
#news .container { max-width: 100%; padding: 0 8px; }
.news-section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}
.news-section-header h2 {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.news-section-header .news-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.news-section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 12px auto 0;
}

/* News toolbar */
.news-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.news-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.news-pill {
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(0,243,255,0.12);
    background: rgba(0,243,255,0.04);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    font-family: var(--font-body);
}
.news-pill:hover {
    border-color: rgba(0,243,255,0.3);
    color: var(--primary);
    background: rgba(0,243,255,0.08);
}
.news-pill.active {
    background: linear-gradient(135deg, rgba(0,243,255,0.15), rgba(0,243,255,0.05));
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(0,243,255,0.15);
}
.news-search-box {
    display: none;
}
.news-search-box input {
    width: 100%;
    padding: 8px 16px 8px 36px;
    border-radius: 50px;
    border: 1px solid rgba(0,243,255,0.12);
    background: rgba(0,243,255,0.03);
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s;
}
.news-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(0,243,255,0.12);
}
.news-search-box input::placeholder { color: rgba(136,153,187,0.5); }
.news-search-box i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Individual news card — vertical layout on all devices */
.news-card {
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    background: rgba(8, 12, 30, 0.7);
    border: 1px solid rgba(0,243,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    position: relative;
}
.news-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,243,255,0.03), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.news-card:hover::before { opacity: 1; }
.news-card:hover {
    border-color: rgba(0,243,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(0,243,255,0.06);
}
.news-card-img-wrap {
    width: 100%;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: rgba(0,243,255,0.03);
}
.news-card-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card-img-wrap img { transform: scale(1.06); }
.news-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    min-width: 0;
    gap: 4px;
}
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.nc-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nc-badge.announcement { background: rgba(0,243,255,0.1); color: var(--primary); }
.nc-badge.movie { background: rgba(255,0,85,0.1); color: var(--secondary); }
.nc-badge.games { background: rgba(160,112,255,0.1); color: #a070ff; }
.nc-badge.event { background: rgba(255,215,0,0.1); color: var(--accent); }
.nc-badge.update { background: rgba(0,255,136,0.1); color: #00ff88; }
.nc-date {
    color: rgba(136,153,187,0.5);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.news-card-body h4 {
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.news-card-body .nc-summary {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--text-muted);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.nc-read-more {
    color: var(--primary);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.news-card:hover .nc-read-more { opacity: 1; }

/* Mobile */
@media (max-width: 575.98px) {
    #news { padding: 8px 0 40px; }
    #news .container { padding: 0 6px; }
    .news-section-header h2 { font-size: 1.3rem; letter-spacing: 3px; }
    .news-toolbar { flex-direction: column; gap: 10px; }
    .news-search-box { max-width: 100%; }
    .news-filter-pills { justify-content: center; }
    .news-pill { padding: 5px 12px; font-size: 0.65rem; }
    .news-grid { grid-template-columns: 1fr; gap: 14px; }
    .news-card-body h4 { font-size: 0.82rem; }
    .news-card-body .nc-summary { font-size: 0.68rem; }
}
/* Tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
/* Desktop large */
@media (min-width: 1200px) {
    .news-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
}

/* News Modal — Premium */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    backdrop-filter: blur(16px);
    overflow-y: auto;
}
.news-modal-overlay.show { display: flex; }
.news-modal-content {
    background: linear-gradient(180deg, rgba(8,12,30,0.98), rgba(2,2,8,0.99));
    border: 1px solid rgba(0,243,255,0.1);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    position: relative;
    box-shadow: 0 0 80px rgba(0,243,255,0.06), 0 40px 80px rgba(0,0,0,0.6);
    animation: newsModalIn 0.4s var(--ease);
}
@keyframes newsModalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.news-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}
.news-modal-close:hover {
    background: rgba(255,0,85,0.4);
    border-color: var(--secondary);
    transform: rotate(90deg);
}
.news-modal-img {
    width: 100%;
    height: clamp(200px, 35vw, 340px);
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}
.news-modal-body {
    padding: clamp(20px, 4vw, 32px);
}
.news-modal-category { margin-bottom: 8px; }
.news-modal-date {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.news-modal-title {
    color: #fff;
    font-family: var(--font-title);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.35;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.news-modal-text {
    color: rgba(200,210,230,0.8);
    line-height: 1.85;
    font-size: 0.88rem;
}
.news-modal-share {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 14px;
}
.news-modal-share span {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.news-modal-share a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}
.news-modal-share a:hover {
    color: var(--primary);
    border-color: rgba(0,243,255,0.3);
    background: rgba(0,243,255,0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,243,255,0.12);
}
@media (max-width: 575.98px) {
    .news-modal-overlay { padding: 16px 10px; }
    .news-modal-body { padding: 16px; }
    .news-modal-title { font-size: 1rem; }
    .news-modal-text { font-size: 0.8rem; }
}

/* ============ MOVIE CARDS — Cinema Poster Style ============ */
.movies-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.movies-header h2 {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    letter-spacing: 6px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.movies-header .movies-subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.movies-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    margin: 16px auto 0;
    border-radius: 2px;
}
.movies-sort-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.movies-sort-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.movies-sort-btn:hover {
    border-color: rgba(255,0,85,0.3);
    color: #fff;
    background: rgba(255,0,85,0.08);
}
.movies-sort-btn.active {
    background: linear-gradient(135deg, rgba(255,0,85,0.2), rgba(255,0,85,0.08));
    border-color: var(--secondary);
    color: #fff;
    box-shadow: 0 0 15px rgba(255,0,85,0.15);
}
.movie-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 24px;
}
@media (max-width: 576px) {
    .movie-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (min-width: 1200px) {
    .movie-grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}
.movie-card {
    background: #0a0a1a;
    border-radius: 10px;
    aspect-ratio: 2 / 3;
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.movie-card:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 30px rgba(255,0,85,0.12);
    z-index: 10;
}
.movie-card img {
    width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0;
    transition: transform 0.6s var(--ease), filter 0.4s;
}
.movie-card:hover img { transform: scale(1.08); filter: brightness(0.6); }
/* Gradient overlay — always visible at bottom for title */
.movie-card .movie-gradient {
    position: absolute; bottom: 0; left: 0; right: 0; height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    z-index: 1; pointer-events: none;
    transition: height 0.4s ease;
}
.movie-card:hover .movie-gradient {
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.4) 100%);
}
/* Rating badge — top right */
.movie-badge-rating {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 4px; padding: 2px 8px;
    display: flex; align-items: center; gap: 3px;
    font-size: 0.55rem; font-weight: 800; letter-spacing: 1.5px;
}
.movie-badge-rating i { color: var(--accent); font-size: 0.55rem; }
.movie-badge-rating span { color: var(--accent); font-size: 0.55rem; font-weight: 800; }
/* Universe tag — top left */
.movie-badge-universe {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    border-radius: 4px; padding: 2px 8px;
    font-size: 0.55rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    border: 1px solid;
}
/* Coming soon badge — centered */
.movie-badge-coming {
    position: absolute; top: 50%; left: 50%; z-index: 4;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
    color: #fff; font-size: 0.55rem; font-weight: 800;
    letter-spacing: 2px; padding: 6px 14px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
}
.movie-card.coming-soon { opacity: 0.8; }
.movie-card.coming-soon:hover { transform: scale(1.03); opacity: 0.9; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
/* Movie body — bottom text */
.movie-card .movie-body {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    padding: 10px 12px 6px 12px;
    display: flex; flex-direction: column; justify-content: flex-end;
    align-items: center; text-align: center;
}
.movie-title {
    color: #fff; font-family: var(--font-title);
    font-size: 0.85rem; font-weight: 700; line-height: 1.2;
    margin-bottom: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.movie-meta {
    color: rgba(255,255,255,0.5); font-size: 0.65rem;
    letter-spacing: 1.5px; margin-bottom: 0; padding-bottom: 0;
}
.movie-meta .movie-phase {
    color: var(--secondary); font-weight: 700;
}
/* Hover actions — slide up */
.movie-actions {
    display: flex; flex-direction: column; gap: 6px;
    margin-top: 10px;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    max-height: 0; overflow: hidden;
}
.movie-card:hover .movie-actions {
    opacity: 1; transform: translateY(0);
    max-height: 100px;
}
.movie-synopsis {
    color: rgba(255,255,255,0.55); font-size: 0.6rem;
    line-height: 1.5; margin-bottom: 0;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0; max-height: 0; transition: opacity 0.3s 0.1s, max-height 0.3s ease;
}
.movie-card:hover .movie-synopsis { opacity: 1; max-height: 60px; margin-bottom: 8px; }
.movie-watch-btn {
    background: var(--secondary); color: #fff; border: none;
    padding: 8px 12px; border-radius: 6px; font-weight: 700; font-size: 0.7rem;
    cursor: pointer; transition: all 0.3s; letter-spacing: 1px; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.movie-watch-btn:hover { background: #ff1a6a; box-shadow: 0 0 20px rgba(255,0,85,0.4); }
.movie-trailer-btn {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.9);
    padding: 7px 10px; border-radius: 6px; font-size: 0.65rem; cursor: pointer;
    transition: all 0.3s; width: 100%; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.movie-trailer-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,243,255,0.08); }

/* Trailer Modal */
.trailer-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 10000;
    display: none; align-items: center; justify-content: center; padding: 20px;
    backdrop-filter: blur(10px);
}
.trailer-modal-overlay.show { display: flex; }
.trailer-modal-content { max-width: 900px; width: 100%; position: relative; }
.trailer-modal-close {
    position: absolute; top: -44px; right: 0; background: rgba(255,0,85,0.15); border: 1px solid rgba(255,0,85,0.3);
    color: #fff; font-size: 1.2rem; cursor: pointer; transition: all 0.3s;
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.trailer-modal-close:hover { background: var(--secondary); transform: rotate(90deg); }
.trailer-video { width: 100%; border-radius: 12px; max-height: 70vh; box-shadow: 0 0 60px rgba(255,0,85,0.15); }

/* Genre Tags */
.genre-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: linear-gradient(135deg, rgba(0,243,255,0.1) 0%, rgba(255,0,85,0.08) 100%);
    border: 1px solid rgba(0,243,255,0.2);
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: all 0.3s var(--ease);
    cursor: default;
    white-space: nowrap;
}
.genre-tag:hover {
    background: linear-gradient(135deg, rgba(0,243,255,0.25) 0%, rgba(255,0,85,0.15) 100%);
    border-color: rgba(0,243,255,0.5);
    color: #fff;
    text-shadow: 0 0 8px rgba(0,243,255,0.4);
    box-shadow: 0 0 12px rgba(0,243,255,0.15), inset 0 0 12px rgba(0,243,255,0.05);
    transform: translateY(-2px);
}

/* Platform Download Icons */
.platform-icon-wrap {
    text-align: center; cursor: pointer; position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 4px 4px; border-radius: 8px;
    width: 38px;
    border: 1.5px solid transparent;
}
.platform-icon-wrap i {
    font-size: 1rem; transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.85);
}
.platform-icon-wrap small {
    display: block; color: var(--text-muted); font-size: 0.4rem; margin-top: 2px;
    transition: color 0.3s;
}
.platform-icon-wrap:hover {
    transform: scale(1.35);
}
.platform-icon-wrap:hover i {
    filter: brightness(1.4) drop-shadow(0 0 12px currentColor);
}
.platform-icon-wrap:hover small { color: #fff; }
.platform-popup {
    position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%) scale(0.8);
    background: rgba(2,2,8,0.95); border: 1px solid rgba(0,243,255,0.25);
    color: #fff; font-size: 0.42rem; font-weight: 700; letter-spacing: 0.8px;
    padding: 3px 7px; border-radius: 5px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 15px rgba(0,243,255,0.15);
    text-align: center; line-height: 1.3;
}
.platform-popup::after {
    content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 4px solid transparent; border-top-color: rgba(0,243,255,0.25);
}
.platform-icon-wrap:hover .platform-popup {
    opacity: 1; transform: translateX(-50%) scale(1);
}
/* Auto-detected platform highlight */
.platform-icon-wrap.platform-detected {
    background: rgba(0,243,255,0.08);
    border: 1.5px solid rgba(0,243,255,0.35);
    box-shadow: 0 0 12px rgba(0,243,255,0.15), 0 0 4px rgba(0,243,255,0.1);
}
.platform-icon-wrap.platform-detected i {
    filter: brightness(1.5) drop-shadow(0 0 8px currentColor);
}
.platform-icon-wrap.platform-detected small {
    color: #fff;
    font-weight: 600;
}
.platform-icon-wrap.platform-detected::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.42rem;
    color: #00f3ff;
    background: rgba(2,2,8,0.9);
    border-radius: 50%;
    width: 13px;
    height: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,243,255,0.4);
    z-index: 2;
}

/* ============ GAME SECTION ============ */
.game-hero {
    position: relative;
}
.game-hero::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    background: linear-gradient(135deg, rgba(0,243,255,0.3), transparent 40%, transparent 60%, rgba(255,0,85,0.3));
    border-radius: 9px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.5s;
}
.game-hero:hover::before { opacity: 1; }

.game-section-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.game-section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.game-stat-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.1); border-radius: 10px; padding: 10px 8px;
    text-align: center; transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.game-stat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.game-stat-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0,243,255,0.06) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s;
}
.game-stat-card:hover::before { opacity: 1; }
.game-stat-card:hover::after { opacity: 1; }
.game-stat-card:hover { border-color: rgba(0,243,255,0.35); transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,243,255,0.1), 0 0 10px rgba(0,243,255,0.05); }
.game-stat-icon { font-size: 1.2rem; margin-bottom: 6px; filter: drop-shadow(0 0 8px currentColor); position: relative; z-index: 1; }
.game-stat-number { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255,255,255,0.2); position: relative; z-index: 1; }
.game-stat-label { color: var(--text-muted); font-size: 0.5rem; letter-spacing: 2px; margin-top: 4px; text-transform: uppercase; position: relative; z-index: 1; }
@media (max-width: 575.98px) {
    .game-stat-icon { font-size: 1rem; margin-bottom: 4px; }
    .game-stat-number { font-size: 0.9rem; }
    .game-stat-label { font-size: 0.42rem; letter-spacing: 1.5px; }
}

.game-feature-card {
    background: linear-gradient(145deg, rgba(8,12,30,0.9), rgba(15,20,45,0.85));
    border: 1px solid rgba(0,243,255,0.08); border-radius: 16px; padding: 24px 18px;
    text-align: center; transition: all 0.5s var(--ease); height: 100%;
    position: relative; overflow: hidden;
    backdrop-filter: blur(10px);
}
.game-feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% -30%, rgba(0,243,255,0.08) 0%, transparent 65%);
    opacity: 0; transition: opacity 0.5s;
}
.game-feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0; transition: all 0.4s;
}
.game-feature-card:hover::before { opacity: 1; }
.game-feature-card:hover::after { opacity: 1; left: 5%; right: 5%; }
.game-feature-card:hover { border-color: rgba(0,243,255,0.3); transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(0,243,255,0.06); }
.game-feature-icon {
    width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; font-size: 1.15rem; color: var(--primary);
    border: 1px solid rgba(0,243,255,0.25); background: rgba(0,243,255,0.08);
    transition: all 0.5s var(--ease); filter: drop-shadow(0 0 12px rgba(0,243,255,0.3));
    position: relative; z-index: 1;
}
.game-feature-card:hover .game-feature-icon { transform: scale(1.2) rotate(8deg); box-shadow: 0 0 25px rgba(0,243,255,0.2); }
.game-feature-card h5 { font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 8px; position: relative; z-index: 1; text-transform: uppercase; }
.game-feature-card p { font-size: 0.72rem; line-height: 1.7; position: relative; z-index: 1; margin-bottom: 0; }
.feature-tag {
    display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.55rem;
    letter-spacing: 1.5px; text-transform: uppercase; margin-top: 10px;
    position: relative; z-index: 1; font-weight: 600;
}
.games-quiz-shell {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: clamp(20px, 3vw, 30px);
    margin-bottom: 28px;
    border: 1px solid rgba(124,77,255,0.25);
    background:
        radial-gradient(circle at top left, rgba(124,77,255,0.2), transparent 38%),
        radial-gradient(circle at bottom right, rgba(0,243,255,0.14), transparent 40%),
        linear-gradient(145deg, rgba(8,12,30,0.96), rgba(14,18,42,0.94));
    box-shadow: 0 24px 60px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.04);
}
.games-quiz-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1px 1px at 14% 18%, rgba(255,255,255,0.16) 1px, transparent 0),
        radial-gradient(1px 1px at 68% 28%, rgba(0,243,255,0.18) 1px, transparent 0),
        radial-gradient(1px 1px at 82% 78%, rgba(255,0,85,0.16) 1px, transparent 0),
        radial-gradient(1px 1px at 30% 74%, rgba(255,215,0,0.12) 1px, transparent 0);
    background-size: 220px 220px;
    opacity: 0.7;
}
.games-quiz-shell > * {
    position: relative;
    z-index: 1;
}
.games-quiz-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.games-quiz-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: #c9b6ff;
    font-size: 0.63rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.games-quiz-header p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.7;
    margin: 0;
}
.games-quiz-board {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
    gap: 18px;
    align-items: stretch;
}
.games-quiz-media {
    position: relative;
    min-height: 320px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(124,77,255,0.24);
    background:
        linear-gradient(180deg, rgba(8,10,22,0.15), rgba(8,10,22,0.85)),
        linear-gradient(135deg, rgba(124,77,255,0.18), rgba(0,243,255,0.08));
    box-shadow: inset 0 0 30px rgba(0,0,0,0.2);
}
.games-quiz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.games-quiz-media-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    background: linear-gradient(180deg, transparent, rgba(5,6,18,0.92));
}
.games-quiz-media-caption strong {
    display: block;
    color: #fff;
    letter-spacing: 2px;
    font-size: 0.82rem;
    text-transform: uppercase;
}
.games-quiz-media-caption span {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.72rem;
    line-height: 1.6;
}
.games-quiz-intro-collage {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    height: 100%;
    padding: 10px;
}
.games-quiz-intro-collage figure {
    position: relative;
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    min-height: 280px;
    border: 1px solid rgba(255,255,255,0.06);
}
.games-quiz-intro-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.games-quiz-intro-collage figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(5,6,18,0.92));
    color: #fff;
    font-size: 0.6rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.games-quiz-panel {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    background: rgba(255,255,255,0.04);
    padding: clamp(18px, 2vw, 24px);
    backdrop-filter: blur(10px);
}
.games-quiz-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.games-quiz-progress strong {
    color: #fff;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.games-quiz-progress span {
    color: var(--text-muted);
    font-size: 0.72rem;
}
.games-quiz-progress-bar {
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    margin-bottom: 18px;
}
.games-quiz-progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c4dff, #00f3ff);
    box-shadow: 0 0 20px rgba(124,77,255,0.34);
    transition: width 0.35s ease;
}
.games-quiz-overline {
    color: #c9b6ff;
    font-size: 0.68rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.games-quiz-question {
    color: #fff;
    font-size: clamp(1.1rem, 2.3vw, 1.6rem);
    line-height: 1.35;
    margin-bottom: 12px;
}
.games-quiz-clue {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 14px;
}
.games-quiz-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.games-quiz-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 1px;
}
.games-quiz-options {
    display: grid;
    gap: 12px;
}
.games-quiz-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(8,12,30,0.66);
    color: #fff;
    padding: 14px 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}
.games-quiz-option:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(0,243,255,0.28);
    box-shadow: 0 12px 26px rgba(0,0,0,0.26), 0 0 20px rgba(0,243,255,0.08);
}
.games-quiz-option:disabled {
    cursor: default;
}
.games-quiz-option.correct {
    border-color: rgba(0,255,136,0.45);
    background: rgba(0,255,136,0.12);
}
.games-quiz-option.wrong {
    border-color: rgba(255,82,82,0.45);
    background: rgba(255,82,82,0.12);
}
.games-quiz-option.dimmed {
    opacity: 0.55;
}
.games-quiz-option-key {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}
.games-quiz-feedback {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
}
.games-quiz-feedback strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    font-size: 0.74rem;
}
.games-quiz-feedback.correct {
    border-color: rgba(0,255,136,0.32);
    background: rgba(0,255,136,0.08);
}
.games-quiz-feedback.wrong {
    border-color: rgba(255,82,82,0.32);
    background: rgba(255,82,82,0.08);
}
.games-quiz-feedback p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.7;
}
.games-quiz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.games-quiz-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.games-quiz-stat-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 16px 14px;
    text-align: center;
}
.games-quiz-stat-card strong {
    display: block;
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.games-quiz-stat-card span {
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.games-quiz-result-title {
    color: #fff;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    margin-bottom: 10px;
}
.games-quiz-result-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
    margin: 0;
}
.games-quiz-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.05);
    color: var(--accent);
    font-size: 0.66rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.games-quiz-sidecopy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}
.games-quiz-sidecopy p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 991.98px) {
    .games-quiz-board {
        grid-template-columns: 1fr;
    }
    .games-quiz-media,
    .games-quiz-intro-collage figure {
        min-height: 240px;
    }
}
@media (max-width: 575.98px) {
    .games-quiz-intro-collage {
        grid-template-columns: 1fr;
        height: auto;
    }
    .games-quiz-stat-grid {
        grid-template-columns: 1fr;
    }
    .games-quiz-option {
        padding: 12px 14px;
    }
}
.games-store-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: clamp(22px, 4vw, 42px);
    border: 1px solid rgba(0,243,255,0.14);
    background:
        radial-gradient(circle at top left, rgba(0,243,255,0.14), transparent 42%),
        radial-gradient(circle at bottom right, rgba(255,0,85,0.12), transparent 38%),
        linear-gradient(135deg, rgba(6,10,28,0.96), rgba(8,18,38,0.94));
    box-shadow: 0 22px 60px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.04);
    margin-bottom: 24px;
}
.games-store-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.16) 1px, transparent 0),
        radial-gradient(1px 1px at 70% 32%, rgba(0,243,255,0.18) 1px, transparent 0),
        radial-gradient(1px 1px at 82% 74%, rgba(255,0,85,0.16) 1px, transparent 0),
        radial-gradient(1px 1px at 36% 76%, rgba(255,215,0,0.14) 1px, transparent 0);
    background-size: 220px 220px;
    opacity: 0.75;
    pointer-events: none;
}
.games-store-hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 20px;
    align-items: center;
}
.games-store-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--accent);
    font-size: 0.66rem;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.games-store-kicker i { color: var(--primary); }
.games-store-title {
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 0.95;
    margin: 0 0 12px;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 24px rgba(0,243,255,0.22);
}
.games-store-subtitle {
    max-width: 720px;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.8;
    letter-spacing: 0.7px;
    margin-bottom: 18px;
}
.games-store-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.games-store-secondary-btn {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 0.74rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.games-store-secondary-btn:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(0,243,255,0.35);
    color: #fff;
}
.games-store-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.games-store-summary-card {
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
}
.games-store-summary-card strong {
    display: block;
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.games-store-summary-card span {
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.games-store-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.games-store-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: min(100%, 340px);
    flex: 1 1 280px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    padding: 12px 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.games-store-search-wrap i {
    color: var(--primary);
    font-size: 0.82rem;
}
.games-store-search-wrap input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
}
.games-store-search-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.games-store-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.games-store-pill {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 0.66rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}
.games-store-pill.active,
.games-store-pill:hover {
    color: #fff;
    border-color: rgba(0,243,255,0.3);
    background: rgba(0,243,255,0.09);
    box-shadow: 0 0 18px rgba(0,243,255,0.08);
}
.games-store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.game-store-card {
    --game-accent: var(--primary);
    --game-accent-soft: rgba(0,243,255,0.12);
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(10,14,30,0.96), rgba(5,8,20,0.94));
    box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.game-store-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,243,255,0.26);
    box-shadow: 0 26px 54px rgba(0,0,0,0.34), 0 0 0 1px rgba(0,243,255,0.08);
}
.game-store-art {
    position: relative;
    min-height: 100%;
    padding: 20px 18px;
    background:
        radial-gradient(circle at top left, var(--game-accent-soft), transparent 48%),
        linear-gradient(160deg, rgba(255,255,255,0.07), transparent 60%),
        linear-gradient(135deg, rgba(6,10,24,0.8), rgba(10,20,44,0.96));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.game-store-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.08), transparent 45%),
        radial-gradient(circle at 85% 80%, var(--game-accent-soft), transparent 28%);
    pointer-events: none;
}
.game-store-art-badge,
.game-store-art-label {
    position: relative;
    z-index: 1;
}
.game-store-art-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.56rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}
.game-store-art-mark {
    position: relative;
    z-index: 1;
    font-size: 1.6rem;
    line-height: 1.05;
    letter-spacing: 1.5px;
    color: #fff;
    text-shadow: 0 0 18px rgba(255,255,255,0.1);
}
.game-store-art-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.72);
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.game-store-body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.game-store-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.64rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.game-store-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--accent);
}
.game-store-body h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.8px;
}
.game-store-body p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.76rem;
    line-height: 1.7;
}
.game-store-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.game-store-mini-tag {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted);
    font-size: 0.58rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}
.game-store-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}
.game-store-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.66rem;
    letter-spacing: 0.8px;
}
.game-store-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.game-store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.game-store-actions .games-store-secondary-btn,
.game-store-actions .game-download-btn {
    padding: 9px 14px;
    font-size: 0.64rem;
}
.games-store-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.7rem;
}
.games-detail-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.games-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: #fff;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 0.68rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    transition: all 0.25s ease;
}
.games-back-btn:hover {
    background: rgba(0,243,255,0.08);
    border-color: rgba(0,243,255,0.28);
    transform: translateY(-2px);
}
.games-detail-path {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    word-break: break-all;
}
.games-detail-lead {
    color: rgba(255,255,255,0.8);
    font-size: 0.86rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 16px;
}
@media (max-width: 991px) {
    .games-store-hero-content,
    .game-store-card {
        grid-template-columns: 1fr;
    }
    .game-store-art {
        min-height: 160px;
    }
    .games-store-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .games-store-summary-grid {
        grid-template-columns: 1fr;
    }
    .games-store-title {
        letter-spacing: 2px;
    }
    .games-detail-topbar {
        align-items: flex-start;
    }
}

.game-req-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.1); border-radius: 12px; padding: 24px;
    transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.game-req-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.game-req-card:hover::before { opacity: 1; }
.game-req-card:hover { border-color: rgba(0,243,255,0.3); transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.game-req-item { padding: 9px 0; color: var(--text-muted); font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; align-items: center; gap: 8px; }
.game-req-item:last-child { border-bottom: none; }
.game-req-item span { color: #fff; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.5px; min-width: 70px; }

.game-download-btn {
    background: linear-gradient(135deg, var(--secondary), #ff5e00, var(--accent));
    background-size: 200% 200%;
    animation: nebulaShift 3s ease-in-out infinite;
    color: white; font-weight: 700; border: none; border-radius: 8px;
    box-shadow: 0 0 25px rgba(255,0,85,0.3); letter-spacing: 2px;
    padding: 14px; font-size: 0.9rem;
    transition: all 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.game-download-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.game-download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 35px rgba(255,0,85,0.4); }
.game-download-btn:hover::before { opacity: 1; }

.game-info-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 16px; border-radius: 20px; font-size: 0.6rem;
    background: rgba(0,243,255,0.06); border: 1px solid rgba(0,243,255,0.15);
    color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 600; transition: all 0.3s var(--ease);
    backdrop-filter: blur(4px);
}
.game-info-badge:hover {
    background: rgba(0,243,255,0.12); border-color: rgba(0,243,255,0.3);
    color: #fff; transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,243,255,0.1);
}
.game-info-badge i { color: var(--primary); font-size: 0.5rem; }
.game-info-badge .pulse-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #00e676;
    display: inline-block; animation: pulseDot 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(0,230,118,0.6);
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}
.game-info-badge.gold { background: rgba(255,215,0,0.06); border-color: rgba(255,215,0,0.15); }
.game-info-badge.gold:hover { background: rgba(255,215,0,0.12); border-color: rgba(255,215,0,0.3); box-shadow: 0 4px 15px rgba(255,215,0,0.1); }
.game-info-badge.gold i { color: var(--accent); }
.game-info-badge.red { background: rgba(255,0,85,0.06); border-color: rgba(255,0,85,0.15); }
.game-info-badge.red:hover { background: rgba(255,0,85,0.12); border-color: rgba(255,0,85,0.3); box-shadow: 0 4px 15px rgba(255,0,85,0.1); }
.game-info-badge.red i { color: var(--secondary); }

/* --- LANGUAGE DROPDOWN --- */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 50%;
    transform: translateX(50%);
    width: 160px;
    background: linear-gradient(180deg, rgba(8,8,25,0.98), rgba(2,2,8,0.99));
    border: 1px solid rgba(0,243,255,0.2);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%) translateY(-8px);
    transition: all 0.3s var(--ease);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
}
.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0);
}
.lang-option {
    padding: 8px 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.lang-option:hover {
    background: rgba(0,243,255,0.08);
    color: var(--primary);
}
.lang-option.active {
    color: var(--primary);
    background: rgba(0,243,255,0.05);
}

/* --- NOTIFICATION DROPDOWN --- */
.notif-dropdown {
    position: fixed;
    top: 60px;
    right: 80px;
    width: 340px;
    max-height: 420px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(8,8,25,0.98), rgba(2,2,8,0.99));
    border: 1px solid rgba(0,243,255,0.2);
    border-radius: 12px;
    padding: 12px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--ease);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
}
.notif-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.notif-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,243,255,0.1);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.notif-item {
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.notif-item:hover { background: rgba(0,243,255,0.06); }
.notif-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
}
.notif-item-text { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.notif-item-time { font-size: 0.65rem; color: rgba(136,153,187,0.5); margin-top: 3px; }
.notif-empty {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item.unread { background: rgba(0,243,255,0.05); }
.notif-item.unread .notif-item-text { color: #fff; }

/* --- NOTIFICATION TOAST --- */
.notif-toast {
    position: fixed;
    top: 80px;
    right: 20px;
    min-width: 280px;
    max-width: 380px;
    background: linear-gradient(135deg, rgba(8,8,25,0.97), rgba(15,15,40,0.98));
    border: 1px solid rgba(0,243,255,0.3);
    border-radius: 14px;
    padding: 14px 18px;
    z-index: 100000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,243,255,0.1);
    backdrop-filter: blur(20px);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.notif-toast.show {
    transform: translateX(0);
    opacity: 1;
}
/* --- PLAYLIST SECTION STYLES --- */
.playlist-filter-btn {
    background: rgba(0,243,255,0.06);
    border: 1px solid rgba(0,243,255,0.15);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.playlist-filter-btn:hover {
    border-color: rgba(255,215,0,0.4);
    color: var(--accent);
    background: rgba(255,215,0,0.08);
}
.playlist-filter-btn.active {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(255,215,0,0.1);
}
.playlist-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,215,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s var(--ease);
    cursor: pointer;
}
.playlist-card:hover {
    border-color: rgba(255,215,0,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,215,0,0.08);
}
.playlist-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.playlist-card-thumb i { font-size: 2rem; color: rgba(255,215,0,0.4); }
.playlist-card-body { padding: 12px; }
.playlist-card-title { font-size: 0.82rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.playlist-card-meta { font-size: 0.7rem; color: var(--text-muted); }

/* --- SUBSCRIBERS SECTION STYLES --- */
.subscriber-card {
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s var(--ease);
}
.subscriber-card:hover {
    border-color: rgba(0,243,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,243,255,0.08);
}
.subscriber-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(0,243,255,0.2), rgba(255,0,85,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}
.subscriber-name { font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.subscriber-count { font-size: 0.72rem; color: var(--text-muted); }

/* --- DESKTOP NAV: fixed 2K baseline, proportional scaling everywhere else --- */
@media (min-width: 992px) {
    .nav-link {
        font-size: var(--desktop-nav-text-size) !important;
        padding: calc(5px * var(--desktop-layout-scale, 1)) var(--desktop-nav-link-x-padding) !important;
        letter-spacing: calc(1px * var(--desktop-layout-scale, 1)) !important;
        border-radius: calc(6px * var(--desktop-layout-scale, 1)) !important;
    }
    .navbar-icons {
        gap: calc(13.3px * var(--desktop-layout-scale, 1)) !important;
    }
    .navbar-icons .nav-icon {
        font-size: calc(28.5px * var(--desktop-layout-scale, 1)) !important;
    }
    .profile-btn {
        font-size: calc(28.5px * var(--desktop-layout-scale, 1)) !important;
    }
    .navbar-search-row .search-field,
    .navbar-search-inline .search-field {
        height: clamp(28px, calc(36px * var(--desktop-layout-scale, 1)), 36px);
        line-height: clamp(28px, calc(36px * var(--desktop-layout-scale, 1)), 36px);
        font-size: clamp(10.2px, calc(15.2px * var(--desktop-layout-scale, 1)), 15.2px);
        border-radius: clamp(18px, calc(22px * var(--desktop-layout-scale, 1)), 22px);
        padding: 0 clamp(10px, calc(16px * var(--desktop-layout-scale, 1)), 16px) 0 clamp(30px, calc(40px * var(--desktop-layout-scale, 1)), 40px);
        letter-spacing: clamp(0.1px, calc(0.28px * var(--desktop-layout-scale, 1)), 0.3px);
    }
    .navbar-search-row .search-field::placeholder,
    .navbar-search-inline .search-field::placeholder {
        font-size: clamp(9.4px, calc(14.44px * var(--desktop-layout-scale, 1)), 14.44px);
        letter-spacing: clamp(0.1px, calc(0.35px * var(--desktop-layout-scale, 1)), 0.5px);
    }
    .navbar-search-row .search-wrap .search-icon,
    .navbar-search-inline .search-wrap .search-icon {
        font-size: clamp(11.5px, calc(16.15px * var(--desktop-layout-scale, 1)), 16.15px);
        left: clamp(10px, calc(14px * var(--desktop-layout-scale, 1)), 14px);
    }
}
@media (min-width: 992px) {
    section {
        padding: calc(10px * var(--desktop-layout-scale, 1)) 0 calc(60px * var(--desktop-layout-scale, 1)) 0;
    }
    .hero-title {
        margin-bottom: calc(20px * var(--desktop-layout-scale, 1));
    }
    #news,
    #shop {
        padding: calc(10px * var(--desktop-layout-scale, 1)) 0 calc(60px * var(--desktop-layout-scale, 1));
    }
    #news .container,
    #shop .container {
        padding-left: calc(8px * var(--desktop-layout-scale, 1));
        padding-right: calc(8px * var(--desktop-layout-scale, 1));
    }
    .news-section-header,
    .shop-section-header {
        margin-bottom: calc(32px * var(--desktop-layout-scale, 1));
    }
    .movies-header {
        margin-bottom: calc(40px * var(--desktop-layout-scale, 1));
    }
    .news-toolbar,
    .shop-toolbar {
        gap: calc(12px * var(--desktop-layout-scale, 1));
        margin-bottom: calc(28px * var(--desktop-layout-scale, 1));
    }
    .movies-sort-bar {
        gap: calc(8px * var(--desktop-layout-scale, 1));
        margin-bottom: calc(30px * var(--desktop-layout-scale, 1));
    }
    .news-filter-pills,
    .shop-filter-pills {
        gap: calc(8px * var(--desktop-layout-scale, 1));
    }
    .shop-sort-pills {
        gap: calc(6px * var(--desktop-layout-scale, 1));
    }
    .news-pill,
    .shop-pill,
    .movies-sort-btn {
        padding: calc(6px * var(--desktop-layout-scale, 1)) calc(16px * var(--desktop-layout-scale, 1));
        border-radius: calc(20px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1.5px * var(--desktop-layout-scale, 1));
    }
    .news-search-box {
        max-width: calc(280px * var(--desktop-layout-scale, 1));
    }
    .shop-search-box {
        max-width: calc(400px * var(--desktop-layout-scale, 1));
    }
    .news-search-box input,
    .shop-search-box input {
        padding: calc(8px * var(--desktop-layout-scale, 1)) calc(16px * var(--desktop-layout-scale, 1)) calc(8px * var(--desktop-layout-scale, 1)) calc(36px * var(--desktop-layout-scale, 1));
        border-radius: calc(50px * var(--desktop-layout-scale, 1));
    }
    .news-search-box i,
    .shop-search-box i {
        left: calc(13px * var(--desktop-layout-scale, 1));
    }
    .news-grid {
        gap: calc(20px * var(--desktop-layout-scale, 1));
    }
    .movie-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(calc(180px * var(--desktop-layout-scale, 1)), 1fr));
        gap: calc(24px * var(--desktop-layout-scale, 1));
    }
    .news-card,
    .shop-card,
    .movie-card {
        border-radius: calc(12px * var(--desktop-layout-scale, 1));
    }
    .news-card-body {
        padding: calc(14px * var(--desktop-layout-scale, 1)) calc(16px * var(--desktop-layout-scale, 1));
        gap: calc(4px * var(--desktop-layout-scale, 1));
    }
    .news-card-meta {
        gap: calc(8px * var(--desktop-layout-scale, 1));
    }
    .movie-card .movie-body {
        padding: calc(10px * var(--desktop-layout-scale, 1)) calc(12px * var(--desktop-layout-scale, 1)) calc(6px * var(--desktop-layout-scale, 1)) calc(12px * var(--desktop-layout-scale, 1));
    }
    .movie-badge-rating,
    .movie-badge-universe {
        top: calc(10px * var(--desktop-layout-scale, 1));
        border-radius: calc(4px * var(--desktop-layout-scale, 1));
        padding: calc(2px * var(--desktop-layout-scale, 1)) calc(8px * var(--desktop-layout-scale, 1));
    }
    .movie-badge-rating { right: calc(10px * var(--desktop-layout-scale, 1)); gap: calc(3px * var(--desktop-layout-scale, 1)); }
    .movie-badge-universe { left: calc(10px * var(--desktop-layout-scale, 1)); }
    .movie-badge-coming {
        padding: calc(6px * var(--desktop-layout-scale, 1)) calc(14px * var(--desktop-layout-scale, 1));
        border-radius: calc(4px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(2px * var(--desktop-layout-scale, 1));
    }
    .movie-actions {
        gap: calc(6px * var(--desktop-layout-scale, 1));
        margin-top: calc(10px * var(--desktop-layout-scale, 1));
    }
    .movie-watch-btn {
        padding: calc(8px * var(--desktop-layout-scale, 1)) calc(12px * var(--desktop-layout-scale, 1));
        border-radius: calc(6px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1px * var(--desktop-layout-scale, 1));
        gap: calc(6px * var(--desktop-layout-scale, 1));
    }
    .movie-trailer-btn {
        padding: calc(7px * var(--desktop-layout-scale, 1)) calc(10px * var(--desktop-layout-scale, 1));
        border-radius: calc(6px * var(--desktop-layout-scale, 1));
        gap: calc(6px * var(--desktop-layout-scale, 1));
    }
    .genre-tag {
        padding: calc(5px * var(--desktop-layout-scale, 1)) calc(14px * var(--desktop-layout-scale, 1));
        border-radius: calc(20px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1.5px * var(--desktop-layout-scale, 1));
    }
    .game-section-title {
        letter-spacing: calc(4px * var(--desktop-layout-scale, 1));
        padding-bottom: calc(10px * var(--desktop-layout-scale, 1));
    }
    .game-feature-card {
        border-radius: calc(16px * var(--desktop-layout-scale, 1));
        padding: calc(24px * var(--desktop-layout-scale, 1)) calc(18px * var(--desktop-layout-scale, 1));
    }
    .game-feature-icon {
        width: calc(52px * var(--desktop-layout-scale, 1));
        height: calc(52px * var(--desktop-layout-scale, 1));
        margin-bottom: calc(14px * var(--desktop-layout-scale, 1));
    }
    .game-req-card {
        border-radius: calc(12px * var(--desktop-layout-scale, 1));
        padding: calc(24px * var(--desktop-layout-scale, 1));
    }
    .game-download-btn {
        border-radius: calc(8px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(2px * var(--desktop-layout-scale, 1));
        padding: calc(14px * var(--desktop-layout-scale, 1));
    }
    .game-info-badge {
        gap: calc(6px * var(--desktop-layout-scale, 1));
        padding: calc(6px * var(--desktop-layout-scale, 1)) calc(16px * var(--desktop-layout-scale, 1));
        border-radius: calc(20px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1.5px * var(--desktop-layout-scale, 1));
    }
    .game-info-badge .pulse-dot {
        width: calc(7px * var(--desktop-layout-scale, 1));
        height: calc(7px * var(--desktop-layout-scale, 1));
    }
    .shop-grid {
        gap: calc(16px * var(--desktop-layout-scale, 1));
    }
    .shop-card-body {
        padding: calc(12px * var(--desktop-layout-scale, 1)) calc(14px * var(--desktop-layout-scale, 1));
    }
    .shop-card .btn-buy {
        padding: calc(5px * var(--desktop-layout-scale, 1)) calc(12px * var(--desktop-layout-scale, 1));
        border-radius: calc(50px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1px * var(--desktop-layout-scale, 1));
    }
    .shop-badge-sale {
        top: calc(8px * var(--desktop-layout-scale, 1));
        right: calc(8px * var(--desktop-layout-scale, 1));
        padding: calc(3px * var(--desktop-layout-scale, 1)) calc(8px * var(--desktop-layout-scale, 1));
        border-radius: calc(20px * var(--desktop-layout-scale, 1));
        letter-spacing: calc(1px * var(--desktop-layout-scale, 1));
    }
    #plans .table-responsive {
        border-radius: calc(8px * var(--desktop-layout-scale, 1));
    }
    #plans .table th {
        padding: calc(16px * var(--desktop-layout-scale, 1)) calc(20px * var(--desktop-layout-scale, 1)) !important;
    }
    #plans .table td {
        padding: calc(12px * var(--desktop-layout-scale, 1)) calc(20px * var(--desktop-layout-scale, 1)) !important;
    }
}
@media (min-width: 1200px) {
    .news-grid,
    .shop-grid {
        gap: calc(22px * var(--desktop-layout-scale, 1));
    }
    .movie-grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}
/* === MOBILE: ≤575px === */
@media (max-width: 575.98px) {
    .navbar-icons {
        gap: 0.7rem !important;
        overflow: visible;
        flex-wrap: nowrap !important;
        padding: 2px 4px 2px 0;
        min-width: 130px;
    }
    .navbar-icons::-webkit-scrollbar { display: none; }
    .navbar-icons .nav-icon { font-size: 1.5rem !important; }
    .navbar-icons > div,
    .navbar-icons > .profile-container,
    .navbar-icons > .msg-nav-icon { flex-shrink: 0; }
    .profile-btn { font-size: 1.5rem !important; }
    .navbar-toggler { font-size: 1.75rem; }
    .navbar-search-inline {
        flex: 1 1 0%;
        min-width: 0;
        max-width: none;
        width: auto;
        margin-right: 8px;
    }
    .navbar-search-inline .search-field {
        height: 32px;
        line-height: 32px;
        font-size: 0.7rem;
        padding: 0 10px 0 30px;
    }
    .navbar-search-inline .search-wrap .search-icon {
        font-size: 0.7rem;
        left: 10px;
    }

    /* Love popup → fixed center */
    .love-popup {
        position: fixed !important;
        top: 56px !important;
        left: 8px !important;
        right: 8px !important;
        min-width: unset !important;
        width: auto !important;
        z-index: 10001 !important;
    }

    /* Language dropdown → fixed */
    .lang-dropdown {
        position: fixed !important;
        top: 56px !important;
        right: 8px !important;
        left: auto !important;
        width: 160px !important;
        transform: none !important;
    }
    .lang-dropdown.open { transform: translateY(0) !important; }
    .profile-dropdown .lang-dropdown {
        position: absolute !important;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        left: auto !important;
        width: 100% !important;
        min-width: 160px !important;
        transform: translateY(-8px) !important;
    }
    .profile-dropdown .lang-dropdown.open { transform: translateY(0) !important; }

    /* Notification dropdown → full width */
    .notif-dropdown {
        position: fixed !important;
        top: 56px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-height: 70vh !important;
    }

    /* Profile dropdown → fixed right, flush to navbar */
    .profile-dropdown {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        width: fit-content !important;
        max-width: 55% !important;
        border-top: none !important;
        border-radius: 0 0 12px 12px !important;
    }
    .profile-dropdown.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scaleY(1) !important;
        filter: blur(0) !important;
    }
    .profile-dropdown::before { display: none !important; }
}

/* === SMALL TABLET: 576-767px === */
@media (min-width: 576px) and (max-width: 767.98px) {
    .navbar-icons {
        gap: 0.8rem !important;
        overflow: visible;
        flex-wrap: nowrap !important;
        padding: 2px 4px 2px 0;
    }
    .navbar-icons::-webkit-scrollbar { display: none; }
    .navbar-icons .nav-icon { font-size: 1.5rem !important; }
    .navbar-icons > div,
    .navbar-icons > .profile-container,
    .navbar-icons > .msg-nav-icon { flex-shrink: 0; }
    .profile-btn { font-size: 1.5rem !important; }
    .navbar-toggler { font-size: 1.8rem; }
    .navbar-search-inline {
        flex: 1 1 0%;
        min-width: 0;
        max-width: none;
        width: auto;
    }

    .love-popup {
        position: fixed !important;
        top: 60px !important;
        left: 12px !important;
        right: 12px !important;
        min-width: unset !important;
        width: auto !important;
        z-index: 10001 !important;
    }
    .notif-dropdown {
        position: fixed !important;
        top: 60px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-height: 70vh !important;
    }
    .profile-dropdown {
        position: fixed !important;
        right: 0 !important;
        left: auto !important;
        width: fit-content !important;
        max-width: 55% !important;
        border-top: none !important;
        border-radius: 0 0 12px 12px !important;
    }
    .profile-dropdown.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) scaleY(1) !important;
        filter: blur(0) !important;
    }
    .profile-dropdown::before { display: none !important; }
}

/* === TABLET: 768-991px === */
@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-icons {
        gap: 0.9rem !important;
        overflow: visible;
        flex-wrap: nowrap !important;
    }
    .navbar-icons::-webkit-scrollbar { display: none; }
    .navbar-icons .nav-icon { font-size: 1.55rem !important; }
    .navbar-icons > div,
    .navbar-icons > .profile-container,
    .navbar-icons > .msg-nav-icon { flex-shrink: 0; }
    .profile-btn { font-size: 1.55rem !important; }
    .navbar-toggler { font-size: 1.85rem; }
    .navbar-search-inline {
        flex: 1 1 0%;
        min-width: 0;
        max-width: none;
        width: auto;
    }

    .love-popup {
        position: fixed !important;
        top: 60px !important;
        right: 16px !important;
        left: auto !important;
        min-width: 280px !important;
        z-index: 10001 !important;
    }
    .notif-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 16px !important;
        left: auto !important;
        width: 340px !important;
        max-height: 70vh !important;
    }
}
/* Light mode transition */
body {
    transition: background-color 0.5s ease, color 0.5s ease, background-image 0.5s ease;
}
.navbar, .global-search-bar, .navbar-search-row, .lang-dropdown, .notif-dropdown,
.filter-bar, .plan-card, .faq-item, .about-creator-card, .about-contact-card,
.about-stat-card, .timeline-content {
    transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

/* ============================================
   LOCATION MAP OVERLAY
   ============================================ */
.location-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(2,2,8,0.95);
    backdrop-filter: blur(20px);
    display: none;
    flex-direction: column;
    animation: fadeInUp 0.3s ease;
}
.location-overlay.open { display: flex; }
.location-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,243,255,0.1);
}
.location-header h3 {
    color: var(--primary);
    font-size: 0.95rem;
    letter-spacing: 3px;
    margin: 0;
}
.location-close {
    background: none;
    border: 1px solid rgba(0,243,255,0.2);
    color: var(--text-muted);
    font-size: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.location-close:hover { color: var(--secondary); border-color: var(--secondary); }
.location-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.location-search-bar {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    align-items: center;
    flex-wrap: wrap;
}
.location-search-input-wrap {
    flex: 1;
    position: relative;
    min-width: 120px;
}
.location-search-input-wrap input {
    width: 100%;
    background: rgba(0,243,255,0.04);
    border: 1px solid rgba(0,243,255,0.12);
    border-radius: 20px;
    padding: 10px 36px 10px 16px;
    color: #fff;
    font-size: 0.82rem;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.location-search-input-wrap input:focus {
    border-color: rgba(0,243,255,0.3);
    background: rgba(0,243,255,0.06);
}
.location-search-input-wrap input::placeholder { color: rgba(136,153,187,0.5); }
.location-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text-muted);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    padding: 0;
}
.location-search-clear:hover {
    background: rgba(255,0,85,0.2);
    color: #ff1744;
}
.location-search-btn {
    background: linear-gradient(135deg, var(--primary), #0088ff);
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.location-search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,243,255,0.25); }
.location-map-container {
    flex: 1;
    position: relative;
    margin: 0 24px 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,243,255,0.1);
}
.location-map-container #leafletMap {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}
.location-map-container .leaflet-control-zoom {
    border: 1px solid rgba(0,243,255,0.3) !important;
    border-radius: 8px !important;
    overflow: hidden;
}
.location-map-container .leaflet-control-zoom a {
    background: rgba(2,2,8,0.9) !important;
    color: var(--primary) !important;
    border-color: rgba(0,243,255,0.15) !important;
    font-size: 18px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
}
.location-map-container .leaflet-control-zoom a:hover {
    background: rgba(0,243,255,0.15) !important;
}
.location-nearby-users {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 280px;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(8,8,25,0.95);
    border: 1px solid rgba(0,243,255,0.15);
    border-radius: 12px;
    padding: 12px;
    backdrop-filter: blur(20px);
    z-index: 2;
}
.nearby-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
    cursor: pointer;
}
.nearby-user-item:hover { background: rgba(0,243,255,0.06); }
.nearby-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,243,255,0.2), rgba(255,0,85,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary);
    flex-shrink: 0;
}
.nearby-user-info { flex: 1; min-width: 0; }
.nearby-user-name { font-size: 0.78rem; font-weight: 600; color: var(--text-main); }
.nearby-user-distance { font-size: 0.68rem; color: var(--text-muted); }
.nearby-title {
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0,243,255,0.1);
}
.location-status {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.location-status i { font-size: 1.5rem; display: block; margin-bottom: 8px; opacity: 0.4; }

/* ============================================
   MAP USER DOTS & POPUPS
   ============================================ */
.map-dot-wrapper { background: transparent !important; border: none !important; }
.map-user-dot {
    width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-weight: 800;
    border: 2.5px solid; position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.2);
    cursor: pointer; transition: transform 0.15s ease;
}
.map-user-dot:hover { transform: scale(1.25); z-index: 9999 !important; }
.map-dot-id {
    font-size: 10px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    line-height: 1; user-select: none; letter-spacing: 0.5px;
}
.map-dot-me {
    width: 38px; height: 38px;
    background: var(--primary) !important; border-color: #fff !important;
    box-shadow: 0 0 20px rgba(0,243,255,0.6);
    color: #fff;
}
.map-dot-pulse {
    position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid;
    animation: mapDotPulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes mapDotPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}
/* Custom popup styling — stays within viewport */
.map-custom-popup .leaflet-popup-content-wrapper { display: none !important; }
.map-custom-popup .leaflet-popup-tip-container { display: none !important; }
.map-custom-popup { display: none !important; }

/* ============== MINI INFO CARD (small floating label) ============== */
.map-info-panel {
    position: absolute;
    bottom: 10px; left: 10px;
    z-index: 1000;
    width: 220px;
    background: rgba(12,12,30,0.95);
    border: 1px solid rgba(0,243,255,0.12);
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.4), 0 0 20px rgba(0,243,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none;
    transform: translateY(8px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.map-info-panel.open {
    opacity: 1; pointer-events: auto;
    transform: translateY(0) scale(1);
}
.map-info-panel-handle { display: none; }
.map-info-panel-close {
    position: absolute; top: 6px; right: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-muted);
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.55rem;
    transition: all 0.15s ease;
    z-index: 10;
}
.map-info-panel-close:hover {
    background: rgba(255,0,85,0.15);
    color: #ff4466;
}
.map-info-panel-body {
    padding: 10px 12px 10px;
}
.map-info-panel .mini-card-header {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px;
}
.map-info-panel .mini-card-avatar {
    width: 34px; height: 34px; position: relative; flex-shrink: 0;
}
.map-info-panel .mini-card-avatar img {
    width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(0,243,255,0.25);
}
.map-info-panel .mini-card-avatar-initials {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,243,255,0.1), rgba(120,0,255,0.07));
    border: 2px solid rgba(0,243,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: var(--primary);
    font-family: 'Cinzel', serif;
}
.map-info-panel .mini-card-status-dot {
    width: 10px; height: 10px; border-radius: 50%;
    position: absolute; bottom: 0; right: -2px;
    border: 2px solid rgba(12,12,30,0.95);
}
.map-info-panel .mini-card-info { flex: 1; min-width: 0; text-align: left; }
.map-info-panel .mini-card-name {
    font-size: 0.75rem; font-weight: 700; color: var(--text-main);
    font-family: 'Cinzel', serif; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.map-info-panel .mini-card-meta {
    font-size: 0.6rem; color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 0.5px; opacity: 0.6;
}
.map-info-panel .mini-card-time {
    font-size: 0.65rem; font-weight: 600;
    display: flex; align-items: center; gap: 4px;
    margin-bottom: 6px;
}
.map-info-panel .mini-card-time i { font-size: 0.4rem; }
.map-info-panel .mini-card-stats {
    display: flex; gap: 12px;
    font-size: 0.6rem; color: var(--text-muted); margin-bottom: 6px;
}
.map-info-panel .mini-card-stats span {
    display: flex; align-items: center; gap: 3px;
}
.map-info-panel .mini-card-stats i { color: var(--primary); font-size: 0.5rem; }
.map-info-panel .mini-card-home { margin-bottom: 6px; }
.map-info-panel .mini-card-btn {
    background: linear-gradient(135deg, var(--primary), #0077ee);
    border: none; color: #fff; padding: 6px 0; border-radius: 8px;
    font-size: 0.65rem; font-weight: 700; cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body); width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.map-info-panel .mini-card-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 3px 12px rgba(0,136,255,0.3);
}
/* Mini home stats */
.mini-home {
    background: rgba(0,243,255,0.03);
    border: 1px solid rgba(0,243,255,0.06);
    border-radius: 8px; padding: 5px 7px;
    margin-bottom: 6px; text-align: left;
}
.mini-home-row {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.55rem; color: var(--text-muted); padding: 1px 0;
}
.mini-home-row i { color: var(--primary); font-size: 0.45rem; width: 10px; text-align: center; }
.mini-home-hrs { margin-left: auto; opacity: 0.6; }
.mini-chart {
    display: flex; align-items: flex-end; gap: 1px;
    height: 16px; margin-top: 4px;
}
.mini-chart-lbl {
    display: flex; justify-content: space-between;
    font-size: 0.4rem; color: var(--text-muted); opacity: 0.4;
    margin-top: 1px;
}
/* Home detection stats in popup */
.map-popup-home { margin-bottom: 12px; }
.map-home-section {
    background: rgba(0,243,255,0.03);
    border: 1px solid rgba(0,243,255,0.08);
    border-radius: 10px; padding: 10px 10px 8px;
    text-align: left; margin-top: 4px;
}
.map-home-title {
    font-size: 0.64rem; font-weight: 700; color: var(--primary);
    letter-spacing: 0.8px; margin-bottom: 8px; text-transform: uppercase;
    display: flex; align-items: center; gap: 5px;
}
.map-home-stat {
    display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.map-home-percent {
    font-size: 1.1rem; font-weight: 800; color: #00e676;
    min-width: 44px; text-align: center; line-height: 1;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.map-home-label {
    font-size: 0.62rem; color: var(--text-muted); line-height: 1.4;
    font-family: var(--font-body); flex: 1;
}
.map-home-detail {
    font-size: 0.62rem; color: var(--text-muted); margin-bottom: 4px;
    font-family: var(--font-body);
    display: flex; align-items: center; gap: 4px;
}
.map-home-places-title {
    font-size: 0.6rem; color: var(--primary); font-weight: 700;
    margin: 8px 0 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.map-home-place {
    font-size: 0.6rem; color: var(--text-muted); padding: 2px 0;
    font-family: var(--font-body); display: flex; align-items: center; gap: 4px;
}
.map-home-place b { color: var(--text-main); font-weight: 700; }
.map-home-chart-title {
    font-size: 0.58rem; color: var(--primary); font-weight: 700;
    margin: 8px 0 4px; text-transform: uppercase; letter-spacing: 0.5px;
}
.map-home-chart {
    display: flex; align-items: flex-end; gap: 1px; height: 24px;
    padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.map-chart-bar {
    flex: 1; min-width: 2px; border-radius: 2px 2px 0 0;
    transition: height 0.3s ease;
}
.map-chart-labels {
    display: flex; justify-content: space-between; font-size: 0.48rem;
    color: var(--text-muted); padding-top: 2px; opacity: 0.7;
}
/* Sidebar stats bar */
.map-sidebar-stats {
    display: flex; gap: 12px; padding: 6px 10px; margin-bottom: 6px;
    font-size: 0.65rem; font-weight: 600;
}
.map-stat-online { color: #00e676; }
.map-stat-online i { font-size: 0.4rem; vertical-align: middle; margin-right: 3px; }
.map-stat-offline { color: #ff1744; }
.map-stat-offline i { font-size: 0.4rem; vertical-align: middle; margin-right: 3px; }
/* Responsive: mobile sidebar */
@media (max-width: 768px) {
    .location-search-bar {
        padding: 8px 10px;
        gap: 6px;
    }
    .location-search-btn {
        padding: 8px 10px;
        font-size: 0.65rem;
        letter-spacing: 0;
    }
    .location-nearby-users {
        position: relative !important; top: auto !important; right: auto !important;
        width: 100% !important; max-height: 180px;
        border-radius: 0 !important; border-top: 1px solid rgba(0,243,255,0.1);
    }
    .location-map-container { flex-direction: column; display: flex; }
    .location-map-container #leafletMap { min-height: 280px; }
    .map-info-panel { width: 200px; bottom: 8px; left: 8px; }
    .map-info-panel-body { padding: 8px 10px 8px; }
    .map-user-dot { width: 30px; height: 30px; border-width: 2px; }
    .map-dot-id { font-size: 9px; }
    .map-home-percent { font-size: 1rem; }
}
@media (max-width: 480px) {
    .location-search-bar {
        padding: 6px 8px;
        gap: 4px;
    }
    .location-search-input-wrap input {
        padding: 8px 32px 8px 12px;
        font-size: 0.75rem;
    }
    .location-search-btn {
        padding: 8px 8px;
        font-size: 0.6rem;
    }
    .location-nearby-users { max-height: 150px; padding: 8px; }
    .nearby-user-avatar { width: 30px; height: 30px; }
    .nearby-user-name { font-size: 0.72rem; }
    .nearby-user-distance { font-size: 0.62rem; }
    .map-info-panel { width: 185px; bottom: 6px; left: 6px; }
    .map-info-panel-body { padding: 7px 8px 7px; }
    .map-info-panel .mini-card-avatar,
    .map-info-panel .mini-card-avatar img,
    .map-info-panel .mini-card-avatar-initials { width: 30px; height: 30px; font-size: 10px; }
    .map-info-panel .mini-card-name { font-size: 0.68rem; }
    .map-info-panel .mini-card-btn { padding: 5px 0; font-size: 0.6rem; }
    .map-user-dot { width: 26px; height: 26px; border-width: 2px; }
    .map-dot-id { font-size: 8px; }
    .map-info-panel-close { width: 18px; height: 18px; font-size: 0.45rem; top: 5px; right: 5px; }
}

/* ============================================ */

/* ============ MATRIX RAIN EASTER EGG ============ */
#matrixCanvas {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}
#matrixCanvas.active {
    opacity: 0.35;
}



/* ============ ACHIEVEMENT TOAST ============ */
.achievement-toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(0,243,255,0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: top 0.6s var(--ease);
    box-shadow: 0 10px 40px rgba(255,215,0,0.2);
    min-width: 320px;
}
.achievement-toast.show { top: 20px; }
.achievement-toast .at-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #ff8c00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    flex-shrink: 0;
}
.achievement-toast .at-text h5 {
    margin: 0;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 3px;
}
.achievement-toast .at-text p {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: #fff;
}
@keyframes achieveShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}


/* ============ INTERACTIVE TIMELINE ============ */
.i-timeline {
    position: relative;
    padding: 40px 0;
}
.i-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), var(--secondary), var(--accent), transparent);
    transform: translateX(-50%);
}
.i-tl-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}
.i-tl-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.i-tl-item:nth-child(odd) { flex-direction: row-reverse; }
.i-tl-content {
    width: 45%;
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s;
}
.i-tl-content:hover {
    border-color: rgba(0,243,255,0.3);
    box-shadow: 0 5px 25px rgba(0,243,255,0.1);
}
.i-tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--dark-bg);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 15px rgba(0,243,255,0.4);
}
.i-tl-year {
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 6px;
}
.i-tl-title {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.i-tl-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
}
@media (max-width: 768px) {
    .i-timeline::before { left: 20px; }
    .i-tl-item, .i-tl-item:nth-child(odd) { flex-direction: row; padding-left: 50px; }
    .i-tl-content { width: 100%; }
    .i-tl-dot { left: 20px; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 25px;
    z-index: 9997;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.2);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.back-to-top:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
}

/* ============ KEYBOARD SHORTCUTS MODAL ============ */
.kb-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
}
.kb-overlay.open { display: flex; }
.kb-panel {
    background: var(--card-bg);
    border: 1px solid rgba(0,243,255,0.15);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 550px;
    max-height: 80vh;
    overflow-y: auto;
}
.kb-panel h3 {
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-align: center;
}
.kb-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.kb-row:last-child { border-bottom: none; }
.kb-desc { font-size: 0.75rem; color: var(--text-muted); }
.kb-keys { display: flex; gap: 4px; }
.kb-key {
    background: rgba(0,243,255,0.1);
    border: 1px solid rgba(0,243,255,0.2);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ============ COOKIE CONSENT ============ */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,243,255,0.15);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    width: 90%;
    transition: bottom 0.6s var(--ease);
    box-shadow: 0 -5px 30px rgba(0,0,0,0.5);
}
.cookie-banner.show { bottom: 25px; }
.cookie-banner p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    flex: 1;
}
.cookie-banner button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.7rem;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: all 0.3s;
}
.cookie-banner button:hover { transform: scale(1.05); }

@media (max-width: 768px) {
}

html.force-desktop .navbar-search-row {
    padding: calc(5px * var(--desktop-layout-scale, 1)) 0;
}
html.force-desktop .navbar-search-row .search-wrap,
html.force-desktop .navbar-search-inline .search-wrap {
    max-width: 100%;
}
html.force-desktop .navbar {
    --desktop-nav-icon-size: clamp(16px, calc(31.92px * var(--desktop-layout-scale, 1)), 31.92px);
    --desktop-menu-icon-size: clamp(14px, calc(28.5px * var(--desktop-layout-scale, 1)), 28.5px);
    --desktop-nav-text-size: clamp(10.35px, calc(18.62px * var(--desktop-layout-scale, 1)), 18.62px);
    --desktop-nav-item-gap: clamp(3.5px, calc(8.36px * var(--desktop-layout-scale, 1)), 8.36px);
    --desktop-nav-link-x-padding: clamp(4px, calc(8.36px * var(--desktop-layout-scale, 1)), 8.36px);
    --desktop-nav-link-inner-gap: clamp(4px, calc(7.98px * var(--desktop-layout-scale, 1)), 7.98px);
    --desktop-nav-offset-x: clamp(4px, calc(9.5px * var(--desktop-layout-scale, 1)), 9.5px);
    --desktop-menu-offset-y: clamp(0px, calc(2px * var(--desktop-layout-scale, 1)), 2px);
    --desktop-search-width: clamp(210px, calc(513px * var(--desktop-layout-scale, 1)), 513px);
    --desktop-search-min-width: clamp(148px, calc(320px * var(--desktop-layout-scale, 1)), 320px);
    --desktop-search-offset-x: clamp(4px, calc(25.65px * var(--desktop-layout-scale, 1)), 25.65px);
    --desktop-nav-popup-scale: 1.04;
    --desktop-nav-inner-scale: 1.08;
    --desktop-nav-icon-popup-scale: 1.12;
    padding: clamp(4px, calc(6px * var(--desktop-layout-scale, 1)), 6px) 0 !important;
}
html.force-desktop .navbar > .container {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    align-items: center;
    padding-left: clamp(6px, calc(8px * var(--desktop-layout-scale, 1)), 8px);
    padding-right: clamp(12px, calc(20px * var(--desktop-layout-scale, 1)), 20px);
    position: static;
}
html.force-desktop .navbar-toggler {
    display: none !important;
}
html.force-desktop .navbar-collapse {
    display: flex !important;
    flex: 0 0 auto !important;
    order: 1;
    justify-content: flex-start;
    width: auto !important;
    max-width: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
    animation: none !important;
    overflow: visible !important;
    position: static !important;
    align-self: auto !important;
}
html.force-desktop .navbar-collapse::before,
html.force-desktop .navbar-collapse::after {
    display: none !important;
}
html.force-desktop .navbar-collapse .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: var(--desktop-nav-item-gap) !important;
    margin-left: var(--desktop-nav-offset-x) !important;
    padding: 0 !important;
}
html.force-desktop .navbar-nav {
    margin-right: 0;
    margin-left: var(--desktop-nav-offset-x);
    padding-left: 0;
}
html.force-desktop .navbar-collapse .nav-link,
html.force-desktop .nav-link {
    flex-direction: row !important;
    padding: calc(5px * var(--desktop-layout-scale, 1)) var(--desktop-nav-link-x-padding) !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: calc(6px * var(--desktop-layout-scale, 1)) !important;
    font-size: var(--desktop-nav-text-size) !important;
    gap: var(--desktop-nav-link-inner-gap) !important;
    min-height: auto !important;
    white-space: nowrap !important;
    transform-origin: left center;
    letter-spacing: calc(1px * var(--desktop-layout-scale, 1)) !important;
}
html.force-desktop .navbar-collapse .nav-link {
    position: relative;
    top: var(--desktop-menu-offset-y);
}
html.force-desktop .navbar-collapse .nav-link:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(calc(-1px * var(--desktop-layout-scale, 1))) scale(var(--desktop-nav-popup-scale)) !important;
}
html.force-desktop .navbar-collapse .nav-link.active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
html.force-desktop .navbar-collapse .nav-link::before,
html.force-desktop .navbar-collapse .nav-link::after {
    display: none !important;
}
html.force-desktop .navbar-collapse .nav-link-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: var(--desktop-menu-icon-size) !important;
    height: var(--desktop-menu-icon-size) !important;
    font-size: var(--desktop-menu-icon-size) !important;
    line-height: var(--desktop-menu-icon-size) !important;
    margin-right: 0 !important;
    flex: 0 0 var(--desktop-menu-icon-size);
    color: rgba(180, 170, 255, 0.8) !important;
}
html.force-desktop .navbar-collapse .nav-link > span {
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}
html.force-desktop .navbar-collapse .nav-link:hover > span {
    transform: scale(var(--desktop-nav-popup-scale));
    text-shadow: 0 0 calc(10px * var(--desktop-layout-scale, 1)) rgba(150,120,255,0.35);
}
html.force-desktop .navbar-collapse .nav-link:hover .nav-link-icon {
    color: #fff !important;
    filter: none !important;
    transform: none !important;
}
html.force-desktop .navbar-collapse .nav-link.active .nav-link-icon {
    color: rgba(214, 204, 255, 0.95) !important;
    filter: none !important;
    transform: none !important;
}
html.force-desktop .navbar-search-inline {
    order: 12;
    border-top: none;
    padding-top: calc(5px * var(--desktop-layout-scale, 1));
    padding-bottom: calc(5px * var(--desktop-layout-scale, 1));
    flex: 1 1 var(--desktop-search-width);
    min-width: min(100%, var(--desktop-search-min-width));
    width: min(100%, var(--desktop-search-width));
    max-width: var(--desktop-search-width);
    margin-left: var(--desktop-search-offset-x);
    margin-right: 0;
}
html.force-desktop .navbar-icons {
    order: 13;
    border-top: none;
    padding-top: calc(5px * var(--desktop-layout-scale, 1));
    padding-bottom: calc(5px * var(--desktop-layout-scale, 1));
    margin-left: auto;
    flex: 0 0 auto;
    min-width: clamp(88px, calc(140px * var(--desktop-layout-scale, 1)), 140px);
    justify-content: flex-end;
    gap: clamp(8px, calc(13.3px * var(--desktop-layout-scale, 1)), 13.3px) !important;
}
html.force-desktop .navbar-icons .nav-icon,
html.force-desktop .navbar-icons .profile-btn {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), filter 0.3s ease, color 0.3s ease;
    transform-origin: center center;
}
html.force-desktop .navbar-icons .nav-icon {
    font-size: calc(28.5px * var(--desktop-layout-scale, 1)) !important;
}
html.force-desktop .profile-btn {
    font-size: calc(28.5px * var(--desktop-layout-scale, 1)) !important;
}
html.force-desktop .navbar-icons .nav-icon:hover,
html.force-desktop .navbar-icons .profile-btn:hover {
    transform: translateY(calc(-1px * var(--desktop-layout-scale, 1))) scale(var(--desktop-nav-icon-popup-scale)) !important;
    filter: drop-shadow(0 0 calc(10px * var(--desktop-layout-scale, 1)) rgba(0,243,255,0.55));
}
html.force-desktop .navbar-search-row .search-field,
html.force-desktop .navbar-search-inline .search-field {
    height: clamp(28px, calc(36px * var(--desktop-layout-scale, 1)), 36px);
    line-height: clamp(28px, calc(36px * var(--desktop-layout-scale, 1)), 36px);
    font-size: clamp(10.2px, calc(15.2px * var(--desktop-layout-scale, 1)), 15.2px);
    border-radius: clamp(18px, calc(22px * var(--desktop-layout-scale, 1)), 22px);
    padding: 0 clamp(10px, calc(16px * var(--desktop-layout-scale, 1)), 16px) 0 clamp(30px, calc(40px * var(--desktop-layout-scale, 1)), 40px);
    letter-spacing: clamp(0.1px, calc(0.28px * var(--desktop-layout-scale, 1)), 0.3px);
}
html.force-desktop .navbar-search-row .search-field::placeholder,
html.force-desktop .navbar-search-inline .search-field::placeholder {
    font-size: clamp(9.4px, calc(14.44px * var(--desktop-layout-scale, 1)), 14.44px);
    letter-spacing: clamp(0.1px, calc(0.35px * var(--desktop-layout-scale, 1)), 0.5px);
}
html.force-desktop .navbar-search-row .search-wrap .search-icon,
html.force-desktop .navbar-search-inline .search-wrap .search-icon {
    font-size: clamp(11.5px, calc(16.15px * var(--desktop-layout-scale, 1)), 16.15px);
    left: clamp(10px, calc(14px * var(--desktop-layout-scale, 1)), 14px);
}
html.force-desktop section,
html.force-desktop #news,
html.force-desktop #shop {
    padding: calc(10px * var(--desktop-layout-scale, 1)) 0 calc(60px * var(--desktop-layout-scale, 1)) 0;
}
html.force-desktop .hero-title {
    margin-bottom: calc(20px * var(--desktop-layout-scale, 1));
}
html.force-desktop #news .container,
html.force-desktop #shop .container {
    padding-left: calc(8px * var(--desktop-layout-scale, 1));
    padding-right: calc(8px * var(--desktop-layout-scale, 1));
}
html.force-desktop .news-section-header,
html.force-desktop .shop-section-header {
    margin-bottom: calc(32px * var(--desktop-layout-scale, 1));
}
html.force-desktop .movies-header {
    margin-bottom: calc(24px * var(--desktop-layout-scale, 1));
}
