/* ============================================================
   sweeties - קופסאות ניפוץ | Main Stylesheet
   ============================================================ */

/* ---------- Variables ---------- */
:root {
    --bg:        #0d0014;
    --bg2:       #150022;
    --purple:    #8B2FC9;
    --purple-l:  #A855F7;
    --gold:      #D4AF37;
    --gold-l:    #F0D060;
    --pink:      #E040C8;
    --white:     #F8F0FF;
    --text:      #E0D0F0;
    --text-dim:  #A090C0;
    --card-bg:   rgba(30, 8, 60, 0.75);
    /* These three auto-update when --purple/--purple-l changes */
    --glass:     color-mix(in srgb, var(--purple) 15%, transparent);
    --border:    color-mix(in srgb, var(--purple-l) 22%, transparent);
    --shadow:    0 8px 40px color-mix(in srgb, var(--purple) 35%, transparent);
    --radius:    18px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(.4,0,.2,1);
    --font: 'Heebo', sans-serif;
}

/* ---------- Light Mode ---------- */
/* מסיר --purple כדי שצבע הנושא הנבחר יישמר גם במצב בהיר */
/* html prefix מגביר specificity כדי לגבור על body[data-color] */
html body.light-mode {
    --bg:       #f8f5ff;
    --bg2:      #efe8ff;
    --white:    #120028;
    --text:     #200040;
    --text-dim: #5040a0;
    --card-bg:  rgba(255, 253, 255, 0.94);
    --gold:     #a07010;
    --gold-l:   #c09020;
}
html body.light-mode #bg-hearts .bg-heart { opacity: 0.06; }
html body.light-mode #header.scrolled { background: rgba(248,245,255,0.94); }
#intro-screen { background: #0d0014 !important; }

/* ── Color themes – only set hue vars; glass/border/shadow auto-follow ── */
body[data-color="purple"] {
    --purple:#8B2FC9; --purple-l:#A855F7; --pink:#E040C8;
    --bg:#0d0014; --bg2:#150022; --card-bg:rgba(30,8,60,0.75);
}
body[data-color="orange"] {
    --purple:#D4600A; --purple-l:#F97316; --pink:#FB923C;
    --bg:#120600; --bg2:#1c0d00; --card-bg:rgba(35,10,0,0.78);
}
body[data-color="green"] {
    --purple:#167A3E; --purple-l:#22C55E; --pink:#4ADE80;
    --bg:#001208; --bg2:#001d0e; --card-bg:rgba(0,28,14,0.78);
}
body[data-color="pink"] {
    --purple:#BE1D74; --purple-l:#EC4899; --pink:#F9A8D4;
    --bg:#130008; --bg2:#1e0010; --card-bg:rgba(30,0,16,0.78);
}
body[data-color="blue"] {
    --purple:#1A44C8; --purple-l:#3B82F6; --pink:#60A5FA;
    --bg:#000d1a; --bg2:#001428; --card-bg:rgba(0,14,35,0.78);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ---------- Custom Cursor (desktop) ---------- */
@media (pointer: fine) {
    body { cursor: none; }
    #cursor-dot {
        position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
        width: 8px; height: 8px; border-radius: 50%;
        background: var(--gold);
        transform: translate(-50%, -50%);
        transition: transform .15s, opacity .15s;
        mix-blend-mode: screen;
    }
    #cursor-hammer {
        position: fixed; top: 0; left: 0; z-index: 99998; pointer-events: none;
        font-size: 22px; transform: translate(-50%, -50%) rotate(25deg);
        transition: transform .15s cubic-bezier(.4,0,.2,1);
        opacity: 0.9;
        filter: drop-shadow(0 0 6px var(--gold));
    }
}
@media (pointer: coarse) {
    #cursor-dot, #cursor-hammer { display: none; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ---------- Selection ---------- */
::selection { background: var(--purple); color: var(--white); }

/* ---------- Utility ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gold-text { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 50%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.outline-text { -webkit-text-stroke: 2px var(--purple-l); color: transparent; }
.text-right { text-align: right; }

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-l) 100%);
    color: #fff; font-weight: 700; font-size: 1rem;
    box-shadow: 0 4px 24px color-mix(in srgb, var(--purple) 50%, transparent);
    transition: var(--transition); border: none;
    white-space: nowrap;
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 36px color-mix(in srgb, var(--purple) 70%, transparent);
}
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 50px;
    border: 2px solid var(--purple-l); color: var(--white);
    font-weight: 700; font-size: 1rem; transition: var(--transition);
}
.btn-secondary:hover {
    background: color-mix(in srgb, var(--purple) 20%, transparent);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--purple) 30%, transparent);
}
.btn-full { width: 100%; justify-content: center; }

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   INTRO SCREEN
   ============================================================ */
#intro-screen {
    position: fixed; inset: 0; z-index: 9000;
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
}
#three-canvas {
    position: absolute; inset: 0; width: 100% !important; height: 100% !important;
    cursor: none;
}

