/* FILE: assets/css/main.css */

/* 1. IMPORT FONTS: Orbitron (Gaming/Tech) and Poppins (Clean/Modern) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Neon Dark Theme Variables */
    --bg-deep: #020202;
    --bg-card: #0D0D0E;
    --bg-glass: rgba(13, 13, 14, 0.7);
    
    --neon-blue: #00F3FF;
    --neon-purple: #BC13FE;
    --neon-green: #00FF94;
    
    --text-main: #FFFFFF;
    --text-muted: #8F9098;
    
    --border-radius-lg: 32px;
    --border-radius-pill: 100px;
    
    --glow-blue: 0 0 20px rgba(0, 243, 255, 0.3);
    --glow-text: 0 0 10px rgba(0, 243, 255, 0.5);
    
    /* Fonts */
    --font-heading: 'Orbitron', sans-serif; /* Tech/Gaming Font */
    --font-body: 'Poppins', sans-serif;     /* Clean UI Font */
}

body {
    background-color: var(--bg-deep);
    font-family: var(--font-body);
    margin: 0;
    color: var(--text-main);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.05) 0%, transparent 40%);
}

.main-layout {
    max-width: 1240px;
    margin: 0 auto;
    min-height: 100vh;
    padding-top: 140px; /* Increased to push content down from fixed navbar */
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

/* ============================
   NAVBAR & HEADER
   ============================ */
.navbar {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
    transition: all 0.4s ease;
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    background: rgba(13, 13, 14, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 8px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .nav-container {
    background: rgba(5, 5, 5, 0.98);
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    z-index: 2;
}

.logo-img { height: 35px; width: auto; object-fit: contain; }
.logo span { display: none; }
@media (min-width: 900px) { .logo span { display: inline; } }

/* NAVBAR SEARCH */
.nav-search { position: relative; width: 280px; margin-left: 20px; z-index: 2; }

.search-input { 
    width: 100%; 
    padding: 10px 15px 10px 40px; 
    border-radius: 50px; 
    background: rgba(0,0,0,0.3); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: white; 
    font-family: var(--font-body); 
    font-size: 0.9rem; 
    outline: none; 
    transition: 0.3s; 
}

.search-input:focus { 
    background: black; 
    border-color: var(--neon-blue); 
    width: 320px; 
}

.nav-search .search-icon-img { 
    position: absolute; 
    left: 14px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 16px; 
    height: 16px; 
    object-fit: contain; 
    opacity: 0.6; 
    pointer-events: none; 
}
.nav-search .search-icon { display: none; }

.search-dropdown { 
    position: absolute; 
    top: 130%; 
    left: 0; 
    width: 100%; 
    min-width: 250px; 
    background: #111; 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    z-index: 2000; 
    display: none; 
    max-height: 300px; 
    overflow-y: auto; 
    padding: 5px 0; 
}

.nav-search:focus-within .search-dropdown { width: 300px; }

.search-dropdown::-webkit-scrollbar { width: 6px; }
.search-dropdown::-webkit-scrollbar-track { background: #111; }
.search-dropdown::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.search-dropdown.active { display: block; animation: fadeIn 0.2s ease-out; }

.search-result-item { 
    display: flex; 
    align-items: center; 
    padding: 8px 12px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    text-decoration: none; 
    transition: background 0.2s; 
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255, 255, 255, 0.08); }

.result-thumb { 
    width: 35px; 
    height: 48px; 
    object-fit: cover; 
    border-radius: 4px; 
    margin-right: 10px; 
}

.result-info { flex: 1; overflow: hidden; }

.result-title { 
    color: white; 
    font-weight: 600; 
    font-size: 0.9rem; 
    display: block; 
    line-height: 1.2; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.result-cat { 
    color: var(--neon-blue); 
    font-size: 0.7rem; 
    margin-top: 2px; 
    display: block; 
}

/* NAVBAR LINKS & ACTIONS */
.nav-links { 
    display: flex; 
    gap: 5px; 
    list-style: none; 
    margin: 0; 
    padding: 5px; 
    background: rgba(255,255,255,0.03); 
    border-radius: 50px; 
    border: 1px solid rgba(255,255,255,0.05); 
    margin-left: auto; 
    margin-right: 20px; 
}

.nav-links a { 
    text-decoration: none; 
    color: #aaa; 
    font-weight: 500; 
    font-size: 0.9rem; 
    padding: 8px 24px; 
    border-radius: 30px; 
    transition: all 0.3s ease; 
    font-family: var(--font-body); 
}

.nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }

.nav-actions { display: flex; align-items: center; gap: 15px; z-index: 2; margin-left: 0; }

.user-profile-link { display: flex; align-items: center; text-decoration: none; transition: 0.3s; }
.nav-avatar { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    border: 2px solid var(--neon-blue); 
    object-fit: cover; 
    transition: transform 0.2s; 
}
.user-profile-link:hover .nav-avatar { transform: scale(1.1); box-shadow: 0 0 10px var(--neon-blue); }

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* NOTIFICATIONS */
.nav-notif { position: relative; margin-right: 15px; }

.notif-btn { 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    color: white; 
    width: 40px; 
    height: 40px; 
    border-radius: 12px; 
    cursor: pointer; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.3s; 
}

.notif-btn:hover, .notif-btn.active { 
    background: rgba(0, 243, 255, 0.1); 
    border-color: var(--neon-blue); 
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); 
}

.bell-icon { font-size: 1.2rem; filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.5)); }

