/* Playful "Buki" layer: chunky, rounded, sticker-like — loaded after every page's own styles */

:root {
  --r-lg: 28px;
  --r-md: 20px;
  --line: rgba(var(--accent-rgb), .30);
  --chunk: rgba(var(--accent-rgb), .20);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --scales: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='17' viewBox='0 0 34 17'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.045' stroke-width='1.3'%3E%3Ccircle cx='17' cy='17' r='17'/%3E%3Ccircle cx='0' cy='0' r='17'/%3E%3Ccircle cx='34' cy='0' r='17'/%3E%3C/g%3E%3C/svg%3E");
  --scales-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='17' viewBox='0 0 34 17'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.10' stroke-width='1.3'%3E%3Ccircle cx='17' cy='17' r='17'/%3E%3Ccircle cx='0' cy='0' r='17'/%3E%3Ccircle cx='34' cy='0' r='17'/%3E%3C/g%3E%3C/svg%3E");
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1200V22C1100 58 1000 58 900 30S700 -6 600 22 400 58 300 30 100 -6 0 22Z'/%3E%3C/svg%3E");
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 -2 20 6 T40 6' fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── floating pill navigation ── */
nav {
  top: 12px !important; left: 2.5% !important; right: 2.5% !important;
  height: 64px !important; padding: 0 22px !important;
  border: 2px solid var(--line) !important; border-radius: 999px;
  box-shadow: 0 6px 0 var(--chunk), 0 14px 30px rgba(var(--accent-rgb), .12);
}
.subj-switch { border-width: 2px; }
@media (max-width: 960px) {
  .nav-links.open {
    top: 86px !important; left: 2.5% !important; right: 2.5% !important;
    border: 2px solid var(--line) !important; border-radius: 26px;
    box-shadow: 0 8px 0 var(--chunk);
  }
}

/* ── chunky buttons ── */
.btn-dark, .btn-white, .trial-btn, .nav-btn, .f-submit, .nav-cta, .btn-line {
  border-radius: 999px !important; border: 2px solid rgba(0, 0, 0, .28);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .28);
  transition: transform .18s var(--bounce), box-shadow .18s !important;
}
.btn-line { border-color: var(--line) !important; box-shadow: 0 5px 0 var(--chunk); background: var(--surface); }
.btn-dark:hover, .btn-white:hover, .trial-btn:hover, .nav-btn:hover, .f-submit:hover, .nav-cta:hover, .btn-line:hover {
  transform: translateY(-3px) rotate(-1deg) !important; box-shadow: 0 8px 0 rgba(0, 0, 0, .28); opacity: 1 !important;
}
.btn-line:hover { box-shadow: 0 8px 0 var(--chunk); }
.btn-dark:active, .btn-white:active, .trial-btn:active, .nav-btn:active, .f-submit:active, .nav-cta:active, .btn-line:active {
  transform: translateY(3px) !important; box-shadow: 0 1px 0 rgba(0, 0, 0, .28);
}
.nav-btn { padding: .5rem 1.3rem !important; }

/* ── kicker chips + squiggle accent ── */
.s-kicker, .hero-kicker {
  display: inline-block; padding: .28rem .95rem; border-radius: 999px;
  background: var(--blue-lt); border: 2px solid var(--line); color: var(--blue);
  letter-spacing: .08em;
}
.hero-kicker::before { display: none; }
.buki-row .s-kicker { display: inline-block; }
.hero-title em, .s-title em { position: relative; white-space: nowrap; display: inline-block; line-height: 1.02; }
.hero-title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -.1em; height: .2em;
  background: var(--blue); opacity: .9;
  -webkit-mask: var(--squiggle) repeat-x 0 50% / auto 100%; mask: var(--squiggle) repeat-x 0 50% / auto 100%;
}