/* Loading overlay */
#loading-overlay {
    position: absolute; inset: 0; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    transition: opacity .8s ease;
}
.loading-inner { text-align: center; }
.loading-logo { width: 150px; margin: 0 auto 16px; filter: drop-shadow(0 0 20px var(--purple)); }
.loading-title { font-family: 'Allura', cursive; font-size: 3.2rem; font-weight: 400; letter-spacing: 3px; background: linear-gradient(135deg, var(--gold), var(--gold-l)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 24px; }
.loading-hashtag { color: var(--purple-l); font-size: .95rem; font-weight: 600; letter-spacing: 2px; opacity: 0.8; margin-bottom: 20px; }
.loading-bar-wrap { width: 240px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; margin: 0 auto 12px; overflow: hidden; }
.loading-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--purple), var(--gold)); border-radius: 2px; transition: width .3s ease; }
.loading-text { color: var(--text-dim); font-size: .9rem; }

/* Intro UI */
#intro-ui {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column;
    align-items: center; justify-content: space-between;
    padding: 10vh 0 22vh;
    pointer-events: none;
    transition: opacity .5s ease;
}
.intro-brand { text-align: center; }
.intro-logo { width: 165px; margin: 0 auto 14px; filter: drop-shadow(0 0 30px var(--purple)); }
.intro-site-title {
    font-family: 'Allura', cursive;
    font-size: 5rem; font-weight: 400; letter-spacing: 4px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-l) 50%, var(--gold) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(212,175,55,0.5));
}
.intro-tagline { color: var(--text-dim); letter-spacing: 3px; font-size: 1rem; margin-top: 8px; }
.intro-hashtag {
    display: block;
    color: var(--purple-l); font-size: 1rem; font-weight: 600;
    letter-spacing: 3px; opacity: 0.85;
    font-family: 'Heebo', sans-serif;
    -webkit-text-fill-color: var(--purple-l);
}

#smash-hint {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 50px;
    border: 2px solid rgba(212, 175, 55, 0.5);
    background: rgba(30, 8, 60, 0.8);
    color: var(--gold); font-weight: 700; font-size: 1.1rem;
    pointer-events: auto; cursor: pointer;
    backdrop-filter: blur(10px);
}
.hint-hammer { font-size: 1.4rem; }

/* Impact flash */
#impact-flash {
    position: absolute; inset: 0; z-index: 20;
    background: #fff; opacity: 0; pointer-events: none;
    transition: opacity .15s ease;
}
#impact-flash.active { opacity: 0.85; }

/* SMASH text */
#smash-text {
    position: absolute; z-index: 25;
    top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0);
    font-size: clamp(4rem, 14vw, 9rem);
    font-weight: 900; letter-spacing: 6px;
    background: linear-gradient(135deg, var(--gold), #fff, var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 40px var(--gold));
    pointer-events: none;
    transition: transform .1s, opacity .5s;
    opacity: 0;
}
#smash-text.boom {
    transform: translate(-50%,-50%) scale(1.2);
    opacity: 1;
}

