:root {
    --hue: 220;
    --sat: 72%;
    --primary:        hsl(var(--hue), var(--sat), 42%);
    --primary-light:  hsl(var(--hue), var(--sat), 55%);
    --primary-dark:   hsl(var(--hue), var(--sat), 28%);
    --primary-xlight: hsl(var(--hue), var(--sat), 94%);
    --primary-glow:   hsl(var(--hue), var(--sat), 55%);
    --body-bg:        hsl(var(--hue), 25%, 98%);
    --secondary: #F59E0B;
    --dark: #0F172A;
}

body {
    background-color: hsl(calc(var(--hue) + 90), 15%, 97%) !important;
    transition: background-color 0.8s ease;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-gradient {
    background: linear-gradient(135deg,
        hsla(var(--hue), var(--sat), 38%, 0.95) 0%,
        rgba(15, 23, 42, 0.92) 100%);
    transition: background 0.5s ease;
}

.hero-bg-gradient {
    position: absolute;
    inset-x: 0;
    top: 0;
    height: 150vh;
    z-index: 0;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(0,0,0,0.4) 0%, transparent 65%),
        radial-gradient(ellipse at 55% 25%, rgba(0,0,0,0.18) 0%, transparent 55%),
        linear-gradient(to bottom,
            rgba(0,0,0,0.45) 0%,
            rgba(0,0,0,0.25) 70%,
            transparent 100%
        );
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-bg-gradient { height: 240vh; }
}

#gradient-flow {
    background: linear-gradient(
        135deg,
        hsl(220, 50%, 8%) 0%,
        hsl(240, 50%, 12%) 25%,
        hsl(270, 55%, 16%) 50%,
        hsl(210, 50%, 14%) 75%,
        hsl(220, 50%, 10%) 100%
    );
    transition: background 0.8s ease;
}

#services  { background: transparent !important; }
#best-sellers { background: transparent !important; }

