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

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');

body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 100vw;
    height: 100vh;
    z-index: -1;
    object-fit: cover;
}

/* Mobile video adjustment */

.logo-overlay {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 50vw;
    max-width: 600px;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

.center-logo {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.center-logo.shadow {
    transform: translate(2px, 2px);
    z-index: 1;
    filter: brightness(0) saturate(100%) invert(13%) sepia(96%) saturate(7471%) hue-rotate(356deg) brightness(91%) contrast(135%);
}

.center-logo.main {
    z-index: 2;
}

.temple-logo {
    position: fixed;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 36vw;
    max-width: 360px;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.9));
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Temple logo animations - removed spin/flip, keeping only RSE-3 glitch */

.temple-logo img {
    width: 100%;
    height: auto;
}

/* Intro text between temple and stamps */
.intro-text {
    position: absolute;
    top: 630px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 550px;
    width: 550px;
    text-align: center;
    padding: 0;
}

.intro-text p {
    color: white;
    font-size: 1.21rem;
    line-height: 1.6;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 1), 0 0 15px rgba(0, 0, 0, 0.8);
    margin: 0;
    text-align: justify;
}

.forever-image {
    display: inline-block;
    height: 2.33rem;
    width: auto;
    vertical-align: baseline;
    position: relative;
    top: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.forever-image:hover {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.6));
    transform: scale(1.05);
    cursor: pointer;
}

.bouncing-element {
    position: fixed;
    z-index: 0;
    pointer-events: auto;
    text-decoration: none;
}

.bouncing-element img {
    width: 120px;
    height: auto;
    opacity: 1;
}

#love img {
    width: 150px;
}

/* Mobile responsive */

/* Text content overlay */
.text-content {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 800px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.main-header {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    position: relative;
    top: -40px;
}

.description {
    padding: 0.5rem;
}

/* Home page countdown timer */
.home-countdown {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* Home page email signup */
.home-email-signup {
    position: absolute;
    top: 990px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.signup-container {
    display: flex;
    width: 404px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.signup-container input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 1rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
}

.signup-container input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-container button {
    flex-shrink: 0;
    padding: 0.8rem 1.5rem;
    background: black;
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.signup-container button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.timer-display {
    font-size: 3.84rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: red;
    padding: 0.4rem 1.2rem;
    display: inline-block;
    width: 400px;
    text-align: center;
}

.countdown-bottom {
    position: absolute;
    top: 870px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.countdown-timer {
    font-size: 3.84rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: red;
    padding: 0.4rem 1.2rem;
    display: inline-block;
    width: 400px;
    text-align: center;
}

/* Countdown effect animations */
.countdown-timer.flicker {
    animation: flicker 0.5s ease-in-out;
}

.countdown-timer.pulse {
    animation: pulse 2s ease-in-out;
}

.countdown-timer.invert {
    filter: invert(1);
    animation: invert-flash 5s ease-in-out;
}

.countdown-timer.glitch {
    animation: glitch 1s ease-in-out;
}

.countdown-timer.distort {
    animation: distort 3s ease-in-out;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    10% { opacity: 0.3; }
    20% { opacity: 1; }
    30% { opacity: 0.5; }
    40% { opacity: 1; }
    50% { opacity: 0.2; }
    60% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 0 20px rgba(0, 0, 0, 1), 2px 2px 4px rgba(0,0,0,0.8);
    }
    50% { 
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(0, 0, 0, 1);
    }
}

@keyframes invert-flash {
    0%, 90%, 100% { filter: invert(0); }
    10%, 80% { filter: invert(1); }
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, 2px); }
    20% { transform: translate(2px, -2px); }
    30% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
    90% { transform: translate(0, -2px); }
}

@keyframes distort {
    0%, 100% { 
        transform: scaleY(1) skew(0deg); 
    }
    25% { 
        transform: scaleY(1.1) skew(2deg); 
    }
    50% { 
        transform: scaleY(0.9) skew(-2deg); 
    }
    75% { 
        transform: scaleY(1.05) skew(1deg); 
    }
}

/* Mobile responsive text */

/* Footer */
.site-footer {
    display: none;
}

/* Set desktop body min-height to accommodate all content */
@media (min-width: 769px) {
    body {
        min-height: 1000px;
    }
}


/* Stamp Navigation Styling */
.stamp-navigation {
    position: absolute;
    top: calc(50% - 50px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    max-width: 1200px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.stamp-grid {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stamp-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    gap: 0.5rem;
    line-height: 1;
}

.stamp-row-1 {
    gap: calc(0.5rem - 70px); /* Reduce gap by 70px total (35px each) */
}

.stamp-row-1 {
    /* Line 1: LOVE • PEACE */
}

.stamp-row-2 {
    /* Line 2: HAPPINESS (centered) */
    justify-content: center;
}

.stamp-row-3 {
    /* Line 3: ~~~ DEATH */
}

.stamp-link {
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.stamp-link:hover {
    transform: translateY(-5px) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.stamp-image {
    width: 360px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); /* Subtle white glow at rest */
}

/* Individual stamp sizing */
.stamp-row-1 .stamp-image {
    width: 225px; /* 15% bigger than 196px */
}

/* Individual sizing for LOVE stamp */
.stamp-row-1 .stamp-link:first-child .stamp-image {
    width: 214px; /* 15% bigger than 186px */
}

/* Individual sizing and positioning for PEACE stamp */
.stamp-row-1 .stamp-link:last-child .stamp-image {
    width: 235px; /* 15% bigger than 204px */
}

.stamp-row-1 .stamp-link:last-child {
    transform: translate(10px, -5px); /* Move PEACE 10px right and 5px up */
}

.stamp-row-2 .stamp-image,
.stamp-row-3 .stamp-image {
    width: 497px; /* 15% bigger than 432px */
}

.stamp-row-3 {
    margin-top: -20px; /* Reduce gap between HAPPINESS and DEATH */
}

/* Position HAPPINESS */
.stamp-row-2 .stamp-link {
    transform: translateX(-5px); /* Move HAPPINESS 5px to the left */
}

/* Enhanced hover effects for individual stamps */
.stamp-row-1 .stamp-link:last-child:hover {
    transform: translate(10px, -10px) scale(1.05); /* PEACE hover with positioning */
}

.stamp-row-2 .stamp-link:hover {
    transform: translateX(-5px) translateY(-5px) scale(1.05); /* HAPPINESS hover with positioning */
}

.stamp-row-3 .stamp-link:hover {
    transform: translateY(-10px) scale(1.05); /* DEATH hover */
}

/* Individual stamp hover glows - communist red */
.stamp-row-1 .stamp-link:hover .stamp-image,
.stamp-row-2 .stamp-link:hover .stamp-image,
.stamp-row-3 .stamp-link:hover .stamp-image {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.6));
}

/* Active/clicked state for mobile */
.stamp-link:active .stamp-image {
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(255, 0, 0, 1)) drop-shadow(0 0 50px rgba(255, 0, 0, 0.8));
    transform: scale(0.98);
}

/* Page stamp styling - same effects as navigation stamps */
.stamp-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -130px; /* Adjusted for new gallery position + original 50px up */
}

.page-stamp {
    width: 400px;
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4)); /* Subtle white glow at rest */
    cursor: pointer;
}

