/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --purple: #667eea;
    --violet: #a78bfa;
    --deep: #764ba2;
    --bg: #06060e;
    --bg2: #0a0a18;
    --card: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.07);
    --border-glow: rgba(102,126,234,0.25);
    --text: #e0e0e0;
    --muted: #666;
    --radius: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(6,6,14,0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(102,126,234,0.12);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
    height: 68px;
}

.nav-brand { display: flex; align-items: center; }

.nav-logo {
    font-size: 1.5rem; font-weight: 800; text-decoration: none;
    background: linear-gradient(135deg, #667eea, #a78bfa, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    transition: filter 0.3s ease, transform 0.3s ease;
    letter-spacing: -0.02em;
}

.nav-logo:hover {
    filter: drop-shadow(0 0 16px rgba(102,126,234,0.9));
    transform: scale(1.04);
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
    color: #777; text-decoration: none; font-weight: 500; font-size: 0.9rem;
    letter-spacing: 0.02em; transition: color 0.25s ease; position: relative;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--purple), var(--violet));
    border-radius: 2px; transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Music toggle */
.music-toggle {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(102,126,234,0.08);
    border: 1px solid rgba(102,126,234,0.25);
    color: var(--violet); font-size: 0.95rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    animation: musicPulse 2.5s ease-in-out infinite;
}

.music-toggle:hover { background: rgba(102,126,234,0.18); box-shadow: 0 0 18px rgba(102,126,234,0.4); transform: scale(1.1); }
.music-toggle.muted { color: #333; border-color: rgba(255,255,255,0.07); animation: none; opacity: 0.4; }

@keyframes musicPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(102,126,234,0.25); }
    50%      { box-shadow: 0 0 0 7px rgba(102,126,234,0); }
}

/* ── Hero ── */
.hero {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg::before {
    content: ''; position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(102,126,234,0.18) 0%, transparent 65%);
    top: -150px; left: -150px;
    animation: orbDrift 14s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: ''; position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(192,132,252,0.14) 0%, transparent 65%);
    bottom: -100px; right: -100px;
    animation: orbDrift 11s ease-in-out infinite alternate-reverse;
}

@keyframes orbDrift {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(70px,50px) scale(1.12); }
}

.particles { position: absolute; width: 100%; height: 100%; }

.particle {
    position: absolute; border-radius: 50%;
    background: rgba(167,139,250,0.6);
    box-shadow: 0 0 8px rgba(167,139,250,0.4);
    animation: floatUp linear infinite;
}

.particle:nth-child(1) { width:3px;height:3px; left:12%; animation-duration:7s;  animation-delay:0s; }
.particle:nth-child(2) { width:2px;height:2px; left:28%; animation-duration:10s; animation-delay:1.5s; }
.particle:nth-child(3) { width:4px;height:4px; left:50%; animation-duration:6s;  animation-delay:3s; }
.particle:nth-child(4) { width:2px;height:2px; left:72%; animation-duration:12s; animation-delay:0.5s; }
.particle:nth-child(5) { width:3px;height:3px; left:88%; animation-duration:8s;  animation-delay:2s; }
.particle:nth-child(6) { width:2px;height:2px; left:5%;  animation-duration:9s;  animation-delay:4s; }

@keyframes floatUp {
    0%   { transform: translateY(110vh) scale(0); opacity: 0; }
    8%   { opacity: 1; transform: translateY(92vh) scale(1); }
    92%  { opacity: 0.7; }
    100% { transform: translateY(-10vh) scale(0.4); opacity: 0; }
}

.hero-content { text-align: center; z-index: 1; position: relative; }

.hero-title {
    font-size: 5.5rem; font-weight: 900; line-height: 1.05;
    letter-spacing: -0.03em; margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #a78bfa 0%, #667eea 45%, #c084fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: titleGlow 5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 25px rgba(102,126,234,0.25)); }
    to   { filter: drop-shadow(0 0 55px rgba(192,132,252,0.5)); }
}

.hero-subtitle {
    font-size: 1.2rem; color: #666; font-weight: 300;
    letter-spacing: 0.06em; margin-bottom: 2.8rem;
}

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 15px 34px;
    background: linear-gradient(135deg, var(--purple), var(--deep));
    color: #fff; text-decoration: none; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 24px rgba(102,126,234,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: translateX(-100%); transition: transform 0.5s ease;
}

.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(102,126,234,0.5); }

/* ── Games Page ── */
.games-page {
    min-height: 100vh; padding: 110px 0 80px;
    background: var(--bg); position: relative;
}

.games-page::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(102,126,234,0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 85%, rgba(192,132,252,0.05) 0%, transparent 45%);
}

.games-page .container { position: relative; z-index: 1; }