/* Skip button */
#skip-btn {
    position: absolute; bottom: 30px; left: 30px; z-index: 30;
    padding: 8px 20px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(20,0,40,0.7); color: var(--text-dim);
    font-size: .85rem; cursor: pointer; transition: var(--transition);
    backdrop-filter: blur(8px);
}
#skip-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* Pulse glow animation */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(212,175,55,0.3), 0 0 30px rgba(139,47,201,0.2); }
    50% { box-shadow: 0 0 30px rgba(212,175,55,0.6), 0 0 60px color-mix(in srgb, var(--purple) 40%, transparent); }
}
.pulse-glow { animation: pulseGlow 2s ease-in-out infinite; }

/* ============================================================
   MAIN SITE
   ============================================================ */
#main-site {
    opacity: 0;
    transition: opacity .8s ease;
    position: relative;
}
#main-site.visible { opacity: 1; }

/* Background floating hearts */
#bg-hearts {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    overflow: hidden;
}
.bg-heart {
    position: absolute;
    color: var(--purple);
    opacity: 0;
    font-size: 20px;
    animation: floatHeart linear infinite;
    user-select: none;
}
@keyframes floatHeart {
    0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0.5); }
    10% { opacity: 0.15; }
    90% { opacity: 0.1; }
    100% { opacity: 0; transform: translateY(-10vh) rotate(360deg) scale(1.2); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 30px 0;
    transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease, box-shadow .4s ease;
}
#header.scrolled {
    background: rgba(13, 0, 20, 0.92);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(80, 0, 140, 0.3);
}
@keyframes logoSparkle {
    0%,100% { filter: drop-shadow(0 0 6px rgba(212,175,55,.45)) drop-shadow(0 0 12px rgba(139,47,201,.2)); }
    40%      { filter: drop-shadow(0 0 14px rgba(212,175,55,.7)) drop-shadow(0 0 22px rgba(255,215,0,.35)) brightness(1.1); }
    70%      { filter: drop-shadow(0 0 10px rgba(255,255,255,.35)) drop-shadow(0 0 18px rgba(212,175,55,.55)) brightness(1.06); }
}

/* Sticky floating logo */
.logo-float {
    position: fixed; top: 10px; right: 18px; z-index: 1100;
    display: block; line-height: 0;
    transform-origin: top right;
}
.logo-float img {
    height: 144px;
    animation: logoSparkle 7s ease-in-out infinite;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    transform-origin: top right;
    display: block;
}
.logo-float img:hover { transform: scale(1.5); }

.navbar {
    display: flex; align-items: center; justify-content: center;
    gap: 6px;
    direction: ltr;
}

/* ── Theme toggle (inline in navbar) ── */
#theme-toggle {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: var(--glass); border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--purple) 30%, transparent);
}
#theme-toggle:hover { transform: scale(1.15) rotate(20deg); }
.t-light { display: none; }
.t-dark  { display: block; }
body.light-mode .t-light { display: block; }
body.light-mode .t-dark  { display: none; }

/* ── Navbar: dots+toggle שמאל | לינקים מרכז ── */
.navbar {
    display: flex; align-items: center;
    gap: 12px; direction: ltr;
}
.nav-left {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; margin-right: auto;
}
.nav-sep {
    width: 1px; height: 20px;
    background: var(--border); flex-shrink: 0;
}
.nav-right { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; }

