:root {
    --primary-blue: #0a0e29;
    /* Very dark blue for night sky feel */
    --accent-gold: #FFD700;
    --text-light: #F0F0F0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--primary-blue);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.btn-gold {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: none;
    padding: 12px 30px;
    color: #000;
    font-family: var(--font-heading);
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 50px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: #000;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    background-image: url('assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(10, 14, 41, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-out;
}

.main-title {
    font-size: 5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    opacity: 0.7;
}

/* Wisdom Section */
.wisdom-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--primary-blue), #050714);
    position: relative;
}

.section-title {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
}

.quote-text {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 30px;
    font-family: var(--font-heading);
    line-height: 1.4;
}

.quote-source {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 40px;
}

/* Chanting Section */
.chanting-section {
    padding: 100px 0;
    background-image: url('assets/flute-bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.chanting-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 41, 0.9);
}

.chanting-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mantra-circle {
    width: 250px;
    height: 250px;
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
    user-select: none;
}

.mantra-circle:active {
    transform: scale(0.95);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
}

.mantra-circle.pulse {
    animation: pulse-gold 0.5s ease-out;
}

#counter {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--text-light);
}

.label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.instruction {
    margin-top: 20px;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #050714;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Flower Offering Section */
.offering-section {
    padding: 100px 0;
    background: linear-gradient(to top, var(--primary-blue), #050714);
    min-height: 600px;
}

.altar-area {
    width: 100%;
    height: 400px;
    border-bottom: 2px solid var(--accent-gold);
    position: relative;
    margin-top: 30px;
    cursor: pointer;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.offered-flower {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url('assets/flower.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatDown 2s ease-out forwards, gentleFloat 3s infinite ease-in-out alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

@keyframes floatDown {
    from {
        transform: translateY(-50px) scale(0.5);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes gentleFloat {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Meditation Section */
.meditation-section {
    padding: 100px 0;
    background-color: #050714;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breathing-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-blue), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.1);
    position: relative;
    transition: transform 4s ease-in-out;
    /* Matches breathing cycle */
}

.breathing-circle::before {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    background: #050714;
    border-radius: 50%;
}

#breath-text {
    position: relative;
    z-index: 2;
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

.breathing-circle.inhale {
    transform: scale(1.2);
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.3);
}

.breathing-circle.exhale {
    transform: scale(1.0);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }

    .glass-card {
        padding: 30px;
    }

    .quote-text {
        font-size: 1.4rem;
    }
}