:root {
    --primary-color: #4E342E;
    /* Chocolate Brown */
    --accent-color: #D2691E;
    /* Richer Chocolate/Caramel */
    --bg-color: #FFF1DC;
    /* Cream */
    --text-color: #2D1B17;
    --text-muted: #6D4C41;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(78, 52, 46, 0.15);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    /* Hide default for custom cursor */
}

/* --- Background Animations --- */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background-color: #E6D5B8;
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background-color: #D7CCC8;
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background-color: #BCAAA4;
    top: 50%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* --- Marquee Background --- */
.marquee-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    opacity: 0.5;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    pointer-events: none;
}

body:hover .marquee-bg {
    opacity: 1;
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    user-select: none;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 6rem;
    /* Space between images */
    padding-right: 6rem;
    /* Must match gap for seamless transition */
    animation: marquee-scroll 40s linear infinite;
}

.marquee-row:nth-child(2) .marquee-content {
    animation: marquee-scroll-reverse 35s linear infinite;
}

.marquee-content img {
    height: 100px;
    width: auto;
    filter: grayscale(100%) contrast(50%);
    transition: all 0.6s ease;
}

body:hover .marquee-bg img {
    filter: grayscale(0%) contrast(100%);
}

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

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

@keyframes marquee-scroll-reverse {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

/* --- Container & Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 10;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 5rem 2rem;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px var(--shadow-color);
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- Logo & Header --- */
.logo-area {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 20px var(--shadow-color));
    animation: floating 3s ease-in-out infinite;
}

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

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

    100% {
        transform: translateY(0px);
    }
}

.logo-area h1 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.logo-area h1 span {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero-section {
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-section h2 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-section .highlight {
    background: linear-gradient(120deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-section .tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Countdown --- */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 600px;
}

.countdown-containerLive {
    display: block !important;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 600px;
}

.countdown-item {
    background: white;
    padding: 1.5rem 0.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item .number {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-color);
}

.countdown-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

.live-text {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(45deg, #4E342E, #8D6E63, #D2691E, #FFB300, #5D4037);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite, live-pulse 2s infinite;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: block;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes live-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Social Links --- */
.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(8deg);
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor::after {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 3rem 1.5rem;
        margin-top: 2rem;
        border-radius: 30px;
    }

    .hero-section h2 {
        font-size: 2.25rem;
    }

    .hero-section .tagline {
        font-size: 1rem;
    }

    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .countdown-item {
        padding: 1rem 0.5rem;
    }

    .custom-cursor {
        display: none;
    }

    body {
        cursor: default;
    }

    .main-logo {
        width: 160px;
    }

    .marquee-content img {
        height: 60px;
    }

    .marquee-content {
        gap: 3rem;
        padding-right: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-section h2 {
        font-size: 1.8rem;
    }

    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
    }
}