.section-title {
    text-align: center; font-size: 2.8rem; font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 2.5rem;
    background: linear-gradient(135deg, #fff 40%, #a78bfa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Search & Filters ── */
.search-container { max-width: 700px; margin: 0 auto 3.5rem; }

.search-bar { margin-bottom: 1.2rem; }

.search-input-wrapper { position: relative; }

.search-input {
    width: 100%; padding: 14px 48px 14px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 50px; color: #fff;
    font-size: 0.95rem; font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none; border-color: var(--purple);
    background: rgba(102,126,234,0.05);
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1), 0 0 20px rgba(102,126,234,0.12);
}

.search-input::placeholder { color: #444; }

.search-icon {
    position: absolute; right: 18px; top: 50%;
    transform: translateY(-50%); opacity: 0.35; font-size: 1rem;
}

.category-filters {
    display: flex; justify-content: center;
    gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem;
}

.category-btn {
    padding: 8px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; color: #666;
    font-weight: 500; font-size: 0.85rem;
    font-family: 'Inter', sans-serif; cursor: pointer;
    transition: all 0.22s ease;
}

.category-btn:hover { border-color: var(--purple); color: var(--violet); background: rgba(102,126,234,0.07); }

.category-btn.active {
    background: linear-gradient(135deg, var(--purple), var(--deep));
    border-color: transparent; color: #fff;
    box-shadow: 0 3px 14px rgba(102,126,234,0.3);
}

.search-results-info {
    display: flex; justify-content: space-between; align-items: center;
    color: #444; font-size: 0.82rem; padding: 0 2px;
}

.clear-search {
    background: none; border: none; color: var(--purple);
    cursor: pointer; font-size: 0.82rem; font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

.clear-search:hover { color: var(--violet); }

/* ── Games Grid ── */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

@media (max-width: 1100px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .games-grid { grid-template-columns: 1fr; } }

/* ── Game Card ── */
.game-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    display: flex; flex-direction: column;
}

.game-card::after {
    content: ''; position: absolute; inset: 0; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, transparent 55%);
    opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(102,126,234,0.22), 0 0 35px rgba(102,126,234,0.07);
    border-color: rgba(102,126,234,0.22);
}

.game-card:hover::after { opacity: 1; }

/* ── Preview ── */
.game-preview {
    height: 200px; overflow: hidden;
    position: relative; background: #0c0c1a;
    flex-shrink: 0;
}

.preview-thumb {
    width: 100%; height: 100%; object-fit: cover;
    display: block; filter: brightness(0.8);
    transition: filter 0.35s ease, transform 0.35s ease;
}

.game-card:hover .preview-thumb { filter: brightness(1); transform: scale(1.03); }

.preview-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(6,6,14,0.35);
    transition: background 0.3s ease;
}

.game-card:hover .preview-overlay { background: rgba(6,6,14,0.1); }

.preview-hint {
    background: rgba(102,126,234,0.88);
    color: #fff; padding: 7px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(102,126,234,0.4);
    transition: transform 0.2s ease;
}

.game-card:hover .preview-hint { transform: scale(1.05); }

.game-preview iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: none;
}

.game-preview.expanded { height: 480px; }

/* ── Game Info ── */
.game-info {
    padding: 1.4rem 1.6rem 1.6rem;
    position: relative; z-index: 1;
    display: flex; flex-direction: column; flex: 1;
}

.game-info h3 {
    font-size: 1.25rem; font-weight: 700;
    color: #fff; letter-spacing: -0.01em; margin-bottom: 0.5rem;
}

.game-info p {
    color: #666; font-size: 0.88rem; line-height: 1.6;
    margin-bottom: 1rem; flex: 1;
}

.game-features {
    display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}

.feature-tag {
    background: rgba(102,126,234,0.1);
    color: #a78bfa; padding: 3px 10px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    border: 1px solid rgba(167,139,250,0.18);
}

.game-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.btn-play {
    padding: 9px 20px;
    background: linear-gradient(135deg, var(--purple), var(--deep));
    color: #fff; text-decoration: none; border-radius: 50px;
    font-weight: 600; font-size: 0.85rem;
    position: relative; overflow: hidden;
    box-shadow: 0 3px 14px rgba(102,126,234,0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-play::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
    transform: translateX(-100%); transition: transform 0.4s ease;
}

.btn-play:hover::after { transform: translateX(100%); }
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(102,126,234,0.45); }

.btn-preview {
    padding: 9px 20px; background: transparent;
    color: var(--purple); border: 1px solid rgba(102,126,234,0.35);
    border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    font-family: 'Inter', sans-serif; cursor: pointer;
    transition: all 0.25s ease;
}

.btn-preview:hover {
    background: rgba(102,126,234,0.1); border-color: var(--purple);
    color: var(--violet); box-shadow: 0 0 18px rgba(102,126,234,0.18);
}

.btn-source {
    padding: 9px 16px; background: transparent;
    color: #444; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    text-decoration: none; transition: all 0.25s ease;
    display: flex; align-items: center; gap: 0.35rem;
}

.btn-source::before { content: ''; font-size: 0.8rem; }
.btn-source:hover { color: #ccc; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

/* ── About ── */
.about-section {
    padding: 120px 0; background: var(--bg); position: relative; overflow: hidden;
}

.about-section::before {
    content: ''; position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(102,126,234,0.05) 0%, transparent 65%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}

.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center; position: relative; z-index: 1;
}

.about-content h2 {
    font-size: 2.6rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em; margin-bottom: 1.2rem;
}

.about-content p { font-size: 1.05rem; color: #555; line-height: 1.85; margin-bottom: 2.5rem; }

.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }

.stat-item {
    text-align: center; padding: 1.4rem 1rem;
    background: rgba(102,126,234,0.05);
    border-radius: 16px; border: 1px solid rgba(102,126,234,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden;
}

.stat-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--violet));
    opacity: 0; transition: opacity 0.3s ease;
}

.stat-item:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(102,126,234,0.12); }
.stat-item:hover::before { opacity: 1; }

.stat-number {
    font-size: 2.2rem; font-weight: 800; margin-bottom: 0.3rem;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stat-label { color: #555; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; }

.about-visual { position: relative; height: 380px; }
.floating-elements { position: relative; width: 100%; height: 100%; }

.floating-card {
    position: absolute; width: 72px; height: 72px;
    background: rgba(102,126,234,0.07);
    border: 1px solid rgba(102,126,234,0.2);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; animation: floatCard 5s ease-in-out infinite;
    box-shadow: 0 8px 28px rgba(102,126,234,0.08);
    backdrop-filter: blur(4px);
}

.floating-card:nth-child(1) { top:10%; left:20%; animation-delay:0s; }
.floating-card:nth-child(2) { top:60%; left:8%;  animation-delay:1.2s; }
.floating-card:nth-child(3) { top:18%; right:18%; animation-delay:2.4s; }
.floating-card:nth-child(4) { bottom:18%; right:8%; animation-delay:3.6s; }

@keyframes floatCard {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-16px) rotate(4deg); }
}

/* ── Privacy ── */
.privacy-section { padding: 120px 0; background: var(--bg2); position: relative; }

.privacy-content h2 {
    text-align: center; font-size: 2.6rem; font-weight: 800;
    color: #fff; letter-spacing: -0.02em; margin-bottom: 2.5rem;
}

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