/* ── Color dots ── */
.color-dots { display: flex; align-items: center; gap: 8px; }
.cdot {
    width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.cdot:hover { transform: scale(1.3); }
.cdot.active { border-color: #fff; transform: scale(1.2); box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 10px 16px; border-radius: 8px; font-weight: 500;
    color: var(--text); transition: var(--transition);
    position: relative; font-size: 1rem;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 2px; right: 14px; left: 14px;
    height: 2px; background: var(--gold); border-radius: 1px;
    transform: scaleX(0); transition: transform .3s;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-cta {
    background: linear-gradient(135deg, var(--purple), var(--purple-l));
    color: #fff !important; padding: 8px 20px; border-radius: 50px;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--purple) 40%, transparent);
}
.nav-cta:hover { box-shadow: 0 6px 24px color-mix(in srgb, var(--purple) 65%, transparent); transform: translateY(-2px); }
.nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px; width: 40px; background: none; border: none;
}
.hamburger span {
    display: block; height: 2px; background: var(--white); border-radius: 1px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, color-mix(in srgb, var(--purple) 18%, transparent) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 20% 70%, rgba(212,175,55,0.08) 0%, transparent 60%),
                var(--bg);
    padding: 120px 0 60px;
}
.hero-particles {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-particle {
    position: absolute; border-radius: 50%;
    animation: twinkle ease-in-out infinite alternate;
}
@keyframes twinkle {
    0% { opacity: .2; transform: scale(1); }
    100% { opacity: .8; transform: scale(1.4); }
}

/* Hero two-column layout */
.hero-inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.hero-content { max-width: 560px; }

/* Hero video column */
.hero-video-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
    transform-origin: center center;
    will-change: transform;
}
.hero-video-col:hover {
    transform: scale(1.20);
}
.hero-video-caption {
    display: inline-block; padding: 6px 18px; border-radius: 50px;
    border: 1px solid rgba(212,175,55,0.4); background: rgba(212,175,55,0.08);
    color: var(--gold); font-size: .9rem; font-weight: 600;
    text-align: center;
}

/* Hero video */
.hero-video-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 60px color-mix(in srgb, var(--purple) 40%, transparent),
                0 0 0 2px var(--border);
    transition: box-shadow .4s ease;
    width: 100%;
}
.hero-video-col:hover .hero-video-wrap {
    box-shadow: 0 30px 80px color-mix(in srgb, var(--purple) 55%, transparent),
                0 0 0 2px var(--purple-l);
}
.hero-video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}
.hero-video-glow {
    position: absolute; inset: -2px;
    border-radius: inherit;
    background: transparent;
    box-shadow: inset 0 0 40px color-mix(in srgb, var(--purple) 25%, transparent);
    pointer-events: none;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px;
}
.hero-badge {
    display: inline-block; padding: 6px 18px; border-radius: 50px;
    border: 1px solid rgba(212,175,55,0.4); background: rgba(212,175,55,0.08);
    color: var(--gold); font-size: .9rem; font-weight: 600;
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900; line-height: 1.15;
    margin-bottom: 20px; color: var(--white);
}
.hero-title .outline-text { white-space: nowrap; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 36px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat span { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.stat p { font-size: .8rem; color: var(--text-dim); margin-top: 2px; }
.stat-sep { color: var(--purple-l); font-size: 1.2rem; }

.hero-scroll {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-line {
    width: 2px; height: 50px;
    background: linear-gradient(to bottom, var(--purple-l), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: .3; height: 30px; }
    50% { opacity: 1; height: 50px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 100px 0; position: relative; }
.section-dark { background: var(--bg2); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; padding: 5px 16px; border-radius: 50px;
    border: 1px solid var(--border); background: var(--glass);
    color: var(--gold); font-size: .85rem; font-weight: 600;
    margin-bottom: 16px; letter-spacing: 1px;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); margin-bottom: 14px; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--purple) 40%, transparent), 0 0 0 1px rgba(212,175,55,0.2);
}
.product-img-wrap { position: relative; padding-top: 56%; background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 40%, var(--bg)), color-mix(in srgb, var(--purple) 15%, var(--bg))); }
.product-img-placeholder {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 15%, transparent) 0%, color-mix(in srgb, var(--gold) 10%, transparent) 100%);
}
.product-img-real {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.product-card:hover .product-img-real { transform: scale(1.06); }

/* ── Zoom button ── */
.img-zoom-btn {
    position: absolute; bottom: 10px; left: 10px; z-index: 5;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(6px);
    transition: transform .2s, background .2s, box-shadow .2s;
    opacity: 0;
    transition: opacity .3s, transform .2s, box-shadow .2s;
}
.product-img-wrap:hover .img-zoom-btn { opacity: 1; }
.img-zoom-btn:hover { transform: scale(1.18); background: var(--purple); box-shadow: 0 0 12px color-mix(in srgb, var(--purple) 60%, transparent); }

/* ── Lightbox ── */
#lightbox {
    position: fixed; inset: 0; z-index: 9500;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
#lightbox.active { opacity: 1; pointer-events: auto; }
.lb-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
}
.lb-content {
    position: relative; z-index: 1;
    max-width: min(90vw, 700px);
    max-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
#lb-img {
    max-width: 100%; max-height: 88vh;
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
    display: block;
    animation: lbIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes lbIn {
    from { transform: scale(0.82); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}
.lb-close {
    position: absolute; top: -14px; right: -14px;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--purple); color: #fff;
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    transition: transform .2s, background .2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.lb-close:hover { transform: scale(1.15); background: var(--purple-l); }
.product-badge {
    position: absolute; top: 12px; right: 12px;
    padding: 4px 12px; border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-l));
    color: #1a0a00; font-size: .78rem; font-weight: 800;
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.product-body p { color: var(--text-dim); font-size: .9rem; line-height: 1.6; margin-bottom: 20px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: 1.4rem; font-weight: 900; color: var(--gold); }
.btn-order {
    padding: 10px 22px; border-radius: 50px;
    background: linear-gradient(135deg, var(--purple), var(--purple-l));
    color: #fff; font-weight: 700; font-size: .9rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--purple) 40%, transparent);
}
.btn-order:hover { transform: scale(1.05); box-shadow: 0 6px 24px color-mix(in srgb, var(--purple) 65%, transparent); }
.card-custom { border-color: rgba(212,175,55,0.25); }
.card-custom .product-img-placeholder { background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, transparent), color-mix(in srgb, var(--purple) 20%, var(--bg))); }