.notif-badge { 
    position: absolute; 
    top: -2px; 
    right: -2px; 
    width: 10px; 
    height: 10px; 
    background: var(--neon-green); 
    border-radius: 50%; 
    border: 2px solid #0D0D0E; 
    box-shadow: 0 0 5px var(--neon-green); 
}

.notif-dropdown { 
    position: absolute; 
    top: 130%; 
    right: -10px; 
    width: 320px; 
    background: #111; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); 
    z-index: 2000; 
    display: none; 
    overflow: hidden; 
    animation: fadeIn 0.2s ease-out; 
}

.notif-dropdown.active { display: block; }

.notif-header { 
    padding: 15px; 
    background: rgba(255,255,255,0.03); 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    font-weight: 600; 
    font-size: 0.9rem; 
    color: var(--neon-blue); 
    font-family: var(--font-heading); 
}

.notif-list { max-height: 350px; overflow-y: auto; }

.notif-item { 
    display: flex; 
    padding: 12px 15px; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
    text-decoration: none; 
    transition: 0.2s; 
    align-items: center; 
}

.notif-item:hover { background: rgba(255,255,255,0.05); }

.notif-thumb { 
    width: 40px; 
    height: 40px; 
    border-radius: 8px; 
    object-fit: cover; 
    margin-right: 12px; 
}

.notif-content { flex: 1; }

.notif-title { display: block; color: white; font-size: 0.9rem; font-weight: 500; line-height: 1.2; }
.notif-time { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 4px; }
.notif-empty { padding: 20px; text-align: center; color: #777; font-size: 0.9rem; }

.notif-list::-webkit-scrollbar { width: 5px; }
.notif-list::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ============================
   HERO SLIDER
   ============================ */
.hero-slider { 
    position: relative; 
    height: 650px; 
    width: 100%; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 40px; 
    border-radius: 0 0 40px 40px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
}

.hero-bg { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    transition: transform 0.6s ease-out, filter 0.6s ease-out; 
    filter: brightness(0.6) blur(0px); 
    z-index: 0; 
}
.hero-bg.changing { transform: scale(1.05); filter: brightness(0.4) blur(4px); }

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, #020202 0%, rgba(2,2,2,0.9) 30%, rgba(2,2,2,0.4) 60%, transparent 100%); 
    z-index: 1; 
}

