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

:root {
    --bg-color: #061a1d;
    --card-bg: rgba(8, 34, 38, 0.65);
    --card-border: rgba(46, 204, 113, 0.25);
    --primary-neon: #2ecc71;
    --secondary-neon: #00f6ff;
    --accent-gold: #f1c40f;
    --text-white: #ffffff;
    --text-gray: #a3b8b5;
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

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

/* Background animated fireflies */
.firefly-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #0b2f33 0%, #061a1d 100%);
}

.firefly {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-neon);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--primary-neon), 0 0 20px var(--primary-neon);
    opacity: 0;
    animation: drift linear infinite, flicker ease-in-out infinite;
}

/* Generate multiple firefly motions in css */
.firefly:nth-child(1) { left: 10%; top: 80%; animation-duration: 12s, 3s; animation-delay: 0s, 0s; width: 6px; height: 6px; }
.firefly:nth-child(2) { left: 30%; top: 40%; animation-duration: 18s, 4s; animation-delay: 2s, 1s; width: 8px; height: 8px; }
.firefly:nth-child(3) { left: 55%; top: 15%; animation-duration: 14s, 3.5s; animation-delay: 1s, 0.5s; width: 5px; height: 5px; }
.firefly:nth-child(4) { left: 75%; top: 65%; animation-duration: 16s, 4.5s; animation-delay: 3s, 2s; width: 9px; height: 9px; }
.firefly:nth-child(5) { left: 85%; top: 30%; animation-duration: 20s, 5s; animation-delay: 0.5s, 1.5s; width: 7px; height: 7px; }
.firefly:nth-child(6) { left: 20%; top: 10%; animation-duration: 15s, 3s; animation-delay: 4s, 0.2s; width: 6px; height: 6px; }

@keyframes drift {
    0% {
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-80px) translateX(50px) scale(1.2);
    }
    100% {
        transform: translateY(-160px) translateX(-20px) scale(1);
    }
}

@keyframes flicker {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.8; }
}

/* Header & Navigation */
header {
    width: 100%;
    padding: 24px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo-frog {
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--text-white);
}

.logo-tongue {
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 26px;
    color: var(--primary-neon);
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-left: 32px;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--secondary-neon);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-content {
    flex: 1.2;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-neon);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--primary-neon);
    text-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.hero p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 580px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon) 0%, var(--secondary-neon) 100%);
    color: #061a1d;
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.5);
}

.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-white);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: rgba(8, 34, 38, 0.95);
    border-color: var(--secondary-neon);
    transform: translateY(-3px);
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    border-radius: 40px;
    border: 8px solid #1a3b40;
    background-color: #061214;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 246, 255, 0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mock-title {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    color: var(--primary-neon);
}

.mock-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    box-shadow: 0 0 15px var(--primary-neon);
    animation: pulse 1.8s infinite;
}

.mock-play-icon {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #061a1d;
    margin-left: 4px;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px var(--primary-neon); }
    50% { transform: scale(1.1); box-shadow: 0 0 25px var(--primary-neon); }
    100% { transform: scale(1); box-shadow: 0 0 10px var(--primary-neon); }
}

/* Features Grid */
.features-section {
    padding: 80px 8%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-neon);
    box-shadow: 0 15px 35px rgba(0, 246, 255, 0.08);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 16px;
}

/* Gameplay Section */
.gameplay-section {
    background-color: rgba(6, 26, 29, 0.8);
    padding: 80px 8%;
    border-top: 1px solid rgba(46, 204, 113, 0.1);
    border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

.gameplay-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.gameplay-content {
    flex: 1;
}

.gameplay-visual {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.step-number {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 24px;
    color: var(--secondary-neon);
    margin-bottom: 12px;
}

.step-card h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Document Template for Privacy/Terms */
.doc-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    backdrop-filter: blur(12px);
}

.doc-section h1 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-white);
}

.doc-meta {
    font-family: var(--font-mono);
    color: var(--secondary-neon);
    font-size: 14px;
    margin-bottom: 40px;
}

.doc-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--primary-neon);
}

.doc-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 16px;
}

.doc-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-gray);
}

.doc-content li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    padding: 60px 8% 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(163, 184, 181, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-neon);
}

.copyright {
    color: rgba(163, 184, 181, 0.5);
    font-size: 14px;
}

/* Responsive tweaks */
@media (max-width: 968px) {
    header {
        padding: 24px 5%;
    }
    
    .hero {
        flex-direction: column;
        padding: 40px 5%;
        text-align: center;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        margin: 0 auto 32px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .gameplay-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 5%;
    }
}

@media (max-width: 600px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .gameplay-visual {
        grid-template-columns: 1fr;
    }
}
