/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #06b6d4;
    --accent-color: #f0abfc;
    --neon-pink: #ec4899;
    --neon-blue: #3b82f6;
    --dark-color: #0f0a1a;
    --dark-secondary: #1a1025;
    --light-color: #f0e6ff;
    --gradient-start: #a855f7;
    --gradient-end: #06b6d4;
    --glow-purple: rgba(168, 85, 247, 0.5);
    --glow-cyan: rgba(6, 182, 212, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #e0d4f7;
    background-color: var(--dark-color);
}

/* Header & Navigation */
header {
    background: rgba(15, 10, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--glow-purple);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #c4b5d8;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--glow-purple);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow-purple);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background:
        radial-gradient(ellipse at top, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-color) 0%, var(--dark-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated grid background */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

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

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: glowPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px var(--glow-purple));
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px var(--glow-purple));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--glow-purple)) drop-shadow(0 0 60px var(--glow-cyan));
    }
}

.tagline {
    font-size: 1.5rem;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px var(--glow-cyan);
}

.description {
    font-size: 1.1rem;
    color: #a89cc4;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-image {
    margin-left: 2rem;
    position: relative;
    z-index: 1;
}

.chicken-emoji {
    font-size: 12rem;
    animation: floatGlow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 40px var(--glow-purple));
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 30px var(--glow-purple));
    }
    50% {
        transform: translateY(-25px) scale(1.05);
        filter: drop-shadow(0 0 50px var(--glow-purple)) drop-shadow(0 0 80px var(--glow-cyan));
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow:
        0 0 20px var(--glow-purple),
        0 0 40px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 0 30px var(--glow-purple),
        0 0 60px rgba(168, 85, 247, 0.4),
        0 0 90px var(--glow-cyan);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: var(--dark-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--secondary-color), transparent);
}

.features h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-shadow: 0 0 30px var(--glow-purple);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(168, 85, 247, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(168, 85, 247, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(6, 182, 212, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow:
        0 0 30px var(--glow-purple),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--glow-purple));
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #a89cc4;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* Download Section */
.download {
    padding: 5rem 2rem;
    background:
        radial-gradient(ellipse at center, rgba(168, 85, 247, 0.2) 0%, transparent 70%),
        linear-gradient(135deg, var(--dark-color), var(--dark-secondary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), var(--primary-color), transparent);
}

.download h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.download > p {
    color: #c4b5d8;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.store-btn:hover {
    transform: translateY(-3px);
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--primary-color);
    box-shadow:
        0 0 20px var(--glow-purple),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-btn svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px var(--glow-purple));
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-subtitle {
    font-size: 0.7rem;
    opacity: 0.8;
    color: var(--accent-color);
}

.store-title {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #a89cc4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--glow-purple);
}

.copyright {
    font-size: 0.9rem;
    color: #6b5b7a;
}

/* Privacy Page Styles */
.privacy-page {
    padding-top: 100px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse at top, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--dark-color), var(--dark-secondary));
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(168, 85, 247, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.privacy-container h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #a89cc4;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.privacy-section h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem;
}

.privacy-section p {
    color: #a89cc4;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.privacy-section ul {
    color: #a89cc4;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.privacy-section a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-image {
        margin-left: 0;
        margin-top: 2rem;
    }

    .chicken-emoji {
        font-size: 8rem;
    }

    .features h2,
    .download h2 {
        font-size: 2rem;
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .privacy-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .privacy-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .chicken-emoji {
        font-size: 6rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Selection Styling */
::selection {
    background: var(--primary-color);
    color: white;
}