.slider-content-wrapper { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
    max-width: 1300px; 
    padding: 0 40px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 100%; 
}

.slider-text-content { max-width: 550px; opacity: 1; transform: translateY(0); transition: 0.5s ease-out; }

.hero-tags { display: flex; gap: 10px; margin-bottom: 15px; }
.badge { background: var(--neon-blue); color: black; padding: 5px 12px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
.badge-outline { background: transparent; border: 1px solid white; color: white; }

.hero-title { 
    font-size: 4rem; 
    line-height: 1.1; 
    margin: 10px 0 20px 0; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-family: var(--font-heading); 
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4); 
}

#hero-desc { 
    font-size: 1.1rem; 
    color: #ccc; 
    margin-bottom: 40px; 
    line-height: 1.6; 
    max-width: 90%; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.hero-actions { display: flex; gap: 20px; align-items: center; }
.main-cta { padding: 15px 35px; font-size: 1rem; display: flex; align-items: center; gap: 10px; }

.slider-dots-container { display: flex; gap: 10px; margin-top: 50px; }
.slider-dot { height: 4px; width: 30px; background: rgba(255,255,255,0.2); border-radius: 2px; cursor: pointer; position: relative; overflow: hidden; transition: width 0.3s; }
.slider-dot.active { width: 60px; background: rgba(255,255,255,0.4); }
.slider-dot.active::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--neon-blue); animation: progressFill 5s linear forwards; }
@keyframes progressFill { from { width: 0%; } to { width: 100%; } }

/* Slider Cards (Right) */
.slider-cards-container { 
    flex: 1; 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    padding-left: 40px; 
    perspective: 1000px; 
}

.hero-cards-track { display: flex; gap: 20px; align-items: center; }

.mini-card { 
    position: relative; 
    width: 150px; 
    height: 220px; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #000; 
    border: 2px solid rgba(255, 255, 255, 0.15); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    transition: all 0.4s ease; 
    cursor: pointer; 
    opacity: 0; 
    transform: translateX(50px); 
    animation: slideInRight 0.5s forwards; 
}

.mini-card:nth-child(1) { animation-delay: 0.1s; } 
.mini-card:nth-child(2) { animation-delay: 0.2s; } 
.mini-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }

.mini-card:hover { 
    transform: translateY(-10px) scale(1.05) !important; 
    border-color: var(--neon-blue); 
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3); 
    z-index: 10; 
}

.mini-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; opacity: 0.8; }
.mini-card:hover img { opacity: 1; }

.mini-card-overlay { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    padding: 10px; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); 
    opacity: 0.8; 
}

.mini-title { 
    color: white; 
    font-size: 0.8rem; 
    font-weight: 700; 
    font-family: var(--font-heading); 
    display: block; 
    text-transform: uppercase; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
}

/* ============================
   ALL GAMES & FILTER BAR
   ============================ */
.all-games-header { margin-bottom: 30px; }
.all-games-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: white; font-family: var(--font-heading); }
.title-underline { width: 60px; height: 4px; background: var(--neon-green); border-radius: 2px; }

.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.filter-search { flex: 1; min-width: 300px; }
.filter-search input { width: 100%; padding: 15px 20px; border-radius: 8px; background: #111; border: 1px solid rgba(255,255,255,0.1); color: white; font-size: 1rem; outline: none; transition: 0.3s; }
.filter-search input:focus { border-color: var(--neon-blue); background: #080808; box-shadow: 0 0 15px rgba(0, 243, 255, 0.1); }
.filter-sort select { padding: 15px 20px; border-radius: 8px; background: #111; border: 1px solid rgba(255,255,255,0.1); color: white; font-size: 1rem; outline: none; cursor: pointer; min-width: 200px; appearance: none; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right .7em top 50%; background-size: .65em auto; }
.filter-sort select:focus { border-color: var(--neon-blue); }

/* ============================
   GAMES GRID & CARDS
   ============================ */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }

.game-card { 
    background: #151515; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s; 
    position: relative; 
    text-align: left; 
    display: flex; 
    flex-direction: column; 
    height: 100%; 
}
.game-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); 
    border-color: rgba(255, 255, 255, 0.15); 
}
.game-card a { text-decoration: none; color: white; display: block; }

