/* ============================================
   LUMO GAMES — Işığın Oyunu
   Premium Game Studio Website
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #06060f;
    --bg-secondary: #0a0a1a;
    --bg-card: rgba(14, 14, 30, 0.7);
    --text-primary: #f0f0f5;
    --text-secondary: #8888aa;
    --text-muted: #555577;
    --accent: #00d4ff;
    --accent-alt: #7b61ff;
    --accent-warm: #ff6b35;
    --glow-primary: rgba(0, 212, 255, 0.15);
    --glow-alt: rgba(123, 97, 255, 0.15);
    --glow-warm: rgba(255, 107, 53, 0.15);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 212, 255, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}

/* --- Particle Canvas --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 0 8px var(--accent)); }
    50% { filter: drop-shadow(0 0 16px var(--accent)) drop-shadow(0 0 32px rgba(0, 212, 255, 0.3)); }
}

.logo-text {
    color: var(--text-primary);
    letter-spacing: 2px;
}

.logo-sub {
    color: var(--accent);
    font-size: 0.65em;
    letter-spacing: 4px;
    opacity: 0.8;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--accent);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, rgba(123, 97, 255, 0.05) 40%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: heroGlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-glow::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-30%, -60%);
    animation: heroGlow2 12s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

@keyframes heroGlow2 {
    0%, 100% { transform: translate(-30%, -60%) scale(1); opacity: 0.4; }
    50% { transform: translate(-70%, -40%) scale(1.4); opacity: 0.8; }
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--border-hover);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
    background: rgba(0, 212, 255, 0.05);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.hero-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    animation: badgeShimmer 4s ease-in-out infinite;
}

@keyframes badgeShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: 8px;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line.accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt), var(--accent));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-2px);
}

.btn-download {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--border-hover);
    color: var(--accent);
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
}

.btn-download:hover:not(.disabled) {
    background: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.btn-download.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-appstore {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    color: #fff;
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-appstore::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-appstore:hover {
    background: linear-gradient(135deg, #0077ed 0%, #0071e3 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.45), 0 0 25px rgba(0, 113, 227, 0.25);
}

.btn-appstore:hover::after {
    width: 300px;
    height: 300px;
}

.btn-appstore:active {
    transform: translateY(-1px) scale(0.98);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Section Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    background: rgba(0, 212, 255, 0.03);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.2;
}

.section-title .accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Dividers --- */
.about::before,
.games::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-alt), transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 97, 255, 0.3), transparent);
    transition: width 0.5s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: rgba(14, 14, 30, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.05);
}

.about-card:hover::before {
    opacity: 1;
    animation: shimmerBorder 2s linear infinite;
}

.about-card:hover::after {
    width: 80%;
}

@keyframes shimmerBorder {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--glow-primary);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.about-card:hover .card-icon {
    box-shadow: 0 0 25px var(--glow-primary), 0 0 50px rgba(0, 212, 255, 0.1);
    transform: scale(1.08) rotate(-3deg);
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* --- Join Mini Button --- */
.btn-join-mini {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(123, 97, 255, 0.85);
    background: rgba(123, 97, 255, 0.08);
    border: 1px solid rgba(123, 97, 255, 0.2);
    border-radius: 50px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-join-mini:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-alt), #5a3fd4);
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(123, 97, 255, 0.35);
    transform: translateY(-1px);
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Games Section --- */
.games {
    padding: 120px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.02) 50%, transparent 100%);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Single game: center it */
.games-grid:has(.game-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 60px var(--glow-primary), inset 0 1px 0 rgba(0, 212, 255, 0.1);
}

.game-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(123, 97, 255, 0.05) 100%);
    color: var(--accent);
    transition: var(--transition);
}

.game-placeholder.glow-alt {
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    color: var(--accent-alt);
}

.game-placeholder.glow-warm {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(123, 97, 255, 0.05) 100%);
    color: var(--accent-warm);
}

.game-placeholder.glow-jom {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(123, 97, 255, 0.08) 50%, rgba(255, 107, 53, 0.06) 100%);
}

.jom-icon {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 212, 255, 0.2);
    transition: var(--transition);
}

.game-card:hover .jom-icon {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
}

.game-card.featured {
    border-color: rgba(0, 212, 255, 0.15);
}

.game-card.featured:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px var(--glow-primary);
}

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

.game-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.game-genre {
    padding: 6px 12px;
    background: rgba(6, 6, 15, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.game-info {
    padding: 24px;
}

.game-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.game-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.game-tag {
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.game-platforms {
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-platform {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.game-status {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.game-status.coming-soon {
    color: var(--accent-warm);
}

.game-status.available {
    color: #00ff88;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    text-align: center;
}

.social-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-hover);
    background: rgba(14, 14, 30, 0.95);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35), 0 0 25px var(--glow-primary);
}

.social-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--glow-primary);
    border: 1px solid rgba(0, 212, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: var(--transition);
}

.social-card:hover .social-icon {
    box-shadow: 0 0 25px var(--glow-primary), 0 0 50px rgba(0, 212, 255, 0.1);
    transform: scale(1.12) rotate(5deg);
}

.social-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.social-handle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    border-top: none;
    padding: 48px 0 32px;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), rgba(123, 97, 255, 0.3), transparent);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-domain {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 2px;
}