.page-stamp:hover {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(255, 0, 0, 0.3));
    transform: translateY(-5px) scale(1.05);
}

.page-stamp:active {
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(255, 0, 0, 1)) drop-shadow(0 0 50px rgba(255, 0, 0, 0.8)) drop-shadow(0 0 80px rgba(255, 0, 0, 0.4));
    transform: scale(0.98);
}

/* Individual page stamp sizing - only affects individual pages, not home */
.love-page-stamp {
    width: 300px; /* 25% smaller than 400px */
}

.peace-page-stamp {
    width: 300px; /* 25% smaller than 400px */
}

.happiness-page-stamp {
    width: 575px; /* 15% bigger than 500px (previous 25% increase) */
}

/* Mobile responsive page stamps */

/* Happiness page specific positioning - at top under temple logo */
.happiness-stamp-nav {
    top: 305px; /* Moved up 25px from 330px */
    transform: translateX(-50%); /* Only center horizontally */
    left: calc(50% - 10px); /* Move 10px to the left from center */
    margin-left: 0px; /* Back to center */
}

/* Happiness page - style the actual .description class inside stamp-navigation */
.happiness-stamp-nav .description {
    padding: 0.5rem;
    margin-top: -1.5rem; /* Move up 25px more (from -1rem to -1.5rem) */
}

.happiness-stamp-nav .description p {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    letter-spacing: 0.1em;
}

.stamp-image:hover {
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(255, 0, 0, 0.8)); /* Pure red glow on hover */
}



/* Mobile responsive stamp navigation */

/* Legacy header navigation styling (kept for compatibility) */
.header-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.header-line:first-child {
    margin-bottom: 1rem;
}

.word-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
    transition: all 0.3s ease;
}