/* ============================================================
   WORKSHOPS
   ============================================================ */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.workshop-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(12px);
}
.workshop-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--purple) 50%, transparent);
    box-shadow: 0 20px 60px rgba(139,47,201,0.35);
}
.ws-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.workshop-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.workshop-card p { color: var(--text-dim); font-size: .95rem; line-height: 1.6; margin-bottom: 20px; }
.ws-list { text-align: right; margin-bottom: 24px; display: flex; flex-direction: column; gap: 6px; }
.ws-list li { color: var(--text-dim); font-size: .9rem; }
.ws-list li::before { content: none; }
.ws-price { font-size: 1.6rem; font-weight: 900; color: var(--gold); margin-bottom: 20px; }
.ws-featured {
    border-color: rgba(212,175,55,0.4);
    background: linear-gradient(160deg, color-mix(in srgb, var(--purple) 35%, var(--bg2)) 0%, var(--bg2) 100%);
    box-shadow: 0 8px 40px rgba(212,175,55,0.15);
}
.ws-featured:hover { border-color: var(--gold); box-shadow: 0 20px 60px rgba(212,175,55,0.25); }
.ws-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    padding: 4px 20px; border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), var(--gold-l));
    color: #1a0a00; font-size: .8rem; font-weight: 800; white-space: nowrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
}
.about-visual { position: relative; }
.about-frame {
    width: 100%; aspect-ratio: 1;
    max-width: 380px; margin: 0 auto;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, color-mix(in srgb, var(--purple) 25%, var(--bg)), var(--bg));
    border: 2px solid color-mix(in srgb, var(--purple) 30%, transparent);
    position: relative;
    overflow: hidden;
    animation: morphBorder 8s ease-in-out infinite;
}
#controller-canvas {
    width: 100%; height: 100%;
    display: block; position: relative; z-index: 1;
    cursor: grab;
}
#controller-canvas:active { cursor: grabbing; }

