/* ============================
   KILLER SUDOKU — CYAN ACCENT
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Unbounded:wght@400;700;900&family=DM+Mono:wght@400;500&display=swap');

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

:root {
    --lime: #00F5FF;
    --hot-pink: #C8FF00;
    --cyan: #9B00FF;
    --orange: #FF6B00;
    --purple: #FF2D78;
    --dark: #0A0A0A;
    --dark2: #111111;
    --dark3: #181818;
    --white: #FAFAFA;
    --gray: #888888;
    --gray2: #444444;
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* CURSOR */
#cursor {
    width: 12px; height: 12px;
    background: var(--lime);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99999;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    transition: width 0.2s, height 0.2s;
}
#cursor-ring {
    width: 40px; height: 40px;
    border: 1.5px solid var(--lime);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99998;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}
body.hovering #cursor { width: 20px; height: 20px; }
body.hovering #cursor-ring { width: 60px; height: 60px; }

/* NOISE */
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; opacity: 0.6;
}

/* TICKER */
.ticker-wrap {
    background: var(--lime); color: var(--dark);
    overflow: hidden; white-space: nowrap;
    padding: 10px 0;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 9000;
}
.ticker-track {
    display: inline-flex; gap: 0;
    animation: tickerScroll 22s linear infinite;
}
.ticker-item {
    display: inline-flex; align-items: center; gap: 16px;
    padding: 0 24px;
    font-family: var(--font-mono); font-size: 0.72rem;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
}
.ticker-sep { opacity: 0.4; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

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

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; padding: 18px 0;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000; transition: all 0.4s ease;
}
.navbar.scrolled { padding: 12px 0; background: rgba(10,10,10,0.95); border-color: rgba(0,245,255,0.1); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 900;
    color: var(--white); letter-spacing: -0.03em;
}
.logo-img { height: 30px; width: auto; object-fit: contain; filter: invert(1) brightness(2); }
.logo-dot {
    display: inline-block; width: 8px; height: 8px;
    background: var(--lime); border-radius: 50%; margin-left: 2px;
    animation: dotBlink 1.5s ease-in-out infinite;
}
@keyframes dotBlink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(0.6); } }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
    color: var(--gray); text-decoration: none; font-weight: 500;
    font-size: 0.85rem; font-family: var(--font-mono);
    text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.2s;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -3px; left: 0;
    width: 0; height: 1px; background: var(--lime); transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--lime) !important; color: var(--dark) !important;
    padding: 8px 18px !important; border-radius: 6px !important;
    font-weight: 700 !important; box-shadow: 3px 3px 0 rgba(0,245,255,0.3);
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translate(-2px,-2px) !important; box-shadow: 5px 5px 0 rgba(0,245,255,0.4) !important; }
.nav-cta::after { display: none !important; }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: none; padding: 4px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* HERO */
.hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center;
    padding: 110px 0 100px; position: relative; overflow: hidden;
}

.hero-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.18; pointer-events: none; }
.hero-blob-1 { width: 450px; height: 450px; background: var(--lime); top: -150px; right: -100px; animation: blobDrift1 12s ease-in-out infinite; }
.hero-blob-2 { width: 350px; height: 350px; background: var(--cyan); bottom: -100px; left: -80px; animation: blobDrift2 14s ease-in-out infinite; }
.hero-blob-3 { width: 280px; height: 280px; background: var(--purple); top: 40%; left: 30%; animation: blobDrift3 10s ease-in-out infinite; opacity: 0.1; }

@keyframes blobDrift1 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(-50px,40px) scale(1.1)} 66%{transform:translate(30px,-30px) scale(0.9)} }
@keyframes blobDrift2 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(40px,-40px) scale(1.05)} 66%{transform:translate(-25px,25px) scale(0.95)} }
@keyframes blobDrift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,-30px)} }

.hero-bg-text {
    position: absolute;
    font-family: var(--font-display); font-size: clamp(6rem, 15vw, 18rem); font-weight: 900;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    white-space: nowrap; pointer-events: none; z-index: 0; user-select: none; letter-spacing: -0.05em;
}