/* ── sticker cards ── */
.info-card, .feat-card, .v-card, .lev-card, .ik-card, .c-item, .student-card, .review-card,
.buki-intro, .stats-bar .stat-item, .step, .md-tag, .tag-chip {
  border-width: 2px !important; border-color: var(--line) !important; border-style: solid;
}
.info-card, .feat-card, .v-card, .lev-card, .ik-card, .c-item, .student-card, .review-card, .ik-cta {
  border-radius: var(--r-lg) !important; box-shadow: 0 7px 0 var(--chunk);
  transition: transform .3s var(--bounce), box-shadow .3s, border-color .2s !important;
}
.buki-intro { border-radius: var(--r-lg) !important; box-shadow: 0 7px 0 var(--chunk); }
.info-card:hover, .feat-card:hover, .v-card:hover, .lev-card:hover, .ik-card:hover, .c-item:hover, .student-card:hover, .review-card:hover {
  transform: translateY(-6px) rotate(-.8deg) !important; box-shadow: 0 13px 0 var(--chunk) !important;
  border-color: var(--blue) !important;
}
.feat-card:nth-child(even):hover, .lev-card:nth-child(even):hover, .info-card:nth-child(even):hover { transform: translateY(-6px) rotate(.8deg) !important; }
.tag-chip, .s-chip { border-width: 2px; border-radius: 999px; }
.trial-card, .cta-box, .math-display, .ik-quote { border-radius: var(--r-lg) !important; box-shadow: 0 8px 0 rgba(0, 0, 0, .22); }
.cta-box { border: 2px solid rgba(255, 255, 255, .25) !important; }
.math-display, .trial-card, .ik-quote { border: 2px solid rgba(255, 255, 255, .18); }
.f-group input, .f-group select, .f-group textarea { border-width: 2px !important; border-radius: 16px !important; }

/* icon badges */
.fc-icon, .ic-icon, .v-icon, .lv-icon, .ik-card-icon, .ci-icon {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 18px !important; font-size: 1.55rem !important;
  background: var(--blue-lt) !important; border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--chunk); margin-bottom: .8rem;
}
.ic-icon, .ci-icon { width: 46px; height: 46px; font-size: 1.3rem !important; margin-bottom: 0; }
.v-icon, .ik-card-icon { margin-bottom: 0; flex-shrink: 0; }
.lv-icon { width: 62px; height: 62px; margin: 0 auto .8rem; }

/* ── scale-skin backgrounds ── */
#hero, .page-hero { background-image: var(--scales); background-color: var(--bg); }
#deneme, .math-display, .trial-card, .ik-quote { background-image: var(--scales-w); }
footer { background-image: var(--scales); }

/* ── wavy section edges ── */
section, footer { position: relative; }
#neden { --prev: var(--bg); }
#nasil { --prev: var(--bg-alt); }
#veli { --prev: var(--bg); }
#videolar { --prev: var(--bg-alt); }
#seviyeler { --prev: var(--bg); }
#deneme { --prev: var(--bg-alt); }
#iletisim { --prev: var(--navy); }
#ik { --prev: transparent; }
footer { --prev: var(--bg-alt); }
#neden::before, #nasil::before, #veli::before, #videolar::before, #seviyeler::before, #deneme::before, #iletisim::before, footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 42px; z-index: 1; pointer-events: none;
  background: var(--prev);
  -webkit-mask: var(--wave) no-repeat 0 0 / 100% 100%; mask: var(--wave) no-repeat 0 0 / 100% 100%;
}
.page-hero { border-bottom: none; }

/* ── bouncy reveal ── */
.fi { transform: translateY(34px) scale(.96) !important; transition: opacity .55s ease, transform .7s var(--bounce) !important; }
.fi.on { transform: none !important; }