/* --- Shooting Star Quote Bubble --- */
.meteor-quote {
    position: fixed;
    z-index: 1001;
    max-width: 280px;
    padding: 16px 20px;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: 1.6;
    font-style: italic;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.4s ease, transform 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 255, 0.15);
}

.meteor-quote::before {
    content: '~ LUMO';
    display: block;
    margin-top: 8px;
    font-size: 0.7rem;
    font-style: normal;
    font-family: var(--font-display);
    color: var(--accent);
    letter-spacing: 2px;
    opacity: 0.7;
}

.meteor-quote.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Nav Overlay (Mobile) --- */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Milestone Toast --- */
.milestone-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 255, 0.1);
}

.milestone-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.milestone-icon {
    font-size: 1.2rem;
}

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about,
    .games,
    .contact {
        padding: 100px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }
}

/* Tablet portrait & mobile */
@media (max-width: 768px) {
    /* Nav */
    .nav-toggle {
        display: flex;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: rgba(6, 6, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 8px 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 100px 20px 80px;
    }

    .hero-glow {
        width: 400px;
        height: 400px;
    }

    .hero-glow::after {
        width: 250px;
        height: 250px;
    }

    .hero-title .title-line {
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 400px;
        margin-bottom: 32px;
    }

    /* Sections */
    .about,
    .games,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 32px 24px;
    }

    /* Games */
    .games-grid {
        grid-template-columns: 1fr;
    }

    .games-grid:has(.game-card:only-child) {
        max-width: 100%;
    }

    .game-image {
        height: 200px;
    }

    .game-info {
        padding: 20px;
    }

    /* Social */
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .social-card {
        padding: 24px 16px;
        gap: 10px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .social-icon svg {
        width: 22px;
        height: 22px;
    }

    .social-name {
        font-size: 0.8rem;
    }

    .social-handle {
        font-size: 0.72rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links a {
        padding: 4px 8px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Scroll indicator */
    .scroll-indicator {
        bottom: 24px;
    }

    /* Meteor quote */
    .meteor-quote {
        max-width: 260px;
        font-size: 0.8rem;
        padding: 14px 16px;
    }

    /* Section dividers */
    .about::before,
    .games::before,
    .contact::before {
        width: 120px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    /* Hero */
    .hero {
        padding: 90px 16px 60px;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .hero-glow::after {
        width: 180px;
        height: 180px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
        letter-spacing: 1px;
    }

    .hero-title .title-line {
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        min-height: 48px;
    }

    /* Sections */
    .about,
    .games,
    .contact {
        padding: 64px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .container {
        padding: 0 16px;
    }

    /* About */
    .about-card {
        padding: 24px 20px;
    }

    .about-card h3 {
        font-size: 1rem;
    }

    .about-card p {
        font-size: 0.85rem;
    }

    .card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .card-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Games */
    .game-image {
        height: 180px;
    }

    .jom-icon {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }

    .game-title {
        font-size: 1.05rem;
    }

    .game-desc {
        font-size: 0.82rem;
    }

    .game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-appstore {
        min-height: 48px;
    }

    /* Social */
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .social-card {
        padding: 20px 12px;
        min-height: 44px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .footer-bottom {
        padding-top: 16px;
        font-size: 0.75rem;
    }

    /* Scroll indicator — hide on very small screens */
    .scroll-indicator {
        display: none;
    }

    /* Milestone toast */
    .milestone-toast {
        white-space: normal;
        text-align: center;
        left: 16px;
        right: 16px;
        transform: translateX(0) translateY(20px);
        border-radius: 16px;
        justify-content: center;
        font-size: 0.8rem;
        padding: 14px 20px;
    }

    .milestone-toast.visible {
        transform: translateX(0) translateY(0);
    }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 360px) {
    .hero-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .hero-title .title-line {
        font-size: clamp(2.5rem, 14vw, 3.5rem);
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        flex-direction: row;
        padding: 16px;
        gap: 12px;
        text-align: left;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    .nav-links {
        width: 240px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects that don't work well on touch */
    .about-card:hover {
        transform: none;
    }

    .social-card:hover {
        transform: none;
    }

    .game-card:hover {
        transform: none;
    }

    .game-card:hover .jom-icon {
        transform: none;
    }

    .game-card:hover .game-placeholder {
        transform: none;
    }

    /* Add active states for touch feedback */
    .about-card:active {
        border-color: var(--border-hover);
        background: rgba(14, 14, 30, 0.95);
    }

    .social-card:active {
        border-color: var(--border-hover);
        background: rgba(14, 14, 30, 0.95);
    }

    .btn-primary:active {
        transform: scale(0.97);
    }

    .btn-ghost:active {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(0, 212, 255, 0.05);
    }

    .btn-appstore:active {
        transform: scale(0.97);
    }

    .btn-join-mini:active {
        color: #fff;
        background: linear-gradient(135deg, var(--accent-alt), #5a3fd4);
    }

    /* Ensure all interactive elements are at least 44px */
    .game-tag {
        padding: 6px 12px;
        font-size: 0.72rem;
    }

    .game-platform {
        padding: 4px 0;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 24px 40px;
    }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-title .title-line {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: row;
    }

    .btn {
        width: auto;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