.word-link:hover {
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    transform: translateY(-5px);
}

.word-link[href="death.html"]:hover {
    color: #E60000;
    text-shadow: 0 0 20px rgba(230, 0, 0, 0.8);
    transform: translateY(-5px);
}

.separator {
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    margin: 0 1rem;
    opacity: 0.6;
}

/* Mobile responsive header navigation */

/* Love Page Specific Styles */
.love-stamp-nav {
    position: absolute;
    top: calc(50% - 150px);
}

.love-stamp-nav .stamp-image {
    width: 276px; /* 20% smaller than 345px */
}

/* Death page specific - 20% bigger stamp */
.death-page .love-stamp-nav .stamp-image {
    width: 331px;
}

/* Death page specific - gallery position */
.death-page .gallery-container {
    top: 490px;
}

/* Death page specific - countdown position */
.death-page .countdown-below-products {
    top: 1100px;
}

/* Death page specific - email signup position */
.death-page .love-email-signup {
    top: 1220px;
}

/* Death page specific - contact button position */
.death-page .contact-form-button {
    top: 1290px;
}

/* Happiness page specific - bigger stamp */
.happiness-page .love-stamp-nav .stamp-image {
    width: 559px;
}

/* Happiness page specific - gallery position */
.happiness-page .gallery-container {
    top: 575px;
}

/* Happiness page specific - countdown position */
.happiness-page .countdown-below-products {
    top: 1220px;
}

/* Happiness page specific - email signup position */
.happiness-page .love-email-signup {
    top: 1340px;
}

/* Happiness page images blurred until launch */
.happiness-page .main-image {
    filter: blur(20px) brightness(0.3);
    cursor: not-allowed;
    pointer-events: none;
}

/* Happiness page thumbnails blurred until launch */
.happiness-page .thumbnail {
    filter: blur(15px) brightness(0.4);
    cursor: not-allowed;
    pointer-events: none;
}

/* Happiness page buttons disabled */
.happiness-page .buy-now-btn,
.happiness-page .add-to-cart-btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


/* Happiness page specific - contact button position */
.happiness-page .contact-form-button {
    top: 1420px;
}

/* Peace page - blur and disable products until launch */
.peace-page .main-image {
    filter: blur(20px) brightness(0.3);
    cursor: not-allowed;
    pointer-events: none;
}

.peace-page .thumbnail {
    filter: blur(15px) brightness(0.4);
    cursor: not-allowed;
    pointer-events: none;
}

.peace-page .buy-now-btn,
.peace-page .add-to-cart-btn {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


.love-description-text {
    position: absolute;
    top: 400px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.love-description-text p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 0, 0, 0.8);
}

.countdown-below-products {
    position: absolute;
    top: 1415px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.countdown-below-products .timer-display {
    font-size: 3.84rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    background: red;
    padding: 0.4rem 1.2rem;
    display: inline-block;
    width: 400px;
    text-align: center;
}

/* Product Gallery Styles */
.gallery-container {
    position: absolute;
    top: 650px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: 1200px;
    z-index: 2;
    padding: 1rem;
    padding-bottom: 3rem;
}

.gallery-header {
    text-align: center;
    color: #ffffff;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
}

.products-grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 1200px;
    width: 100%;
}

.products-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 100%; /* Full width to prevent image cutoff */
}

/* Death page - wider product layout */
.death-page .products-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    gap: 3rem;
}