/* ── eyes that peek from cards and follow the cursor ── */
.peek-eyes { position: absolute; right: 26px; top: -19px; display: flex; gap: 5px; z-index: 3; pointer-events: none; }
.peek-eyes i {
  position: relative; display: block; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 3px solid #0b1b3a; overflow: hidden;
}
.peek-eyes i b {
  position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: #05060a; transition: transform .08s linear;
}
.peek-eyes i b::after { content: ''; position: absolute; left: 3px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.trial-card, .cta-box, .math-display, .ik-quote, footer { position: relative; }
footer .peek-eyes { right: auto; left: 50%; margin-left: -37px; top: -24px; }

/* ── sub pages ── */
.stats-bar { background: var(--bg); }
.stats-bar .stat-item { background: var(--surface); border-radius: var(--r-lg); padding: 1rem 1.6rem; box-shadow: 0 6px 0 var(--chunk); }
.section-heading h2 { font-weight: 700; }
.card-badge, .card-extra, .card-meta-item { border-radius: 999px; }
.marquee-chip { border-width: 2px; border-color: var(--line); box-shadow: 0 4px 0 var(--chunk); }
.review-card { border-radius: var(--r-lg); overflow: hidden; }

/* ── whatsapp button ── */
.wa-float { border: 3px solid rgba(255, 255, 255, .8); box-shadow: 0 6px 0 rgba(0, 0, 0, .2), 0 10px 24px rgba(37, 211, 102, .4); }

@media (max-width: 640px) {
  nav { height: 58px !important; padding: 0 14px !important; top: 8px !important; }
  section { padding-top: 84px; }
  .peek-eyes i { width: 26px; height: 26px; border-width: 2.5px; }
  .peek-eyes i b { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .fi { transform: none !important; }
  .info-card:hover, .feat-card:hover, .v-card:hover, .lev-card:hover, .ik-card:hover, .c-item:hover { transform: none !important; }
}

/* ═══════════ Buki talks: speech bubbles, big mascot, stickers ═══════════ */
.bubble {
  position: relative; margin: 0; max-width: 330px;
  background: #fff; color: var(--text); border: 2px solid var(--line); border-radius: 22px;
  padding: .7rem 1.05rem; box-shadow: 0 5px 0 var(--chunk);
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.3;
}
.bubble b { color: var(--blue); font-weight: 700; }
.bubble::before {
  content: ''; position: absolute; left: -10px; bottom: 16px; width: 16px; height: 16px; background: #fff;
  border-left: 2px solid var(--line); border-bottom: 2px solid var(--line);
  border-bottom-left-radius: 5px; transform: rotate(45deg);
}

/* section intro: Buki + kicker + what he says */
.buki-say { display: flex; align-items: flex-end; gap: .9rem; margin-bottom: 1.1rem; }
.buki-say > img {
  width: 96px; height: auto; flex-shrink: 0; object-fit: contain;
  animation: bukiBob 3.4s ease-in-out infinite; filter: drop-shadow(0 8px 8px rgba(var(--accent-rgb), .25));
}
.say-col { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding-bottom: .5rem; }
.say-col .s-kicker { margin: 0; }
.buki-say.center { justify-content: center; margin-bottom: 1.3rem; text-align: left; }

/* hero: big Buki on a blob, talking */
.hero-visual .buki-hero { display: flex; align-items: flex-end; gap: 1.1rem; padding: .2rem 0 .4rem; }
.buki-hero .bubble { order: 1; max-width: 270px; margin-bottom: 78px; font-size: 1.08rem; }
.buki-hero .bubble::before {
  left: auto; right: -10px; bottom: 20px; border: none; border-right: 2px solid var(--line); border-top: 2px solid var(--line);
  border-radius: 0 5px 0 0;
}
.buki-hero-fig { order: 2; position: relative; width: 215px; flex-shrink: 0; }
.buki-hero-fig::before {
  content: ''; position: absolute; inset: 10% 0 0 0; background: var(--surface);
  border: 2px solid var(--line); box-shadow: 0 8px 0 var(--chunk);
  border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; animation: blob 9s ease-in-out infinite alternate;
}
.buki-hero-fig img { position: relative; display: block; width: 100%; height: auto; animation: bukiBob 3.4s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(var(--accent-rgb), .3)); }
@keyframes blob {
  0%   { border-radius: 58% 42% 55% 45% / 50% 55% 45% 50%; }
  50%  { border-radius: 44% 56% 42% 58% / 58% 44% 56% 42%; }
  100% { border-radius: 52% 48% 60% 40% / 42% 58% 42% 58%; }
}

/* starburst sticker */
.hero-inner > div:first-child { position: relative; }
.starburst {
  position: absolute; top: 4px; right: -8px; z-index: 2; width: 122px; height: 122px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: #ffd84d; color: #12224a; font-family: var(--font-display); line-height: 1.02;
  clip-path: polygon(50% 0%, 61% 12%, 75% 6%, 79% 21%, 94% 22%, 90% 37%, 100% 50%, 90% 63%, 94% 78%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 78%, 10% 63%, 0% 50%, 10% 37%, 6% 22%, 21% 21%, 25% 6%, 39% 12%);
  transform: rotate(12deg); animation: wobble 4.5s ease-in-out infinite;
}
.starburst span { font-size: .95rem; font-weight: 500; }
.starburst b { font-size: 1.22rem; font-weight: 700; }
@keyframes wobble { 0%, 100% { transform: rotate(10deg) scale(1); } 50% { transform: rotate(16deg) scale(1.07); } }

/* scrapbook touches */
.hero-tags .tag-chip { background: var(--surface); }
.hero-tags .tag-chip:nth-child(1) { transform: rotate(-2.5deg); }
.hero-tags .tag-chip:nth-child(2) { transform: rotate(1.5deg); }
.hero-tags .tag-chip:nth-child(3) { transform: rotate(-1deg); }
.feat-card, .lev-card { position: relative; }
.feat-card::before, .lev-card::before {
  content: ''; position: absolute; top: -11px; left: 50%; width: 58px; height: 20px; margin-left: -29px;
  background: rgba(255, 216, 77, .8); border-radius: 3px; transform: rotate(-3deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.feat-card:nth-child(even)::before, .lev-card:nth-child(even)::before { transform: rotate(3deg); background: rgba(255, 170, 190, .8); }

/* solid headline colour */
.hero-title em { color: var(--blue); }

/* footer goodbye */
.ft-say { display: flex; justify-content: center; align-items: flex-end; gap: .8rem; margin-bottom: .8rem; }
.ft-say img { width: 92px; height: auto; animation: bukiBob 3.4s ease-in-out infinite; }
.ft-say .bubble { margin-bottom: 26px; }
footer .peek-eyes { display: none; }

@media (max-width: 960px) {
  .buki-hero { justify-content: center; }
}
@media (max-width: 640px) {
  .buki-say > img { width: 74px; }
  .bubble { font-size: .95rem; }
  .starburst { position: static; margin: 1rem 0 0; transform: rotate(-6deg); animation: none; width: 104px; height: 104px; }
  .buki-hero-fig { width: 160px; }
  .buki-hero .bubble { margin-bottom: 50px; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .starburst, .buki-hero-fig::before { animation: none; }
}

/* readable accent text on the stronger backgrounds */
.hero-title em, .s-kicker, .hero-kicker, .bubble b, .stat-num, .card-score, .lv-no, .s-chip,
.nav-links a.active, .ik-left em { color: var(--ink) !important; }
.s-kicker, .hero-kicker { background: var(--surface); }
.hero-title em::after { background: var(--ink); }
.stats-bar { background: var(--bg-alt); }
.tag-chip { color: var(--text); }
#deneme .s-kicker { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: var(--accent-2) !important; }

/* ═══════════ Süreç: numbered path ═══════════ */
.step-list { position: relative; display: flex; flex-direction: column; gap: 1.6rem; padding-top: .4rem; }
.step {
  position: relative; align-items: center; gap: 1.2rem; padding: 1.15rem 1.5rem 1.15rem 1.2rem !important;
  background: var(--surface); border: 2px solid var(--line) !important; border-bottom: 2px solid var(--line) !important;
  border-radius: var(--r-lg); box-shadow: 0 7px 0 var(--chunk);
  transition: transform .3s var(--bounce), box-shadow .3s;
}
.step:last-child { border-bottom: 2px solid var(--line) !important; }
.step:hover { transform: translateY(-5px) rotate(-.7deg); box-shadow: 0 12px 0 var(--chunk); }
.step:nth-child(even):hover { transform: translateY(-5px) rotate(.7deg); }

.s-num {
  width: 66px !important; height: 66px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--blue); color: #fff !important;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem !important; line-height: 1;
  border: 3px solid #fff; box-shadow: 0 0 0 3px var(--blue), 0 6px 0 rgba(0, 0, 0, .22);
  transition: transform .4s var(--bounce);
}
.step:hover .s-num { transform: rotate(-12deg) scale(1.1); color: #fff !important; }
.s-body h3 { font-family: var(--font-display); font-size: 1.15rem !important; font-weight: 600; }
.s-body { padding-right: 2.2rem; }
.s-chip { background: var(--blue-lt); border: 2px solid var(--line); color: var(--ink) !important; font-weight: 600; }

/* dotted trail between the numbers */
.step:not(:last-child)::after {
  content: ''; position: absolute; left: calc(1.2rem + 33px - 2px); top: 100%; height: calc(1.6rem + 6px);
  border-left: 4px dotted var(--blue); z-index: 0;
}
/* a little emoji sticker on every step */
.step::before {
  content: ''; position: absolute; right: 16px; top: 10px; font-size: 1.7rem; transform: rotate(10deg);
  filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .12));
}
.step:nth-child(1)::before { content: '🙋'; }
.step:nth-child(2)::before { content: '📝'; }
.step:nth-child(3)::before { content: '🎁'; }
.step:nth-child(4)::before { content: '🚀'; }
.step:nth-child(even)::before { transform: rotate(-10deg); }
@media (max-width: 640px) {
  .s-num { width: 54px !important; height: 54px; font-size: 1.6rem !important; }
  .step:not(:last-child)::after { left: calc(1.2rem + 27px - 2px); }
  .s-body { padding-right: 1.6rem; }
}

/* ═══════════ Veli video yorumları ═══════════ */
#videolar { background: var(--bg); }
#seviyeler { background: var(--bg-alt) !important; }
.vid-section { padding: 4rem 6% 1rem; }
.vid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 250px)); gap: 1.8rem; justify-content: center; }
.vid-card {
  display: block; width: 100%; padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit;
  background: var(--surface); border: 2px solid var(--line); border-radius: 30px; overflow: hidden;
  box-shadow: 0 8px 0 var(--chunk); transition: transform .3s var(--bounce), box-shadow .3s;
}
.vid-card:nth-child(1) { transform: rotate(-1.5deg); }
.vid-card:nth-child(3n) { transform: rotate(1.5deg); }
.vid-card:not(.soon):hover, .vid-card.soon:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 14px 0 var(--chunk); }
.vid-screen { position: relative; aspect-ratio: 9 / 13; background: var(--blue-mid); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-buki { position: relative; width: 78%; height: auto; margin-bottom: 8%; animation: bukiBob 3.4s ease-in-out infinite; filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .18)); }
.vid-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 6px 0 rgba(0, 0, 0, .22);
  display: flex; align-items: center; justify-content: center; transition: transform .25s var(--bounce);
}
.vid-play i { display: block; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--blue); }
.vid-card:hover .vid-play { transform: scale(1.15) rotate(-6deg); }
.vid-soon {
  position: absolute; top: 14px; left: 14px; padding: .25rem .8rem; border-radius: 999px; background: #ffd84d; color: #12224a;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; transform: rotate(-6deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
}
.vid-cap { padding: .9rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; }
.vid-cap strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.vid-cap span { font-size: .86rem; color: var(--text-sub); line-height: 1.45; }

