/* ==========================================================================
   Fantastic Fashion Theme & Design System
   ========================================================================== */

:root {
    /* Color Variables (Customizable by Kayla & Erika) */
    --hero-bg-color: #0033ff;       /* Electric Blue */
    --primary-color: #ff2a85;       /* Hot Pink */
    --stars-color: #ffff00;         /* Sparkly Yellow */
    --dots-color: #ffd700;          /* Gold */
    --accent-color: #00e5ff;        /* Neon Turquoise */
    
    /* System Colors */
    --body-bg: #f5f8ff;
    --text-dark: #1f2937;
    --text-light: #4b5563;
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-radius: 24px;
    --transition-speed: 0.3s;
    
    /* Fonts (Customizable) */
    --font-family: 'DynaPuff', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--body-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Magic Trail Canvas */
#trail-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography Rules
   ========================================================================== */

h1, h2, h3, .subtitle, .customizer-header h3 {
    font-family: var(--font-family);
}

h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Theme Customizer Drawer
   ========================================================================== */

.customizer-toggle {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: 3px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floating-icon 3s ease-in-out infinite;
}

.customizer-toggle:hover {
    transform: scale(1.1);
}

.customizer-toggle .tooltip {
    position: absolute;
    left: 70px;
    background-color: var(--text-dark);
    color: #ffffff;
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed);
}

.customizer-toggle:hover .tooltip {
    opacity: 1;
}

.customizer-panel {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.customizer-panel.open {
    left: 0;
}

.customizer-header {
    padding: 24px;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customizer-header h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.customizer-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

.customizer-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
}

.customizer-section {
    margin-bottom: 28px;
}

.customizer-section h4 {
    font-family: var(--font-family);
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.color-picker-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-picker-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.color-picker-group input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 44px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
}

.color-picker-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-group input[type="color"]::-webkit-color-swatch {
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 8px;
}

.font-selector-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.font-btn {
    padding: 10px;
    border-radius: 12px;
    border: 2px solid rgba(0,0,0,0.08);
    background: #ffffff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all var(--transition-speed);
}

.font-btn:hover {
    border-color: var(--accent-color);
    background-color: rgba(0, 229, 255, 0.05);
}

.font-btn.active {
    border-color: var(--primary-color);
    background-color: rgba(255, 42, 133, 0.08);
    color: var(--primary-color);
}

.customizer-footer {
    padding: 24px;
    border-top: 2px dashed rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 12px;
}

.customizer-reset {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #ccc;
    background: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color var(--transition-speed);
}

.customizer-reset:hover {
    background-color: #eee;
}

.customizer-save {
    flex: 2;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 42, 133, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.customizer-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 42, 133, 0.3);
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */

.hero {
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--hero-bg-color) 0%, #001270 50%, #030825 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 24px;
    transition: background var(--transition-speed);
}

/* Low-Poly Twinkling Sparkle Stars */
.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.sparkle-star {
    position: absolute;
    background-color: var(--stars-color);
    /* 4-pointed diamond star shape */
    clip-path: polygon(50% 0%, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0% 50%, 37% 37%);
    opacity: 0;
    transform: scale(0);
    animation: twinkle-pulse 4s ease-in-out infinite;
    will-change: transform, opacity;
}

.sparkle-dot {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: float-fade 5s infinite;
    will-change: transform, opacity;
}

@keyframes twinkle-pulse {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.9;
        transform: scale(1) rotate(45deg);
    }
    30% {
        opacity: 0.4;
        transform: scale(0.7) rotate(90deg);
    }
    45% {
        opacity: 1;
        transform: scale(1.2) rotate(135deg);
    }
    60% {
        opacity: 0.3;
        transform: scale(0.6) rotate(180deg);
    }
    80% {
        opacity: 0.9;
        transform: scale(1) rotate(225deg);
    }
    100% {
        transform: scale(0) rotate(270deg);
        opacity: 0;
    }
}

@keyframes float-fade {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-40px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Three Gold Dots - Spaced out more */
.gold-dots {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
    animation: bounce-dots 2s infinite ease-in-out;
    will-change: transform;
}

.gold-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--dots-color);
    box-shadow: 0 0 12px var(--dots-color), 0 0 4px #ffffff;
    display: inline-block;
}

