/* ===== Yeni tasarım (v2): üst menü, ana sayfa ===== */
:root { --blue: #2563eb; --blue-2: #3b82f6; }
.site-header { background: rgba(240, 246, 255, .85); border-bottom: 0; }
.nav-wrap { height: 84px; }
.brand-mark { width: 46px; height: 40px; }
.brand-text b { font-size: 1.35rem; }
.nav-pill { background: #fff; border-radius: 18px; padding: 8px !important; box-shadow: 0 6px 24px rgba(37, 99, 235, .08); border: 1px solid #e8eefb; }
.nav-pill > li { position: relative; }
.nav-pill a { padding: 10px 16px !important; border-radius: 12px !important; color: #1e293b !important; white-space: nowrap; }
.nav-user .btn { white-space: nowrap; }
.nav-pill a.on { background: #e0ecff; color: var(--blue) !important; }
.nav-pill .drop { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .14); padding: 8px; list-style: none; margin: 6px 0 0; min-width: 150px; z-index: 60; }
.nav-pill .has-drop:hover .drop, .nav-pill .has-drop:focus-within .drop { display: block; }
.btn-blue { background: linear-gradient(135deg, #1d8bff, #2563eb); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .35); border-radius: 999px; padding: 12px 24px; }
.btn-blue:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37, 99, 235, .45); }
.btn-outline { background: #fff; color: #0f172a; border: 1.5px solid #d6deec; border-radius: 999px; padding: 11px 22px; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-lg.btn-blue, .btn-lg.btn-outline { padding: 16px 32px; font-size: 1.08rem; }

.page-home { background: #f4f8ff; }
.hero2 { background: radial-gradient(900px 500px at 80% 10%, #e3ecff 0, transparent 70%), radial-gradient(700px 400px at 0 0, #eaf2ff 0, transparent 70%), linear-gradient(180deg, #f0f6ff, #f4f8ff); padding: 40px 0 120px; overflow: hidden; }
.hero2-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 30px; align-items: center; }
.hero2-copy h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.hero2-copy h1 .blue { color: #1d7bff; }
.hero2-copy .lead { font-size: 1.18rem; color: #334155; max-width: 620px; }
.hero2-art img, .hero-svg { width: 100%; height: auto; display: block; }

.board { margin-top: -90px; position: relative; z-index: 2; }
.board .container { max-width: 1380px; }
.board-card { background: #fff; border-radius: 34px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 30px; box-shadow: 0 20px 60px rgba(30, 64, 175, .08); }
.board-main, .board-side, .board-side > *, .gcard, .schip { min-width: 0; }
.board-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 24px; }
.gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.gcard { position: relative; border-radius: 22px; padding: 22px 18px 20px; min-height: 172px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title ico" "info info" "btn btn"; align-items: start; row-gap: 14px; color: #fff; text-decoration: none !important; box-shadow: 0 14px 28px var(--sh); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 20px 36px var(--sh); }
.gcard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 50%); pointer-events: none; }
.gcard-title { grid-area: title; font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; text-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.gcard-ico { grid-area: ico; font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .18)); }
.gcard small { grid-area: info; }
.gcard-btn { grid-area: btn; align-self: end; justify-self: center; background: #fff; color: var(--c); font-weight: 700; padding: 10px 22px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); white-space: nowrap; }
.gcard-btn i { font-style: normal; margin-left: 2px; }
.gcard-btn { font-size: clamp(.82rem, 1.05vw, 1rem); padding: 9px 16px; max-width: 100%; }
.gcard { padding: 20px 14px 18px; column-gap: 6px; }
.gcard-title { font-size: clamp(1.2rem, 1.65vw, 1.85rem); }
.gcard-ico { font-size: clamp(1.4rem, 1.9vw, 2.1rem); }
.daily-tag { font-size: .92rem; }
@media (max-width: 1380px) and (min-width: 1181px) {
  .board-card { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); padding: 32px; }
  .daily { grid-row: auto; grid-column: 1 / -1; }
  .gcards { gap: 14px; }
  .schips { gap: 12px; }
}
.c-blue { --c: #1677ff; --sh: rgba(22, 119, 255, .35); background: linear-gradient(160deg, #2b93ff, #1060f0); }
.c-green { --c: #15a34a; --sh: rgba(22, 163, 74, .35); background: linear-gradient(160deg, #34d36e, #12a24a); }
.c-orange { --c: #ea6a0c; --sh: rgba(249, 115, 22, .35); background: linear-gradient(160deg, #ffa133, #f2700f); }
.c-purple { --c: #8b2be2; --sh: rgba(147, 51, 234, .35); background: linear-gradient(160deg, #b25cff, #8a2be2); }
.c-red { --c: #e11d48; --sh: rgba(225, 29, 72, .3); background: linear-gradient(160deg, #ff5a6e, #e1263f); }
.c-indigo { --c: #4338ca; --sh: rgba(67, 56, 202, .3); background: linear-gradient(160deg, #6a6ff0, #4b45c9); }
.c-pink { --c: #db2777; --sh: rgba(219, 39, 119, .3); background: linear-gradient(160deg, #ff4fa0, #db2777); }
.c-teal { --c: #0d9488; --sh: rgba(13, 148, 136, .3); background: linear-gradient(160deg, #2dd4bf, #0d9488); }
.schips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.schip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 16px; border-radius: 16px; color: #fff; font-weight: 800; font-size: clamp(.95rem, 1.25vw, 1.15rem); line-height: 1.2; text-decoration: none !important; box-shadow: 0 10px 20px var(--sh); transition: transform .15s; }
.schip:hover { transform: translateY(-3px); }
.schip i { font-style: normal; font-size: 1.6rem; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .2)); }

.board-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.mini { background: #fff; border: 1px solid #e8eefb; border-radius: 20px; padding: 16px; box-shadow: 0 8px 24px rgba(30, 64, 175, .07); }
.daily { grid-row: span 2; display: flex; flex-direction: column; text-align: center; }
.daily-tag { align-self: stretch; background: linear-gradient(135deg, #1d8bff, #2563eb); color: #fff; font-weight: 800; border-radius: 12px; padding: 10px; box-shadow: 0 6px 14px rgba(37, 99, 235, .3); }
.daily-meta { font-size: .78rem; font-weight: 700; color: #64748b; margin: 12px 0 4px; }
.daily-q { font-weight: 700; font-size: .98rem; color: #0f172a; margin-bottom: 12px; }
.daily-opts { display: grid; gap: 8px; }
.daily-opts button { font: 600 .88rem var(--font); text-align: left; padding: 9px 12px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #f8fafc; cursor: pointer; transition: .15s; color: #0f172a; }
.daily-opts button:hover { border-color: #93c5fd; background: #eff6ff; }
.daily-opts button b { color: #2563eb; margin-right: 4px; }
.daily-opts button.ok { border-color: #16a34a; background: #dcfce7; }
.daily-opts button.bad { border-color: #dc2626; background: #fee2e2; }
.daily-opts.done button { pointer-events: none; }
.daily-result { margin-top: 12px; }
.daily-result .big { font-size: 2.4rem; display: block; line-height: 1.1; }
.daily-result b { display: block; font-size: 1.2rem; }
.daily-result .pts { color: #16a34a; font-weight: 800; font-size: 1.25rem; }
.daily-result p { font-size: .84rem; color: #475569; margin: 6px 0 0; }
.daily-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #eef2f7; color: #334155; font-weight: 600; font-size: .92rem; }
.badges-mini { display: flex; justify-content: space-around; text-align: center; gap: 8px; }
.bm { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bm b { font-size: .86rem; }
.bm small { color: #94a3b8; font-size: .76rem; }
.bm.locked .medal { filter: grayscale(1); opacity: .5; }
.medal.hex { width: 64px; height: 70px; border-radius: 0; border: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, color-mix(in srgb, var(--bc) 55%, #fff), var(--bc)); font-size: 1.9rem; }
.lb-mini-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lb-mini ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.lb-mini li { display: flex; align-items: center; gap: 6px; font-size: .8rem; padding: 4px 6px; border-radius: 8px; }
.lb-mini li.first { background: #e0ecff; }
.lb-mini .n { width: 14px; color: #64748b; font-weight: 700; }
.lb-mini .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-mini .xp { font-weight: 700; }
.lb-mini-link { display: block; margin-top: 8px; font-size: .8rem; font-weight: 700; }
.prova-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 36px; }
.prova { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.prova span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, #1d8bff, #2563eb); color: #fff; font-weight: 800; margin-bottom: 10px; }
.prova h3 { font-size: 1.05rem; }
.prova p { color: var(--muted); margin: 0; font-size: .92rem; }
.compare { margin: 0 auto; }
.subj-grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1180px) {
  .board-card { grid-template-columns: 1fr; }
  .board-side { grid-template-columns: 1fr 1fr 1fr; }
  .daily { grid-row: auto; }
}
@media (max-width: 1240px) {
  .main-nav { gap: 10px; }
  .nav-pill a { padding: 8px 10px !important; font-size: .88rem !important; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .08); display: none; }
  .main-nav.open { display: flex; }
  .nav-pill { flex-direction: column; box-shadow: none; border: 0; padding: 0 !important; }
  .nav-pill .drop { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; }
}
@media (max-width: 960px) {
  .main-nav { position: fixed; inset: 84px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, .08); display: none; }
  .main-nav.open { display: flex; }
  .nav-pill { flex-direction: column; box-shadow: none; border: 0; padding: 0 !important; }
  .nav-pill .drop { position: static; display: block; box-shadow: none; padding: 0 0 0 14px; }
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-art { max-width: 620px; margin: 0 auto; }
  .gcards, .schips, .prova-grid, .subj-grades { grid-template-columns: repeat(2, 1fr); }
  .board-side { grid-template-columns: 1fr 1fr; }
  .daily { grid-column: 1 / -1; }
  .board-card { padding: 24px; border-radius: 26px; }
}
@media (max-width: 560px) {
  .gcards, .schips { gap: 12px; }
  .gcard { min-height: 140px; }
  .gcard-title { font-size: 1.6rem; }
  .gcard-ico { font-size: 2rem; }
  .gcard-btn { padding: 8px 14px; font-size: .85rem; }
  .schip { font-size: 1rem; padding: 14px; }
  .board-side { grid-template-columns: 1fr; }
  .prova-grid, .subj-grades { grid-template-columns: 1fr; }
  .hero2 { padding-bottom: 100px; }
}

/* Motivasyon kartı */
.quote-card { justify-content: flex-start; }
.quote { position: relative; margin: 18px 0 10px; padding: 18px 14px 14px; border-radius: 16px; background: linear-gradient(160deg, #eff6ff, #f5f3ff); transition: opacity .25s, transform .25s; min-height: 150px; display: flex; flex-direction: column; justify-content: center; }
.quote.fade { opacity: 0; transform: translateY(6px); }
.quote-mark { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1d8bff, #7c3aed); color: #fff; font: 800 2.2rem/48px Georgia, serif; box-shadow: 0 6px 14px rgba(37, 99, 235, .3); }
.quote blockquote { margin: 0; font-size: 1.08rem; font-weight: 700; line-height: 1.5; color: #1e293b; }
.quote figcaption { margin-top: 10px; font-size: .84rem; font-weight: 600; color: #6366f1; }
.quote-dots { display: flex; justify-content: center; gap: 5px; margin: 4px 0 10px; }
.quote-dots i { width: 6px; height: 6px; border-radius: 50%; background: #c7d2fe; animation: qdot 1.5s infinite; }
.quote-dots i:nth-child(2) { animation-delay: .2s; } .quote-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes qdot { 50% { background: #6366f1; transform: translateY(-3px); } }
.quote-next { align-self: center; font: 700 .88rem var(--font); color: #2563eb; background: #eef4ff; border: 1.5px solid #dbe6ff; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: .15s; }
.quote-next:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

/* Kahraman görseli canlandırma */
.hero-svg .blink { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.hero-svg g:last-of-type .blink { animation-delay: 1.7s; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.hero-svg .pupil { transition: transform .08s linear; }
.hero-svg .float { animation: floatY 6s ease-in-out infinite; transform-box: fill-box; }
.hero-svg .f2 { animation-delay: -1.5s; } .hero-svg .f3 { animation-delay: -3s; } .hero-svg .f4 { animation-delay: -4.5s; }
@keyframes floatY { 50% { translate: 0 -10px; } }

/* Sınıf kartları: 3B eğim, parıltı, kabarcıklar */
.gcards { perspective: 900px; }
.gtilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s ease; will-change: transform; }
.gtilt:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.03); box-shadow: 0 26px 46px var(--sh); }
.gtilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; transition: opacity .25s; pointer-events: none; }
.gtilt:hover::after { opacity: 1; }
.gcard-bubbles i { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .16); pointer-events: none; transition: transform .6s ease; }
.gcard-bubbles i:nth-child(1) { width: 120px; height: 120px; right: -40px; bottom: -50px; }
.gcard-bubbles i:nth-child(2) { width: 60px; height: 60px; left: -20px; top: 40%; }
.gcard-bubbles i:nth-child(3) { width: 24px; height: 24px; right: 40%; top: 12px; }
.gtilt:hover .gcard-bubbles i:nth-child(1) { transform: translate(-14px, -10px) scale(1.15); }
.gtilt:hover .gcard-bubbles i:nth-child(2) { transform: translate(10px, -8px); }
.gtilt:hover .gcard-bubbles i:nth-child(3) { transform: translate(-6px, 6px) scale(1.4); }
.gtilt .gcard-ico { transform: translateZ(30px); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.gtilt:hover .gcard-ico { transform: translateZ(40px) rotate(-12deg) scale(1.25); }
.gtilt .gcard-title { transform: translateZ(24px); }
.gcard-info { grid-area: info; font-size: .8rem; font-weight: 600; opacity: .9; transform: translateZ(18px); }
.gtilt .gcard-btn { transform: translateZ(28px); transition: background .2s, color .2s, box-shadow .2s; }
.gtilt .gcard-btn i { display: inline-block; transition: transform .25s; }
.gtilt:hover .gcard-btn { background: var(--c); color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .22), inset 0 0 0 2px rgba(255, 255, 255, .7); }
.gtilt:hover .gcard-btn i { transform: translateX(5px); }
.gtilt:focus-visible { outline: 4px solid #93c5fd; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .gtilt, .gtilt:hover { transform: none; }
  .hero-svg .blink, .hero-svg .float, .quote-dots i { animation: none; }
}