.privacy-card {
    background: var(--card); padding: 1.8rem; border-radius: var(--radius);
    text-align: center; border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative; overflow: hidden;
}

.privacy-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--violet));
    transform: scaleX(0); transition: transform 0.3s ease;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.28), 0 0 0 1px rgba(102,126,234,0.14);
    border-color: rgba(102,126,234,0.18);
}

.privacy-card:hover::after { transform: scaleX(1); }

.privacy-icon { font-size: 2.4rem; margin-bottom: 0.8rem; }
.privacy-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.6rem; font-weight: 600; }
.privacy-card p { color: #555; line-height: 1.6; font-size: 0.9rem; }

.privacy-note {
    background: rgba(102,126,234,0.06); padding: 1.6rem 2rem;
    border-radius: 14px; border-left: 3px solid var(--purple); text-align: center;
}

.privacy-note p { color: #666; font-size: 0.95rem; margin: 0; }
.privacy-note strong { color: var(--violet); }

/* ── Footer ── */
.footer {
    background: var(--bg); padding: 44px 0 18px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.8rem;
}

.footer-brand h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.footer-brand p { color: #333; font-size: 0.85rem; }

.footer-links { display: flex; gap: 1.8rem; }

.footer-links a { color: #444; text-decoration: none; font-size: 0.88rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--violet); }

.footer-bottom {
    text-align: center; padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-bottom p { color: #2a2a2a; font-size: 0.82rem; }

/* ── No Results ── */
.no-results-message { grid-column: 1/-1; text-align: center; padding: 5rem 2rem; }
.no-results-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.25; }
.no-results-message h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.6rem; }
.no-results-message p { color: #444; }

/* ── Page Transitions ── */
body { animation: pageFadeIn 0.4s ease forwards; }

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.fade-out { animation: pageFadeOut 0.28s ease forwards; }

@keyframes pageFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-8px); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .floating-elements { display: none; }
    .stats-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 640px) {
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1rem; }
    .nav-links { display: none; }
    .stats-grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .privacy-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
    .game-actions { flex-wrap: wrap; }
    .category-filters { gap: 0.4rem; }
    .category-btn { padding: 7px 13px; font-size: 0.8rem; }
    .search-results-info { flex-direction: column; gap: 0.6rem; text-align: center; }
}

/* ── Hero Rework ── */
.hero {
    height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Dot grid */
.grid-overlay {
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(102,126,234,0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none;
}

.orb-1 {
    width: 600px; height: 600px;
    background: rgba(102,126,234,0.15);
    top: -200px; left: -150px;
    animation: orbDrift 14s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px; height: 500px;
    background: rgba(192,132,252,0.12);
    bottom: -150px; right: -100px;
    animation: orbDrift 11s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: rgba(118,75,162,0.1);
    top: 40%; left: 60%;
    animation: orbDrift 8s ease-in-out infinite alternate;
}

.hero-content {
    text-align: center; z-index: 1; position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 0;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(102,126,234,0.1);
    border: 1px solid rgba(102,126,234,0.25);
    color: var(--violet); padding: 6px 16px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
    margin-bottom: 1.8rem;
    animation: badgePop 0.6s ease 0.2s both;
}

@keyframes badgePop {
    from { opacity: 0; transform: translateY(-10px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
    font-size: 7rem; font-weight: 900; line-height: 0.95;
    letter-spacing: -0.04em; margin-bottom: 1.5rem;
    color: #fff;
    animation: heroSlideUp 0.7s ease 0.3s both;
}

.hero-title-accent {
    background: linear-gradient(135deg, #a78bfa 0%, #667eea 50%, #c084fc 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 40px rgba(102,126,234,0.4));
    animation: titleGlow 5s ease-in-out infinite alternate;
}

@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 1.15rem; color: #555; font-weight: 400;
    line-height: 1.7; margin-bottom: 2.5rem;
    animation: heroSlideUp 0.7s ease 0.45s both;
}

.hero-actions {
    display: flex; gap: 1rem; align-items: center;
    animation: heroSlideUp 0.7s ease 0.6s both;
}

.btn-ghost {
    padding: 15px 28px; color: #666; text-decoration: none;
    font-weight: 500; font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.08); border-radius: 50px;
    transition: all 0.25s ease;
}

.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }

.hero-scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%;
    transform: translateX(-50%); z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}

.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, rgba(102,126,234,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%,100% { opacity: 0.3; transform: scaleY(1); }
    50%      { opacity: 1; transform: scaleY(1.1); }
}

/* ── Games Strip ── */
.games-strip {
    padding: 80px 0;
    background: var(--bg2);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

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

.strip-header h2 {
    font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -0.02em;
}

.strip-link {
    color: var(--violet); text-decoration: none; font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s ease;
}

.strip-link:hover { color: #fff; }

.strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.strip-card {
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    background: var(--card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex; flex-direction: column;
}

.strip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.2);
}

.strip-card img {
    width: 100%; aspect-ratio: 16/10; object-fit: cover;
    filter: brightness(0.85); transition: filter 0.25s ease;
}

.strip-card:hover img { filter: brightness(1); }

.strip-card-info {
    padding: 0.7rem 0.9rem;
    display: flex; flex-direction: column; gap: 0.2rem;
}

.strip-card-name {
    color: #ccc; font-size: 0.82rem; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.strip-card-tag {
    color: #555; font-size: 0.72rem; font-weight: 500;
}

/* About label */
.about-label {
    display: inline-block;
    color: var(--violet); font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-text h2 {
    font-size: 2.8rem; font-weight: 800; color: #fff;
    letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.2rem;
}

/* Responsive strip */
@media (max-width: 900px) {
    .strip-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 5rem; }
}

@media (max-width: 640px) {
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3.5rem; }
    .hero-actions { flex-direction: column; }
}

/* ── Preview Loader ── */
.preview-loader {
    position: absolute; inset: 0; z-index: 20;
    background: #08081a;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease;
}

.preview-loader.loader-fade-out { opacity: 0; pointer-events: none; }

.loader-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 1.2rem;
    position: relative;
}

/* Dual spinning rings */
.loader-ring {
    width: 52px; height: 52px; border-radius: 50%;
    border: 2.5px solid transparent;
    border-top-color: var(--purple);
    border-right-color: rgba(102,126,234,0.2);
    animation: ringSpinA 1s linear infinite;
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
}

.loader-ring-2 {
    width: 38px; height: 38px;
    border-top-color: var(--violet);
    border-right-color: rgba(167,139,250,0.15);
    animation: ringSpinB 0.75s linear infinite reverse;
    top: 7px; left: 50%; transform: translateX(-50%);
}

@keyframes ringSpinA { to { transform: translateX(-50%) rotate(360deg); } }
@keyframes ringSpinB { to { transform: translateX(-50%) rotate(360deg); } }

/* Dots */
.loader-dots {
    display: flex; gap: 6px; margin-top: 68px;
}

.loader-dots span {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--purple); opacity: 0.3;
    animation: dotPulse 1.2s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
    0%,100% { opacity: 0.2; transform: scale(0.8); }
    50%      { opacity: 1;   transform: scale(1.2); background: var(--violet); }
}

.loader-text {
    color: #444; font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    animation: loaderTextPulse 2s ease-in-out infinite;
}

@keyframes loaderTextPulse {
    0%,100% { opacity: 0.4; }
    50%      { opacity: 0.8; }
}

/* ── Card entrance animation ── */
.game-card {
    will-change: transform, opacity;
}

/* ── Games page header polish ── */
.games-page-header {
    text-align: center; margin-bottom: 0.5rem;
}

.section-title {
    background: linear-gradient(135deg, #fff 40%, #a78bfa 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Previewing card glow ── */
.game-card.previewing {
    box-shadow: 0 0 0 1px rgba(102,126,234,0.4),
                0 30px 60px rgba(0,0,0,0.6),
                0 0 50px rgba(102,126,234,0.1) !important;
    border-color: rgba(102,126,234,0.35) !important;
}

/* ── Search input glow on type ── */
.search-input:not(:placeholder-shown) {
    border-color: rgba(102,126,234,0.4);
    background: rgba(102,126,234,0.04);
}

/* ── Category btn count badge ── */
.category-btn.active::after {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Results count pulse on change ── */
#resultsCount {
    transition: opacity 0.2s ease;
}

/* ── Smooth preview expand ── */
.game-preview {
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Page Loader ── */
.page-loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-loader.loader-done {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.page-loader-inner {
    display: flex; flex-direction: column;
    align-items: center; gap: 1.5rem;
}

.page-loader-logo {
    font-size: 2rem; font-weight: 900; letter-spacing: -0.03em;
    background: linear-gradient(135deg, #a78bfa, #667eea, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: loaderLogoPulse 1s ease-in-out infinite alternate;
}

@keyframes loaderLogoPulse {
    from { filter: drop-shadow(0 0 10px rgba(102,126,234,0.3)); }
    to   { filter: drop-shadow(0 0 30px rgba(167,139,250,0.7)); }
}

.page-loader-bar {
    width: 180px; height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px; overflow: hidden;
}

.page-loader-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--violet));
    border-radius: 2px;
    animation: loaderFill 0.65s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes loaderFill {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Keep body hidden until loader is gone */
.games-page, .navbar, .footer {
    animation: none;
}

/* ── Featured Game ── */
.featured-game {
    position: relative;
    background: rgba(102,126,234,0.05);
    border: 1px solid rgba(102,126,234,0.18);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 3.5rem;
    overflow: hidden;
}

.featured-game::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.featured-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.2), rgba(167,139,250,0.2));
    border: 1px solid rgba(167,139,250,0.3);
    color: var(--violet); padding: 5px 14px; border-radius: 50px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; margin-bottom: 1.5rem;
    position: relative; z-index: 1;
}

.featured-content {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; align-items: center;
    position: relative; z-index: 1;
}

.featured-img-wrap {
    position: relative; border-radius: 16px; overflow: hidden;
}

.featured-img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    border-radius: 16px; display: block;
    transition: transform 0.4s ease;
}

.featured-game:hover .featured-img { transform: scale(1.02); }

.featured-img-glow {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6,6,14,0.6) 0%, transparent 50%);
    border-radius: 16px;
}