.gold-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.gold-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce-dots {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Bubble Letter Typography - Font grown */
.bubble-title {
    font-size: 6.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.05;
    margin: 0;
    user-select: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#bubble-title-second {
    margin-top: 10px;
    margin-bottom: 24px;
}

.pop-letter {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35), color 0.3s;
    will-change: transform;
    /* Cute thick bubble border effect using text-shadow outline */
    text-shadow: 
        3px 3px 0px #ffffff, 
        -3px -3px 0px #ffffff, 
        3px -3px 0px #ffffff, 
        -3px 3px 0px #ffffff,
        0px 3px 0px #ffffff,
        0px -3px 0px #ffffff,
        3px 0px 0px #ffffff,
        -3px 0px 0px #ffffff,
        4px 6px 0px rgba(0, 0, 0, 0.15);
}

.pop-letter:hover {
    transform: scale(1.25) rotate(8deg);
    color: #ffffff;
    text-shadow: 
        3px 3px 0px var(--primary-color), 
        -3px -3px 0px var(--primary-color), 
        3px -3px 0px var(--primary-color), 
        -3px 3px 0px var(--primary-color),
        0 8px 16px rgba(255, 42, 133, 0.4);
}

/* Clicking / Popping state */
.pop-letter.popped {
    animation: letter-pop-anim 0.5s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes letter-pop-anim {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    40% {
        transform: scale(1.8);
        opacity: 0.9;
    }
    60% {
        transform: scale(0.3);
        opacity: 0.2;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.subtitle {
    font-size: 2.6rem;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Caveat', cursive;
}

.scroll-indicator {
    margin-top: 20px;
}

.scroll-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.scroll-link:hover {
    opacity: 1;
}

.scroll-link .arrow {
    font-size: 1.5rem;
    animation: bounce-arrow 1.5s infinite;
    will-change: transform;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (max-width: 768px) {
    .bubble-title {
        font-size: 4.5rem;
    }
    .subtitle {
        font-size: 2.1rem;
    }
    /* Optimize the text-shadow on mobile to remove the expensive Gaussian blur filter */
    .pop-letter:hover {
        text-shadow: 
            3px 3px 0px var(--primary-color), 
            -3px -3px 0px var(--primary-color), 
            3px -3px 0px var(--primary-color), 
            -3px 3px 0px var(--primary-color),
            0 4px 0px rgba(0, 0, 0, 0.15); /* Solid cheap drop shadow instead of heavy blur */
    }
}

/* ==========================================================================
   Products Section Styling
   ========================================================================== */

.products {
    padding: 100px 0;
    background-color: var(--body-bg);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 3px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 35, 120, 0.05);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 35, 120, 0.1);
}

#card-keychains:hover {
    border-color: var(--accent-color);
}

#card-bracelets:hover {
    border-color: var(--primary-color);
}

#card-earrings:hover {
    border-color: var(--dots-color);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
    background-color: #eaeaea;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

.product-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #ffffff;
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: var(--font-family);
    letter-spacing: 0.5px;
}

#card-keychains .product-tag {
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

#card-bracelets .product-tag {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

#card-earrings .product-tag {
    color: #ff9d00;
    border: 2px solid #ff9d00;
}

.product-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-family: var(--font-family);
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-light);
    flex: 1;
}

/* Custom Orders Banner */
.custom-orders-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(255, 42, 133, 0.08) 100%);
    border-radius: var(--border-radius);
    padding: 28px;
    border: 2px dashed var(--accent-color);
    margin-top: 16px;
}

.banner-icon {
    font-size: 2.5rem;
    animation: swing 3s ease-in-out infinite;
}

.banner-text h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.banner-text p {
    font-size: 0.95rem;
    color: var(--text-light);
}