.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-label {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px;
    font-family: var(--font-mono); font-size: 0.72rem; color: var(--lime);
    text-transform: uppercase; letter-spacing: 0.15em;
}
.hero-label-line { display: inline-block; width: 32px; height: 1px; background: var(--lime); }

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 900; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 24px;
}

.hl-lime { color: var(--lime); }
.hl-pink { color: var(--purple); }
.hl-cyan { color: var(--cyan); }
.hl-outline { -webkit-text-stroke: 2px var(--lime); color: transparent; }

.gradient-text {
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc { font-size: 1rem; color: var(--gray); line-height: 1.75; max-width: 480px; margin-bottom: 36px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 6px; font-weight: 700;
    font-family: var(--font-body); text-decoration: none;
    transition: all 0.2s ease; font-size: 0.88rem;
    cursor: none; border: none; position: relative; overflow: hidden; letter-spacing: 0.02em;
}
.btn-primary { background: var(--lime); color: var(--dark); box-shadow: 4px 4px 0 rgba(0,245,255,0.3); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 rgba(0,245,255,0.4); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.15); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); transform: translate(-2px,-2px); box-shadow: 4px 4px 0 rgba(0,245,255,0.1); }
.btn-large { padding: 18px 36px; font-size: 1rem; }

/* HERO STATS */
.hero-stats { display: flex; gap: 32px; }
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--lime); line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: var(--gray); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* SUDOKU GRID VISUAL */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.sudoku-wrapper { position: relative; }
.sudoku-glow {
    position: absolute; width: 320px; height: 320px; border-radius: 50%;
    filter: blur(80px); opacity: 0.2; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle, var(--lime), var(--cyan));
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.15;transform:translate(-50%,-50%) scale(1)} 50%{opacity:0.3;transform:translate(-50%,-50%) scale(1.1)} }

.sudoku-board {
    width: 260px; height: 260px;
    display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(9, 1fr);
    border: 2px solid rgba(0,245,255,0.4);
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 0 40px rgba(0,245,255,0.15), 0 30px 80px rgba(0,0,0,0.8);
    animation: boardFloat 6s ease-in-out infinite; position: relative; z-index: 1;
    background: #0d0d0d;
}
@keyframes boardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.s-cell {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
    border: 0.5px solid rgba(255,255,255,0.06);
    position: relative; transition: background 0.3s;
}
/* Thick borders for 3x3 boxes */
.s-cell.box-right { border-right: 1.5px solid rgba(0,245,255,0.3); }
.s-cell.box-bottom { border-bottom: 1.5px solid rgba(0,245,255,0.3); }

/* Cage styles */
.s-cell.cage-a { background: rgba(0,245,255,0.06); }
.s-cell.cage-b { background: rgba(155,0,255,0.06); }
.s-cell.cage-c { background: rgba(255,45,120,0.06); }
.s-cell.cage-d { background: rgba(200,255,0,0.05); }
.s-cell.cage-e { background: rgba(255,107,0,0.05); }

.s-cell.filled { color: var(--lime); }
.s-cell.given { color: rgba(0,245,255,0.7); font-size: 0.65rem; }
.s-cell.highlight { background: rgba(0,245,255,0.15) !important; animation: cellPulse 1.5s ease-in-out infinite; }
@keyframes cellPulse { 0%,100%{background:rgba(0,245,255,0.1)} 50%{background:rgba(0,245,255,0.25)} }

.cage-sum {
    position: absolute; top: 1px; left: 2px;
    font-family: var(--font-mono); font-size: 0.38rem;
    color: rgba(0,245,255,0.7); font-weight: 500;
}