.featured-label {
    color: var(--violet); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem;
}

.featured-title {
    font-size: 2.8rem; font-weight: 900; color: #fff;
    letter-spacing: -0.03em; line-height: 1; margin-bottom: 1rem;
}

.featured-desc {
    color: #666; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem;
}

.featured-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.featured-actions { display: flex; gap: 0.8rem; align-items: center; }

/* ── Card Badges ── */
.card-badge {
    position: absolute; top: 12px; right: 12px; z-index: 10;
    padding: 4px 10px; border-radius: 50px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 2px 10px rgba(16,185,129,0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.card-badge-hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 2px 10px rgba(245,158,11,0.4);
}

@keyframes badgePulse {
    0%,100% { box-shadow: 0 2px 10px rgba(16,185,129,0.4); }
    50%      { box-shadow: 0 2px 20px rgba(16,185,129,0.7); }
}

/* ── Games Header ── */
.games-header { margin-bottom: 0; }

.games-header .section-title { margin-bottom: 1.5rem; }

.games-header .search-container { margin-bottom: 2rem; }

/* ── Search icon SVG ── */
.search-svg-icon {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px; color: #444;
    pointer-events: none;
}

.search-input { padding-left: 42px !important; }

/* ── Hamburger ── */
.nav-hamburger {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #888; border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* ── Mobile Nav ── */
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 1rem 24px 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    gap: 0;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    color: #888; text-decoration: none; font-weight: 500;
    font-size: 1rem; padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.2s ease;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #fff; }

/* ── Responsive updates ── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    .featured-content { grid-template-columns: 1fr; gap: 1.5rem; }
    .featured-title { font-size: 2rem; }
    .featured-game { padding: 1.5rem; }

    .games-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .game-info h3 { font-size: 1rem; }
    .game-info p { display: none; }
    .game-actions { flex-wrap: wrap; gap: 0.4rem; }
    .btn-play, .btn-preview { padding: 8px 14px; font-size: 0.8rem; }
    .btn-source { padding: 8px 10px; }
}

@media (max-width: 480px) {
    .games-grid { grid-template-columns: 1fr; }
    .game-info p { display: block; }
}

/* ── Strip mobile ── */
@media (max-width: 480px) {
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 3rem; }
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px; width: 0%;
    background: linear-gradient(90deg, var(--purple), var(--violet), #c084fc);
    z-index: 9998; transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(167,139,250,0.6);
}

/* ── Recently Played ── */
.recently-played {
    margin-bottom: 2rem;
}

.recently-label {
    font-size: 0.8rem; font-weight: 700; color: #555;
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.recently-grid {
    display: flex; gap: 0.8rem; flex-wrap: wrap;
}

.recently-card {
    display: flex; align-items: center; gap: 0.7rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px; padding: 0.5rem 0.9rem 0.5rem 0.5rem;
    text-decoration: none;
    transition: all 0.22s ease;
}

.recently-card:hover {
    border-color: rgba(102,126,234,0.3);
    background: rgba(102,126,234,0.06);
    transform: translateY(-2px);
}

.recently-card img {
    width: 40px; height: 28px; object-fit: cover;
    border-radius: 6px; flex-shrink: 0;
}

.recently-card-info { display: flex; flex-direction: column; gap: 1px; }

.recently-card-name {
    color: #ccc; font-size: 0.82rem; font-weight: 600;
    white-space: nowrap;
}

.recently-card-tag { color: #555; font-size: 0.7rem; }

/* ── Random Game Button ── */
.btn-random {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888; border-radius: 50px;
    padding: 6px 14px; font-size: 0.82rem; font-weight: 600;
    font-family: 'Inter', sans-serif; cursor: pointer;
    transition: all 0.25s ease;
}

.btn-random:hover {
    border-color: var(--violet); color: var(--violet);
    background: rgba(167,139,250,0.08);
    box-shadow: 0 0 14px rgba(167,139,250,0.15);
}

/* ── Extra polish ── */

/* Smoother card hover with perspective */
.games-grid { perspective: 1000px; }

/* Subtle shimmer on featured image */
.featured-img-wrap::after {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-15deg);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { left: -100%; }
    50%  { left: 150%; }
    100% { left: 150%; }
}

/* Glow pulse on NEW badge */
.card-badge-new { animation: badgePulse 2s ease-in-out infinite; }

/* Better focus styles */
.search-input:focus,
.category-btn:focus,
.btn-play:focus,
.btn-preview:focus {
    outline: 2px solid rgba(102,126,234,0.5);
    outline-offset: 2px;
}

/* Smooth image loading */
.preview-thumb, .strip-card img, .featured-img, .recently-card img {
    background: #0c0c1a;
}

/* ── Live Player Count ── */
.player-count {
    display: none;
    align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 600;
    color: #10b981; letter-spacing: 0.02em;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    padding: 2px 8px; border-radius: 50px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.player-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #10b981;
    animation: playerPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes playerPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

/* ── Live Player Count — strip card variant ── */
.strip-player-count {
    margin-left: 0;
    font-size: 0.68rem;
    padding: 1px 6px;
}

/* ════════════════════════════════════════════
   HOME PAGE — redesigned sections
   ════════════════════════════════════════════ */

/* ── Hero tweaks ── */
.hero-badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #10b981;
    animation: playerPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-title {
    font-size: 7rem; font-weight: 900; line-height: 0.92;
    letter-spacing: -0.05em; margin-bottom: 1.4rem; color: #fff;
    animation: heroSlideUp 0.7s ease 0.3s both;
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.hero-stats {
    display: flex; align-items: center; gap: 2rem;
    margin-top: 3rem;
    animation: heroSlideUp 0.7s ease 0.75s both;
}

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

.hero-stat-num {
    display: block; font-size: 1.6rem; font-weight: 800;
    color: #fff; letter-spacing: -0.03em; line-height: 1;
}

.hero-stat-label {
    display: block; font-size: 0.72rem; color: #444;
    font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase; margin-top: 0.3rem;
}

.hero-stat-divider {
    width: 1px; height: 32px;
    background: rgba(255,255,255,0.08);
}

/* ── Shared section label ── */
.home-section-label {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--violet);
    margin-bottom: 0.7rem;
}

/* ── Home Games Section ── */
.home-games-section {
    padding: 100px 0;
    background: var(--bg);
    position: relative;
}

.home-games-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(102,126,234,0.06) 0%, transparent 60%);
}

.home-section-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}

.home-section-title {
    font-size: 2.2rem; font-weight: 800; color: #fff;
    letter-spacing: -0.03em; line-height: 1.1; margin: 0;
}

.home-section-link {
    color: #555; text-decoration: none; font-size: 0.88rem;
    font-weight: 500; transition: color 0.2s ease;
    white-space: nowrap; padding-bottom: 4px;
}
.home-section-link:hover { color: var(--violet); }

.home-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.home-game-card {
    text-decoration: none;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
}

.home-game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(102,126,234,0.2);
    border-color: rgba(102,126,234,0.2);
}