@media (max-width: 576px) {
    .custom-orders-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

/* ==========================================================================
   Secret Coupon Section
   ========================================================================== */

.secret-coupon-section {
    padding: 60px 0;
    background-color: var(--body-bg);
}

.coupon-teaser-box {
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.coupon-teaser-box.revealed #gift-box,
.coupon-teaser-box.revealed .teaser-text {
    display: none;
}

/* Wiggling Cute Gift Box */
.gift-box-container {
    position: relative;
    width: 90px;
    height: 90px;
    cursor: pointer;
    z-index: 3;
    animation: gift-wiggle 1.8s infinite ease-in-out;
    transition: transform var(--transition-speed);
}

.gift-box-container:hover {
    transform: scale(1.15);
    animation: gift-wiggle-fast 0.6s infinite linear;
}

.gift-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 12px;
    position: absolute;
    bottom: 0;
    left: 10px;
    box-shadow: 0 6px 15px rgba(255, 42, 133, 0.3);
}

.gift-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 31px;
    width: 8px;
    height: 100%;
    background-color: var(--dots-color);
}

.gift-box-lid {
    width: 80px;
    height: 18px;
    background-color: var(--primary-color);
    border-radius: 6px;
    position: absolute;
    top: 10px;
    left: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    z-index: 2;
}

.gift-box-lid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 36px;
    width: 8px;
    height: 100%;
    background-color: var(--dots-color);
}

.gift-box-ribbon {
    position: absolute;
    top: -6px;
    left: 32px;
    width: 26px;
    height: 20px;
    z-index: 1;
}

.gift-box-ribbon::before, .gift-box-ribbon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 4px solid var(--dots-color);
    border-radius: 50% 50% 0 50%;
    transform: rotate(-45deg);
}

.gift-box-ribbon::after {
    left: 8px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(45deg);
}

/* Little sparkles around the gift */
.gift-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.gift-sparkles .mini-star {
    position: absolute;
    color: var(--dots-color);
    font-size: 1.2rem;
    animation: star-twinkle 1.5s infinite;
}

.gift-sparkles .mini-star:nth-child(1) { top: -10px; left: -10px; animation-delay: 0.1s; }
.gift-sparkles .mini-star:nth-child(2) { top: -20px; right: 10px; animation-delay: 0.5s; }
.gift-sparkles .mini-star:nth-child(3) { bottom: 10px; right: -15px; animation-delay: 0.9s; }

@keyframes star-twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes gift-wiggle {
    0%, 100%, 70% { transform: rotate(0deg); }
    75% { transform: rotate(-8deg); }
    80% { transform: rotate(8deg); }
    85% { transform: rotate(-5deg); }
    90% { transform: rotate(5deg); }
    95% { transform: rotate(-3deg); }
}

@keyframes gift-wiggle-fast {
    0%, 100% { transform: rotate(0deg) scale(1.1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1.1); }
    75% { transform: rotate(-8deg) scale(1.1); }
}

.teaser-text {
    flex: 1;
}

.teaser-text h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.teaser-text p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Coupon Reveal Card - Dynamic Flow */
.coupon-reveal-card {
    background: radial-gradient(circle at center, #ffffff 60%, rgba(255, 42, 133, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 42, 133, 0.1);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coupon-reveal-card.show {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.close-coupon {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
    line-height: 1;
}

.close-coupon:hover {
    color: var(--primary-color);
}

.coupon-header {
    font-family: var(--font-family);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.coupon-discount {
    font-family: var(--font-family);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 2px 2px 0px var(--dots-color);
}

.coupon-terms {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 16px;
}

.coupon-subtext {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

.coupon-code-box {
    display: flex;
    align-items: center;
    border: 3px dashed var(--primary-color);
    border-radius: 16px;
    padding: 8px 8px 8px 18px;
    background-color: rgba(255, 42, 133, 0.04);
}

.coupon-code {
    font-family: var(--font-family);
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-right: 12px;
}

.copy-code-btn {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform 0.1s;
}

.copy-code-btn:hover {
    background-color: #e0176d;
}

.copy-code-btn:active {
    transform: scale(0.96);
}

.coupon-subtext {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 12px;
    font-style: italic;
}

/* Confetti particles container */
.confetti-explosion {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff0;
    opacity: 0.8;
    border-radius: 3px;
    animation: confetti-fall 2.5s ease-out forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(220px) rotate(360deg) translateX(var(--drift));
        opacity: 0;
    }
}

/* ==========================================================================
   About Us (Team) Section Styling
   ========================================================================== */

/* ==========================================================================
   About Us (Team) Section Styling
   ========================================================================== */

.about-us {
    padding: 100px 0;
    background-color: var(--body-bg);
    position: relative;
    border-bottom: 2px dashed rgba(255, 42, 133, 0.1);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 16px;
    position: relative;
}

.team-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    border: 3px solid #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
    z-index: 1;
    overflow: hidden; /* clip any card elements if necessary */
}

/* Base box shadow for each person's card matching their accent color */
#team-kayla {
    box-shadow: 0 8px 24px rgba(255, 42, 133, 0.05), 0 0 0 1px rgba(255, 42, 133, 0.05);
}
#team-erika {
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.05), 0 0 0 1px rgba(0, 229, 255, 0.05);
}
#team-aria {
    box-shadow: 0 8px 24px rgba(176, 38, 255, 0.05), 0 0 0 1px rgba(176, 38, 255, 0.05);
}
#team-sora {
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.05), 0 0 0 1px rgba(255, 215, 0, 0.05);
}