.game-thumb { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    display: block; 
    mask-image: none; 
    -webkit-mask-image: none; 
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.game-info { 
    padding: 20px; 
    position: relative; 
    top: 0; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
    gap: 10px; 
}

.game-title { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin: 0; 
    display: block; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    font-family: var(--font-heading); 
    color: white; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.game-meta { 
    font-size: 0.8rem; 
    color: #999; 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    margin-bottom: 10px; 
    font-family: var(--font-body); 
}

.game-stats { 
    display: flex; 
    gap: 15px; 
    font-size: 0.75rem; 
    color: #777; 
    margin-bottom: 15px; 
    font-weight: 500; 
}

.game-btn { 
    margin-top: auto; 
    background: #00E676; 
    color: black; 
    font-weight: 800; 
    text-align: center; 
    padding: 12px 0; 
    border-radius: 50px; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
    transition: 0.2s; 
    display: block; 
    width: 100%; 
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2); 
}
.game-btn:hover { 
    background: #00FFBE; 
    box-shadow: 0 0 25px rgba(0, 255, 190, 0.5); 
    transform: scale(1.02); 
}

/* ============================
   CATEGORIES
   ============================ */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }

.category-card { 
    position: relative; 
    background: #111; 
    border: 1px solid rgba(255, 255, 255, 0.15); 
    padding: 60px 20px; 
    border-radius: 20px; 
    text-decoration: none; 
    color: white; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: 0.3s; 
    overflow: hidden; 
    z-index: 1; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
}
.category-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8)); 
    z-index: -1; 
    transition: 0.3s; 
}
.category-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--neon-blue); 
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.2); 
}
.category-card:hover::before { 
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,243,255,0.1)); 
}
.cat-name { 
    font-family: var(--font-heading); 
    font-weight: 800; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.8); 
    font-size: 1.4rem; 
    position: relative; 
    z-index: 2; 
}

/* Category Images */
.categories-grid a:nth-child(1) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/action.jpg'); background-size: cover; background-position: center; }
.categories-grid a:nth-child(2) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/rpg.jpg'); background-size: cover; background-position: center; }
.categories-grid a:nth-child(3) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/strategy.jpg'); background-size: cover; background-position: center; }
.categories-grid a:nth-child(4) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/simulation.jpg'); background-size: cover; background-position: center; }
.categories-grid a:nth-child(5) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/sports.jpg'); background-size: cover; background-position: center; }
.categories-grid a:nth-child(6) { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('../img/categories/horror.jpg'); background-size: cover; background-position: center; }

/* ============================
   STATS SECTION
   ============================ */
.stats-grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    max-width: 1000px; 
    margin: 0 auto; 
}

.stat-box { 
    background: rgba(255, 255, 255, 0.02); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px; 
    padding: 30px; 
    text-align: center; 
    transition: 0.3s; 
    backdrop-filter: blur(5px); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-box:hover { 
    border-color: var(--neon-green); 
    transform: translateY(-5px); 
    box-shadow: 0 0 20px rgba(0, 255, 148, 0.1); 
}

.stat-number { 
    font-size: 3rem; 
    font-weight: 700; 
    color: var(--neon-green); 
    margin-bottom: 5px; 
    font-family: var(--font-heading); 
    text-shadow: 0 0 15px rgba(0, 255, 148, 0.3); 
    line-height: 1; 
}

.stat-label { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 500; 
}

/* ============================
   LIGHTBOX & MODAL
   ============================ */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); z-index: 3000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(5px); }
