/* GetCheers — živi hero, demo aplikacije i animacije (dopuna styles.css) */
.hero { min-height: calc(100vh - 68px); display: flex; align-items: center; padding: 40px 0 72px; }
.hero::before { display: none; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-photo { position: absolute; inset: -4%; background: url(img/hero-night.jpg) center / cover no-repeat; opacity: .32; filter: saturate(1.2); animation: kenburns 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.35) 40%, #0A0A0B 96%), radial-gradient(ellipse 60% 50% at 75% 45%, rgba(255,45,85,.18), transparent 70%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.orb.o1 { width: 420px; height: 420px; background: #FF7A1A; left: -120px; top: 12%; animation: drift1 16s ease-in-out infinite alternate; }
.orb.o2 { width: 520px; height: 520px; background: #FF2D55; right: -160px; top: 30%; animation: drift2 19s ease-in-out infinite alternate; }
.orb.o3 { width: 300px; height: 300px; background: #7C3AED; left: 40%; bottom: -120px; opacity: .3; animation: drift1 22s ease-in-out infinite alternate-reverse; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1%); } }
@keyframes drift1 { from { transform: translate(0, 0); } to { transform: translate(80px, -60px); } }
@keyframes drift2 { from { transform: translate(0, 0); } to { transform: translate(-90px, 50px); } }
.hero .wrap.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; text-align: left; width: 100%; }
.hero-copy .gc { margin: 0 0 6px -8px; width: 150px; }
.hero h1 { margin: 14px 0 16px; max-width: 640px; font-size: clamp(44px, 6.4vw, 84px); }
.hero .lead { margin: 0 0 22px; }
.hero .chips, .hero .cta-row { justify-content: flex-start; }
.hero-note { margin-top: 22px; color: var(--faint); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; flex: none; }

/* demo telefon */
.hero-demo { position: relative; display: flex; justify-content: center; align-items: center; min-height: 620px; }
.demo-phone { position: relative; z-index: 2; width: 286px; animation: phonefloat 7s ease-in-out infinite; }
@keyframes phonefloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.screen { position: relative; aspect-ratio: 540 / 1137; border-radius: 32px; overflow: hidden; background: #0E0F12; font-size: 12px; line-height: 1.35; color: #fff; user-select: none; }
.d-map { position: absolute; inset: -10%; background: url(img/demo-map.jpg) center / cover; transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.screen[data-zoom="in"] .d-map { transform: scale(1.18); }
.d-pins { position: absolute; inset: 0; transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
.screen[data-zoom="in"] .d-pins { transform: scale(1.18); }
.d-pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--c, #FFB547); border: 2px solid #0A0A0B; box-shadow: 0 0 12px var(--c, #FFB547); opacity: 0; transform: scale(0); transition: opacity .3s, transform .45s cubic-bezier(.34,1.8,.64,1), left 1.6s cubic-bezier(.65,0,.35,1), top 1.6s cubic-bezier(.65,0,.35,1); }
.d-pin::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; background: var(--c, #FFB547); animation: ping 2.4s ease-out infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.screen.live .d-pin.crowd { opacity: 1; transform: scale(1); }
.d-pin.big { width: 30px; height: 30px; margin: -15px 0 0 -15px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.5), 0 0 22px var(--c); }
.d-pin.big::after { inset: -4px; }
.d-pin.me { --c: #FF5A36; background: var(--grad); }
.d-pin.her { --c: #FFB547; background: linear-gradient(135deg, #FFB547, #FF7A1A); }
.d-pin.show { opacity: 1; transform: scale(1); }
.d-pin.drop { animation: pindrop .7s cubic-bezier(.34,1.56,.64,1) both; }
@keyframes pindrop { 0% { transform: translateY(-40px) scale(.4); opacity: 0; } 60% { transform: translateY(3px) scale(1.12); opacity: 1; } 100% { transform: none; opacity: 1; } }
.d-top { position: absolute; top: 34px; left: 10px; right: 10px; display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.d-pill { display: flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: rgba(14,14,16,.82); border: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 11px; }
.d-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.d-shield { width: 30px; height: 30px; border-radius: 50%; background: rgba(14,14,16,.82); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; }
.d-shield svg, .d-round svg { width: 15px; height: 15px; }
.d-chips { position: absolute; top: 74px; left: 10px; display: flex; gap: 6px; z-index: 3; }
.d-chip { padding: 6px 10px; border-radius: 999px; background: rgba(14,14,16,.82); border: 1px solid rgba(255,255,255,.08); font-size: 10px; font-weight: 600; white-space: nowrap; display: flex; align-items: center; gap: 5px; }
.d-chip.on { background: #fff; color: #0A0A0B; }
.d-chip b { width: 6px; height: 6px; border-radius: 50%; }
.d-bottom { position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; gap: 8px; align-items: center; z-index: 3; transition: opacity .3s, transform .3s; }
.d-round { width: 34px; height: 34px; border-radius: 50%; background: rgba(14,14,16,.85); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; flex: none; }
.d-plan { flex: 1; height: 38px; border-radius: 999px; background: var(--grad); display: grid; place-items: center; font-weight: 700; font-size: 12px; box-shadow: 0 8px 20px rgba(255,45,85,.35); }
.screen[data-scene="mood"] .d-bottom, .screen[data-scene="profile"] .d-bottom, .screen[data-scene="match"] .d-bottom, .screen[data-scene="chat"] .d-bottom { opacity: 0; transform: translateY(16px); }
.d-toast { position: absolute; left: 50%; top: 112px; transform: translate(-50%, -10px); padding: 8px 12px; border-radius: 12px; background: rgba(20,60,32,.9); border: 1px solid rgba(48,209,88,.5); color: #B9F6CA; font-weight: 700; font-size: 11px; white-space: nowrap; opacity: 0; transition: .35s; z-index: 4; }
.d-toast.show { opacity: 1; transform: translate(-50%, 0); }
.d-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #141416; border-radius: 22px 22px 0 0; border-top: 1px solid rgba(255,255,255,.08); padding: 10px 14px 18px; transform: translateY(105%); transition: transform .45s cubic-bezier(.32,.72,0,1); z-index: 5; }
.d-sheet .handle { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); margin: 0 auto 12px; }
.screen[data-scene="mood"] .d-sheet.mood, .screen[data-scene="profile"] .d-sheet.profile { transform: none; }
.d-sheet h4 { font-size: 15px; margin-bottom: 10px; letter-spacing: -.01em; }
.d-opt { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 12px; background: rgba(255,255,255,.05); margin-bottom: 7px; font-weight: 600; transition: background .2s, box-shadow .2s; }
.d-opt b { width: 9px; height: 9px; border-radius: 50%; }
.d-opt.sel { background: rgba(255,181,71,.16); box-shadow: inset 0 0 0 1.5px #FFB547; }
.d-prof { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.d-av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: linear-gradient(135deg, #FFB547, #FF5A36); border: 2px solid #0A0A0B; box-shadow: 0 0 0 2px #FF7A1A; flex: none; }
.d-av.b { background: linear-gradient(135deg, #7C3AED, #FF2D55); }
.d-name { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.d-name svg { width: 14px; height: 14px; }
.d-meta { color: var(--muted); font-size: 11px; margin-top: 2px; }
.d-note { font-size: 11px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); color: #E4E4E7; margin-bottom: 12px; }
.d-cheers { height: 40px; border-radius: 999px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.d-scene { position: absolute; inset: 0; z-index: 6; opacity: 0; pointer-events: none; transition: opacity .4s; }
.screen[data-scene="match"] .d-scene.match, .screen[data-scene="chat"] .d-scene.chat { opacity: 1; }
.d-scene.match { background: rgba(10,10,11,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 0 18px; }
.d-glasses { position: relative; width: 190px; height: 170px; }
.d-glass { position: absolute; bottom: 0; width: 64px; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 100%; opacity: 0; }
.d-glass.l { left: 18px; } .d-glass.r { right: 18px; }
.d-bowl { width: 64px; height: 72px; padding: 2px; border-radius: 6px 6px 32px 32px; background: var(--grad); }
.d-bowl span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 4px 4px 30px 30px; background: #26262A; font-weight: 800; font-size: 20px; position: relative; overflow: hidden; }
.d-bowl span::after { content: ''; position: absolute; left: 6px; top: 6px; width: 9px; height: 36px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.35), transparent); }
.d-stem { width: 3px; height: 30px; background: #FF3B4E; }
.d-foot { width: 40px; height: 4px; border-radius: 2px; background: var(--grad); }
.screen[data-scene="match"] .d-glass.l { animation: glassL 1s both; }
.screen[data-scene="match"] .d-glass.r { animation: glassR 1s both; }
@keyframes glassL { 0% { transform: translateX(-90px) rotate(-16deg); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); } 25% { opacity: 1; } 60% { transform: translateX(0) rotate(12deg); animation-timing-function: cubic-bezier(.33,1,.68,1); } 100% { transform: translateX(-3px) rotate(10deg); opacity: 1; } }
@keyframes glassR { 0% { transform: translateX(90px) rotate(16deg); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); } 25% { opacity: 1; } 60% { transform: translateX(0) rotate(-12deg); animation-timing-function: cubic-bezier(.33,1,.68,1); } 100% { transform: translateX(3px) rotate(-10deg); opacity: 1; } }
.d-sparks { position: absolute; left: 50%; top: 0; width: 70px; transform: translateX(-50%) scale(0); opacity: 0; }
.screen[data-scene="match"] .d-sparks { animation: sparkpop .45s cubic-bezier(.34,1.8,.64,1) .62s both; }
@keyframes sparkpop { 0% { opacity: 0; transform: translateX(-50%) scale(0); } 30% { opacity: 1; } 100% { opacity: 1; transform: translateX(-50%) scale(1); } }
.d-scene.match h4 { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; opacity: 0; }
.d-scene.match p { color: var(--muted); font-size: 12px; opacity: 0; }
.screen[data-scene="match"] .d-scene.match h4, .screen[data-scene="match"] .d-scene.match p { animation: fadeup .5s ease-out .9s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.d-scene.chat { background: #0A0A0B; display: flex; flex-direction: column; }
.d-chat-head { display: flex; align-items: center; gap: 9px; padding: 34px 12px 10px; background: #111113; }
.d-chat-head .d-av { width: 32px; height: 32px; font-size: 13px; box-shadow: none; border: 0; }
.d-chat-head b { display: block; font-size: 13px; }
.d-chat-head small { color: var(--muted); font-size: 10px; display: flex; align-items: center; gap: 4px; }
.d-chat-head small svg { width: 11px; height: 11px; }
.d-chat-bar { height: 2px; background: rgba(255,255,255,.06); }
.d-chat-bar i { display: block; height: 2px; width: 44%; background: var(--grad); }
.d-msgs { flex: 1; padding: 14px 10px; display: flex; flex-direction: column; gap: 7px; justify-content: flex-end; }
.d-msg { max-width: 78%; padding: 8px 11px; border-radius: 15px; font-size: 11.5px; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .3s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.d-msg.show { opacity: 1; transform: none; }
.d-msg.l { align-self: flex-start; background: #1F1F23; border-bottom-left-radius: 5px; }
.d-msg.r { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 5px; }
.d-msg.typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.d-msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: #A1A1AA; animation: typ 1.2s infinite; }
.d-msg.typing i:nth-child(2) { animation-delay: .15s; } .d-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typ { 0%, 100% { opacity: .25; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.d-input { margin: 0 10px 14px; height: 34px; border-radius: 999px; background: #17171A; border: 1px solid rgba(255,255,255,.08); color: var(--faint); font-size: 11px; display: flex; align-items: center; padding: 0 12px; }
.d-meet-glow { position: absolute; left: 50%; top: 47%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,54,.6), transparent 65%); opacity: 0; transition: opacity .8s; z-index: 1; }
.screen[data-scene="meet"] .d-meet-glow { opacity: 1; }
.d-cap { position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%); white-space: nowrap; font-weight: 800; font-size: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(10,10,11,.88); border: 1px solid rgba(255,255,255,.12); opacity: 0; transition: opacity .5s; z-index: 4; }
.screen[data-scene="meet"] .d-cap { opacity: 1; }
.tap { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(255,255,255,.18); opacity: 0; z-index: 9; pointer-events: none; }
.tap.go { animation: tapgo .55s ease-out; }
@keyframes tapgo { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.5); } }
.scene-label { position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #FFB199; white-space: nowrap; z-index: 3; }

/* plutajuće kartice oko telefona */
.fcard { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; background: rgba(22,22,26,.8); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px rgba(0,0,0,.4); font-size: 13px; font-weight: 700; white-space: nowrap; opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .5s cubic-bezier(.34,1.56,.64,1); }
.fcard.show { opacity: 1; transform: none; }
.fcard small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.fcard .fi { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.fcard .fi svg { width: 17px; height: 17px; }
.fcard.f1 { left: 0; top: 16%; animation: bob 6s ease-in-out infinite; }
.fcard.f2 { right: -6px; top: 30%; animation: bob 7s ease-in-out infinite reverse; }
.fcard.f3 { right: -14px; bottom: 20%; animation: bob 6.5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* traka uživo */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0D0D0F; overflow: hidden; padding: 16px 0; }
.mq-track { display: flex; gap: 44px; width: max-content; animation: scrollX 40s linear infinite; }
.mq-item { display: flex; align-items: center; gap: 10px; color: #D4D4D8; font-weight: 600; font-size: 15px; white-space: nowrap; }
.mq-item i { width: 8px; height: 8px; border-radius: 50%; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* manifest: riječi zasvijetle dok skrolaš */
.manifesto { padding: 150px 0 120px; text-align: center; }
.mani-text { font-size: clamp(36px, 6vw, 76px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; max-width: 980px; margin: 0 auto; }
.mani-text .w { opacity: .14; transition: opacity .35s; }
.mani-text .w.lit { opacity: 1; }
.mani-text .w.accent.lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 26px rgba(255,70,60,.45)); }
.manifesto .lead { margin: 28px auto 0; }

/* galerija aplikacije */
.gallery { display: flex; gap: 22px; justify-content: center; margin-top: 52px; }
.gallery figure { flex: none; }
.gallery .phone { width: 230px; transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.gallery figure:nth-child(odd) .phone { animation: phonefloat 7s ease-in-out infinite; }
.gallery figure:nth-child(even) { margin-top: 48px; }
.gallery figure:nth-child(even) .phone { animation: phonefloat 7s ease-in-out infinite reverse; }
.gallery figcaption { text-align: center; margin-top: 14px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* chat koji se sam kuca */
.chat-card { width: 100%; max-width: 420px; border-radius: 28px; overflow: hidden; background: #0A0A0B; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); margin: 0 auto; }
.chat-card .d-chat-head { padding: 16px; }
.chat-card .d-chat-head .d-av { width: 40px; height: 40px; font-size: 16px; }
.chat-card .d-chat-head b { font-size: 16px; }
.chat-card .d-chat-head small { font-size: 12.5px; }
.chat-card .d-msgs { min-height: 300px; padding: 18px 16px; gap: 10px; }
.chat-card .d-msg { font-size: 15px; padding: 11px 15px; border-radius: 18px; }

/* noć prelazi u zoru dok skrolaš */
.band .inner.dawn { background: linear-gradient(180deg, #0B0B16 0%, #14112A 30%, #3B1530 55%, #A0344A 78%, #FF8A4C 100%); background-size: 100% 320%; background-position: 0 0; }
.clock { font-size: clamp(54px, 8vw, 92px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.clock-sub { color: rgba(255,255,255,.8); font-weight: 600; margin-top: 10px; min-height: 26px; }

/* hover detalji */
.card { transition: transform .3s ease, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(255,90,54,.35); box-shadow: 0 20px 50px rgba(255,45,85,.12); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 28px; }
  .hero .wrap.hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero-copy .gc { margin: 0 auto 6px; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .chips, .hero .cta-row, .hero-note { justify-content: center; }
  .hero-demo { min-height: 0; padding: 20px 0 34px; }
  .gallery { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 24px 30px; margin: 40px -24px 0; }
  .gallery figure { scroll-snap-align: center; }
  .gallery figure:nth-child(even) { margin-top: 0; }
}
@media (max-width: 600px) {
  .demo-phone { width: 250px; }
  .fcard { font-size: 12px; padding: 9px 11px; }
  .fcard .fi { width: 26px; height: 26px; }
  .fcard.f1 { left: -6px; } .fcard.f2 { right: -8px; top: 28%; } .fcard.f3 { right: -8px; bottom: 18%; }
  .manifesto { padding: 96px 0 80px; }
  .gallery .phone { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .orb, .demo-phone, .fcard, .mq-track, .gallery .phone, .btn-primary::after { animation: none !important; }
  .mani-text .w { opacity: 1; }
}