/* Hover effects with colored glows */
.team-card:hover {
    transform: translateY(-8px);
}

#team-kayla:hover {
    box-shadow: 0 12px 30px rgba(255, 42, 133, 0.18), 0 0 12px rgba(255, 42, 133, 0.1);
    border-color: rgba(255, 42, 133, 0.2);
}
#team-erika:hover {
    box-shadow: 0 12px 30px rgba(0, 229, 255, 0.18), 0 0 12px rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.2);
}
#team-aria:hover {
    box-shadow: 0 12px 30px rgba(176, 38, 255, 0.18), 0 0 12px rgba(176, 38, 255, 0.1);
    border-color: rgba(176, 38, 255, 0.2);
}
#team-sora:hover {
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.18), 0 0 12px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.25);
}

.avatar-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 24px;
    border-radius: 50%;
    border: 2.5px solid #ffffff; /* slight white matt inside */
    overflow: hidden;
    z-index: 2; /* sits on top of the connector string */
}

#team-kayla .avatar-wrapper {
    box-shadow: 0 0 0 3px #ff2a85; /* fuchsia solid outer border */
}
#team-erika .avatar-wrapper {
    box-shadow: 0 0 0 3px #00e5ff; /* turquoise solid outer border */
}
#team-aria .avatar-wrapper {
    box-shadow: 0 0 0 3px #b026ff; /* violet solid outer border */
}
#team-sora .avatar-wrapper {
    box-shadow: 0 0 0 3px #ffd700; /* gold solid outer border */
}

/* Glossy 3D plastic bead styles */
.team-bead {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-size: 3.8rem;
    font-weight: 900;
    color: #ffffff; /* clean white letters */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.45), -1px -1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: transform var(--transition-speed);
}

/* Color variations for beads using the generated bead pile background images with a glossy 3D overlay */
.bead-kayla {
    background-image: url('assets/avatar_kayla.png');
    background-size: cover;
    background-position: center;
    box-shadow: inset -10px -10px 25px rgba(130, 0, 45, 0.45), inset 10px 10px 25px rgba(255, 255, 255, 0.55);
}

.bead-erika {
    background-image: url('assets/avatar_erika.png');
    background-size: cover;
    background-position: center;
    box-shadow: inset -10px -10px 25px rgba(0, 100, 120, 0.45), inset 10px 10px 25px rgba(255, 255, 255, 0.55);
}

.bead-aria {
    background-image: url('assets/avatar_aria.png');
    background-size: cover;
    background-position: center;
    box-shadow: inset -10px -10px 25px rgba(80, 0, 130, 0.45), inset 10px 10px 25px rgba(255, 255, 255, 0.55);
}

.bead-sora {
    background-image: url('assets/avatar_sora.png');
    background-size: cover;
    background-position: center;
    box-shadow: inset -10px -10px 25px rgba(130, 100, 0, 0.45), inset 10px 10px 25px rgba(255, 255, 255, 0.55);
}