.home-game-img-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 16/9;
}

.home-game-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; filter: brightness(0.8);
    transition: filter 0.3s ease, transform 0.4s ease;
}

.home-game-card:hover .home-game-img-wrap img {
    filter: brightness(1);
    transform: scale(1.04);
}

.home-game-overlay {
    position: absolute; inset: 0;
    background: rgba(6,6,14,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s ease;
}

.home-game-card:hover .home-game-overlay { opacity: 1; }

.home-game-play {
    background: linear-gradient(135deg, var(--purple), var(--deep));
    color: #fff; padding: 10px 22px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(102,126,234,0.5);
    transform: translateY(6px);
    transition: transform 0.25s ease;
}

.home-game-card:hover .home-game-play { transform: translateY(0); }

.home-game-badge {
    position: absolute; top: 10px; left: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; padding: 3px 10px; border-radius: 50px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(16,185,129,0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

.home-game-info {
    padding: 1.1rem 1.3rem 1.3rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}

.home-game-top {
    display: flex; align-items: center;
    justify-content: space-between; gap: 0.5rem;
}

.home-game-name {
    font-size: 1rem; font-weight: 700; color: #fff;
    letter-spacing: -0.01em;
}

.home-game-tag {
    font-size: 0.68rem; font-weight: 600; color: var(--violet);
    background: rgba(167,139,250,0.1);
    border: 1px solid rgba(167,139,250,0.18);
    padding: 2px 8px; border-radius: 50px;
    white-space: nowrap; letter-spacing: 0.04em;
}

.home-game-desc {
    font-size: 0.82rem; color: #555; line-height: 1.55; margin: 0;
}

/* player count inside home cards — no left margin */
.home-game-info .strip-player-count { margin-left: 0; }

/* ── About Section ── */
.about-section {
    padding: 110px 0;
    background: var(--bg2);
    position: relative; overflow: hidden;
}

.about-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 0% 50%, rgba(102,126,234,0.06) 0%, transparent 55%);
}

.about-header {
    text-align: center; max-width: 600px; margin: 0 auto 3.5rem;
    position: relative; z-index: 1;
}

.about-heading {
    font-size: 2.8rem; font-weight: 800; color: #fff;
    letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1rem;
}

.about-body {
    font-size: 1rem; color: #555; line-height: 1.8; margin: 0;
}

.about-inner {
    display: flex; flex-direction: column; gap: 2.5rem;
    position: relative; z-index: 1;
}

.about-stats {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem;
}

.about-stat {
    padding: 1.6rem 1rem; text-align: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative; overflow: hidden;
}

.about-stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--violet));
    opacity: 0; transition: opacity 0.25s ease;
}

