:root {
    --bg-dark: #0a080d;
    --text-light: #fff5e6;
    --text-muted: #d0c8b8;
    --accent-orange: #f97316;
    --accent-amber: #fbbf24;
    --glass-bg: rgba(30, 25, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Sunset Glow Background Effect */
.glow-bg {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(251, 191, 36, 0.05) 40%, rgba(10, 8, 13, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.header {
    padding: 2rem 2rem;
    width: 100%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.event-info-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: fadeIn 1.5s ease-out;
}

@media (min-width: 768px) {
    .event-info-top {
        align-items: flex-end;
    }
}

.event-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.event-date svg {
    color: var(--accent-orange);
    width: 16px;
    height: 16px;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3rem;
}

.time-block span {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1;
}

.time-block small {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.35rem;
}

.cd-colon {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.7rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    text-align: center;
    max-width: 800px;
    margin-bottom: 1.5rem;
    padding: 2rem 1rem;
    animation: fadeIn 1.5s ease-out;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 140%;
    background-image: url('logo.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 75%);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 400;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-white {
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 10px 25px -5px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background-color: #e6e6e6;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(255, 255, 255, 0.3);
    color: #000000;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1ebc5a;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.registration {
    width: 100%;
    max-width: 680px;
    animation: slideUp 1s ease-out 0.5s both;
}

/* Glassmorphism Card */
.registration-card.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

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

.registration-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #ffffff;
}

.registration-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.iframe-container {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
}

/* Ensure iframe doesn't overflow on small screens */
.iframe-container iframe {
    max-width: 100%;
    background-color: transparent;
}

.footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer p {
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icon {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--accent-orange);
    transform: translateY(-3px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@media (max-width: 768px) {
    .registration-card.glass {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .hero {
        margin-bottom: 1.5rem;
        padding-bottom: 0;
    }
}