.ctrl-hint {
    position: absolute; bottom: 14%; left: 50%;
    transform: translateX(-50%);
    z-index: 10; pointer-events: none;
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    animation: ctrlBounce 2s ease-in-out infinite;
    transition: opacity .6s ease;
}
.ctrl-hint.hidden { opacity: 0; }
.ctrl-hint-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--gold) 80%, transparent));
}
.ctrl-hint-text {
    font-size: .72rem; font-weight: 700; color: var(--gold);
    background: rgba(0,0,0,0.55);
    padding: 3px 11px; border-radius: 20px;
    backdrop-filter: blur(6px);
    border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    white-space: nowrap;
}
@keyframes ctrlBounce {
    0%, 100% { transform: translateX(-50%) translateY(0)  scale(1);   opacity: .8; }
    50%       { transform: translateX(-50%) translateY(-5px) scale(1.08); opacity: 1; }
}
@keyframes morphBorder {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}
.about-glow {
    position: absolute; inset: -20px;
    background: radial-gradient(circle, color-mix(in srgb, var(--purple) 20%, transparent), transparent 70%);
    border-radius: inherit;
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: .5; }
    50% { opacity: 1; }
}
.about-hammer-float {
    position: absolute; bottom: 10%; right: -5%;
    font-size: 2.5rem; animation: floatItem 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--gold));
}
.about-heart-float {
    position: absolute; top: 15%; left: 0%;
    font-size: 1.8rem; color: var(--pink);
    animation: floatItem 5s ease-in-out infinite reverse;
    filter: drop-shadow(0 0 8px var(--pink));
}
@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-16px) rotate(10deg); }
}
.about-p { color: var(--text-dim); font-size: 1rem; line-height: 1.85; margin-bottom: 18px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feat {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--purple) 18%, var(--bg));
    border: 1px solid color-mix(in srgb, var(--purple) 35%, transparent);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.feat:hover { border-color: rgba(212,175,55,0.3); background: rgba(212,175,55,0.07); }
.feat-icon { font-size: 1.6rem; flex-shrink: 0; }
.feat h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.feat p { font-size: .8rem; color: var(--text-dim); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color .3s;
}
.faq-item.open { border-color: color-mix(in srgb, var(--purple) 50%, transparent); }
.faq-q {
    width: 100%; padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1rem; font-weight: 600; color: var(--white);
    background: none; cursor: pointer; text-align: right;
    gap: 16px; transition: color .3s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
    font-size: 1.4rem; font-weight: 300; color: var(--purple-l);
    transition: transform .4s, color .3s; flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--gold); }
