/* EGGEO DARK THEME v2 - Shared across all pages */

/* ─── VARIABLES ─── */
:root {
    --primary: #ff8c42;
    --primary-light: #ffb347;
    --bg: #0f0f1a;
    --bg-elevated: #16162a;
    --bg-card: rgba(255,255,255,0.04);
    --text: #f0f0f5;
    --text-muted: #a0a0b8;
    --border: rgba(255,255,255,0.08);
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.12);
    --shadow-glow: 0 0 40px rgba(255,140,66,0.15);
    --radius: 24px;
    --radius-sm: 16px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ─── BASE ─── */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── AURORA BACKGROUND ─── */
.aurora-bg {
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255,140,66,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(255,179,71,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 50% 80%, rgba(255,140,66,0.06) 0%, transparent 60%),
        #0f0f1a;
    pointer-events: none;
}

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none; opacity: 0.025;
    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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── HEADER ─── */
header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(15,15,26,0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
.header-content {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
    height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--text);
}
.logo-icon {
    width: 40px; height: 52px;
    background: linear-gradient(135deg, #fff5eb 0%, #fff 100%);
    border-radius: 50% 50% 44% 44% / 60% 60% 40% 40%;
    box-shadow: 0 0 0 3px rgba(255,245,235,0.95) inset;
    display: flex; align-items: center; justify-content: center;
}
.logo-yolk {
    width: 22px; height: 22px;
    background: radial-gradient(circle at 50% 45%, #ffb238 0%, #ff971a 65%);
    border-radius: 50%;
}
.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em;
}
.logo-text span { color: var(--primary); }

nav ul {
    display: flex; gap: 8px; list-style: none; align-items: center;
}
nav a {
    text-decoration: none; color: var(--text-muted);
    font-weight: 500; font-size: 0.95rem;
    padding: 8px 16px; border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-highlight {
    color: var(--primary) !important;
    background: rgba(255,140,66,0.1) !important;
}
.nav-highlight:hover { background: rgba(255,140,66,0.18) !important; }

.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white; padding: 10px 22px; border-radius: 100px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(255,140,66,0.3);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,140,66,0.4);
}

/* ─── FLOATING EGGS ─── */
.egg-particles {
    position: absolute; inset: 0; overflow: hidden;
    pointer-events: none; z-index: 0;
}
.egg {
    position: absolute; width: 40px; height: 52px;
    background: linear-gradient(135deg, rgba(255,245,235,0.08) 0%, rgba(255,255,255,0.03) 100%);
    border-radius: 50% 50% 44% 44% / 60% 60% 40% 40%;
    box-shadow: 0 0 0 2px rgba(255,140,66,0.08) inset, 0 4px 20px rgba(255,140,66,0.06);
    animation: egg-float linear infinite;
}
.egg::after {
    content: ''; position: absolute; top: 35%; left: 50%;
    transform: translate(-50%, -50%); width: 22px; height: 22px;
    background: radial-gradient(circle at 50% 45%, rgba(255,178,56,0.2) 0%, rgba(255,151,26,0.08) 65%);
    border-radius: 50%;
}
.egg:nth-child(1) { left: 5%; top: 15%; animation-duration: 18s; animation-delay: 0s; }
.egg:nth-child(2) { left: 12%; top: 65%; animation-duration: 22s; animation-delay: -5s; }
.egg:nth-child(3) { left: 20%; top: 30%; animation-duration: 20s; animation-delay: -10s; }
.egg:nth-child(4) { left: 78%; top: 20%; animation-duration: 24s; animation-delay: -3s; }
.egg:nth-child(5) { left: 85%; top: 55%; animation-duration: 19s; animation-delay: -8s; }
.egg:nth-child(6) { left: 92%; top: 80%; animation-duration: 21s; animation-delay: -12s; }
.egg:nth-child(7) { left: 35%; top: 75%; animation-duration: 25s; animation-delay: -6s; }
.egg:nth-child(8) { left: 65%; top: 10%; animation-duration: 17s; animation-delay: -15s; }
.egg:nth-child(9) { left: 50%; top: 85%; animation-duration: 23s; animation-delay: -2s; }
.egg:nth-child(10) { left: 8%; top: 45%; animation-duration: 26s; animation-delay: -9s; }
.egg:nth-child(11) { left: 88%; top: 35%; animation-duration: 20s; animation-delay: -14s; }
.egg:nth-child(12) { left: 45%; top: 5%; animation-duration: 28s; animation-delay: -7s; }
@keyframes egg-float {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
    75% { transform: translateY(-40px) rotate(8deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ─── GLASS CARDS ─── */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.glass-card-sm {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

/* ─── SECTION LABELS ─── */
.section-label {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--primary); margin-bottom: 16px;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw + 0.5rem, 3rem);
    font-weight: 700; color: var(--text);
    letter-spacing: -0.02em; line-height: 1.2;
}

/* ─── FOOTER ─── */
footer {
    background: rgba(10,10,20,0.9);
    border-top: 1px solid var(--border);
    padding: 64px 24px 32px;
}
.footer-content {
    max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 64px; margin-bottom: 64px;
}
.footer-section h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    margin-bottom: 32px; color: var(--primary);
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 10px; }
.footer-section a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.9rem; transition: color 0.3s;
}
.footer-section a:hover { color: var(--primary); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    text-align: center; padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted); font-size: 0.85rem;
}

/* ─── SCROLL ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.visible { animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ─── CONTENT STYLES FOR BLOG/RECIPES ─── */
.page-content {
    max-width: 800px; margin: 0 auto;
    padding: 64px 24px;
}
.page-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem; color: var(--text);
    margin-bottom: 20px; line-height: 1.2;
}
.page-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem; color: var(--text);
    margin: 48px 0 20px;
}
.page-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem; color: var(--primary);
    margin: 32px 0 16px;
}
.page-content p {
    color: var(--text-muted); margin-bottom: 16px;
    line-height: 1.8;
}
.page-content a { color: var(--primary); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
.page-content strong { color: var(--text); }
.page-content ul, .page-content ol {
    margin-left: 24px; margin-bottom: 16px;
    color: var(--text-muted);
}
.page-content li { margin-bottom: 8px; }
.page-content img {
    width: 100%; border-radius: var(--radius-sm);
    margin: 24px 0;
}

/* ─── INGREDIENTS / STEPS CARDS ─── */
.ingredients-dark {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px; border-radius: var(--radius-sm);
    margin: 24px 0;
}
.ingredients-dark ul { list-style: none; margin: 0; }
.ingredients-dark li {
    padding: 10px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
    color: var(--text-muted);
}
.ingredients-dark li:last-child { border-bottom: none; }
.ingredients-dark li::before {
    content: "✓"; color: var(--primary); font-weight: bold;
}

.steps-dark .step {
    display: flex; gap: 20px; margin-bottom: 24px;
    padding: 24px; background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.step-number {
    width: 40px; height: 40px;
    background: var(--primary); color: white;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    font-weight: bold; flex-shrink: 0;
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    nav { display: none; }
    .header-content { padding: 0 16px; height: 64px; }
    .footer-content { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .page-content { padding: 32px 16px; }
    .steps-dark .step { flex-direction: column; }
}