/* Wiggle the bead on hover */
.team-card:hover .team-bead {
    transform: scale(1.05) rotate(4deg);
}

/* Badges for roles - moved below the avatar */
.role-badge {
    display: inline-block;
    position: relative;
    margin-bottom: 16px;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
    font-family: var(--font-family);
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-owner {
    background-color: rgba(255, 42, 133, 0.08);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.badge-manager {
    background-color: rgba(0, 229, 255, 0.08);
    color: #00b0ff;
    border: 2px solid #00e5ff;
}

.badge-employee-aria {
    background-color: rgba(176, 38, 255, 0.08);
    color: #9c27b0;
    border: 2px solid #b026ff;
}

.badge-employee-sora {
    background-color: rgba(255, 215, 0, 0.08);
    color: #e65100;
    border: 2px solid #ffd700;
}

.team-info h3 {
    font-family: var(--font-family);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.team-desc {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.45;
}



@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .about-us {
        padding: 60px 0;
    }
}

/* ==========================================================================
   Contact Section Styling
   ========================================================================== */

.contact {
    padding: 80px 0 120px 0;
    background-color: var(--body-bg);
}

.contact-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 35, 120, 0.04);
    border: 3px solid #ffffff;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.contact-header p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafbfc;
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 42, 133, 0.12);
}

/* Verification input styles */
.verification-group {
    background-color: rgba(0, 51, 255, 0.03);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 51, 255, 0.08);
}

.challenge-label {
    display: block;
    margin-bottom: 6px;
}

.verification-group input {
    background-color: #ffffff !important;
}

.challenge-error {
    color: #e11d48;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 6px;
    display: none;
}

.challenge-error.show {
    display: block;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.form-actions {
    text-align: center;
    margin-top: 10px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #d6146c);
    color: #ffffff;
    border: none;
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: bold;
    padding: 18px 48px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 42, 133, 0.25);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s;
    width: 100%;
    max-width: 320px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 42, 133, 0.35);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Success Message Popup with Glassmorphism */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
}

.success-message.show {
    opacity: 1;
    pointer-events: auto;
}

/* Stars Shower Background */
.stars-shower-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.falling-star-piece {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    animation: star-fall 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes star-fall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(10px) rotate(45deg) scale(1);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(550px) rotate(720deg) scale(0.7);
        opacity: 0;
    }
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: scale-up-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.success-message h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.success-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin-bottom: 30px;
}

.reset-form-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.reset-form-btn:hover {
    background-color: rgba(255, 42, 133, 0.05);
    transform: translateY(-2px);
}

@keyframes scale-up-bounce {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */

footer {
    background-color: #0b1126;
    color: #9ca3af;
    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary-color);
}

footer p {
    margin-bottom: 8px;
}

footer p:first-child {
    color: #ffffff;
    font-weight: 600;
}

.footer-note {
    font-size: 0.85rem;
    color: #6b7280;
}

/* ==========================================================================
   Easter Egg Styles
   ========================================================================== */

/* Name Banner */
.name-banner {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: #ffffff;
    border: 4px solid var(--primary-color);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-align: center;
    transition: top 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.name-banner.show {
    top: 40px;
}

#banner-kayla {
    border-color: var(--primary-color);
}

#banner-erika {
    border-color: var(--accent-color);
}

.name-banner h2 {
    font-size: 2rem;
    margin-bottom: 6px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#banner-kayla h2 {
    color: var(--primary-color);
}

#banner-erika h2 {
    color: #0088cc;
}

.name-banner p {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Magic Rain Particles */
.rain-emoji {
    position: fixed;
    top: -50px;
    font-size: 2.2rem;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    animation: rain-fall 4s linear forwards;
}

@keyframes rain-fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
    }
}

/* Floating Icon Animation */
@keyframes floating-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   9. Pop Counter & Pop Master Modal Styling
   ========================================================================== */

