/* Mega menü, 3D sahne, yörünge, yeni sayfalar (style.css'ten sonra yüklenir). */

/* ---------- mega menü ---------- */
.has-mega { position: relative; }
.mega-btn { background: none; border: 0; color: var(--muted); font: 400 13px var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.mega-btn span { display: inline-block; transition: transform .25s; }
.has-mega:hover .mega-btn, .has-mega.open .mega-btn { color: var(--ink); background: rgba(255,255,255,.06); }
.has-mega:hover .mega-btn span, .has-mega.open .mega-btn span { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(860px, 92vw); transform: translate(-50%, 8px) scale(.98); opacity: 0; visibility: hidden;
  background: rgba(14,15,17,.96); backdrop-filter: blur(18px); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transition: opacity .25s, transform .25s, visibility .25s; z-index: 60; }
.has-mega::after { content: ""; position: absolute; left: -40px; right: -40px; top: 100%; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); padding: 22px 12px; }
.mega-cols > div { padding: 0 14px; border-left: 1px solid var(--line); display: grid; align-content: start; gap: 2px; }
.mega-cols > div:first-child { border: 0; }
.mega-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 0 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.mega a { display: grid; gap: 2px; text-decoration: none; padding: 10px; border-radius: 10px; transition: background .2s; }
.mega a:hover { background: rgba(54,255,0,.06); }
.mega a b { font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.mega a small { color: var(--muted); font-size: 12px; }
.mega .tag { font-style: normal; font-size: 9px; padding: 2px 7px; }
.mega .mega-all { display: block; text-align: right; border-top: 1px solid var(--line); border-radius: 0 0 18px 18px; padding: 14px 24px; color: var(--muted); font-size: 13px; }

/* ---------- 3D sahne ---------- */
.scene { perspective: 1400px; }
.scene-in { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.scene .hero-card { transform: translateZ(40px); }
.float { position: absolute; width: 150px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #111; box-shadow: 0 30px 60px rgba(0,0,0,.6); animation: drift 7s ease-in-out infinite; }
.float img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.float span { display: block; font-size: 11px; padding: 8px 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f1 { top: -40px; left: -90px; transform: translateZ(120px) rotate(-8deg); }
.f2 { bottom: -50px; right: -60px; animation-delay: -2s; transform: translateZ(160px) rotate(7deg); }
.f3 { top: 40%; right: -110px; width: 120px; animation-delay: -4s; opacity: .8; transform: translateZ(-60px) rotate(4deg); }
.float-badge { position: absolute; z-index: 3; padding: 9px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 30px rgba(54,255,0,.5); animation: drift 6s ease-in-out infinite; white-space: nowrap; }
.b1 { top: 22%; left: -70px; transform: translateZ(200px); animation-delay: -1s; }
.b2 { bottom: 14%; left: -40px; background: rgba(14,15,17,.92); color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 20px 40px rgba(0,0,0,.5); transform: translateZ(180px); animation-delay: -3s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* ---------- entegrasyonlar ---------- */
.integrations { padding: 70px 0 20px; }
.int-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.int { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--card); display: grid; gap: 6px; }
.int b { font: 600 30px var(--display); letter-spacing: -.04em; }
.int small { color: var(--muted); }
.int .tag { position: absolute; top: 18px; right: 18px; font-style: normal; }
.int.soon { opacity: .6; }
.int.soon .tag { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }

/* ---------- toptancı yörüngesi (3D) ---------- */
.orbit-sec { padding: 110px 0; overflow: hidden; }
.orbit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; perspective: 1000px; }
.orbit-core { position: absolute; inset: 38%; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, rgba(54,255,0,.35), rgba(54,255,0,.05) 70%); border: 1px solid rgba(54,255,0,.4); box-shadow: 0 0 80px rgba(54,255,0,.35), inset 0 0 40px rgba(54,255,0,.25); animation: pulse-core 4s ease-in-out infinite; z-index: 2; }
.orbit-core span { font: 600 26px var(--display); letter-spacing: -.03em; }
.orbit-core small { color: var(--lime); font-size: 11px; letter-spacing: .2em; }
@keyframes pulse-core { 50% { box-shadow: 0 0 120px rgba(54,255,0,.5), inset 0 0 60px rgba(54,255,0,.35); } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); transform-style: preserve-3d; transform: rotateX(62deg); animation: spin var(--dur) linear infinite; }
.ring.r1 { inset: 22%; --dur: 26s; }
.ring.r2 { inset: 2%; --dur: 40s; animation-direction: reverse; border-color: rgba(54,255,0,.2); }
@keyframes spin { from { transform: rotateX(62deg) rotateZ(0deg); } to { transform: rotateX(62deg) rotateZ(360deg); } }
.sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; text-decoration: none; transform-style: preserve-3d; }
.ring.r1 .sat { transform: rotate(var(--a)) translateY(-118px); }
.ring.r2 .sat { transform: rotate(var(--a)) translateY(-264px); }
/* Etiket: halkanın dönüşünü ve eğimini geri alır, hep ekrana dönük ve dik durur. */
.sat span { position: absolute; left: 0; top: 0; translate: -50% -50%; display: block; white-space: nowrap; padding: 10px 16px; border-radius: 999px; font: 600 15px var(--display);
  background: rgba(14,15,17,.92); border: 1px solid var(--line-2); box-shadow: 0 14px 30px rgba(0,0,0,.5); transition: background .2s, color .2s;
  transform: rotate(calc(-1 * var(--a))) rotateX(-62deg); animation: unspin var(--dur) linear infinite; }
