@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/Inter-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/Inter-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/PlayfairDisplay-Bold.ttf') format('truetype');
}

:root {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --primary-color: #fbbf24;
    /* Amber/Gold */
    --secondary-color: #1e293b;
    --accent-color: #38bdf8;
    /* Light Blue */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    padding: var(--spacing-md) 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary-color);
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* News Ticker */
.ticker-container {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.meditation-ticker {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: min(100%, 960px);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.meditation-ticker__label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    white-space: nowrap;
}

.meditation-ticker__viewport {
    position: relative;
    overflow: hidden;
    flex: 1;
    height: 1.8em;
}

#meditation-ticker-list {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 100%;
    width: max-content;
    animation: ticker-scroll var(--ticker-duration, 40s) linear infinite;
    will-change: transform;
}

#meditation-ticker-list li {
    flex: 0 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#meditation-ticker-list li + li::before {
    content: '•';
    color: #94a3b8;
}

#meditation-ticker-list a {
    color: var(--text-color);
    text-decoration: none;
    display: block;
}

#meditation-ticker-list a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .meditation-ticker {
        border-radius: 14px;
        padding: 0.75rem 1rem;
    }

    #meditation-ticker-list li {
        font-size: 0.9rem;
    }
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .meditation-ticker__label {
        display: none;
    }
}

/* News Section */
.news-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0b1222 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.news-card {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(251, 191, 36, 0.5);
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--primary-color);
    background: rgba(251, 191, 36, 0.12);
    width: fit-content;
}

.news-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

.news-card p {
    color: #cbd5e1;
}

.news-source {
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.news-source:hover {
    text-decoration: underline;
}

/* Breathe Section */
.breathe-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background-color: var(--secondary-color);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: #94a3b8;
    margin-bottom: var(--spacing-lg);
}

.breathing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    position: relative;
}

.circle-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-color);
    position: absolute;
    z-index: 2;
    transform: scale(0.3);
    transition: transform 4s ease-in-out;
}

.gradient-circle {
    width: 110%;
    height: 110%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--accent-color), var(--primary-color));
    position: absolute;
    z-index: 1;
    filter: blur(20px);
    opacity: 0.5;
    animation: spin 10s linear infinite;
}

.circle.grow {
    transform: scale(1);
}

.circle.shrink {
    transform: scale(0.3);
}

#breath-text {
    position: absolute;
    z-index: 3;
    font-size: 1.5rem;
    font-weight: 500;
    pointer-events: none;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-lg) 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    background-color: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.benefit-card p {
    color: #94a3b8;
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    background-color: #020617;
    text-align: center;
    margin-top: var(--spacing-lg);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: var(--spacing-sm);
    font-size: 0.8rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Simple mobile hide for now, could add hamburger later */
    }
}

/* Kids Page Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.kids-card-float {
    animation: float 4s ease-in-out infinite;
}

/* Stagger animations for cards */
.kids-card-float:nth-child(1) {
    animation-delay: 0s;
}

.kids-card-float:nth-child(2) {
    animation-delay: 1s;
}

.kids-card-float:nth-child(3) {
    animation-delay: 2s;
}

.kids-hero-pulse {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-color);
    font-size: 2rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
    cursor: pointer;
    text-decoration: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}