.pop-counter-container {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--stars-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pop-counter-container.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pop-count-num {
    color: var(--primary-color);
    font-weight: 800;
    transition: transform 0.15s ease;
    display: inline-block;
    text-shadow: 1px 1px 0px #ffffff, -1px -1px 0px #ffffff, 1px -1px 0px #ffffff, -1px 1px 0px #ffffff;
}

.pop-count-num.bump {
    transform: scale(1.4) rotate(-5deg);
}

/* Pop Master Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 8, 37, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-card {
    background: rgba(255, 255, 255, 0.95);
    border: 4px solid var(--primary-color);
    border-radius: 24px;
    padding: 32px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 42, 133, 0.2);
    transform: scale(0.85) rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #030825;
    font-family: var(--font-family);
}

.modal-overlay.show .modal-card {
    transform: scale(1) rotate(0deg);
}

.modal-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounce 1s infinite alternate;
}

.modal-card h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'Fredoka', sans-serif;
}

.modal-card p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.modal-code-box {
    background: #f0f4ff;
    border: 3px dashed var(--primary-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.modal-code-box span {
    font-size: 0.85rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-code-box strong {
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-family: 'Fredoka', sans-serif;
    text-shadow: 1px 1px 0px #ffffff;
}

.modal-note {
    font-size: 0.9rem;
    color: #4b5563;
    font-style: italic;
    margin-bottom: 24px;
}

.modal-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d9166f 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-family);
    box-shadow: 0 4px 12px rgba(255, 42, 133, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 42, 133, 0.4);
}

/* Powerup Modal Elements */
.powerup-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.powerup-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
    font-family: inherit;
    width: 100%;
}

.powerup-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 6px 12px rgba(255, 42, 133, 0.15);
}

.powerup-icon {
    font-size: 2.2rem;
}

.powerup-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.powerup-info strong {
    font-size: 1.1rem;
    color: #030825;
}

.powerup-info span {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.25;
}

.active-powerups-list {
    font-size: 0.85rem;
    color: #ffffff;
    opacity: 0.95;
    font-family: var(--font-family);
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 16px;
    display: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.active-powerups-list.has-active {
    display: inline-block;
}

/* Rainbow Shimmer - Fever Dream mode! */
.rainbow-shimmer-active body {
    background: linear-gradient(135deg, 
        #c3ecff 0%,  /* Light Sky Blue */
        #d2dbff 25%, /* Soft Sky Lavender */
        #ebd0f0 50%, /* Pale Pink */
        #ffdcd2 75%, /* Pale Peach */
        #d1f2d9 100% /* Pale Mint Green */
    ) !important;
    background-size: 400% 400% !important;
    animation: rainbow-body-shift 15s ease infinite !important;
    color: #0b1126 !important;
}

.rainbow-shimmer-active .products,
.rainbow-shimmer-active .about-us,
.rainbow-shimmer-active .secret-coupon-section,
.rainbow-shimmer-active .contact {
    background-color: transparent !important;
}

.rainbow-shimmer-active .product-card,
.rainbow-shimmer-active .team-card,
.rainbow-shimmer-active .contact-card,
.rainbow-shimmer-active .modal-card,
.rainbow-shimmer-active .coupon-reveal-card,
.rainbow-shimmer-active .gift-box-container,
.rainbow-shimmer-active .gift-container {
    position: relative;
    border: none !important;
    background: rgba(10, 15, 45, 0.93) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 1;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 42, 133, 0.15) !important;
}

.rainbow-shimmer-active .product-card::before,
.rainbow-shimmer-active .team-card::before,
.rainbow-shimmer-active .contact-card::before,
.rainbow-shimmer-active .modal-card::before,
.rainbow-shimmer-active .coupon-reveal-card::before,
.rainbow-shimmer-active .gift-box-container::before,
.rainbow-shimmer-active .gift-container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(90deg, #ff2a85, #ff9d00, #ffff00, #00e5ff, #b026ff, #ff2a85);
    background-size: 200% 100%;
    z-index: -1;
    animation: rainbow-border-flow 3s linear infinite;
}

.rainbow-shimmer-active .product-card::before {
    border-radius: 20px;
}