.ring.r2 .sat span { animation-direction: reverse; }
@keyframes unspin { from { transform: rotate(calc(-1 * var(--a))) rotateZ(0deg) rotateX(-62deg); } to { transform: rotate(calc(-1 * var(--a))) rotateZ(-360deg) rotateX(-62deg); } }
.sat:hover span { background: var(--lime); color: var(--lime-ink); }
.orbit:hover .ring, .orbit:hover .sat span { animation-play-state: paused; }

/* ---------- haftalık modeller: kategori seçimi + filtre ---------- */
.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; perspective: 1200px; }
.choice { position: relative; text-decoration: none; min-height: 240px; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: var(--card); display: grid; align-content: start; gap: 6px; overflow: hidden; transition: transform .35s, border-color .3s; }
.choice::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(54,255,0,.25), transparent 70%); transition: transform .5s; }
.choice:hover { transform: translateY(-6px) rotateX(6deg); border-color: rgba(54,255,0,.5); }
.choice:hover::after { transform: scale(1.6); }
.choice .num { color: var(--lime); font: 500 12px var(--display); }
.choice b { font: 600 36px var(--display); letter-spacing: -.04em; margin-top: 30px; }
.choice small { color: var(--muted); }
.choice .go { margin-top: auto; padding-top: 24px; color: var(--lime); font-size: 13px; }
.filters { display: grid; gap: 18px; margin-bottom: 26px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.filters .eyebrow { margin-bottom: 10px; }
.chips { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0; }
.chips i { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- hesabım / ana sayfa kartı ---------- */
.balance { display: grid; gap: 2px; padding: 18px; border-radius: 16px; background: rgba(54,255,0,.06); border: 1px solid rgba(54,255,0,.25); }
.balance small { color: var(--muted); font-size: 12px; }
.balance b { font: 600 46px/1 var(--display); color: var(--lime); letter-spacing: -.04em; }
.balance span { color: var(--muted); font-size: 13px; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.box .quick a { text-decoration: none; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); display: grid; color: var(--ink); transition: border-color .2s, background .2s; }
.box .quick a:hover { border-color: rgba(54,255,0,.45); background: rgba(54,255,0,.04); }
.quick b { font-weight: 500; font-size: 14px; }
.quick small { color: var(--muted); font-size: 12px; }
.acc-stats { margin-bottom: 24px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-grid .box { max-width: none; }
.row > .thumbs { display: flex; flex: none; min-width: 0; }
.thumbs img { width: 40px; height: 52px; margin-right: -12px; border: 2px solid var(--bg); }

/* ---------- biz kimiz ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 30px 0 60px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.values div { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--card); display: grid; gap: 6px; }
.values b { font: 600 22px var(--display); color: var(--lime); }
.values small { color: var(--muted); }
.agency { position: relative; overflow: hidden; isolation: isolate; border: 1px solid var(--line-2); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; background: var(--bg-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: rgba(5,5,6,.6); backdrop-filter: blur(6px); display: flex; gap: 10px; align-items: center; }
.ticks li::before { content: "✓"; color: var(--lime); }
.ticks .tag { margin-left: auto; font-style: normal; }

/* ---------- blog / yasal ---------- */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.8; color: #c9cbd1; }
.prose h2, .prose h3 { color: var(--ink); margin: 42px 0 12px; font-size: 28px; }
.prose h3 { font-size: 21px; }
.prose a { color: var(--lime); }
.prose b, .prose strong { color: var(--ink); }
.prose li { margin: 6px 0; }
.prose .cta { margin-top: 44px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-top: 60px; }
.post { text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--card); display: grid; gap: 8px; transition: transform .3s, border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: rgba(54,255,0,.45); }
.post small { color: var(--lime); font-size: 12px; }
.post b { font: 600 22px/1.15 var(--display); letter-spacing: -.03em; }
.post p { color: var(--muted); margin: 0; font-size: 14px; }
.post .go { color: var(--lime); font-size: 13px; margin-top: 8px; }
.foot-in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
.foot .agency-link, .foot a.agency { color: var(--lime); }

@media (max-width: 960px) {
  .orbit-grid, .about-grid, .agency, .acc-grid, .int-row { grid-template-columns: 1fr; }
  .mega { position: fixed; top: 64px; left: 50%; }
  .mega-cols { grid-template-columns: 1fr; }
  .mega-cols > div { border: 0; }
  .float, .float-badge { display: none; }
  .ring.r1 .sat { transform: rotate(var(--a)) translateY(-26vw); }
  .ring.r2 .sat { transform: rotate(var(--a)) translateY(-41vw); }
  .agency { padding: 32px; }
}

/* Orta genişlik: menü iki satıra taşmasın, logonun altında tek satır kayar. */
@media (max-width: 1100px) {
  .top { flex-wrap: wrap; row-gap: 6px; background: rgba(5,5,6,.92); backdrop-filter: blur(14px); border-color: var(--line); }
  .menu { order: 3; width: 100%; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a, .mega-btn { white-space: nowrap; }
  .actions { margin-left: auto; }
  .mega { position: fixed; top: 112px; }
  main { padding-top: 120px; }
  .hero, .page-hero { margin-top: -120px; padding-top: 160px; }
}

.quick-amounts { display: flex; gap: 6px; flex-wrap: wrap; }
.st.manual { color: var(--lime); border-color: rgba(54,255,0,.3); }

/* Telefon: üst bar sığsın. */
@media (max-width: 760px) { .logo span { display: none; } .actions { gap: 4px; } .actions .btn, .cart-btn { padding: 8px 12px; font-size: 12px; } .actions .out { padding: 8px 6px; } .scene-in { transform: none; } }

/* Gizli mega menü telefonda sayfayı yana genişletmesin. */
html, body { overflow-x: clip; }
@media (max-width: 1100px) { .mega { left: 12px; right: 12px; width: auto; transform: translateY(8px); } .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { transform: none; } }
