html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: #0b132b;
    touch-action: manipulation; /* Prevents double-tap zoom and pinch zoom in some browsers */
}

html {
    background-color: #0b132b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

:root {
    --primary-color: #0b132b;
    --secondary-color: #1c2541;
    --accent-light-blue: #80d8ff;
    --accent-blue: #1d3557;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --metallic-gradient: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    --gold-gradient: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    background: linear-gradient(-45deg, #0b132b, #1c2541, #1a2a4c, #0d1b33);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

.hazy-circle {
    position: fixed;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    animation: floatHazy 20s infinite alternate ease-in-out;
    will-change: transform;
}

.circle-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-light-blue) 0%, transparent 70%);
    top: -15%;
    left: -15%;
    animation-delay: 0s;
}

.circle-2 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
    bottom: 5%;
    right: -15%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.circle-3 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #40c4ff 0%, transparent 70%);
    top: 35%;
    left: 25%;
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes floatHazy {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40vw, 30svh) scale(1.2); }
    100% { transform: translate(-20vw, 50svh) scale(0.8); }
}

/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-light-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    background-color: var(--primary-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Typography */
h1, h2, h3, .title, .subtitle {
    font-family: 'Outfit', sans-serif;
}

.gradient-text {
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Desktop Navigation */
.main-header {
    position: fixed;
    top: 0 !important;
    left: 0;
    margin-top: 0 !important;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(11, 19, 43, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 4rem; /* Controls distance from logo to nav blocks */
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 3rem;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.header-logo {
    flex: 0 0 auto;
}

.header-icon {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

.header-icon:hover {
    color: var(--accent-light-blue);
    transform: translateY(-2px);
}

.mobile-only {
    display: none;
}

.desktop-nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.desktop-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light-blue);
    transition: width 0.3s ease;
}

.desktop-nav-link:hover::after {
    width: 100%;
}

.desktop-nav-link:hover {
    color: var(--accent-light-blue);
}

.header-logo a, .nav-overlay a {
    text-decoration: none;
    display: block;
}

.header-logo img {
    max-width: 120px;
    height: auto;
    display: block;
}

.main-wrapper {
    position: relative;
    width: 100%;
}

.pattern-bg {
    position: absolute;
    top: 100vh;
    left: 0;
    width: 100%;
    height: calc(100% - 100vh);
    background-image: url('../assets/sports-pattern.png');
    background-repeat: repeat;
    background-size: 500px;
    opacity: 0.05; /* Refined for a more subtle premium feel */
    pointer-events: none;
    z-index: 1;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    z-index: 1;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(5,11,20,0.2) 0%, rgba(5,11,20,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    pointer-events: none;
    margin-top: -15svh;
}

.hero-logo {
    max-width: 220px;
    opacity: 0;
    transform: translateY(30px);
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
    margin-bottom: 2rem;
    position: relative;
    top: -5svh;
    display: none;
}

.title {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 12px;
    color: var(--accent-light-blue);
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(30px);
}

/* Layered Assets */
.hero-person {
    position: absolute;
    bottom: -5%;
    left: auto;
    right: 5%;
    transform: none;
    height: 80svh;
    object-fit: contain;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
}

.floating-asset {
    position: absolute;
    z-index: 6;
    pointer-events: none;
    will-change: transform;
    opacity: 0;
}

.balloons-left {
    top: 5%;
    left: 2%;
    width: 30vw;
    max-width: 350px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}

.balloons-right {
    top: 10%;
    right: 10%;
    width: 25vw;
    max-width: 300px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
}

.basketball {
    bottom: 15%;
    left: 10%;
    width: 12vw;
    max-width: 150px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

.football {
    bottom: 25%;
    left: 22%;
    width: 10vw;
    max-width: 120px;
    transform: rotate(-15deg);
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

.baseball {
    bottom: 25%;
    right: 35%;
    width: 8vw;
    max-width: 100px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.7));
}

.details {
    position: relative;
    padding: 8rem 0 4rem;
    background: transparent;
    z-index: 5;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

.details-grid .full-width {
    grid-column: 1 / -1;
}

.detail-item {
    text-align: center;
}

.detail-item h3 {
    font-size: 1.2rem;
    color: var(--accent-light-blue);
    letter-spacing: 6px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.detail-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4rem 2rem;
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.detail-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.detail-box:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.detail-box:hover::before {
    opacity: 1;
}

.detail-box .highlight {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.detail-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* RSVP Section */
.rsvp {
    position: relative;
    padding: 4rem 0;
    background: transparent;
    text-align: center;
    z-index: 5;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.rsvp-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.btn-rsvp {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: var(--text-primary);
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    margin-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.btn-rsvp::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-rsvp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: var(--accent-light-blue);
    color: white;
}

/* Contact Section */
.contact {
    position: relative;
    padding: 10rem 0 8rem;
    background: transparent;
    text-align: center;
    z-index: 20;
}

.contact-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-light-blue);
    background: rgba(255, 255, 255, 0.1);
}

.btn-rsvp:hover::after {
    transform: translateX(100%);
}

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.qr-code {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    padding: 15px;
    background: white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-code:hover {
    transform: scale(1.05) rotate(2deg);
}

.scan-me {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--accent-light-blue);
    font-size: 1.4rem;
    text-transform: uppercase;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    margin-top: 1.5rem;
    gap: 1.5rem;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

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

.time-val {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-light-blue);
    margin-top: 0.3rem;
}

/* Merch Section */
.merch {
    position: relative;
    z-index: 5;
    padding: 6rem 0;
}

.coming-soon-text {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

/* Staggered Masonry Logic (Explicit Alternating Pattern) */
/* Flexible Masonry Classes */
.product-card {
    grid-column: span 1;
    grid-row: span 1;
}

.product-card.featured-right { 
    grid-column: 2 / span 2; 
    grid-row: span 2; 
    aspect-ratio: 1 / 1;
    min-height: 500px;
}

.product-card.featured-left { 
    grid-column: 1 / span 2; 
    grid-row: span 2; 
    aspect-ratio: 1 / 1;
    min-height: 500px;
}

.product-card.featured-full {
    grid-column: 1 / span 3;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 600px;
    background: rgba(255, 255, 255, 0.05);
}

.product-card.featured-full img {
    padding: 3rem;
    width: 80%;
    left: 10%;
}

.product-card.featured-left img,
.product-card.featured-right img {
    padding: 0.5rem;
}

.product-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keep images uncropped */
    padding: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card .product-info {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    margin: -1.2rem;
    padding: 2rem 1.2rem 1.2rem;
    width: calc(100% + 2.4rem);
}

.product-card:hover {
    transform: translateY(-10px);
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-light-blue);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    color: white;
}

.product-info .price {
    font-size: 0.9rem;
    color: var(--accent-light-blue);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 768px) {
    .coming-soon-text {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-card:nth-child(n) {
        grid-row: span 1;
        grid-column: span 1;
        aspect-ratio: 1 / 1;
        min-height: auto;
    }

    .product-card img {
        padding: 1rem;
    }

    .product-card {
        padding: 1rem;
    }
}

/* RSVP Form & Counter */
.guests-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
}

.guests-picker::after {
    content: '▼';
    position: absolute;
    right: calc(50% - 60px);
    bottom: 12px;
    font-size: 0.7rem;
    color: var(--accent-light-blue);
    pointer-events: none;
}

.guests-picker label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light-blue);
}

.guests-picker select {
    width: 100%;
    max-width: 150px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.guests-picker select:focus {
    outline: none;
    border-color: var(--accent-light-blue);
}

.counter-wrapper {
    text-align: center;
}

.stat-number {
    font-size: 6rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    background: var(--metallic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -2px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--accent-light-blue);
    margin-top: 1.5rem;
    text-transform: uppercase;
}

.scroll-down {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-down span {
    font-size: 0.7rem;
    letter-spacing: 4px;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.6;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    z-index: 5;
    width: 100%;
    overflow: hidden;
    padding: 6rem 0;
    background: transparent;
}

.gallery-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.gallery-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: marquee 80s linear infinite;
}

.gallery-track img {
    height: 380px !important;
    width: 380px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-track img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    z-index: 2;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-container {
    transform: scale(1);
}

.lightbox img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: white;
    font-size: 3.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
    transition: transform 0.3s ease, color 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--accent-light-blue);
}

.scroll-down .arrow {
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--accent-light-blue);
    border-right: 2px solid var(--accent-light-blue);
    transform: rotate(45deg);
    animation: arrowBounce 2s infinite;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.4; }
    40% { transform: translateY(10px) rotate(45deg); opacity: 1; }
    60% { transform: translateY(5px) rotate(45deg); opacity: 0.8; }
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
}

.hamburger {
    position: absolute;
    top: 3svh;
    right: 5vw;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hamburger span {
    width: 18px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    bottom: 0;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-logo {
    position: absolute;
    top: 4svh;
    left: 50%;
    max-width: 120px;
    width: 100%;
    opacity: 0;
    transform: translate(-50%, -20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0s;
}

.nav-overlay.active .menu-logo {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.2s;
}

.nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.1s;
    margin-top: 5svh;
}

.nav-overlay.active .nav-content {
    transform: translateY(0);
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    transition: color 0.3s;
}

.nav-link:active, .nav-link:hover {
    color: var(--accent-light-blue);
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1366px) {
    .title { font-size: 4.5rem; }
    .hero-person { height: 75svh; }
    .balloons-left { left: -9%; }
    .balloons-right { right: -6%; }
}

@media (max-width: 768px) {
    .title {
        font-size: 3.2rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 6px;
    }
    
    .countdown-timer {
        display: flex;
        gap: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .time-val {
        font-size: 2rem;
    }

    .time-label {
        font-size: 0.7rem;
    }

    .mobile-nav {
        display: block;
    }

    .main-header {
        display: block;
        background: transparent;
        border-bottom: none;
        padding: 2rem 0;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 5vw;
        gap: 0;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .account-icon.mobile-only {
        position: relative;
        z-index: 10;
    }

    .account-icon.mobile-only svg, 
    .cart-icon.mobile-only svg {
        width: 28px;
        height: 28px;
    }

    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .cart-icon.mobile-only {
        position: absolute;
        right: 22vw; /* Moved further left to clear hamburger */
        z-index: 10;
    }

    .header-logo img {
        max-width: 120px;
        margin: 0 auto;
    }

    .hero-person {
        height: 45svh;
        width: 100%;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        margin: auto;
        transform: none;
    }
    
    .hero {
        align-items: flex-start;
    }
    
    .hero-content {
        margin-top: 0;
        padding-top: 10svh;
        width: 100%;
    }

    .hero-logo {
        max-width: 150px;
        margin-bottom: 0;
        top: 0;
        display: block;
    }

    .title-wrapper {
        margin-top: 4svh;
    }

    .scroll-down {
        margin-top: 1.5rem;
    }

    .balloons-left { width: 25vw; top: 60svh; left: -4%; opacity: 0.8; z-index: 1; }
    .balloons-right { width: 30vw; top: 60svh; right: -10%; opacity: 0.8; }
    .basketball { width: 20vw; left: 5%; bottom: 10%; }
    .football { width: 15vw; left: 20%; bottom: 15%; }
    .baseball { width: 12vw; left: 15%; bottom: 18%; z-index: 5; }

    .section-title { font-size: 2.8rem; }

    .btn-rsvp {
        font-size: 1.2rem;
        padding: 1.2rem 2.5rem;
    }
    
    .details { padding: 6rem 0 3rem; }
    .rsvp { padding: 3rem 0; }
    .contact { padding: 6rem 0 6rem; }
    
    .stat-number {
        font-size: 4rem;
        letter-spacing: -1px;
    }

    .stat-label {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .guests-picker select {
        background: rgba(255, 255, 255, 0.1); /* Slightly more visible on mobile */
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    .detail-box { 
        padding: 3rem 1.5rem; 
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.08);
    }
    
    /* Disable custom cursor on mobile */
    .cursor, .cursor-follower { display: none; }
    body { 
        cursor: auto; 
        animation: none;
        background-position: 0% 50%;
    }
    
    /* Disable extremely expensive drop-shadow rendering on mobile PNGs */
    .hero-person, .floating-asset, .baseball, .football, .basketball, .balloons-left, .balloons-right {
        filter: none !important;
    }

    /* Native GPU-accelerated bobbing for mobile */
    @keyframes cssFloat {
        0% { transform: translateY(0) rotate(-4deg); }
        100% { transform: translateY(-15px) rotate(4deg); }
    }
    
    .floating-asset {
        animation: cssFloat 3s infinite alternate ease-in-out !important;
    }
    .balloons-left { animation-delay: 0s !important; }
    .balloons-right { animation-delay: 0.5s !important; }
    .basketball { animation-delay: 1s !important; }
    .football { animation-delay: 1.5s !important; }
    .baseball { animation-delay: 2s !important; }

    .gallery-track {
        animation-duration: 70s;
    }

    .gallery-track img {
        height: 220px !important;
        width: 220px !important;
        aspect-ratio: 1 / 1 !important;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
    }
}

/* Footer Styling */
.main-footer {
    padding: 3rem 0;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 10;
}

.main-footer p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0 1rem 0;
}

.footer-admin-link {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-admin-link:hover {
    color: var(--accent-light-blue);
    transform: translateY(-2px);
}

/* Cart Badge */
.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #ff3e3e; /* Rookie Red */
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #050b14;
    box-shadow: 0 4px 10px rgba(255, 62, 62, 0.4);
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000001; /* Above cursor */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: none;
}

@media (max-width: 768px) {
    .toast-container {
        top: 100px;
        bottom: auto;
        right: 20px;
        left: 20px;
        align-items: center;
    }
    .toast {
        width: 100%;
        max-width: 400px;
        transform: translateY(-120%);
        justify-content: center;
    }
    .toast.active {
        transform: translateY(0);
    }
}

.toast {
    background: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(128, 216, 255, 0.3);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.toast.active {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-light-blue);
    background: rgba(128, 216, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* --- Added Responsive Utilities for Cart, Checkout, Account --- */

@media (max-width: 768px) {
    /* Product Container */
    .product-container {
        padding: 1rem !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .product-image {
        max-width: 100% !important;
        aspect-ratio: 1/1;
    }
    
    .product-details h1 {
        font-size: 2.2rem !important;
    }

    /* Cart Page */
    .cart-container {
        padding: 1rem !important;
    }
    
    .cart-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 2rem 1rem !important;
        gap: 1.5rem !important;
    }
    
    .cart-item img {
        width: 150px !important;
        height: 150px !important;
        margin: 0 auto;
    }
    
    .cart-info {
        width: 100%;
    }
    
    .cart-remove {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 1.5rem;
    }
    
    .cart-summary {
        text-align: center !important;
        padding: 2rem 1rem !important;
    }
    
    .total-amount {
        font-size: 1.8rem !important;
        display: block;
        margin-top: 0.5rem;
    }
    
    .btn-checkout {
        width: 100%;
        padding: 1.2rem !important;
    }

    /* Checkout Page */
    .checkout-grid {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
        gap: 2rem !important;
    }
    
    .checkout-section {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .summary-total {
        font-size: 1.4rem !important;
    }

    /* Account Page */
    .account-container {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
        gap: 1.5rem !important;
    }
    
    .account-nav {
        flex-direction: row !important;
        overflow-x: auto !important;
        padding-bottom: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tab {
        white-space: nowrap !important;
        padding: 0.8rem 1.2rem !important;
        font-size: 0.8rem !important;
        flex: 0 0 auto;
    }
    
    .account-content {
        padding: 1.5rem !important;
        min-height: auto !important;
    }
    
    .order-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .order-card > div:last-child {
        text-align: left !important;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Auth Pages (Login/Signup) */
    .auth-card {
        padding: 2rem 1.5rem !important;
        margin: 1rem !important;
    }
    
    .auth-card h1 {
        font-size: 1.8rem !important;
    }
}

