:root {
    --primary-color: #FFD700;
    /* Gold */
    --accent-color: #E0E0E0;
    /* Silver/White text */
    --bg-color: #1A1A2E;
    /* Deep Navy Blue */
    --bg-card: #252542;
    /* Lighter Navy for cards */
    --text-color: #E0E0E0;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --font-script: 'Pinyon Script', cursive;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

.script-font {
    font-family: var(--font-script);
    color: var(--primary-color);
}

.gold-text {
    color: var(--primary-color) !important;
}

.text-uppercase-spaced {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: #AAA;
    /* Lighter Grey */
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Starry Background Effect via CSS or Overlay */
.stars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.15;
    z-index: -1;
    animation: twinkle 5s infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.25;
    }

    100% {
        opacity: 0.15;
    }
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    /* Gold glow */
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.main-title {
    font-size: 3.5rem;
    margin-top: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Buttons */
.btn-celestial {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    border-radius: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
}

.btn-celestial:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-decoration: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.btn-celestial-filled {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: var(--bg-color);
    padding: 12px 35px;
    border-radius: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

.btn-celestial-filled:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    color: var(--bg-color);
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-music-celestial {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(26, 26, 46, 0.9);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-music-celestial:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    /* Semi-transparent */
    padding: 15px;
    border-radius: 5px;
    min-width: 80px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #AAA;
}

/* Detail Cards */
.detail-card {
    background: var(--bg-card);
    padding: 40px 20px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.detail-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.time {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 10px 0;
}

/* Padrinos */
.padrinos-box {
    padding: 30px;
    background: var(--bg-card);
    border-radius: 5px;
    display: inline-block;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Dress Code */
.dress-code-text {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.dress-code-icons i {
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* Footer */
.footer-celestial {
    background-color: #0b0b14;
    color: var(--accent-color);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

/* Gift Table */
.btn-gift {
    background: var(--bg-card);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--primary-color);
    padding: 15px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.btn-gift:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

/* Utility */
.bg-soft-blue {
    /* Renamed conceptually but kept class for existing HTML compat first, then replace? Or just override style */
    background-color: var(--bg-card) !important;
}

.bg-soft-green {
    background-color: var(--bg-card) !important;
}

.bg-white {
    background-color: var(--bg-color) !important;
}

.section-padding {
    padding: 80px 0;
}

/* Timeline (Planner) */
.timeline::before {
    background: var(--primary-color);
}

.timeline-content {
    background: var(--bg-card);
    border-color: rgba(255, 215, 0, 0.2);
    color: var(--text-color);
}

.timeline-marker {
    background: var(--bg-color);
    border-color: var(--primary-color);
}