/* Ana sayfa — Öğrenci Kiti (06.10.2026)
   Jüri bölümünün altında. Amaç: üniversitelileri Google AI Plus öğrenci üyeliğine
   yönlendirmek; reklam gibi değil, "arenaya girerken yanına alacağın ekipman" gibi.
   Düğme public/git.php üzerinden gider (sunucuda sayılır → panel İstatistikler).
   Hareketler yalnız html.motion altında; hareket azaltılmışsa sahne durağandır. */

@property --kit-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

.kit-section {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: 92px 100px; border-bottom: 1px solid #2c2c38;
  background: #0a0a10;
}
/* Izgara belli belirsiz (06.10.2026, kullanıcı isteği): ayrı katmanda düşük opaklık */
.kit-section::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: url('assets/grid.png') center/cover; opacity: .12; }
.kit-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.kit-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.kit-orb-a { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -12%; top: -30%; background: radial-gradient(circle, #1b3fd8 0, transparent 68%); }
.kit-orb-b { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -10%; bottom: -34%; background: radial-gradient(circle, #c5221f 0, transparent 68%); opacity: .38; }
.kit-orb-c { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; right: 22%; top: 8%; background: radial-gradient(circle, #fbbc04 0, transparent 70%); opacity: .14; }
.kit-scan { position: absolute; left: 0; right: 0; top: -20%; height: 18%; background: linear-gradient(180deg, transparent, #4285f40f 50%, transparent); }

.kit-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }

/* ---------- Metin ---------- */
.kit-eyebrow { color: var(--yellow); margin-bottom: 18px; justify-content: flex-start; }
.kit-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 #fbbc0499; }
/* Tek satır (06.10.2026, kullanıcı isteği): "ÖĞRENCİ KİTİ." */
.kit-title { font-family: ArenaDisplay, Impact, sans-serif; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: .5px; margin: 0; white-space: nowrap; }
/* Kayarak açılma için satır kırpılır; büyük İ/Ö/Ğ noktaları kesilmesin diye kırpma
   alanının üstü geniş, fazlası negatif üst boşlukla geri alınır (06.10.2026). */
.kit-title { margin-top: -.5em; }
.kit-title > span { display: inline-block; overflow: hidden; padding: .28em 0 .1em; vertical-align: bottom; }
.kit-title > span + span { margin-left: .24em; }
.kit-title > span > b { display: inline-block; font-weight: inherit; }
.kit-title i { font-style: normal; color: var(--yellow); }
/* Gradyan yalnız kutuya boyanır; İ noktaları kutunun üstüne taştığı için kutu yukarı genişletilir (06.10.2026). */
.kit-title .kit-outline { padding-top: .3em; color: transparent; background: linear-gradient(100deg, #fbbc04 0%, #ffd866 45%, #fbbc04 70%) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text; }
.kit-lead { max-width: 34ch; margin: 26px 0 0; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; color: #d6d6e0; }
.kit-lead strong { color: #fff; font-weight: 700; background: linear-gradient(90deg, #fbbc0455, #fbbc0455) left bottom / 0% 34% no-repeat; transition: background-size .9s var(--ease) .5s; }
.kit-section.is-in .kit-lead strong { background-size: 100% 34%; }
.kit-quote {
  position: relative; margin: 28px 0 0; padding: 18px 20px 18px 22px; max-width: 46ch;
  border-left: 3px solid var(--yellow); background: linear-gradient(90deg, #fbbc0414, transparent 80%);
  font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: #f5f4f1; font-weight: 600;
}
.kit-quote b { color: var(--yellow); }
.kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 30px; }
.kit-cta {
  position: relative; display: inline-flex; align-items: center; gap: 22px; min-height: 60px; padding: 0 26px 0 28px;
  overflow: hidden; isolation: isolate; text-decoration: none;
  background: var(--yellow); color: var(--bg); border-radius: 3px;
  font: 800 15px/1 ArenaSans, Arial, sans-serif; letter-spacing: .14em;
  box-shadow: 0 10px 34px -10px #fbbc04aa;
  transition: transform .25s var(--ease), box-shadow .3s ease;
}
.kit-cta-text { position: relative; z-index: 1; }
.kit-cta-arrow { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; background: var(--bg); color: var(--yellow); font-size: 16px; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.kit-cta-sheen { position: absolute; inset: 0; z-index: 0; background: linear-gradient(105deg, transparent 30%, #ffffffb3 46%, transparent 62%) -160% 0 / 60% 100% no-repeat; }
.kit-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .kit-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px #fbbc04cc; }
}
.kit-fine { margin: 0; font-size: 11px; line-height: 1.6; color: #8e8e9c; max-width: 30ch; }

/* ---------- Sahne: öğrenci geçiş kartı ---------- */
.kit-stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1100px; }
.kit-card {
  position: relative; width: 100%; border-radius: 18px; padding: 2px;
  transform-style: preserve-3d; transform: rotateX(var(--kit-rx, 0deg)) rotateY(var(--kit-ry, 0deg)) scale(var(--kit-s, 1));
  transition: transform .9s cubic-bezier(.2, 1.4, .4, 1); /* bırakınca yaylanarak yerine döner */
}
.kit-card-border {
  position: absolute; inset: 0; border-radius: inherit;
  background: conic-gradient(from var(--kit-a), #4285f4, #fbbc04 25%, #ea4335 50%, #4285f4 75%, #fbbc04);
  opacity: .9;
}
.kit-card-border::after { content: ''; position: absolute; inset: -14px; border-radius: 28px; background: inherit; filter: blur(26px); opacity: .32; z-index: -1; }
.kit-card-face {
  position: relative; min-height: 540px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; padding: 24px 24px 22px;
  background: linear-gradient(160deg, #15182c 0%, #0e0e16 55%, #1a0f12 100%);
}
.kit-card-face::before { content: ''; position: absolute; inset: 0; background: url('assets/grid.png') center/cover; opacity: .12; pointer-events: none; }
.kit-card-face > * { position: relative; }
.kit-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kit-card-top img { width: 108px; height: auto; }
.kit-card-top span { font: 700 9px/1.4 ArenaSans, Arial, sans-serif; letter-spacing: .2em; color: #a9a9b8; text-align: right; }
.kit-card-name { margin-top: 22px; font: 400 clamp(34px, 3.4vw, 44px)/.92 ArenaDisplay, Impact, sans-serif; letter-spacing: .5px; }
.kit-card-name span { color: var(--yellow); }
.kit-card-wrap { width: min(100%, 420px); }
.kit-slots { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.kit-slot { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 2px 12px; padding: 13px 14px; background: #0b0b10d9; border: 1px solid #2a2a36; border-left: 3px solid var(--c); }
.kit-slot b { grid-row: span 2; font: 400 26px/1 ArenaDisplay, Impact, sans-serif; color: var(--c); }
.kit-slot span { font: 800 14px/1.1 ArenaSans, Arial, sans-serif; letter-spacing: .12em; }
.kit-slot small { font-size: 11px; color: #9b9baa; }
.kit-slot-a { --c: #4285f4; }
.kit-slot-b { --c: #ea4335; }
.kit-plus { justify-self: center; display: grid; place-items: center; width: 30px; height: 30px; margin-block: -6px; border-radius: 50%; background: var(--yellow); color: var(--bg); font: 900 20px/1 ArenaSans, Arial, sans-serif; z-index: 1; box-shadow: 0 0 0 6px #0e0e16; }
.kit-card-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 18px; }
.kit-stamp {
  /* İki satır ortada toplanır (align-content); "İLK 1 YIL" kalın ve büyük (06.10.2026) */
  display: grid; place-items: center; align-content: center; row-gap: 3px; text-align: center; width: 104px; height: 104px; border-radius: 50%;
  border: 2px dashed var(--yellow); color: var(--yellow); transform: rotate(-12deg);
  font: 800 13px/1.05 ArenaSans, Arial, sans-serif; letter-spacing: .1em;
}
.kit-stamp b { display: block; font: 400 21px/1 ArenaDisplay, Impact, sans-serif; letter-spacing: .02em; color: #fff; }
.kit-barcode { flex: 1; height: 38px; max-width: 170px; background: repeating-linear-gradient(90deg, #f5f4f1cc 0 2px, transparent 2px 5px, #f5f4f1cc 5px 6px, transparent 6px 9px, #f5f4f1cc 9px 12px, transparent 12px 14px); opacity: .55; }
.kit-shine { position: absolute; inset: 2px; border-radius: 16px; pointer-events: none; overflow: hidden; }
.kit-shine::before { content: ''; position: absolute; top: -40%; bottom: -40%; width: 38%; left: -60%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, #ffffff26, transparent); }

.kit-chip {
  position: absolute; z-index: 2; padding: 8px 12px; border: 1px solid #ffffff2b; background: #10101acc; backdrop-filter: blur(6px);
  font: 800 10px/1 ArenaSans, Arial, sans-serif; letter-spacing: .18em; color: #f0f0f6; white-space: nowrap;
  box-shadow: 0 10px 26px -12px #000;
}
.kit-chip::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--c, var(--yellow)); vertical-align: 1px; }
/* Etiketler kartın dışında, iki yandaki boşlukta (kart 420 px, ortalı) */
.kit-chip-1, .kit-chip-3, .kit-chip-5 { right: calc(50% + 226px); }
.kit-chip-2, .kit-chip-4 { left: calc(50% + 226px); }
.kit-chip-1 { --c: #4285f4; top: 14%; }
.kit-chip-5 { --c: #fbbc04; top: 46%; }
.kit-chip-3 { --c: #ea4335; top: 78%; }
.kit-chip-2 { --c: #ea4335; top: 28%; }
.kit-chip-4 { --c: #34a853; top: 64%; }
.kit-spark { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 10px 2px #fbbc04aa; }

/* ---------- Hareket ---------- */
html.motion .kit-card-border { animation: kit-spin 9s linear infinite; }
html.motion .kit-card-wrap { animation: kit-float 7s ease-in-out infinite; }
html.motion .kit-shine::before { animation: kit-shine 6.5s ease-in-out infinite 1.2s; }
html.motion .kit-orb-a { animation: kit-drift-a 22s ease-in-out infinite alternate; }
html.motion .kit-orb-b { animation: kit-drift-b 26s ease-in-out infinite alternate; }
html.motion .kit-orb-c { animation: kit-breathe 9s ease-in-out infinite; }
html.motion .kit-scan { animation: kit-scan 9s linear infinite; }
html.motion .kit-dot { animation: kit-dot 2.6s ease-in-out infinite; }
html.motion .kit-title .kit-outline { animation: kit-gold 6s ease-in-out infinite; }
html.motion .kit-chip { animation: kit-bob var(--d, 6s) ease-in-out infinite; animation-delay: var(--w, 0s); }
html.motion .kit-chip-1 { --d: 6.4s; --w: -1s; }
html.motion .kit-chip-2 { --d: 7.2s; --w: -3s; }
html.motion .kit-chip-3 { --d: 5.8s; --w: -2s; }
html.motion .kit-chip-4 { --d: 6.8s; --w: -4s; }
html.motion .kit-chip-5 { --d: 7.6s; --w: -.5s; }
html.motion .kit-stamp { animation: kit-stamp 5s ease-in-out infinite; }
html.motion .kit-plus { animation: kit-plus 3.2s ease-in-out infinite; }
html.motion .kit-spark { animation: kit-spark var(--d, 4s) ease-out infinite; animation-delay: var(--w, 0s); }
html.motion .kit-cta { animation: kit-cta-glow 3.4s ease-in-out infinite; }
html.motion .kit-cta-sheen { animation: kit-sheen 3.4s ease-in-out infinite .6s; }
html.motion .kit-cta-arrow { animation: kit-arrow 3.4s ease-in-out infinite; }

/* Kaydırınca açılış: başlık satırları alttan kayar, metinler sırayla gelir */
html.motion .kit-section.kit-js .kit-title > span > b { transform: translateY(105%); transition: transform 1s var(--ease); }
html.motion .kit-section.kit-js .kit-title > span:nth-child(2) > b { transition-delay: .12s; }
html.motion .kit-section.is-in .kit-title > span > b { transform: none; }
html.motion .kit-section.kit-js .kit-rise { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(.25s + var(--i, 0) * .12s); }
html.motion .kit-section.is-in .kit-rise { opacity: 1; transform: none; }
html.motion .kit-section.kit-js .kit-stage { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1s ease .2s, transform 1.2s var(--ease) .2s; }
html.motion .kit-section.is-in .kit-stage { opacity: 1; transform: none; }

@keyframes kit-spin { to { --kit-a: 360deg; } }
@keyframes kit-gold { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
@keyframes kit-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes kit-shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes kit-drift-a { to { transform: translate(8%, 10%) scale(1.08); } }
@keyframes kit-drift-b { to { transform: translate(-10%, -6%) scale(1.12); } }
@keyframes kit-breathe { 0%, 100% { opacity: .1; } 50% { opacity: .22; } }
@keyframes kit-scan { to { top: 110%; } }
@keyframes kit-dot { 0%, 100% { box-shadow: 0 0 0 0 #fbbc0480; } 50% { box-shadow: 0 0 0 7px #fbbc0400; } }
@keyframes kit-bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -12px); } }
@keyframes kit-stamp { 0%, 100% { transform: rotate(-12deg) scale(1); } 50% { transform: rotate(-8deg) scale(1.05); } }
@keyframes kit-plus { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px #0e0e16, 0 0 0 6px #fbbc0400; } 50% { transform: scale(1.14); box-shadow: 0 0 0 6px #0e0e16, 0 0 0 14px #fbbc0426; } }
@keyframes kit-spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--x, 20px), var(--y, -60px)) scale(1); } }
@keyframes kit-cta-glow { 0%, 100% { box-shadow: 0 10px 34px -10px #fbbc04aa, 0 0 0 0 #fbbc0455; } 50% { box-shadow: 0 14px 40px -10px #fbbc04cc, 0 0 0 10px #fbbc0400; } }
@keyframes kit-sheen { 0%, 55% { background-position: -160% 0; } 85%, 100% { background-position: 260% 0; } }
@keyframes kit-arrow { 0%, 60%, 100% { transform: translate(0, 0); } 75% { transform: translate(3px, -3px); } }

/* ---------- Yerleşim ---------- */
@media (max-width: 980px) {
  .kit-section { padding-block: 64px 72px; }
  .kit-inner { grid-template-columns: 1fr; gap: 40px; }
  .kit-stage { min-height: 0; padding-block: 18px; }
}
@media (max-width: 520px) {
  .kit-section { padding-block: 52px 60px; }
  .kit-title { font-size: 44px; }
  .kit-cta { width: 100%; justify-content: space-between; }
  .kit-card-wrap { width: min(100%, 340px); }
  .kit-card-face { min-height: 470px; }
  .kit-card-face { padding: 20px 18px 18px; }
  .kit-stamp { width: 88px; height: 88px; }
  .kit-chip { display: none; } /* yan boşluk yok: kart içeriğine binmesin */
}
/* İki sütunlu orta genişlikte kartın yanında etiket sığacak boşluk yok */
@media (min-width: 981px) and (max-width: 1279px) { .kit-chip { display: none; } }
/* Kart da bağlantı (06.10.2026): tamamı + "+" UTM'e gider; üzerine gelince hafifçe büyür. */
.kit-card-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.kit-card-link .kit-card { transition: transform .9s cubic-bezier(.2, 1.4, .4, 1), filter .3s ease; }
/* İmleç üstündeyken: daha hızlı takip, hafif büyüme, imleci izleyen parıltı */
.kit-card.is-tilt { --kit-s: 1.045; transition: transform .16s ease-out, filter .3s ease; }
.kit-shine::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), #ffffff38, #ffffff10 22%, transparent 48%); }
.kit-card.is-tilt .kit-shine::after { opacity: 1; }
/* Dokunmatik salınım (07.10.2026): JS her karede açıyı verir; geçiş gecikmesi olmasın, parıltı hafif görünür. */
.kit-card.is-sway { transition: filter .3s ease; }
.kit-card.is-sway .kit-shine::after { opacity: .55; }
@media (hover: hover) and (pointer: fine) {
  .kit-card-link:hover .kit-card { filter: brightness(1.08); }
  .kit-card-link:hover .kit-plus { background: #fff; }
}