.about-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(102,126,234,0.2);
    background: rgba(102,126,234,0.04);
}

.about-stat:hover::before { opacity: 1; }

.about-stat-num {
    font-size: 2.2rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--purple), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 0.4rem; display: block;
}

.about-stat-label {
    font-size: 0.72rem; color: #444; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
}

.about-features {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}

.about-feature {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.about-feature:hover {
    border-color: rgba(102,126,234,0.2);
    background: rgba(102,126,234,0.03);
    transform: translateY(-2px);
}

.about-feature-icon {
    font-size: 1.3rem; flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(102,126,234,0.08);
    border: 1px solid rgba(102,126,234,0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

.about-feature-text { display: flex; flex-direction: column; gap: 0.25rem; }

.about-feature-title {
    font-size: 0.95rem; font-weight: 700; color: #ddd;
}

.about-feature-desc {
    font-size: 0.83rem; color: #555; line-height: 1.55;
}

/* ── Privacy Section ── */
.privacy-section {
    padding: 110px 0;
    background: var(--bg);
    position: relative;
}

.privacy-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at 100% 50%, rgba(167,139,250,0.05) 0%, transparent 55%);
}

.privacy-inner { max-width: 960px; margin: 0 auto; position: relative; z-index: 1; }

.privacy-header {
    text-align: center; margin-bottom: 3rem;
}

.privacy-heading {
    font-size: 2.4rem; font-weight: 800; color: #fff;
    letter-spacing: -0.03em; margin-bottom: 0.8rem;
}

.privacy-sub {
    font-size: 0.95rem; color: #555; max-width: 480px; margin: 0 auto; line-height: 1.7;
}

.privacy-cards {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1rem; margin-bottom: 1.5rem;
}

.privacy-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 1.6rem;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    position: relative; overflow: hidden;
}

.privacy-card::after {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--purple), var(--violet));
    opacity: 0; transition: opacity 0.25s ease;
}

.privacy-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102,126,234,0.2);
    background: rgba(102,126,234,0.03);
}

.privacy-card:hover::after { opacity: 1; }