.death-page .main-image {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.death-page .thumbnail-gallery-scroll {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.death-page .product-item > div {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.products-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 100%;
}

.products-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 60%;
    margin-top: 2rem;
}

.products-grid-6col {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin: 0 auto;
    margin-top: 2rem;
}

.product-item {
    background: transparent;
    border-radius: 0;
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.main-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Death page images blurred until launch */
.death-page .main-image {
    filter: blur(20px) brightness(0.3);
    cursor: not-allowed;
}

.death-page .main-image.revealed {
    cursor: pointer;
}

/* Revealed state when timer is reached */
.main-image.revealed {
    filter: none !important;
}

/* Thumbnail images also blurred */
.thumbnail {
    transition: all 0.3s ease;
}

/* Death page thumbnails blurred until launch */
.death-page .thumbnail {
    filter: blur(15px) brightness(0.4);
    cursor: not-allowed;
}

.death-page .thumbnail.revealed {
    cursor: pointer;
}

.thumbnail.revealed {
    filter: none !important;
}

/* Sold out image - stays blurred permanently */
.sold-out-image {
    filter: blur(20px) brightness(0.3) !important;
}

/* Peace page placeholders - black background with blur */
.peace-placeholder {
    background: #000;
}

.peace-placeholder-thumb {
    background: #000;
    width: 100%;
    height: 100%;
}

.main-image:hover {
    opacity: 0.8;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Scrollable thumbnail gallery for 5 images - shows 2.5 at a time */
.thumbnail-gallery-scroll {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.5rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    max-width: 100%; /* Full width to match main image */
    margin-left: auto;
    margin-right: auto;
}

.thumbnail-gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-gallery-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.thumbnail-gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.thumbnail-gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.thumbnail-gallery-scroll .thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.product-actions {
    display: flex !important;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: stretch;
}

.product-actions .add-to-cart-btn,
.product-actions .buy-now-btn {
    background: black;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1 !important;
    font-size: 0.9rem;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    margin-top: 0 !important;
}

.add-to-cart-btn:hover,
.buy-now-btn:hover {
    background: #333;
    transform: scale(1.05);
}

/* Disabled buy buttons until countdown finishes */
.buy-now-btn.disabled {
    background: linear-gradient(135deg, #666, #888) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    color: #ccc !important;
    pointer-events: none;
}

.buy-now-btn.disabled:hover {
    transform: none !important;
    background: linear-gradient(135deg, #666, #888) !important;
}

/* Grey buttons for lower row */
.buy-now-btn.grey-btn {
    background: linear-gradient(135deg, #666, #888) !important;
    color: #ffffff !important;
}

.buy-now-btn.grey-btn:hover {
    background: linear-gradient(135deg, #555, #777) !important;
    transform: translateY(-2px);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-close:hover {
    color: #FFD700;
}

/* ========================================
   LEGAL WIDGET STYLES
   ======================================== */

/* Legal widget button - bottom left */
.legal-widget-button {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-widget-button:hover,
.legal-widget-button.active {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.6));
}

/* Legal modal */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: auto;
}

.legal-modal.active {
    display: flex;
}

.legal-modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    cursor: auto;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-modal-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.legal-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.legal-modal-close:hover {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
}

.legal-modal-body {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.legal-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.legal-link:hover {
    background: rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.6));
    transform: translateX(5px);
}

.legal-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.legal-link:hover .legal-arrow {
    transform: translateX(5px);
}

/* Contact button - desktop default */
.contact-form-button {
    position: absolute;
    top: 1070px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s ease;
}

.contact-form-button:hover {
    filter: brightness(1.1) drop-shadow(0 0 25px rgba(255, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(255, 0, 0, 0.6));
}

/* Contact modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: auto;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    cursor: auto;
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-modal-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.contact-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-modal-close:hover {
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.8));
}

.contact-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.contact-submit-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(255, 0, 0, 0.6));
    transform: translateY(-2px);
}

.contact-form-result {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
}

.contact-form-result.success {
    background: rgba(0, 255, 0, 0.2);
    border: 1px solid rgba(0, 255, 0, 0.5);
    color: #00ff00;
}

.contact-form-result.error {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #ff6666;
}

.contact-form-result.loading {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Mobile adjustments for contact form */
@media (max-width: 768px) {
    .contact-form-button {
        position: absolute;
        top: 680px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .contact-modal-content {
        max-width: 95vw;
        max-height: 90vh;
    }

    .contact-modal-header h2 {
        font-size: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
}

/* Cookie Notice Banner */
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border-top: 2px solid white;
    z-index: 10000;
    padding: 1rem;
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-notice-content p {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

#cookie-accept {
    background: white;
    color: black;
    border: none;
    padding: 0.8rem 2rem;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#cookie-accept:hover {
    background: #ddd;
}

@media (max-width: 768px) {
    .cookie-notice-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-notice-content p {
        font-size: 0.85rem;
    }

    #cookie-accept {
        width: 100%;
        padding: 0.8rem 1rem;
    }
}

/* Mobile adjustments for legal widget */
@media (max-width: 768px) {
    .legal-widget-button {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
        top: 8px;
        bottom: auto;
        left: 8px;
    }

    .legal-modal-content {
        max-width: 95vw;
        max-height: 90vh;
    }

    .legal-modal-header h2 {
        font-size: 1.2rem;
    }

    .legal-link {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   MOBILE CSS - REBUILT FROM SCRATCH
   ======================================== */

@media (max-width: 768px) {
    /* Enable scrolling on mobile */
    html, body {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        width: 100%;
        max-width: 100vw;
    }

    /* Video - fixed background */
    #background-video {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100vw;
        min-height: 100vh;
        width: auto;
        height: auto;
        object-fit: cover;
        z-index: -1;
    }

    /* Temple logo */
    .temple-logo {
        position: absolute;
        width: 60vw;
        max-width: 250px;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Intro text */
    .intro-text {
        position: absolute;
        top: 420px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 95vw;
        width: 95vw;
        padding: 0 0.5rem;
    }

    .intro-text p {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    /* Bouncing elements smaller on mobile */
    .bouncing-element {
        position: absolute;
    }

    .bouncing-element img {
        width: 80px;
    }

    #love img {
        width: 100px;
    }

    /* Stamp navigation */
    .stamp-navigation {
        position: absolute;
        max-width: 90vw;
        top: 205px;
        left: 50%;
        transform: translateX(-50%);
    }

    .stamp-image {
        width: 350px;
    }

    .stamp-row-1 .stamp-image {
        width: 350px;
    }

    .stamp-row-1 .stamp-link:first-child .stamp-image {
        width: 350px;
    }

    .stamp-row-1 .stamp-link:last-child .stamp-image {
        width: 350px;
    }

    .stamp-row-2 .stamp-image,
    .stamp-row-3 .stamp-image {
        width: 350px;
    }

    /* Stamp row positioning adjustments */
    .stamp-row {
        gap: 0.3rem;
    }

    .stamp-row-1 {
        gap: calc(0.3rem - 40px);
    }

    .stamp-row-1 .stamp-link:last-child {
        transform: translate(5px, -3px);
    }

    .stamp-row-2 .stamp-link {
        transform: translateX(-3px);
    }

    /* Countdown timer - INDEX PAGE ONLY */
    .countdown-bottom {
        position: absolute;
        top: 600px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
    }

    .countdown-timer {
        font-size: 2rem;
        width: 90vw;
        max-width: 350px;
        padding: 0.3rem 0.8rem;
    }

    /* Footer */
    .site-footer {
        display: none;
    }

    /* Set container height */
    body {
        min-height: 850px;
    }

    /* ========================================
       LOVE PAGE MOBILE STYLES
       ======================================== */

    /* Love page stamp - 50% bigger and moved up 25px */
    .love-stamp-nav {
        position: absolute;
        top: 170px;
        left: 50%;
        transform: translateX(-50%);
    }

    .love-stamp-nav .stamp-image {
        width: 221px; /* 20% smaller than 276px */
    }

    /* Happiness page specific - bigger stamp on mobile */
    .happiness-page .love-stamp-nav .stamp-image {
        width: 896px;
        max-width: 90vw;
    }

    /* Happiness page specific - gallery position on mobile - BELOW counter/email/contact */
    .happiness-page .gallery-container {
        top: 520px;
    }

    /* Happiness page specific - countdown, email, contact ABOVE gallery on mobile */
    .happiness-page .countdown-below-products {
        top: 325px;
    }

    .happiness-page .love-email-signup {
        top: 390px;
    }

    .happiness-page .contact-form-button {
        top: 455px;
    }

    /* Death page specific - mobile layout */
    .death-page .love-stamp-nav {
        position: absolute;
        top: 180px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
    }

    .death-page .love-stamp-nav .stamp-image {
        width: 224px;
        max-width: 90vw;
    }

    .death-page .love-description-text {
        position: absolute;
        top: 285px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        width: 90vw;
        padding: 0 1rem;
    }

    .death-page .countdown-below-products {
        position: absolute;
        top: 515px;
        left: 50%;
        transform: translateX(-50%);
    }

    .death-page .love-email-signup {
        position: absolute;
        top: 580px;
        left: 50%;
        transform: translateX(-50%);
    }

    .death-page .contact-form-button {
        top: 645px;
    }

    .death-page .gallery-container {
        top: 655px;
    }

    .death-page #background-video {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100vw;
        min-height: 100vh;
        width: auto;
        height: auto;
        object-fit: cover;
        z-index: -1;
    }

    .death-page .products-grid-4col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .death-page .gallery-container {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .death-page .product-item {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .death-page .main-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .death-page .thumbnail-gallery-scroll {
        width: 100%;
        max-width: 100%;
    }

    /* Death page body height to fit all content */
    .death-page body {
        min-height: 1550px;
    }

    /* Love description text */
    .love-description-text {
        position: absolute;
        top: 320px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        width: 90vw;
        padding: 0 1rem;
    }

    .love-description-text p {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    /* Love page countdown */
    .countdown-below-products {
        position: absolute;
        top: 600px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
    }

    .countdown-below-products .timer-display {
        font-size: 2rem;
        width: 90vw;
        max-width: 350px;
        padding: 0.3rem 0.8rem;
    }

    /* Love page email signup */
    .love-email-signup {
        position: absolute;
        top: 665px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
    }

    /* Love page contact button - below email */
    .contact-form-button {
        position: absolute;
        top: 730px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Product gallery on love page */
    .gallery-container {
        position: absolute;
        top: 460px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        width: 90vw;
        padding: 1rem;
        padding-bottom: 5rem;
        overflow-x: hidden;
    }

    /* Ensure all containers prevent horizontal scroll */
    * {
        max-width: 100vw;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .love-email-signup .signup-container {
        width: 90vw;
        max-width: 350px;
    }

    .love-email-signup input[type="email"],
    .love-email-signup button {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .products-grid-5col,
    .products-grid-4col,
    .products-grid-3col,
    .products-grid-2col,
    .products-grid-6col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%; /* Reset to full width on mobile - ensures uniform sizing */
    }

    .main-image {
        height: auto;
        object-fit: contain;
    }

    /* Peace page mobile adjustments */
    .peace-page .countdown-below-products {
        top: 275px;
    }

    .peace-page .love-email-signup {
        top: 340px;
    }

    .peace-page .contact-form-button {
        top: 405px;
    }

    .peace-page .gallery-container {
        top: 465px;
    }
}

/* ========================================
   PEACE PAGE DESKTOP ADJUSTMENTS
   ======================================== */

@media (min-width: 769px) {
    /* Override mobile min-height for desktop */
    body {
        max-height: none;
    }

    /* Love page desktop - override mobile positions */
    .countdown-below-products {
        top: 870px;
    }

    .love-email-signup {
        top: 990px;
    }

    .contact-form-button {
        top: 1070px;
    }

    .gallery-container {
        top: 650px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 1200px;
        width: 1200px;
        padding: 1rem;
        padding-bottom: 3rem;
    }

    .peace-page .stamp-navigation {
        left: calc(50% + 12px);
    }

    .peace-page .gallery-container {
        top: 500px;
    }

    .peace-page .countdown-below-products {
        top: 2600px;
    }

    .peace-page .love-email-signup {
        top: 2720px;
    }

    .peace-page .contact-form-button {
        top: 2800px;
    }
}

/* ========================================
   SOMEDAY PAGE STYLES
   ======================================== */

/* Someday page body */
.someday-page {
    background: #000;
    background-image: url('Assets/SB SOMEDAY Background Image3-01.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Bubble effect container */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble-video {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.6;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.1s ease-out;
    pointer-events: auto;
    cursor: pointer;
    clip-path: circle(50%);
}

/* Bubble disappear animations */
@keyframes glitchOut {
    0% { opacity: 0.6; transform: translate(0, 0); filter: none; }
    20% { opacity: 0.8; transform: translate(-10px, 5px); filter: hue-rotate(90deg); }
    40% { opacity: 0.3; transform: translate(15px, -8px); filter: hue-rotate(-90deg) saturate(3); }
    60% { opacity: 0.7; transform: translate(-8px, 12px); filter: blur(3px) contrast(2); }
    80% { opacity: 0.2; transform: translate(20px, -15px) scale(1.2); filter: invert(1); }
    100% { opacity: 0; transform: translate(0, -50px) scale(0.5); filter: blur(10px); }
}

@keyframes bubbleBurst {
    0% { opacity: 0.6; transform: scale(1); filter: blur(0); }
    30% { opacity: 0.8; transform: scale(1.3); filter: blur(0); }
    50% { opacity: 0.6; transform: scale(1.5); border-radius: 45%; }
    70% { opacity: 0.3; transform: scale(1.8); border-radius: 30%; filter: blur(5px); }
    100% { opacity: 0; transform: scale(2.5); border-radius: 0%; filter: blur(20px); }
}

@keyframes pixelateOut {
    0% { opacity: 0.6; filter: none; }
    25% { opacity: 0.5; filter: contrast(2) brightness(1.5); }
    50% { opacity: 0.4; filter: contrast(3) brightness(2) blur(2px); }
    75% { opacity: 0.2; filter: contrast(5) brightness(3) blur(5px) saturate(0); }
    100% { opacity: 0; filter: contrast(10) brightness(5) blur(10px) saturate(0); transform: scale(0.8); }
}

.bubble-video.glitch-out {
    animation: glitchOut 0.6s ease-out forwards;
}

.bubble-video.burst-out {
    animation: bubbleBurst 0.8s ease-out forwards;
}

.bubble-video.pixelate-out {
    animation: pixelateOut 1s ease-out forwards;
}

.bubble-1 {
    top: 15%;
    left: 10%;
}

.bubble-2 {
    top: 40%;
    left: 45%;
}

.bubble-3 {
    top: 65%;
    right: 10%;
}

@media (max-width: 768px) {
    .bubble-video {
        width: 200px;
        height: 200px;
    }

    .bubble-1 {
        top: 10%;
        left: 5%;
    }

    .bubble-2 {
        top: 35%;
        left: 40%;
    }

    .bubble-3 {
        top: 60%;
        right: 5%;
    }
}

/* Someday header */
.someday-header {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 100%;
}

.someday-header h1 {
    font-size: 4rem;
    margin: 0;
    letter-spacing: 0.5rem;
    color: white;
    text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.9);
    font-weight: 900;
}

.someday-header-image {
    max-width: 413px;
    width: 55%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8));
}

/* Someday intro text */
.someday-page .intro-text {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.someday-page .intro-text p {
    color: white;
    text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.9);
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

/* Someday product styling */
.someday-page .product-item {
    background: #f5f5dc;
    padding: 0.75rem;
}

/* Someday desktop layout */
@media (min-width: 769px) {
    .someday-page {
        min-height: 800px;
    }

    .someday-page .gallery-container {
        position: absolute;
        top: 130px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 1100px;
        width: 90%;
        z-index: 100;
        margin-bottom: 150px;
    }

    .someday-page .products-grid-3col {
        gap: 3rem;
    }

    .someday-page .products-grid-2col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: calc(3rem + 50px);
        max-width: 850px;
        margin: 0 auto;
    }

    .someday-page .main-image {
        height: auto;
        object-fit: contain;
    }

    .someday-page .thumbnail-gallery-scroll {
        justify-content: center;
    }

    .someday-page .product-item {
        background: #f5f5f0;
        padding: 1.5rem;
    }

    .someday-page .countdown-bottom {
        position: fixed;
        bottom: 25px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }

    .someday-page .home-email-signup {
        position: fixed;
        bottom: 40px;
        right: 200px;
        top: auto;
        left: auto;
        transform: none;
        z-index: 100;
    }

    .someday-page .contact-form-button {
        position: fixed;
        bottom: 40px;
        right: 20px;
        top: auto;
        left: auto;
        transform: none;
        z-index: 100;
    }
}

/* Someday mobile layout */
@media (max-width: 768px) {
    .someday-page {
        min-height: auto;
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    .someday-header {
        top: -5px;
    }

    .someday-page .someday-header-image {
        max-width: 495px;
        width: 66%;
    }

    .someday-header h1 {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }

    .someday-page .intro-text {
        top: 80px;
        width: 90%;
        padding: 0 1rem;
    }

    .someday-page .intro-text p {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .someday-page .gallery-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        max-width: 100%;
        margin: 120px auto 0 auto;
        padding: 1rem;
    }

    .someday-page .products-grid-3col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .someday-page .products-grid-2col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .someday-page .product-item {
        max-width: 100%;
    }

    .someday-page .main-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .someday-page .countdown-bottom {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        text-align: center;
        margin: 2rem auto;
    }

    .someday-page .countdown-timer {
        font-size: 2rem;
        width: 90%;
        max-width: 350px;
        padding: 0.3rem 0.8rem;
    }

    .someday-page .home-email-signup {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 1rem auto;
    }

    .someday-page .home-email-signup .signup-container {
        width: 90%;
        max-width: 400px;
    }

    .someday-page .home-email-signup input[type="email"] {
        width: 70%;
    }

    .someday-page .contact-form-button {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none;
        display: block;
        width: 60%;
        max-width: 200px;
        margin: 1rem auto 2rem auto;
    }

    .someday-page .contact-form-button:last-of-type {
        display: none;
    }

    /* Show only left image on mobile */
    .layer-1 {
        width: 100%;
        left: 0;
    }

    .layer-2 {
        display: none;
    }
}
/* ==========================================
   LANDING PAGE STYLES
========================================== */
.landing-page {
    background: #000 url('Assets/background.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    min-height: 100vh;
}

.landing-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.landing-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.landing-info {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.landing-info p {
    margin: 0.5rem 0;
}

.shop-button-container {
    position: absolute;
    top: 380px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    display: none;
}

.shop-link-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border: 2px solid #000;
    transition: all 0.3s ease;
    width: 200px;
    text-align: center;
}

.shop-link-btn:hover {
    background: red;
    color: #fff;
    border: 2px solid red;
}

/* Two button version */
.shop-buttons-dual {
    position: absolute;
    top: 595px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: none;
    gap: 2rem;
    justify-content: center;
}

.shop-buttons-dual .shop-link-btn {
    width: 200px;
}

/* Landing page - match someday positioning */
.landing-page .countdown-bottom {
    position: fixed;
    bottom: 25px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.landing-page .home-email-signup {
    position: fixed;
    bottom: 40px;
    right: 200px;
    top: auto;
    left: auto;
    transform: none;
    z-index: 100;
}

.landing-page .contact-form-button {
    position: fixed;
    bottom: 40px;
    right: 20px;
    top: auto;
    left: auto;
    transform: none;
    z-index: 100;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .landing-title {
        font-size: 1.8rem;
    }

    .landing-info {
        font-size: 1rem;
    }

    .shop-link-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .landing-page .countdown-bottom {
        position: absolute;
        top: 500px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
    }

    .landing-page .countdown-timer {
        font-size: 2rem;
        width: 90vw;
        max-width: 350px;
        padding: 0.3rem 0.8rem;
    }

    .landing-page .home-email-signup {
        position: absolute;
        top: 565px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 90vw;
        max-width: 350px;
    }

    .landing-page .signup-container {
        width: 100%;
    }

    .landing-page .signup-container input[type="email"],
    .landing-page .signup-container button {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }

    .landing-page .contact-form-button {
        position: absolute;
        top: 620px;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
        font-size: 0.9rem !important;
        padding: 0.6rem 1rem !important;
        line-height: normal !important;
        height: auto !important;
        min-height: auto !important;
    }

    body.landing-page {
        min-height: 800px;
    }
}

/* Header image stack for drop shadow */
/* Temple at top of landing page */
.temple-top {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
}

.temple-top-image {
    width: 180px;
    height: auto;
    opacity: 0.9;
}

.landing-page .someday-header {
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 100%;
}

.landing-page .someday-header-image {
    max-width: 300px;
    width: 45%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8));
}

.header-image-stack {
    position: relative;
    display: inline-block;
}

.header-shadow,
.header-main {
    max-width: 600px;
    width: 90%;
    height: auto;
    display: block;
}

.header-shadow {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 1;
}

.header-main {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .header-shadow,
    .header-main {
        max-width: 300px;
    }
}

/* Temple floating effects */
.temple-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.temple-container a {
    display: inline-block;
    text-decoration: none;
    pointer-events: all;
}

.temple-float {
    position: absolute;
    width: 200px;
    height: 200px;
    object-fit: contain;
    pointer-events: all;
    cursor: pointer;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.temple-1 {
    top: 15%;
    left: 10%;
}

.temple-2 {
    top: 40%;
    left: 45%;
}

@media (max-width: 768px) {
    .temple-float {
        width: 150px;
        height: 150px;
    }

    .temple-1 {
        top: 10%;
        left: 5%;
    }

    .temple-2 {
        top: 35%;
        left: 40%;
    }
}

/* Landing page intro text */
.landing-page .intro-text {
    position: absolute;
    top: 475px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.landing-page .intro-text p {
    color: white;
    text-shadow: 0 0 40px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,0.9);
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .landing-page .someday-header {
        top: 145px;
    }

    .landing-page .shop-button-container {
        top: 305px;
    }

    .landing-page .intro-text {
        top: 375px;
        width: 95vw;
        max-width: 95vw;
        padding: 0 0.5rem;
    }

    .landing-page .intro-text p {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .landing-page .contact-form-button:last-of-type {
        display: none;
    }
}

/* ==========================================
   HEART PAGE STYLES - Walking Heart Single Product
========================================== */

/* Black background for heart page */
.heart-page {
    background-color: #000000 !important;
    background: #000000 !important;
}

.heart-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: -1;
}

/* Product description text */
.heart-description {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.heart-description p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.3rem 0;
    font-weight: 600;
}

/* Desktop styles */
@media (min-width: 769px) {
    .heart-page .gallery-container {
        top: 150px;
        margin-bottom: 150px;
    }

    .heart-page .products-grid-1col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .heart-page .product-item {
        max-width: 400px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .heart-description {
        top: 40px;
        width: 85%;
    }

    .heart-description p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .heart-page .gallery-container {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 90%;
        max-width: 100%;
        margin: 150px auto 150px auto;
        padding: 1rem;
    }

    .heart-page .products-grid-1col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .heart-page .product-item {
        max-width: 100%;
    }
}