/* Float badges */
.hero-float-badge {
    position: absolute; display: flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 100px;
    font-size: 0.72rem; font-weight: 700; font-family: var(--font-mono);
    text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; z-index: 10;
}
.hero-float-badge-1 { background: var(--lime); color: var(--dark); top: -10px; right: -40px; animation: badgeBounce1 3s ease-in-out infinite; box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.hero-float-badge-2 { background: var(--purple); color: var(--white); bottom: 60px; left: -50px; animation: badgeBounce2 3.5s ease-in-out infinite; box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
.hero-float-badge-3 { background: #C8FF00; color: var(--dark); top: 50%; right: -60px; animation: badgeBounce3 4s ease-in-out infinite; box-shadow: 4px 4px 0 rgba(0,0,0,0.3); }
@keyframes badgeBounce1 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-8px) rotate(0deg)} }
@keyframes badgeBounce2 { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(-10px) rotate(4deg)} }
@keyframes badgeBounce3 { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-6px) rotate(2deg)} }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; opacity: 0; animation: fadeUp 1s ease 1.5s forwards; }
@keyframes fadeUp { to { opacity: 1; } }
.mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 11px; display: flex; justify-content: center; padding-top: 6px; }
.wheel { width: 3px; height: 6px; background: var(--lime); border-radius: 2px; animation: wheelAnim 2s ease-in-out infinite; }
@keyframes wheelAnim { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(8px);opacity:0.3} }
.scroll-indicator span { font-family: var(--font-mono); font-size: 0.6rem; color: var(--gray2); text-transform: uppercase; letter-spacing: 0.12em; }

/* SCROLL REVEAL */
.sr { opacity:0; transform:translateY(40px); transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sr.sr-visible { opacity:1; transform:translateY(0); }
.sr-left { opacity:0; transform:translateX(-50px); transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sr-left.sr-visible { opacity:1; transform:translateX(0); }
.sr-right { opacity:0; transform:translateX(50px); transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sr-right.sr-visible { opacity:1; transform:translateX(0); }
.sr-scale { opacity:0; transform:scale(0.85); transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.sr-scale.sr-visible { opacity:1; transform:scale(1); }
.sr-d1{transition-delay:0.1s} .sr-d2{transition-delay:0.2s} .sr-d3{transition-delay:0.3s}

/* SECTION COMMON */
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 16px auto 0; }
.section-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--lime); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px; }
.section-label-num { font-size: 0.65rem; color: var(--gray2); }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; }
.section-header p { font-size: 1rem; color: var(--gray); margin-top: 16px; max-width: 560px; line-height: 1.7; }

/* FEATURES */
.features { padding: 120px 0; position: relative; }
.features::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }

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