.rainbow-shimmer-active .contact-card::before {
    border-radius: 20px;
}

.rainbow-shimmer-active .modal-card::before {
    border-radius: 28px;
}

.rainbow-shimmer-active .coupon-reveal-card::before {
    border-radius: 20px;
}

.rainbow-shimmer-active .team-card::before {
    border-radius: 20px;
}

.rainbow-shimmer-active .gift-box-container::before,
.rainbow-shimmer-active .gift-container::before {
    border-radius: 20px;
}

/* White text overrides for readability inside the cards */
.rainbow-shimmer-active .product-info h3,
.rainbow-shimmer-active .product-description,
.rainbow-shimmer-active .product-price,
.rainbow-shimmer-active .team-info h3,
.rainbow-shimmer-active .team-desc,
.rainbow-shimmer-active .contact-card h2,
.rainbow-shimmer-active .contact-card p,
.rainbow-shimmer-active .form-group label,
.rainbow-shimmer-active .form-group input,
.rainbow-shimmer-active .form-group textarea,
.rainbow-shimmer-active .challenge-label,
.rainbow-shimmer-active .custom-orders-banner h3,
.rainbow-shimmer-active .custom-orders-banner p,
.rainbow-shimmer-active .coupon-reveal-card .coupon-terms,
.rainbow-shimmer-active .coupon-reveal-card .coupon-subtext {
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) !important;
}

/* Custom role badge styles in rainbow mode inside cards */
.rainbow-shimmer-active .role-badge {
    background-color: rgba(255, 255, 255, 0.08) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4) !important;
}
.rainbow-shimmer-active .badge-owner {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.rainbow-shimmer-active .badge-manager {
    color: #00e5ff !important;
    border-color: #00e5ff !important;
}
.rainbow-shimmer-active .badge-employee-aria {
    color: #b026ff !important;
    border-color: #b026ff !important;
}
.rainbow-shimmer-active .badge-employee-sora {
    color: #ffd700 !important;
    border-color: #ffd700 !important;
}



/* Dark navy overrides for text directly on the sky blue background */
.rainbow-shimmer-active .section-tagline,
.rainbow-shimmer-active .contact-header h2,
.rainbow-shimmer-active .contact-header p,
.rainbow-shimmer-active .teaser-text h3,
.rainbow-shimmer-active .teaser-text p,
.rainbow-shimmer-active .teaser-title,
.rainbow-shimmer-active .teaser-desc {
    color: #0b1126 !important;
    text-shadow: none !important;
}

/* Custom design for coupon content in rainbow mode */
.rainbow-shimmer-active .coupon-reveal-card .coupon-header {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 42, 133, 0.6) !important;
}
.rainbow-shimmer-active .coupon-reveal-card .coupon-discount {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.8), 0 0 4px #ffffff !important;
}