.privacy-card-icon-wrap {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: rgba(102,126,234,0.08);
    border: 1px solid rgba(102,126,234,0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}

.privacy-icon { font-size: 1.3rem; }

.privacy-card-body { display: flex; flex-direction: column; gap: 0.3rem; }

.privacy-card h3 { color: #ddd; font-size: 0.95rem; font-weight: 700; margin: 0; }
.privacy-card p { color: #555; font-size: 0.83rem; line-height: 1.6; margin: 0; }

.privacy-note {
    display: flex; align-items: flex-start; gap: 0.8rem;
    background: rgba(245,158,11,0.05);
    border: 1px solid rgba(245,158,11,0.15);
    border-radius: 12px; padding: 1.2rem 1.5rem;
}

.privacy-note-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.privacy-note p { color: #666; font-size: 0.88rem; margin: 0; line-height: 1.6; }
.privacy-note strong { color: #f59e0b; }

/* ── Footer ── */
.footer {
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 60px 0 0;
}

.footer-inner {
    display: flex; justify-content: space-between;
    gap: 4rem; padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em;
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    display: block; margin-bottom: 0.6rem;
}

.footer-brand p {
    color: #333; font-size: 0.85rem; line-height: 1.6; max-width: 220px;
}

.footer-cols {
    display: flex; gap: 4rem;
}

.footer-col {
    display: flex; flex-direction: column; gap: 0.7rem;
}

.footer-col-title {
    font-size: 0.72rem; font-weight: 700; color: #444;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.footer-col a {
    color: #333; text-decoration: none; font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--violet); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.4rem 0;
}

.footer-bottom p { color: #222; font-size: 0.8rem; }

.footer-github {
    color: #333; text-decoration: none; font-size: 0.8rem;
    font-weight: 500; transition: color 0.2s ease;
}

.footer-github:hover { color: var(--violet); }

/* ── Home page responsive ── */
@media (max-width: 1024px) {
    .home-games-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .home-games-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .home-section-header { flex-direction: column; align-items: flex-start; }
    .privacy-cards { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-features { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 2.5rem; }
    .footer-cols { gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .hero-stats { gap: 1.2rem; }
    .hero-title { font-size: 4.5rem; }
}

@media (max-width: 480px) {
    .home-games-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .hero-title { font-size: 3.2rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat-num { font-size: 1.3rem; }
}

/* ════════════════════════════════════════════
   SUGGEST A GAME + MOD PANEL
   ════════════════════════════════════════════ */

/* ── Suggest button in navbar ── */
.nav-suggest {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 7px 16px;
    background: linear-gradient(135deg, var(--purple), var(--deep));
    color: #fff !important; border: none; border-radius: 50px;
    font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
    cursor: pointer; letter-spacing: 0.02em;
    box-shadow: 0 3px 14px rgba(102,126,234,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap; text-decoration: none;
}

.nav-suggest:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
    color: #fff !important;
}

/* Kill the underline animation inherited from .nav-links a */
.nav-links .nav-suggest::after { display: none !important; }

.nav-suggest--mobile {
    margin-top: 0.5rem; width: 100%;
    justify-content: center; border-radius: 10px;
    padding: 10px 16px; font-size: 0.9rem;
}

/* ── Learn Coding button in navbar ── */
.learn-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(16,185,129,0.4);
    color: #fff !important;
    font-size: 0.95rem;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                background 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
}

.learn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    width: 18px;
    height: 18px;
    transition: none;
}

.learn-text {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.25s ease 0.1s, transform 0.25s ease 0.1s;
    flex-shrink: 0;
}

.learn-toggle:hover {
    width: 150px;
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 0 20px rgba(16,185,129,0.5);
    transform: scale(1.02);
}

.learn-toggle:hover .learn-text {
    opacity: 1;
    transform: translateX(0);
}

/* Kill the underline animation inherited from .nav-links a */
.nav-links .learn-toggle::after { display: none !important; }

/* Remove old FAB styles */
.suggest-fab { display: none; }

/* ── Modal Backdrop ── */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.82);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease;
}

.modal-backdrop.open {
    opacity: 1; pointer-events: all;
}

/* ── Modal Base ── */
.modal {
    position: relative;
    background: #0d0d1f;
    border: 1px solid rgba(102,126,234,0.2);
    border-radius: 20px;
    width: 100%; max-height: 90vh; overflow-y: auto;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
    z-index: 1;
}

.modal-backdrop.open .modal {
    transform: translateY(0) scale(1);
}

.suggest-modal   { max-width: 620px; }
.mod-auth-modal  { max-width: 380px; }
.mod-panel-modal { max-width: 760px; }
.mod-detail-modal{ max-width: 600px; }

.modal-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 1.6rem 1.8rem 0;
}

.modal-eyebrow {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--violet); margin-bottom: 0.3rem;
}

.modal-title {
    font-size: 1.4rem; font-weight: 800; color: #fff;
    letter-spacing: -0.02em; margin: 0;
}

.modal-close {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
    color: #666; width: 32px; height: 32px; border-radius: 50%;
    font-size: 0.8rem; cursor: pointer; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; font-family: 'Inter', sans-serif;
}

.modal-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

.modal-body { padding: 1.4rem 1.8rem 1.8rem; }

/* ── Form Elements ── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }

.form-label {
    font-size: 0.82rem; font-weight: 600; color: #aaa;
    letter-spacing: 0.02em;
}

.form-required { color: var(--violet); }
.form-muted { color: #444; font-weight: 400; }

.form-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; color: #fff;
    padding: 10px 14px; font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease, background 0.2s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: rgba(102,126,234,0.5);
    background: rgba(102,126,234,0.05);
}

.form-input::placeholder { color: #333; }

.form-select { cursor: pointer; }
.form-select option { background: #0d0d1f; }

.form-textarea { resize: vertical; min-height: 80px; }

.form-hint {
    font-size: 0.72rem; color: #333; text-align: right; margin-top: 2px;
}

/* ── Canvas / Sketch ── */
.canvas-toolbar {
    display: flex; align-items: center; gap: 0.6rem;
    flex-wrap: wrap; margin-bottom: 0.6rem;
}

.canvas-colors { display: flex; gap: 0.4rem; }

.canvas-color {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid transparent; cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.canvas-color:hover { transform: scale(1.2); }
.canvas-color.active { border-color: #fff; transform: scale(1.15); }

.canvas-sizes { display: flex; gap: 0.3rem; }

.canvas-size {
    width: 28px; height: 28px; border-radius: 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888; font-size: 0.72rem; font-weight: 700;
    font-family: 'Inter', sans-serif; cursor: pointer;
    transition: all 0.15s ease;
}

.canvas-size.active, .canvas-size:hover {
    background: rgba(102,126,234,0.15);
    border-color: var(--purple); color: #fff;
}

.canvas-eraser, .canvas-clear {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #666; border-radius: 6px;
    padding: 4px 10px; font-size: 0.75rem; font-weight: 600;
    font-family: 'Inter', sans-serif; cursor: pointer;
    transition: all 0.15s ease;
}

.canvas-eraser:hover, .canvas-clear:hover {
    background: rgba(255,255,255,0.08); color: #ccc;
}

.canvas-eraser.active {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.4); color: #ef4444;
}

.sketch-canvas {
    width: 100%; height: 200px;
    background: #080814;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px; cursor: crosshair; display: block;
    touch-action: none;
}

/* ── Submit / Errors ── */
.suggest-spam-note {
    font-size: 0.78rem; color: #333; margin-bottom: 0.8rem;
}

.suggest-error {
    font-size: 0.82rem; color: #ef4444;
    min-height: 1.2rem; margin-bottom: 0.6rem;
}

.btn-submit {
    width: 100%; padding: 12px;
    background: linear-gradient(135deg, var(--purple), var(--deep));
    color: #fff; border: none; border-radius: 10px;
    font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 18px rgba(102,126,234,0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102,126,234,0.5);
}

.btn-submit:disabled {
    opacity: 0.5; cursor: not-allowed; transform: none;
}

/* ── Success State ── */
.suggest-success {
    text-align: center; padding: 2rem 1rem;
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.suggest-success h3 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }
.suggest-success p { color: #555; font-size: 0.9rem; }

/* ── Mod Auth ── */
.mod-auth-hint { color: #555; font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Mod Panel Tabs ── */
.mod-tabs {
    display: flex; gap: 0.5rem; margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 0;
}

.mod-tab {
    background: none; border: none; border-bottom: 2px solid transparent;
    color: #555; font-family: 'Inter', sans-serif;
    font-size: 0.88rem; font-weight: 600; padding: 0.5rem 1rem 0.7rem;
    cursor: pointer; transition: all 0.2s ease;
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: -1px;
}

.mod-tab:hover { color: #aaa; }

.mod-tab.active {
    color: #fff; border-bottom-color: var(--purple);
}

.mod-tab-count {
    background: rgba(102,126,234,0.15);
    color: var(--violet); font-size: 0.72rem; font-weight: 700;
    padding: 1px 7px; border-radius: 50px;
}

/* ── Mod List ── */
.mod-list { display: flex; flex-direction: column; gap: 0.8rem; }

.mod-empty { color: #333; font-size: 0.88rem; text-align: center; padding: 2rem; }

.mod-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 1.1rem 1.3rem;
    display: flex; align-items: flex-start; gap: 1rem;
}

.mod-card-info { flex: 1; min-width: 0; }

.mod-card-name {
    font-size: 1rem; font-weight: 700; color: #fff;
    margin-bottom: 0.2rem;
}

.mod-card-meta {
    font-size: 0.78rem; color: #444;
    display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 0.4rem;
}

.mod-card-desc {
    font-size: 0.83rem; color: #555; line-height: 1.5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mod-card-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

.mod-btn {
    padding: 6px 14px; border-radius: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.78rem; font-weight: 700;
    cursor: pointer; border: none; transition: all 0.2s ease;
}

.mod-btn-accept {
    background: rgba(16,185,129,0.15);
    color: #10b981; border: 1px solid rgba(16,185,129,0.3);
}

.mod-btn-accept:hover {
    background: rgba(16,185,129,0.25);
    box-shadow: 0 0 12px rgba(16,185,129,0.2);
}

.mod-btn-reject {
    background: rgba(239,68,68,0.1);
    color: #ef4444; border: 1px solid rgba(239,68,68,0.25);
}

.mod-btn-reject:hover {
    background: rgba(239,68,68,0.2);
}

.mod-btn-view {
    background: rgba(102,126,234,0.12);
    color: var(--violet); border: 1px solid rgba(102,126,234,0.25);
}

.mod-btn-view:hover { background: rgba(102,126,234,0.22); }

/* ── Mod Detail ── */
.mod-detail-field { margin-bottom: 1.2rem; }

.mod-detail-label {
    font-size: 0.72rem; font-weight: 700; color: #444;
    letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem;
}

.mod-detail-value {
    font-size: 0.92rem; color: #ccc; line-height: 1.6;
}

.mod-detail-value a { color: var(--violet); }

.mod-detail-canvas {
    width: 100%; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.07);
    display: block; background: #080814;
}

.mod-detail-actions {
    display: flex; gap: 0.6rem; margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .suggest-fab-label { display: none; }
    .suggest-fab { padding: 14px; border-radius: 50%; }
    .mod-card { flex-direction: column; }
    .mod-card-actions { width: 100%; }
}

/* ════════════════════════════════════════════
   SUGGEST PAGE
   ════════════════════════════════════════════ */

.suggest-page {
    min-height: 100vh;
    padding: 110px 0 80px;
    background: var(--bg);
    position: relative;
}

.suggest-page::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(102,126,234,0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(192,132,252,0.05) 0%, transparent 50%);
}

.suggest-page-inner {
    max-width: 1000px; margin: 0 auto;
    position: relative; z-index: 1;
}

.suggest-page-header {
    text-align: center; margin-bottom: 3rem;
}

.suggest-page-title {
    font-size: 2.8rem; font-weight: 900; color: #fff;
    letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.8rem;
}

.suggest-page-sub {
    font-size: 1rem; color: #888; max-width: 500px;
    margin: 0 auto; line-height: 1.7;
}

.suggest-form-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; align-items: start;
}

.suggest-form-left {
    display: flex; flex-direction: column; gap: 0;
}

.suggest-form-right {
    display: flex; flex-direction: column; gap: 0.6rem;
    position: sticky; top: 90px;
}

/* Override form-label color for suggest page */
.suggest-page .form-label,
.suggest-page .form-hint,
.suggest-page .suggest-spam-note,
.suggest-page .suggest-canvas-hint {
    color: #aaa;
}

.suggest-page .form-input {
    color: #fff;
}

.suggest-page .form-input::placeholder {
    color: #444;
}

.suggest-canvas-hint {
    font-size: 0.82rem; margin: 0;
}

.sketch-canvas--large {
    width: 100% !important;
    height: 340px !important;
    display: block;
}

.active-suggest {
    background: linear-gradient(135deg, var(--purple), var(--deep)) !important;
    color: #fff !important;
    padding: 7px 16px;
    border-radius: 50px;
    font-weight: 600 !important;
    font-size: 0.82rem;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(102,126,234,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.active-suggest:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102,126,234,0.5) !important;
}

.active-suggest::after { display: none !important; }

@media (max-width: 768px) {
    .suggest-form-grid { grid-template-columns: 1fr; }
    .suggest-page-title { font-size: 2rem; }
    .sketch-canvas--large { height: 220px !important; }
    .suggest-form-right { position: static; }
}

/* ── Mod Tools Tab ── */
.mod-tools-section {
    padding: 1.4rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

.mod-tools-title {
    font-size: 0.88rem; font-weight: 700; color: #ddd;
    margin-bottom: 0.4rem;
}

.mod-tools-desc {
    font-size: 0.82rem; color: #555; margin-bottom: 0.8rem; line-height: 1.5;
}

.mod-tools-status {
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 0.8rem; min-height: 1.2rem;
}
