:root {
    --primary: #46ec13;
    --primary-hover: #3bdb0b;
    --bg-light: #f6f8f6;
    --bg-dark: #142210;
    --bg-dark-glass: rgba(20, 34, 16, 0.5);
    --bg-dark-header: rgba(20, 34, 16, 0.8);
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #131811;
    --font-display: 'Manrope', sans-serif;
    --border-light: rgba(255, 255, 255, 0.05);
    --border-white-10: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 15px rgba(70, 236, 19, 0.4);
    --shadow-glow-hover: 0 0 25px rgba(70, 236, 19, 0.6);
    --radius-def: 1rem;
    --radius-2xl: 1.5rem;
    /* rounded-2xl */
    --radius-3xl: 1.5rem;
    /* rounded-3xl roughly or 1.5rem */
    --radius-full: 9999px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-display);
    overflow-x: hidden;
    line-height: 1.5;
}

::selection {
    background-color: var(--primary);
    color: var(--bg-dark);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #2c3928;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Layout Containers */
.app-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.max-w-7xl {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .max-w-7xl {
        padding: 0 2.5rem;
    }
}

@media (min-width: 1024px) {
    .max-w-7xl {
        padding: 0 10rem;
    }
}

/* Confetti System */
/* Confetti System (Dynamic) */
.confetti-dynamic {
    position: fixed;
    top: -20px;
    z-index: 9999;
    pointer-events: none;
    /* Combine fall (vertical) and rotate */
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }

    100% {
        transform: translateY(110vh) rotate(720deg) translateX(20px);
    }
}

/* Note: We will handle sway via varied rotation and random durations in JS, 
   but we can also add a secondary wobble if needed. 
   For now, simple complex rotation is often enough, 
   but let's make it richer with a horizontal drift. 
*/


/* Background Decoration */
.bg-decor-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(70, 236, 19, 0.2);
    border-radius: 50%;
    filter: blur(120px);
}



.confetti-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px), radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
}


.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}



.text-primary {
    color: var(--primary);
}



/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-dark-header);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
    header {
        padding: 1rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    header {
        padding: 1rem 10rem;
    }
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .logo-group {
        gap: 1rem;
    }
}

.logo-icon span {
    font-size: 24px;
}

@media (min-width: 768px) {
    .logo-icon span {
        font-size: 32px;
    }
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        gap: 2rem;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-insta {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    height: 2.25rem;
    padding: 0 1rem;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .btn-insta {
        height: 2.5rem;
        padding: 0 1.5rem;
        font-size: 0.875rem;
    }
}

.btn-insta:hover {
    box-shadow: var(--shadow-glow-hover);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
}


/* Main Content */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 3rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 10rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    order: 2;
}

