:root {
    --bg-dark: #050505;
    --glass: rgba(20, 20, 20, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #53FC18; /* Kick Green */
    --accent: #9146FF;  /* Twitch Purple */
    --text: #ffffff;
    --text-muted: #888888;
}

body {
    background-color: var(--bg-dark);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Global Texture Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    background: rgba(5,5,5,0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 800; 
    text-decoration: none; 
    letter-spacing: -0.5px; 
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.kick-green { color: var(--primary); }
.twitch-purple { color: var(--accent); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: 0.2s; }
.nav-links a:hover { color: var(--text); }

.btn-download-nav {
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}
.btn-download-nav:hover { transform: scale(1.05); }

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.spotlight {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(83, 252, 24, 0.15) 0%, rgba(145, 70, 255, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content { max-width: 500px; z-index: 2; }

.new-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}
.dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); }

h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }

.hero-btns { display: flex; }

.store-badge-link { display: inline-block; transition: transform 0.2s; }
.store-badge-link img { height: auto; width: 170px; }
.store-badge-link:hover { transform: translateY(-3px); }

/* --- 3D Phone Visual --- */
.hero-visual {
    position: relative;
    width: 310px;
    height: 670px;
    perspective: 1000px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 42px; 
    border: 6px solid #1a1a1a;
    box-shadow: 
        0 0 0 2px #000,
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(83, 252, 24, 0.1);
    position: relative;
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover .phone-frame { transform: rotateY(0deg) rotateX(0deg); }

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dynamic-island {
    position: absolute;
    top: 14px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 26px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-glare {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Floating Badge */
.float-badge {
    position: absolute;
    bottom: 60px; right: -40px;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,15,15,0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 20;
    animation: float 4s ease-in-out infinite;
}
.icon-circle { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), #2db500); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; font-size: 0.9rem; }
.badge-text { display: flex; flex-direction: column; font-size: 0.75rem; color: #aaa; line-height: 1.2; }
.badge-text .value { font-size: 0.9rem; font-weight: 700; color: #fff; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Tech Strip --- */
.tech-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #080808; }
.strip-label { text-align: center; font-size: 0.75rem; letter-spacing: 2px; color: #444; margin-bottom: 20px; font-weight: 700; }
.logo-grid { display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap; }

.logo-item { 
    opacity: 0.5; 
    transition: 0.3s; 
    height: 30px; 
    display: flex; 
    align-items: center; 
}

.logo-item img, .logo-item svg { 
    height: 100%; 
    width: auto; 
    max-width: 120px; 
    filter: grayscale(100%); 
    color: #888; 
    fill: currentColor; 
}

.logo-item:hover { opacity: 1; filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
.logo-item:hover img, .logo-item:hover svg { filter: none; color: #fff; }

/* --- Bento Grid --- */
.features { padding: 100px 0; }
.section-heading { text-align: center; margin-bottom: 60px; }
.section-heading h2 { font-size: 2.5rem; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(90deg, #fff, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

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

.card {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}
.card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }

.card-wide { grid-column: span 2; }
.card-tall { grid-row: span 2; justify-content: space-between; }

.icon-box {
    width: 48px; height: 48px; background: rgba(255,255,255,0.05);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--text); margin-bottom: 20px;
}

h3 { font-size: 1.4rem; margin-bottom: 10px; }
p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

.feature-list { list-style: none; padding: 0; margin-top: 20px; }
.feature-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 0.9rem; }
.feature-list i { color: var(--primary); font-size: 0.8rem; }

/* --- Footer --- */
footer { padding: 80px 0 30px; border-top: 1px solid var(--border); background: #020202; }
.footer-container { display: flex; justify-content: space-between; margin-bottom: 40px; }
.footer-logo { font-weight: 800; font-size: 1.2rem; display: block; margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; margin-left: 24px; font-size: 0.9rem; transition: 0.2s; }
.footer-links a:hover { color: var(--text); }
.disclaimer-container { border-top: 1px solid #111; padding-top: 20px; }
.disclaimer { font-size: 0.75rem; color: #444; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- Legal Page (Privacy/Terms) --- */
.legal-wrapper {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.legal-card {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 60px;
    max-width: 800px;
    width: 100%;
    margin: 0 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.legal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -1px;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
    transition: 0.2s;
}
.back-link:hover { transform: translateX(-5px); }

.legal-content p {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.legal-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
    font-weight: 700;
}

.legal-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.2s;
}
.legal-content a:hover { border-bottom-color: var(--accent); }

/* --- Mobile Queries --- */
@media (max-width: 900px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 40px; }
    .hero-btns { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .card-wide, .card-tall { grid-column: span 1; grid-row: span 1; }
    .nav-links, .btn-download-nav { display: none; }
    .hamburger { display: block; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%;
        background: #000; padding: 20px; border-bottom: 1px solid var(--border);
    }
    .float-badge { right: 0; }
    .legal-card { padding: 30px; }
    .legal-title { font-size: 2rem; }
}