.lightbox.active { display: flex; opacity: 1; }
.lightbox-img { max-width: 90%; max-height: 90%; border-radius: 12px; box-shadow: 0 0 50px rgba(0, 243, 255, 0.15); transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 3rem; color: white; cursor: pointer; transition: 0.2s; line-height: 1; font-family: var(--font-body); }
.lightbox-close:hover { color: var(--neon-blue); transform: rotate(90deg); }
.screenshot-row img { cursor: pointer; transition: transform 0.2s, filter 0.2s; border: 2px solid transparent; }
.screenshot-row img:hover { transform: scale(1.05); filter: brightness(1.2); border-color: var(--neon-blue); }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.3s ease; }
.modal.hidden { display: none !important; opacity: 0; pointer-events: none; }
.modal-content { background: #111; border: 1px solid rgba(255, 255, 255, 0.1); padding: 30px; border-radius: 20px; width: 350px; max-width: 90%; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,0.5); position: relative; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; color: #888; }
.auth-tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.tab-btn { flex: 1; background: none; border: none; color: #888; padding: 10px; cursor: pointer; font-weight: 600; font-family: var(--font-body); }
.tab-btn.active { color: var(--neon-blue); border-bottom: 2px solid var(--neon-blue); }
.form-group { margin-bottom: 15px; }
.form-group input { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: white; font-family: inherit; box-sizing: border-box; }
.form-group input:focus { outline: none; border-color: var(--neon-blue); }
.full-width { width: 100%; }

/* ============================
   FOOTER & UTILS
   ============================ */
.main-footer { padding: 0 20px 40px 20px; margin-top: 80px; display: flex; justify-content: center; }
.footer-card { width: 100%; max-width: 1200px; background: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: var(--border-radius-lg); padding: 60px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; position: relative; overflow: hidden; }
.footer-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(188, 19, 254, 0.03) 0%, transparent 50%); pointer-events: none; }
.footer-col h3 { color: white; font-size: 1.5rem; margin-top: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); }
.footer-col h3::before { content: ''; display: block; width: 8px; height: 24px; background: var(--neon-green); border-radius: 4px; box-shadow: 0 0 10px var(--neon-green); }
.footer-col p { color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.footer-col h4 { color: white; margin-top: 0; margin-bottom: 20px; font-size: 1.1rem; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 12px; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: var(--neon-blue); padding-left: 5px; text-shadow: 0 0 8px rgba(0, 243, 255, 0.4); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 30px; margin-top: 20px; text-align: center; color: #555; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }

/* Social Icons */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-icon { 
    display: flex !important; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.05); 
    color: #fff; 
    border-radius: 50%; 
    text-decoration: none; 
    transition: 0.3s; 
    border: 1px solid rgba(255,255,255,0.1); 
    margin: 0 !important; 
    padding: 0 !important; 
}
.social-icon:hover { 
    background: var(--neon-blue); 
    color: #000 !important; 
    box-shadow: 0 0 15px var(--neon-blue); 
    transform: translateY(-3px); 
    border-color: var(--neon-blue); 
}

/* Common Helpers */
.btn { padding: 12px 30px; border-radius: var(--border-radius-pill); text-decoration: none; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; display: inline-block; transition: transform 0.2s, box-shadow 0.2s; font-family: var(--font-body); }
.btn-primary { background: linear-gradient(135deg, var(--neon-blue), #00C2FF); color: #000; box-shadow: 0 4px 15px rgba(0, 243, 255, 0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 243, 255, 0.4); }
.btn-secondary { background: rgba(255, 255, 255, 0.1); color: white; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; }
.btn-outline:hover { border-color: var(--neon-purple); color: var(--neon-purple); box-shadow: 0 0 15px rgba(188, 19, 254, 0.3); }
.text-gradient { background: linear-gradient(to right, var(--neon-blue), var(--neon-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hidden { display: none !important; }
.guest-cta { text-align: center; padding: 40px 20px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; margin: 20px auto; max-width: 800px; }
.guest-cta h2 { color: white; margin-bottom: 10px; }
.guest-cta p { color: #aaa; margin-bottom: 20px; }

/* Mobile Adjustments */
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; z-index: 3; }
@media (max-width: 1100px) { .nav-links { margin: 0 10px; } .nav-search { width: 200px; } }
@media (max-width: 900px) { 
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #0D0D0E; padding: 20px; margin: 15px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 20px 50px rgba(0,0,0,0.8); z-index: 1000; }
    .nav-links.active { display: flex; }
    .nav-links a { text-align: center; margin-bottom: 5px; width: 100%; box-sizing: border-box; }
    .nav-search { display: none; }
    .nav-container { padding: 10px 20px; justify-content: space-between; }
    .mobile-toggle { display: block; }
    .logo { margin-right: auto; }
    .slider-cards-container { display: none; }
    .hero-slider { height: 500px; text-align: center; align-items: center; }
    .slider-content-wrapper { justify-content: center; }
    .slider-text-content { margin: 0 auto; }
    .hero-tags { justify-content: center; }
    .hero-actions { justify-content: center; }
    .slider-dots-container { justify-content: center; }
    .hero-title { font-size: 2.5rem; }
    .stats-grid-3 { grid-template-columns: 1fr; padding: 0 20px; }
}

/* SKELETON LOADING */
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
.skeleton-card { background: #151515; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; overflow: hidden; height: 380px; position: relative; display: flex; flex-direction: column; }
.skeleton-shimmer { background: #1f1f1f; background-image: linear-gradient(to right, #1f1f1f 0%, #2a2a2a 20%, #1f1f1f 40%, #1f1f1f 100%); background-repeat: no-repeat; background-size: 2000px 100%; animation: shimmer 2s infinite linear; }
.skeleton-thumb { width: 100%; height: 200px; background: #1f1f1f; background-image: linear-gradient(to right, #1f1f1f 0%, #2a2a2a 20%, #1f1f1f 40%, #1f1f1f 100%); background-repeat: no-repeat; background-size: 2000px 100%; animation: shimmer 2s infinite linear; border-bottom: 1px solid rgba(255,255,255,0.05); }
.skeleton-info { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.skeleton-title { height: 20px; width: 80%; border-radius: 4px; background: #1f1f1f; background-image: linear-gradient(to right, #1f1f1f 0%, #2a2a2a 20%, #1f1f1f 40%, #1f1f1f 100%); background-repeat: no-repeat; background-size: 2000px 100%; animation: shimmer 2s infinite linear; }
.skeleton-meta { height: 15px; width: 40%; border-radius: 4px; margin-top: 5px; background: #1f1f1f; background-image: linear-gradient(to right, #1f1f1f 0%, #2a2a2a 20%, #1f1f1f 40%, #1f1f1f 100%); background-repeat: no-repeat; background-size: 2000px 100%; animation: shimmer 2s infinite linear; }
.skeleton-btn { margin-top: auto; height: 40px; width: 100%; border-radius: 50px; background: #1f1f1f; background-image: linear-gradient(to right, #1f1f1f 0%, #2a2a2a 20%, #1f1f1f 40%, #1f1f1f 100%); background-repeat: no-repeat; background-size: 2000px 100%; animation: shimmer 2s infinite linear; }

.btn-donate-footer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;

    padding: 6px 10px;          /* 🔹 SHORT width */
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    color: #FFD700;
    background: linear-gradient(145deg, #111, #1a1a1a);
    border: 1px solid #FFD700;
    border-radius: 4px;         /* 🔹 BOX look */
    text-decoration: none;

    box-shadow:
        0 0 6px rgba(255, 215, 0, 0.4),
        inset 0 0 6px rgba(255, 215, 0, 0.15);

    transition: all 0.2s ease;
}

.btn-donate-footer:hover {
    background: #FFD700;
    color: #000;
    box-shadow:
        0 0 12px rgba(255, 215, 0, 0.8),
        inset 0 0 8px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-donate-footer i {
    font-size: 0.8rem;
}
