:root {
    --bg-dark: #050711;
    --bg-surface: #0b0f1e;
    --bg-card: rgba(18, 24, 43, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 210, 255, 0.3);
    --accent-cyan: #00d2ff;
    --accent-purple: #9d4edd;
    --accent-gold: #fbbf24;
    --accent-emerald: #10b981;
    --accent-rose: #f43f5e;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Ambient Lights */
.bg-ambient-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: #00d2ff;
    top: -100px;
    left: 10%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: #9d4edd;
    top: 30%;
    right: -100px;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: #f43f5e;
    bottom: -100px;
    left: 20%;
}

/* Navigation Header */
.portal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 30, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.85rem 1.5rem;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #fff;
}

.brand-logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #00d2ff, #9d4edd);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #ffffff, #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-lang {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    color: #fff;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.btn-lang:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.1);
}

.btn-cta {
    background: linear-gradient(135deg, #0284c7, #00d2ff);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 1.15rem;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 210, 255, 0.35);
    transition: all 0.2s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

.user-nav-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-nav-badge:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.1);
}

.user-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-cyan);
}

.user-nav-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

/* Main Content Layout */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2.5rem;
    flex: 1;
    width: 100%;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 1rem 1rem 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.85rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 0.85rem;
    background: linear-gradient(135deg, #ffffff 30%, #00d2ff 70%, #9d4edd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 720px;
    margin: 0 auto 1.25rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.25rem;
}

.hero-stat-card {
    text-align: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.adsense-banner-container {
    text-align: center;
    margin: 1.5rem auto 2.5rem;
    max-width: 970px;
    min-height: 0;
}

ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}

/* Game Showcase Grid */
.section-header {
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
}

.section-subtitle {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 16px 40px rgba(0, 210, 255, 0.25);
}

.game-card-banner {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #020617;
}

.game-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-banner img {
    transform: scale(1.06);
}

.game-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.25rem 0.7rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}

.game-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex: 1;
}

.game-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.game-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #cbd5e1;
}

/* Gallery Showcase & Category Sections */
.gallery-category-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 210, 255, 0.3) transparent;
}

.gallery-category-pills::-webkit-scrollbar {
    height: 6px;
}

.gallery-category-pills::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, 0.3);
    border-radius: 4px;
}

.cat-pill-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.cat-pill-btn:hover {
    border-color: var(--accent-cyan);
    color: #fff;
    background: rgba(0, 210, 255, 0.08);
}

.cat-pill-btn.active {
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.25), rgba(157, 78, 221, 0.25));
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.3);
}

.cat-count-badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    font-size: 0.72rem;
    color: var(--accent-cyan);
}

/* Category Showcase Blocks */
.cat-showcase-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.25rem 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cat-showcase-section:hover {
    border-color: rgba(0, 210, 255, 0.3);
}

.cat-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-showcase-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cat-showcase-icon {
    font-size: 1.5rem;
}

.cat-showcase-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.cat-showcase-badge {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.cat-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* Collapsed state hides items after the 4th item */
.cat-images-grid.collapsed .portal-art-card:nth-child(n+5) {
    display: none !important;
}

.cat-showcase-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.btn-unroll-category {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.55rem 1.4rem;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-unroll-category:hover {
    background: var(--accent-cyan);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
}

.portal-art-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.portal-art-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.25);
}

.art-card-thumb-wrap {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.art-card-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
    transition: transform 0.35s ease;
}

.portal-art-card:hover .art-card-thumb-wrap img {
    transform: scale(1.05);
}

.art-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.art-card-play-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 210, 255, 0.9);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.4);
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}

.portal-art-card:hover .art-card-play-overlay {
    opacity: 1;
    transform: translateY(0);
}

.art-card-info {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.art-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.art-card-author {
    font-size: 0.78rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Game Chooser Modal Styles */
.chooser-art-summary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
}

.chooser-thumb-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #020617;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chooser-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.chooser-art-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    flex: 1;
}

.btn-art-info-modal {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-art-info-modal:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.chooser-credit-box {
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.25s ease;
}

.chooser-art-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chooser-art-author {
    font-size: 0.84rem;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.chooser-art-category {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chooser-games-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.chooser-game-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    transition: all 0.25s ease;
}

.chooser-game-card:hover {
    background: rgba(0, 210, 255, 0.06);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.15);
}

.chooser-game-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.chooser-game-info {
    flex: 1;
    min-width: 0;
}

.chooser-game-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.2rem;
}

.chooser-game-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* Hall of Fame Section */
.hall-container {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    margin-bottom: 4rem;
}

.hall-tabs-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.75rem;
}

.hall-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hall-tab-btn.active {
    background: rgba(0, 210, 255, 0.12);
    color: var(--accent-cyan);
}

.hall-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hall-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.65rem 1rem;
}

.hall-rank {
    font-weight: 800;
    font-size: 1.1rem;
    width: 32px;
    color: var(--text-muted);
}

.hall-rank.rank-1 { color: #f59e0b; }
.hall-rank.rank-2 { color: #cbd5e1; }
.hall-rank.rank-3 { color: #d97706; }

.hall-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.hall-player {
    flex: 1;
    min-width: 0;
}

.hall-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.hall-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.hall-score {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-backdrop.active {
    display: flex;
}

.glass-modal {
    background: #0b1124;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.2);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.auth-tab-btn.active {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 0.65rem 0.9rem;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.auth-alert {
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin-bottom: 0.85rem;
    display: none;
}

.auth-alert.error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fda4af;
}

.auth-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

/* Footer */
.portal-footer {
    background: #030611;
    border-top: 1px solid var(--border-glass);
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-links { display: none; }
    .hero-stats-row { gap: 1.25rem; }
}