.faq-a { display: none; padding: 0 24px 20px; }
.faq-a.open-anim { display: block; animation: fadeDown .3s ease; }
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-a p { color: var(--text-dim); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
    padding: 24px; border-radius: var(--radius-sm);
    background: var(--card-bg); border: 1px solid var(--border);
    backdrop-filter: blur(12px); transition: var(--transition);
}
.contact-card:hover { border-color: color-mix(in srgb, var(--purple) 50%, transparent); transform: translateX(-4px); }
.cc-icon { font-size: 2rem; display: block; margin-bottom: 8px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact-card p { color: var(--text-dim); font-size: .9rem; margin-bottom: 12px; }
.cc-link { color: var(--purple-l); font-weight: 600; font-size: .9rem; transition: color .3s; }
.cc-link:hover { color: var(--gold); }

.contact-form-wrap {
    background: var(--card-bg); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 36px;
    backdrop-filter: blur(12px);
}
.form-success {
    text-align: center; padding: 60px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.form-success-icon { font-size: 3rem; }
.form-success h3 { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.form-success p { color: var(--text-dim); font-size: 1.05rem; }
.form-success-thanks { color: var(--gold) !important; font-weight: 700; font-size: 1.1rem !important; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    color: var(--white); font-family: var(--font); font-size: .95rem;
    transition: border-color .3s, box-shadow .3s;
    outline: none; direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--purple-l);
    box-shadow: 0 0 0 3px rgba(139,47,201,0.2);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg2); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer { background: var(--bg2); border-top: 1px solid var(--border); }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 78px; margin-bottom: 10px; filter: drop-shadow(0 0 8px var(--purple)); }
.footer-site-name { font-size: 1.6rem; font-weight: 900; letter-spacing: 4px; background: linear-gradient(135deg, var(--gold), var(--gold-l)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.fs-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--border); color: var(--text-dim);
    transition: var(--transition);
}
.fs-btn:hover { transform: translateY(-3px); }
.fs-tiktok:hover { color: #fff; border-color: #000; background: #000; }
.fs-insta:hover { color: #fff; border-color: #E1306C; background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.fs-wa:hover { color: #fff; border-color: #25D366; background: #25D366; }

.footer-links-col h4,
.footer-contact-col h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 18px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { color: var(--text-dim); font-size: .9rem; transition: color .3s; }
.footer-links-col a:hover { color: var(--gold); }
.footer-contact-col p { color: var(--text-dim); font-size: .9rem; margin-bottom: 8px; }
.footer-wa-btn {
    display: inline-block; margin-top: 12px; padding: 10px 22px;
    border-radius: 50px; background: #25D366; color: #fff;
    font-weight: 700; font-size: .9rem; transition: var(--transition);
}
.footer-wa-btn:hover { background: #1aa850; transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { text-align: center; color: var(--text-dim); font-size: .85rem; }
.snird { color: var(--gold); font-weight: 700; text-decoration: none; transition: opacity .2s; }
.snird:hover { opacity: .75; }

/* ============================================================
   FLOATING SOCIAL BUTTONS
   ============================================================ */
#floating-social {
    position: fixed; bottom: 28px; right: 20px; z-index: 900;
    display: flex; flex-direction: column; gap: 12px;
    align-items: center;
}
.float-btn {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 50%; color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform .3s ease, box-shadow .3s ease;
}
.float-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.float-label {
    position: absolute;
    right: 58px;
    white-space: nowrap;
    font-weight: 700; font-size: .85rem; color: #fff;
    background: rgba(15,0,30,0.85);
    padding: 6px 14px; border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    opacity: 0; pointer-events: none;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}
.float-btn:hover { transform: scale(1.12); }
.float-btn:hover .float-label { opacity: 1; transform: translateX(0); }
.float-tiktok { background: #000; }
.float-tiktok:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.6); }
.float-insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.float-insta:hover { box-shadow: 0 6px 24px rgba(220,39,67,0.5); }
.float-wa { background: #25D366; }
.float-wa:hover { background: #1aa850; box-shadow: 0 6px 24px rgba(37,211,102,0.5); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-frame { max-width: 260px; font-size: 5rem; }
    .about-visual { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .color-dots { display: none; }
    #theme-toggle { width: 32px; height: 32px; font-size: 1rem; }
    .nav-links {
        position: fixed; top: 0; left: -100%; height: 100vh; width: 80%;
        max-width: 320px; background: rgba(10, 0, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 8px; transition: left .4s cubic-bezier(.4,0,.2,1);
        border-right: 1px solid var(--border);
        z-index: 999; direction: rtl;
    }
    .nav-links.open { left: 0; }
    .nav-link { width: 100%; padding: 14px 16px; font-size: 1.1rem; }
    .nav-cta { text-align: center; }

    .products-grid { grid-template-columns: 1fr; }
    .workshops-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-video-col { max-width: 340px; margin: 0 auto; }
    .hero-content { max-width: 100%; }
    .hero-buttons { flex-direction: column; }
    .hero-stats { gap: 16px; }
    .section { padding: 70px 0; }
    .hero { padding: 100px 0 60px; }

    #floating-social { bottom: 20px; right: 14px; }
    .float-label { display: none; }
    .logo-float img { height: 108px; }
    .logo-float { top: 8px; right: 12px; left: auto; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .intro-site-title { font-size: 2.4rem; letter-spacing: 4px; }
    .contact-form-wrap { padding: 24px 18px; }
    #skip-btn { bottom: 18px; left: 18px; }
}