@media (min-width: 1024px) {
    .hero-content {
        order: 1;
        text-align: left;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 700;
}

@media (min-width: 1024px) {
    .badge {
        justify-content: flex-start;
    }
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), #bbf7d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 500;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .hero-desc {
        margin: 0;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-primary {
    display: flex;
    height: 3.5rem;
    min-width: 160px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(70, 236, 19, 0.5);
    transition: all 0.2s;
    cursor: pointer;
    user-select: none;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-outline {
    display: flex;
    height: 3.5rem;
    min-width: 160px;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
    cursor: pointer;
    user-select: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.image-stack {
    order: 1;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 1024px) {
    .image-stack {
        order: 2;
    }
}

.image-frame-decor {
    position: absolute;
    inset: 0;
    border-radius: 3rem;
    border: 2px solid rgba(70, 236, 19, 0.3);
    transform: translate(1rem, 1rem);
    z-index: -1;
    transition: transform 0.5s;
}

.image-stack:hover .image-frame-decor {
    transform: translate(0.5rem, 0.5rem);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.image-stack:hover .hero-img {
    transform: scale(1.05);
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 34, 16, 0.8), transparent, transparent);
}

.floating-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-circle {
    background: rgba(70, 236, 19, 0.2);
    padding: 0.5rem;
    border-radius: 9999px;
    color: var(--primary);
    display: flex;
}


/* Old Timer Section Removed */
.details-section {
    width: 100%;
    max-width: 64rem;
    padding: 4rem 1rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .details-section {
        padding: 6rem 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-card {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    background: #1e271c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    transition: background 0.3s;
}

.detail-card:hover {
    background: #253022;
}

.card-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    opacity: 0.1;
    transition: opacity 0.3s;
    pointer-events: none;
}

.detail-card:hover .card-bg-icon {
    opacity: 0.2;
}

.card-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(70, 236, 19, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.card-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-text .highlight {
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
}

.card-text .subtext {
    color: rgba(255, 255, 255, 0.7);
}

.map-preview {
    width: 100%;
    height: 8rem;
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    margin-top: auto;
}

.map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.detail-card:hover .map-preview img {
    opacity: 0.8;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

.btn-directions {
    background: white;
    color: black;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}


/* Footer CTA */
.footer-cta {
    width: 100%;
    padding: 5rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    margin-top: auto;
}

.footer-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-title {
    font-size: 1.875rem;
    font-weight: 900;
}

@media (min-width: 768px) {
    .footer-title {
        font-size: 2.25rem;
    }
}

.cta-box {
    padding: 0.25rem;
    padding-right: 0.25rem;
    border-radius: 9999px;
    background: linear-gradient(to right, rgba(70, 236, 19, 0.5), rgba(70, 236, 19, 0.2));
}

.btn-visit {
    display: flex;
    min-width: 200px;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--bg-dark);
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    border: 1px solid var(--primary);
    transition: all 0.3s;
}

.btn-visit:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.footer-icons {
    padding-top: 2.5rem;
    display: flex;
    gap: 1.5rem;
    opacity: 0.4;
}

/* Utilities */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- New Additions --- */

/* Slideshow */
.slideshow-wrapper {
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Status Message (Top Bar) */
.status-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(70, 236, 19, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Old Intermediate Timer Fixes Removed */

/* --- Timer Section Restore --- */
.timer-section {
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
}

.timer-container {
    width: 100%;
    max-width: 800px;
}

.timer-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    /* Curves */
    padding: 2rem;
    text-align: center;
    overflow: hidden;
    /* Ensure consistency */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Horizontal Layout for Desktop */
@media (min-width: 768px) {
    .timer-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 3rem 4rem;
        text-align: left;
    }

    .timer-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Wrap the header text in a div in HTML or handle via specificity */
    .timer-card>h3,
    .timer-card>p {
        text-align: left;
        margin: 0;
    }
}

.ribbon {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.timer-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timer-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* Allow expanding */
    width: auto;
    min-width: fit-content;
}

.time-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    /* Increased horizontal padding */
    padding: 1rem 1.5rem;
    min-width: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.number-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
}

.unit-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* Green Theme Override */
.countdown-main .time-box {
    border-color: rgba(70, 236, 19, 0.3);
    background: linear-gradient(to bottom, rgba(70, 236, 19, 0.05), transparent);
}

.countdown-main .number-value {
    color: var(--primary);
}

/* Mobile Responsiveness for Timer */
@media (max-width: 640px) {
    .timer-card {
        padding: 1.5rem 1rem;
        gap: 1rem;
        border-radius: 1rem;
    }

    .timer-label {
        font-size: 1.25rem;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid on mobile */
        gap: 0.75rem;
    }

    .time-box {
        padding: 0.75rem 0.25rem;
    }

    .number-value {
        font-size: 1.25rem;
    }

    .unit-label {
        font-size: 0.65rem;
    }

    .ribbon {
        right: -35px;
        top: 10px;
        transform: rotate(45deg) scale(0.8);
    }
}

/* Post-Event Memories Section */
.memories-section {
    padding: 4rem 1rem 2rem 1rem;
    max-width: 64rem;
    margin: 0 auto;
    width: 100%;
}

/* Highlights */
.highlights-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 220px;
}

.highlight-item .icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.highlight-text {
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}