.feature-card {
    background: var(--dark2); border-radius: 4px; padding: 28px;
    border: 1.5px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(0,245,255,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon-wrap { margin-bottom: 18px; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.15);
    display: flex; align-items: center; justify-content: center; color: var(--lime);
    transition: all 0.3s ease;
}
.feature-card:hover .feature-icon { background: var(--lime); color: var(--dark); transform: rotate(-6deg) scale(1.1); box-shadow: 0 8px 24px rgba(0,245,255,0.3); }

.feature-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
.feature-tag { display: inline-block; background: rgba(0,245,255,0.08); color: var(--lime); padding: 4px 12px; border-radius: 100px; font-size: 0.7rem; font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* MODES SECTION */
.modes { padding: 120px 0; background: var(--dark2); }

.modes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 60px; }

.mode-card {
    background: var(--dark3); border-radius: 4px; padding: 32px;
    border: 1.5px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, border-color 0.25s ease;
    position: relative; overflow: hidden;
}
.mode-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.mode-card.easy::before { background: #00F5FF; }
.mode-card.medium::before { background: #C8FF00; }
.mode-card.hard::before { background: #FF6B00; }
.mode-card.expert::before { background: #FF2D78; }
.mode-card:hover { transform: translateY(-6px); }
.mode-card.easy:hover { border-color: rgba(0,245,255,0.3); }
.mode-card.medium:hover { border-color: rgba(200,255,0,0.3); }
.mode-card.hard:hover { border-color: rgba(255,107,0,0.3); }
.mode-card.expert:hover { border-color: rgba(255,45,120,0.3); }
.mode-card:hover::before { transform: scaleX(1); }

.mode-icon { font-size: 2rem; margin-bottom: 14px; }
.mode-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.02em; }
.mode-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.65; margin-bottom: 16px; }
.mode-stars { display: flex; gap: 4px; }
.mode-stars span { font-size: 0.9rem; }
.mode-threshold {
    font-family: var(--font-mono); font-size: 0.68rem; color: var(--gray2);
    text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px;
}

/* HOW TO PLAY */
.howto { padding: 120px 0; }
.howto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.howto-steps { display: flex; flex-direction: column; gap: 0; }
.howto-step {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
}
.howto-step:last-child { border-bottom: none; }
.step-num {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 900;
    color: rgba(0,245,255,0.2); line-height: 1; flex-shrink: 0; width: 40px;
    transition: color 0.3s;
}
.howto-step:hover .step-num { color: var(--lime); }
.step-content h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.step-content p { color: var(--gray); font-size: 0.88rem; line-height: 1.65; }

/* Big grid visual for howto */
.howto-visual { display: flex; justify-content: center; }
.sudoku-demo {
    width: 220px; height: 220px;
    display: grid; grid-template-columns: repeat(9,1fr); grid-template-rows: repeat(9,1fr);
    border: 2px solid rgba(0,245,255,0.3); border-radius: 6px; overflow: hidden;
    background: #0d0d0d;
    box-shadow: 0 0 60px rgba(0,245,255,0.1), 0 20px 60px rgba(0,0,0,0.6);
    animation: boardFloat 6s ease-in-out infinite 1s;
}
.d-cell {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
    border: 0.5px solid rgba(255,255,255,0.05); position: relative;
    color: rgba(0,245,255,0.7);
}
.d-cell.box-right { border-right: 1.5px solid rgba(0,245,255,0.25); }
.d-cell.box-bottom { border-bottom: 1.5px solid rgba(0,245,255,0.25); }
.d-cell.ca { background: rgba(0,245,255,0.07); }
.d-cell.cb { background: rgba(155,0,255,0.07); }
.d-cell.cc { background: rgba(255,45,120,0.06); }
.d-cell.cd { background: rgba(200,255,0,0.05); }
.d-cell.ce { background: rgba(255,107,0,0.05); }
.d-cell.cf { background: rgba(0,245,255,0.04); }
.d-cell.cg { background: rgba(155,0,255,0.04); }
.d-cell.active-cell { background: rgba(0,245,255,0.2) !important; animation: cellPulse 1s ease-in-out infinite; }
.d-sum { position: absolute; top: 1px; left: 2px; font-family: var(--font-mono); font-size: 0.32rem; color: rgba(0,245,255,0.6); }

/* ABOUT */
.about { padding: 120px 0; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-text p { font-size: 1.05rem; color: var(--gray); line-height: 1.8; margin-bottom: 20px; }
.about-text strong { color: var(--white); }
.about-values { display: flex; flex-direction: column; gap: 2px; }
.value-card { display: flex; gap: 18px; align-items: flex-start; padding: 20px; border-top: 1px solid rgba(255,255,255,0.06); transition: background 0.3s, transform 0.3s; border-radius: 4px; }
.value-card:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.value-card:hover { background: rgba(255,255,255,0.03); transform: translateX(8px); }
.value-icon { font-size: 1.6rem; flex-shrink: 0; width: 40px; text-align: center; }
.value-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.02em; }
.value-card p { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }

/* DOWNLOAD */
.download { padding: 120px 0; background: var(--dark2); }
.download-card {
    background: var(--dark3); border-radius: 8px; padding: 80px 40px;
    text-align: center; border: 1.5px solid rgba(0,245,255,0.12);
    position: relative; overflow: hidden;
}
.download-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,245,255,0.05), transparent); pointer-events: none; }
.download-glow { position: absolute; width: 400px; height: 400px; background: var(--lime); border-radius: 50%; filter: blur(120px); opacity: 0.06; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.download-content { position: relative; z-index: 1; }
.download-emoji { font-size: 5rem; margin-bottom: 24px; animation: logoPulse 3s ease-in-out infinite; display: block; }
@keyframes logoPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.download-content h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 16px; letter-spacing: -0.03em; }
.download-content > p { color: var(--gray); font-size: 1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.download-features { display: flex; justify-content: center; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.download-features span { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 0.88rem; font-family: var(--font-mono); }
.download-features svg { color: var(--lime); }

/* CONTACT */
.contact { padding: 120px 0; position: relative; }
.contact::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0,245,255,0.04), transparent); pointer-events: none; }
.contact-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.contact-card {
    background: var(--dark2); padding: 40px 36px; border-radius: 4px;
    text-decoration: none; color: var(--white);
    min-width: 220px; flex: 1; max-width: 300px;
    border: 1.5px solid rgba(255,255,255,0.06);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative; overflow: hidden;
}
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.contact-card:hover { transform: translateY(-6px); border-color: rgba(0,245,255,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.contact-card:hover::before { transform: scaleX(1); }
.contact-icon { width: 52px; height: 52px; background: rgba(0,245,255,0.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--lime); margin-bottom: 18px; transition: all 0.3s; }
.contact-card:hover .contact-icon { background: var(--lime); color: var(--dark); transform: rotate(-6deg) scale(1.1); }
.contact-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.02em; }
.contact-card p { color: var(--gray); font-size: 0.83rem; font-family: var(--font-mono); }

/* FOOTER */
.footer { padding: 36px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-bottom: 40px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-left p { color: var(--gray2); font-size: 0.8rem; margin-top: 8px; font-family: var(--font-mono); }
.footer-right p { color: var(--gray2); font-size: 0.8rem; font-family: var(--font-mono); }

/* BADGE */
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,245,255,0.08); border: 1px solid rgba(0,245,255,0.2); padding: 7px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; color: var(--lime); margin-bottom: 20px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.badge-dot { width: 6px; height: 6px; background: var(--lime); border-radius: 50%; animation: dotBlink 1.5s ease-in-out infinite; }

/* ANIMATIONS */
@keyframes scramble { 0%{opacity:0;transform:translateY(10px) skewX(-5deg)} 100%{opacity:1;transform:translateY(0) skewX(0)} }
.hero-text > * { animation: scramble 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.hero-text > :nth-child(1){animation-delay:0.05s}
.hero-text > :nth-child(2){animation-delay:0.15s}
.hero-text > :nth-child(3){animation-delay:0.25s}
.hero-text > :nth-child(4){animation-delay:0.35s}
.hero-text > :nth-child(5){animation-delay:0.45s}
.hero-visual { animation: scramble 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s both; }

/* MODULE EXTRAS */
.module-extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 60px; }
.extra-card { background: var(--dark); border-radius: 4px; padding: 28px; border: 1.5px solid rgba(255,255,255,0.06); transition: transform 0.25s ease, border-color 0.25s ease; position: relative; overflow: hidden; }
.extra-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.extra-card:hover { transform: translateY(-4px); border-color: rgba(0,245,255,0.2); }
.extra-card:hover::before { transform: scaleX(1); }
.extra-icon { width: 44px; height: 44px; background: rgba(0,245,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--lime); margin-bottom: 16px; }
.extra-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.extra-card p { color: var(--gray); font-size: 0.83rem; line-height: 1.65; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-float-badge { display: none; }
    .about-content { grid-template-columns: 1fr; gap: 48px; }
    .howto-grid { grid-template-columns: 1fr; gap: 48px; }
    .howto-visual { order: -1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .modes-grid { grid-template-columns: 1fr; }
    .module-extras { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,0.98); backdrop-filter: blur(24px); flex-direction: column; padding: 20px; gap: 14px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 90px 0 60px; }
    .features-grid { grid-template-columns: 1fr; }
    .module-extras { grid-template-columns: 1fr; }
    .modes-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .features, .modes, .howto, .about, .download, .contact { padding: 80px 0; }
    .sudoku-board { width: 220px; height: 220px; }
}
@media (max-width: 480px) {
    .hero-stats { flex-direction: row; }
    .contact-grid { flex-direction: column; align-items: center; }
    .contact-card { width: 100%; max-width: none; }
}