.service-card {
    background: rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(255,255,255,0.28) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    transition: all 0.35s ease;
}
.service-card:hover {
    background: rgba(255,255,255,0.24) !important;
    border-color: rgba(255,255,255,0.45) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.service-card h3 { color: #fff !important; }
.service-card p.text-sm { color: rgba(255,255,255,0.78) !important; }

.service-icon.cm-icon-box {
    background: rgba(255,255,255,0.22) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.group:hover .service-icon.cm-icon-box {
    background: rgba(255,255,255,0.95) !important;
    color: var(--primary) !important;
}

.service-card a.flex-1 {
    background: rgba(255,255,255,0.18) !important;
    border-color: rgba(255,255,255,0.35) !important;
    color: #fff !important;
}
.service-card a.flex-1:hover { background: rgba(255,255,255,0.32) !important; }

#services .cm-heading { color: #fff !important; }
#services .text-gray-500 { color: rgba(255,255,255,0.8) !important; }
#best-sellers .cm-heading { color: #fff !important; }
#best-sellers span.text-secondary { color: #fcd34d !important; }
#best-sellers p.text-gray-500 { color: rgba(255,255,255,0.82) !important; }

#gradient-flow .cm-section-tint::after { display: none; }

#best-sellers .bg-white {
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.hero-mesh {
    position: absolute;
    inset-x: 0;
    top: 0;
    height: 150vh;
    z-index: 1;
    opacity: 0.15;
    background-image:
        radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    animation: meshFloat 12s ease-in-out infinite;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
    pointer-events: none;
}
@media (max-width: 768px) {
    .hero-mesh { height: 240vh; }
}
@keyframes meshFloat {
    0%, 100% { transform: translate(0, 0); }
    33%       { transform: translate(8px, -8px); }
    66%       { transform: translate(-6px, 6px); }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: orbPulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: clamp(200px, 40vw, 500px);
    height: clamp(200px, 40vw, 500px);
    top: -100px; left: -100px;
    background: hsla(var(--hue), 90%, 60%, 0.3);
    animation-delay: 0s;
}
.hero-orb-2 {
    width: clamp(160px, 35vw, 400px);
    height: clamp(160px, 35vw, 400px);
    bottom: -80px; right: -60px;
    background: hsla(calc(var(--hue) + 60), 85%, 55%, 0.25);
    animation-delay: 2s;
}
.hero-orb-3 {
    width: clamp(120px, 25vw, 300px);
    height: clamp(120px, 25vw, 300px);
    top: 30%; right: 25%;
    background: hsla(calc(var(--hue) + 120), 80%, 65%, 0.2);
    animation-delay: 4s;
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50%       { transform: scale(1.15); opacity: 1; }
}

.btn-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px hsla(var(--hue), 70%, 45%, 0.35);
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.brand-primary { color: var(--primary); transition: color 0.4s ease; }

.nav-icon-box {
    background: var(--primary);
    transition: background 0.4s ease;
}

.nav-cta {
    background: var(--primary);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav-cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 20px -4px hsla(var(--hue), 70%, 40%, 0.4);
}

.cm-bg-primary {
    background: var(--primary) !important;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.cm-bg-primary:hover {
    box-shadow: 0 8px 24px -6px hsla(var(--hue), 70%, 42%, 0.5);
}

.cm-text-primary {
    color: var(--primary) !important;
    transition: color 0.4s ease;
}

.cm-icon-box {
    color: var(--primary);
    transition: color 0.4s ease, background 0.4s ease;
}
.group:hover .cm-icon-box {
    background: var(--primary) !important;
    color: white !important;
}

.service-card:hover {
    border-color: hsla(var(--hue), var(--sat), 55%, 0.25) !important;
}

.cm-heading { color: var(--primary); transition: color 0.4s ease; }

.cm-accent { color: var(--secondary); }

.cm-badge-primary {
    background: var(--primary);
    transition: background 0.4s ease;
}

.cm-link {
    color: var(--primary);
    transition: color 0.4s ease;
}
.cm-link:hover { color: var(--secondary); }

.cm-form-panel {
    background: var(--primary);
    transition: background 0.4s ease;
}

.cm-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px hsla(var(--hue), 70%, 55%, 0.12) !important;
}

.footer-icon-box {
    background: var(--primary);
    transition: background 0.4s ease;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.cm-section-tint { position: relative; overflow: hidden; }
.cm-section-tint::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        hsla(var(--hue), 80%, 60%, 0.04) 0%,
        hsla(var(--hue), 80%, 45%, 0.07) 100%);
    pointer-events: none;
    z-index: 0;
    transition: background 0.5s ease;
}
.cm-section-tint > * { position: relative; z-index: 1; }

.why-icon {
    color: var(--primary);
    background: hsla(var(--hue), 80%, 60%, 0.1);
    transition: color 0.4s ease, background 0.4s ease;
}
.group:hover .why-icon {
    background: var(--primary) !important;
    color: white !important;
}

.cm-check-icon { color: var(--secondary); }

.social-icon:hover { background: var(--primary) !important; transition: background 0.3s ease; }

.footer-divider { border-color: hsla(var(--hue), 40%, 70%, 0.15); }

.carousel-glow-frame {
    position: absolute;
    width: 88%;
    height: 72%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 
        0 0 45px rgba(0, 0, 0, 0.35),
        inset 0 0 25px rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

.tshirt-carousel-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    transform-style: preserve-3d;
    overflow: visible;
}

.tshirt-item {
    position: absolute;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity, z-index;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
}

.tshirt-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65));
    transition: filter 0.8s ease;
}

.tshirt-item.pos-center {
    transform: translateX(0) scale(1.18) translateZ(50px);
    z-index: 30;
    opacity: 1;
}
.tshirt-item.pos-center img {
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.8)) brightness(1);
}

.tshirt-item.pos-left {
    transform: translateX(-42%) scale(0.85) rotate(-6deg) translateZ(-50px);
    z-index: 10;
    opacity: 0.55;
}
.tshirt-item.pos-left img {
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5)) brightness(0.65);
}

.tshirt-item.pos-right {
    transform: translateX(42%) scale(0.85) rotate(6deg) translateZ(-50px);
    z-index: 20;
    opacity: 0.55;
}
.tshirt-item.pos-right img {
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5)) brightness(0.65);
}

#lightbox{transition:opacity .3s}

/* ===== HERO NEW DESIGN ===== */
.hero-text-content {
    text-align: center;
}

.hero-mascot-wrap {
    position: relative;
}

.mascot-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mascot-img {
    max-height: 80vh;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

/* Glow effect behind mascot - reactive to chameleon color */
.mascot-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, hsla(var(--hue), 80%, 55%, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: mascotGlow 4s ease-in-out infinite;
    transition: background 0.8s ease;
}

@keyframes mascotGlow {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
    .mascot-img {
        max-height: 350px;
    }
}

/* Service items styling */
.service-item {
    transition: transform 0.08s ease, filter 0.08s ease;
}
.service-item:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}
.service-item svg {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}
.service-item button {
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.service-item button:hover {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

/* Tablet base for mascot */
.tablet-base {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