.vid-box { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(4, 10, 30, .82); }
.vid-box.open { display: flex; }
.vid-stage { width: min(94vw, 420px); }
.vid-stage video, .vid-stage iframe { display: block; width: 100%; max-height: 86vh; aspect-ratio: 9 / 16; border: 3px solid #fff; border-radius: 26px; background: #000; box-shadow: 0 10px 0 rgba(255, 255, 255, .18); }
.vid-close {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 46px; height: 46px; border-radius: 50%; border: 3px solid #fff;
  background: var(--blue); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: 0 5px 0 rgba(0, 0, 0, .3);
}
@media (max-width: 640px) { .vid-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.1rem; } .vid-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; } }

.vid-dur { position: absolute; right: 12px; bottom: 12px; padding: .12rem .6rem; border-radius: 999px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .78rem; font-weight: 700; }
.vid-more { text-align: center; margin-top: 2.6rem; }
html { scroll-padding-top: 90px; }

/* ═══════════ Hikâye tarzı video oynatıcı ═══════════ */
.story-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; margin-top: .4rem; }
.story-copy .s-title { margin-bottom: 1rem; }
.story-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 1.8rem; }
.story-chips span {
  padding: .4rem 1rem; border-radius: 999px; background: var(--surface); border: 2px solid var(--line);
  box-shadow: 0 4px 0 var(--chunk); font-family: var(--font-display); font-weight: 500; font-size: .95rem;
}
.story-chips span:nth-child(1) { transform: rotate(-2deg); }
.story-chips span:nth-child(2) { transform: rotate(1.5deg); }
.story-chips span:nth-child(3) { transform: rotate(-1deg); }
.story-stage { position: relative; display: flex; flex-direction: column; align-items: center; }
.story-buki {
  position: absolute; left: 0; bottom: 96px; width: 118px; height: auto; z-index: 3; pointer-events: none;
  transform: translateX(-38%); animation: bukiBob 3.4s ease-in-out infinite; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .2));
}
#storyPlayer { position: relative; width: min(330px, 86vw); }
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 42px;
  background: #0b1b3a; border: 6px solid #0b1b3a; box-shadow: 0 0 0 3px var(--line), 0 12px 0 rgba(0, 0, 0, .28);
  transform: rotate(1.6deg);
}
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b1b3a; cursor: pointer; }
.phone-notch { position: absolute; top: 8px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 999px; background: #0b1b3a; z-index: 6; }
.story-bars { position: absolute; top: 36px; left: 14px; right: 14px; display: flex; gap: 3px; z-index: 5; }
.story-bars .sb { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .42); overflow: hidden; }
.story-bars .sb i { display: block; width: 0; height: 100%; background: #fff; }
.st-tap { position: absolute; top: 60px; bottom: 96px; width: 32%; z-index: 4; background: transparent; border: 0; cursor: pointer; }
.st-tap.prev { left: 0; } .st-tap.next { right: 0; }
.st-sound {
  position: absolute; top: 52px; right: 12px; z-index: 6; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); font-size: 1.05rem; cursor: pointer; box-shadow: 0 3px 0 rgba(0, 0, 0, .3);
}
.st-pause { position: absolute; left: 50%; top: 50%; z-index: 5; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; display: none; align-items: center; justify-content: center; font-size: 1.3rem; pointer-events: none; }
.st-pause.on { display: flex; }
.story-cap {
  position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 5; display: flex; flex-direction: column; gap: 1px;
  padding: .55rem .95rem; border-radius: 20px; background: rgba(6, 14, 40, .72); color: #fff; pointer-events: none;
}
.story-cap strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.story-cap span { font-size: .8rem; opacity: .85; }
.story-thumbs { display: flex; gap: .65rem; overflow-x: auto; max-width: 350px; padding: 1.3rem .4rem .6rem; scrollbar-width: none; }
.story-thumbs::-webkit-scrollbar { display: none; }
.story-thumbs .th {
  flex: 0 0 auto; width: 56px; height: 56px; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer;
  border: 3px solid var(--line); background: #fff; transition: transform .25s var(--bounce), border-color .2s;
}
.story-thumbs .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.story-thumbs .th:hover { transform: scale(1.1); }
.story-thumbs .th.on { border-color: var(--blue); transform: scale(1.18); box-shadow: 0 0 0 3px #fff, 0 4px 0 3px var(--blue); }
@media (max-width: 960px) {
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .story-copy { text-align: center; }
  .story-copy .s-sub { margin-left: auto; margin-right: auto; }
  .story-chips { justify-content: center; }
  .story-buki { display: none; }
}

/* ═══════════ Sistem tanıtım videosu ═══════════ */
.sysvid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 3rem; align-items: center; margin-top: 4.5rem; }
.sysvid-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; margin: 1rem 0 .8rem; }
.sysvid-copy p { color: var(--text-sub); max-width: 420px; }
.sysvid-copy .story-chips { margin-bottom: 0; }
.sysvid-player, .sysvid-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; cursor: pointer;
  border: 5px solid var(--navy); border-radius: 30px; background: var(--blue); box-shadow: 0 0 0 3px var(--line), 0 12px 0 rgba(0, 0, 0, .25);
  transform: rotate(-1.2deg); transition: transform .3s var(--bounce);
}
.sysvid-player:hover { transform: rotate(0) translateY(-5px); }
.sysvid-frame { cursor: default; transform: none; background: #000; }
.sysvid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sysvid-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sysvid-buki { position: absolute; right: 4%; bottom: 0; width: 26%; height: auto; z-index: 1; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .25)); animation: bukiBob 3.4s ease-in-out infinite; }
.sysvid-player .vid-play { z-index: 2; }
.sysvid-badge { position: absolute; left: 14px; top: 14px; z-index: 2; padding: .25rem .9rem; border-radius: 999px; background: #ffd84d; color: #12224a; font-family: var(--font-display); font-weight: 700; font-size: .9rem; transform: rotate(-4deg); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.sysvid-player.nothumb::before { content: 'Can Matematik\A nasıl çalışır?'; white-space: pre; position: absolute; left: 7%; top: 22%; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.8vw, 2.1rem); line-height: 1.05; text-align: left; }
.sysvid-player.nothumb .vid-play { top: 66%; left: 30%; }
@media (max-width: 960px) { .sysvid { grid-template-columns: 1fr; gap: 2rem; text-align: center; } .sysvid-copy p { margin: 0 auto; } .sysvid-copy .story-chips { justify-content: center; } }