/* Customizer styles in rainbow mode */
.rainbow-shimmer-active .active-powerups-list {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.rainbow-shimmer-active .custom-orders-banner {
    background: rgba(10, 15, 45, 0.93) !important;
    border: 2px dashed rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
}

/* Powerup modal buttons in rainbow mode */
.rainbow-shimmer-active .powerup-btn {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.rainbow-shimmer-active .powerup-btn:hover {
    border-color: #ff2a85 !important;
    box-shadow: 0 0 15px rgba(255, 42, 133, 0.4) !important;
}

.rainbow-shimmer-active .powerup-info strong {
    color: #ffffff !important;
}

.rainbow-shimmer-active .powerup-info span {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Gold Dots and Falling Emojis in Rainbow mode */
.rainbow-shimmer-active .gold-dots .dot {
    animation: bounce-dots 2s infinite ease-in-out, rainbow-dots-glow 4s linear infinite !important;
}

.rainbow-shimmer-active .rain-emoji {
    animation: rain-fall 4s linear forwards, rainbow-emoji-hue 4s linear infinite !important;
}

@keyframes rainbow-emoji-hue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes rainbow-dots-glow {
    0% { background-color: #ff2a85; box-shadow: 0 0 15px #ff2a85, 0 0 5px #ffffff; }
    20% { background-color: #ff9d00; box-shadow: 0 0 15px #ff9d00, 0 0 5px #ffffff; }
    40% { background-color: #ffff00; box-shadow: 0 0 15px #ffff00, 0 0 5px #ffffff; }
    60% { background-color: #00e5ff; box-shadow: 0 0 15px #00e5ff, 0 0 5px #ffffff; }
    80% { background-color: #b026ff; box-shadow: 0 0 15px #b026ff, 0 0 5px #ffffff; }
    100% { background-color: #ff2a85; box-shadow: 0 0 15px #ff2a85, 0 0 5px #ffffff; }
}

/* Form input custom styling in dark mode */
.rainbow-shimmer-active .form-group input,
.rainbow-shimmer-active .form-group textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.rainbow-shimmer-active .form-group input:focus,
.rainbow-shimmer-active .form-group textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 10px rgba(255, 42, 133, 0.3) !important;
}

.rainbow-shimmer-active .form-group input::placeholder,
.rainbow-shimmer-active .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7) !important; /* highly visible white placeholder */
    opacity: 1 !important;
}

/* Headers text gradients */
.rainbow-shimmer-active .product-title,
.rainbow-shimmer-active .section-header h2 {
    background: linear-gradient(to right, #ff2a85, #ff9d00, #ffff00, #00e5ff, #b026ff, #ff2a85);
    background-size: 200% auto;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    animation: rainbow-text-flow 4s linear infinite !important;
    display: inline-block;
    filter: drop-shadow(1px 1px 0px rgba(11, 17, 38, 0.4)) !important;
}

.rainbow-shimmer-active .submit-btn {
    background: linear-gradient(to right, #ff2a85, #ff9d00, #ffff00, #00e5ff, #b026ff, #ff2a85) !important;
    background-size: 200% 100% !important;
    animation: rainbow-border-flow 3s linear infinite !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6) !important;
}

/* Highly animated, spiced up double-layered hero background */
.rainbow-shimmer-active .hero {
    position: relative !important;
    background: none !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.rainbow-shimmer-active .hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, 
        #ff2a85 0%, 
        #ff9d00 16%, 
        #ffff00 33%, 
        #00e676 50%, 
        #00e5ff 66%, 
        #2979ff 83%, 
        #b026ff 100%
    ) !important;
    z-index: -2 !important;
    animation: rainbow-hue-shift 6s linear infinite !important;
}

.rainbow-shimmer-active .hero::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(10, 15, 45, 0.35) !important; /* medium-light tint so rainbow pops */
    z-index: -1 !important;
}

/* Hero text visibility */
.rainbow-shimmer-active .subtitle,
.rainbow-shimmer-active .scroll-link span,
.rainbow-shimmer-active .arrow {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.rainbow-shimmer-active .success-message {
    background: rgba(10, 15, 45, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: #ffffff !important;
    border: none !important;
}

.rainbow-shimmer-active .success-message h3,
.rainbow-shimmer-active .success-message p {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.rainbow-shimmer-active footer {
    background-color: #0b1126 !important;
    border-top: 4px solid var(--primary-color) !important;
}

@keyframes rainbow-border-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes rainbow-text-flow {
    0% { background-position: 0% center; }
    100% { background-position: -200% center; }
}

@keyframes rainbow-hue-shift {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes rainbow-dots-glow {
    0% { background-color: #ff2a85; box-shadow: 0 0 15px #ff2a85, 0 0 5px #ffffff; }
    20% { background-color: #ff9d00; box-shadow: 0 0 15px #ff9d00, 0 0 5px #ffffff; }
    40% { background-color: #ffff00; box-shadow: 0 0 15px #ffff00, 0 0 5px #ffffff; }
    60% { background-color: #00e5ff; box-shadow: 0 0 15px #00e5ff, 0 0 5px #ffffff; }
    80% { background-color: #b026ff; box-shadow: 0 0 15px #b026ff, 0 0 5px #ffffff; }
    100% { background-color: #ff2a85; box-shadow: 0 0 15px #ff2a85, 0 0 5px #ffffff; }
}

@keyframes rainbow-body-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
