/* Hanımağa-Irgat TikTok Interactive Overlay: site kabuğu + neon tema.
   Mevcut panel CSS'i değişkenlerle (--bg, --panel, --line, --accent...) çalıştığı için burada değişkenleri ezip kartlara neon çerçeve veriyoruz. */
:root {
  --bg: #07060f; --panel: rgba(21, 17, 42, .82); --line: rgba(139, 92, 246, .30); --text: #f3f0ff; --muted: #a9a0c9;
  --good: #4ade80; --bad: #ff5a7a; --warn: #fbbf24; --accent: #ff3df0;
  --pink: #ff2bd6; --cyan: #22d3ee; --orange: #ffa31a; --green: #22c55e; --violet: #8b5cf6; --red: #ef4444; --blue: #3b82f6;
  --glow-pink: 0 0 22px rgba(255, 43, 214, .45);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Manrope', system-ui, sans-serif; color: var(--text); min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 12% -8%, rgba(139, 92, 246, .30), transparent 62%),
    radial-gradient(900px 520px at 96% 2%, rgba(255, 43, 214, .20), transparent 62%),
    radial-gradient(900px 600px at 50% 112%, rgba(34, 211, 238, .14), transparent 62%), #07060f;
  background-attachment: fixed;
}
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: rgba(139, 92, 246, .45); border-radius: 8px; } ::-webkit-scrollbar-track { background: transparent; }

/* ---------- Üst çubuk ---------- */
.site { position: relative; }
header.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 10px 28px; flex-wrap: nowrap; justify-content: space-between;
  background: linear-gradient(180deg, rgba(7, 6, 15, .94), rgba(7, 6, 15, .78)); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(139, 92, 246, .22);
}
.brand img { height: 54px; display: block; filter: drop-shadow(0 0 14px rgba(255, 150, 30, .25)); }
.topnav { display: flex; gap: 4px; padding: 4px; border: 1px solid rgba(139, 92, 246, .28); border-radius: 14px; background: rgba(12, 10, 26, .6); }
.topnav a { display: flex; align-items: center; gap: 8px; padding: 9px 16px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 10px; position: relative; white-space: nowrap; }
.topnav a svg { width: 18px; height: 18px; }
.topnav a:hover { color: #fff; }
.topnav a.on { color: var(--pink); } .topnav a.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--pink); box-shadow: 0 0 10px var(--pink); border-radius: 2px; }
.topright { display: flex; align-items: center; gap: 12px; }
.topright .saved { font-size: 12.5px; min-width: 0; }
.topstatus { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; background: rgba(12, 10, 26, .6); }
.topstatus.connected { color: var(--good); border-color: rgba(74, 222, 128, .5); box-shadow: 0 0 12px rgba(74, 222, 128, .25); }
.topstatus.connecting { color: var(--warn); } .topstatus.error { color: var(--bad); }
.followbtn {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 14px; text-decoration: none; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
  border: 1.5px solid transparent; background: linear-gradient(#0b0918, #0b0918) padding-box, linear-gradient(90deg, #ff2bd6, #22d3ee) border-box; box-shadow: 0 0 20px rgba(255, 43, 214, .35);
}
.followbtn i { font-style: normal; font-size: 18px; color: var(--cyan); } .followbtn:hover { filter: brightness(1.2); }

/* ---------- Sayfalar ---------- */
.page { padding: 26px 28px 20px; max-width: 1480px; margin: 0 auto; }
.page[hidden] { display: none; }
.pagehead { margin: 8px 0 22px; }
.pagehead h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.pagehead p { margin: 6px 0 0; color: var(--muted); }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 14px 44px rgba(0, 0, 0, .4); }

/* Ana sayfa */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 10px; align-items: center; min-height: 560px; }
.hero-l { position: relative; z-index: 2; padding: 20px 0; }
.hero .crown { width: 64px; height: 64px; color: var(--orange); filter: drop-shadow(0 0 14px rgba(255, 163, 26, .7)); }
.brand-title { margin: 6px 0 0; font-family: 'Permanent Marker', 'Anton', Impact, sans-serif; font-weight: 400; font-size: clamp(38px, 5.4vw, 86px); line-height: 1; white-space: nowrap; transform: skewX(-6deg); text-shadow: 0 6px 30px rgba(0, 0, 0, .55); letter-spacing: .01em; }
.brand-title .b1 { background: linear-gradient(180deg, #ffd23f, #ff8a1f 70%, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 140, 30, .35)); }
.brand-title .b2 { color: #fff; }
.neon-pill {
  display: inline-flex; align-items: center; gap: 12px; margin: 14px 0 6px; padding: 12px 26px; border-radius: 99px; color: #fff; font-weight: 800; letter-spacing: .14em; font-size: 15px; transform: rotate(-3deg);
  border: 2px solid transparent; background: linear-gradient(#0a0816, #0a0816) padding-box, linear-gradient(90deg, #22d3ee, #ff2bd6) border-box; box-shadow: 0 0 26px rgba(34, 211, 238, .45), 0 0 26px rgba(255, 43, 214, .3);
}
.neon-pill b { color: var(--pink); } .neon-pill svg { width: 24px; height: 24px; color: #fff; }
.hero .tag { font-family: 'Kaushan Script', cursive; font-size: 28px; margin: 22px 0 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero .sub { color: #cfc8ee; margin: 6px 0 0; line-height: 1.6; }
.cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 15px 30px; border-radius: 99px; text-decoration: none; color: #fff; font-weight: 800; font-size: 17px; transform: rotate(-2deg);
  background: linear-gradient(90deg, #ff2bd6, #8b5cf6 55%, #22d3ee); box-shadow: 0 0 30px rgba(255, 43, 214, .5); transition: transform .2s, filter .2s;
}
.cta:hover { transform: rotate(-2deg) scale(1.05); filter: brightness(1.1); }
.hero-r { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.hero-r .glow { position: absolute; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 43, 214, .5), rgba(34, 211, 238, .22) 55%, transparent 72%); filter: blur(34px); }
.couple { position: relative; height: min(560px, 70vh); max-width: 100%; object-fit: cover; border-radius: 24px; border: 2px solid rgba(255, 43, 214, .55); box-shadow: 0 0 40px rgba(255, 43, 214, .45), 0 0 80px rgba(34, 211, 238, .22); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.hero .note { position: absolute; font-family: 'Kaushan Script', cursive; color: #e9e2ff; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.hero .note.n1 { right: 0; top: 4%; transform: rotate(8deg); font-size: 22px; text-align: left; }
.hero .tt { position: absolute; width: 96px; height: 96px; left: 0; top: 2%; color: var(--cyan); filter: drop-shadow(0 0 16px var(--cyan)) drop-shadow(0 0 28px var(--pink)); transform: rotate(-8deg); }
.cards5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.hcard {
  --c: #8b5cf6; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; min-height: 150px; text-decoration: none; color: var(--text); border-radius: 16px;
  border: 1.5px solid color-mix(in srgb, var(--c) 75%, transparent); background: linear-gradient(150deg, color-mix(in srgb, var(--c) 18%, transparent), rgba(10, 8, 22, .88) 62%);
  box-shadow: 0 0 24px color-mix(in srgb, var(--c) 28%, transparent), inset 0 0 22px color-mix(in srgb, var(--c) 8%, transparent); transition: transform .2s, box-shadow .2s;
}
.hcard:hover { transform: translateY(-4px); box-shadow: 0 0 36px color-mix(in srgb, var(--c) 55%, transparent); }
.hcard svg.ic { width: 44px; height: 44px; color: var(--c); filter: drop-shadow(0 0 8px var(--c)); }
.hcard b { font-size: 20px; font-weight: 700; margin-top: 4px; } .hcard span { color: #d2cbef; font-size: 13.5px; padding-right: 36px; }
.hcard .go { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--c); display: grid; place-items: center; color: var(--c); }
.hcard .go svg { width: 14px; height: 14px; }
.c-violet { --c: #a855f7; } .c-cyan { --c: #22d3ee; } .c-orange { --c: #fb923c; } .c-green { --c: #22c55e; } .c-pink { --c: #d946ef; } .c-red { --c: #ef4444; } .c-blue { --c: #3b82f6; } .c-yellow { --c: #facc15; }

/* Özellikler / Hakkımızda / İletişim / Oyunlar */
.featgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 28px; align-items: center; }
.about h2 { margin: 0 0 10px; font-size: 26px; } .about p { color: #d6d0f0; line-height: 1.75; } .about ul { color: #d6d0f0; line-height: 1.9; padding-left: 20px; }
.about img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 20px; border: 2px solid rgba(255, 43, 214, .5); box-shadow: 0 0 36px rgba(255, 43, 214, .35); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.contact .hcard { min-height: 170px; } .contact .big { font-size: 24px; font-weight: 800; }
.soon { display: grid; place-items: center; min-height: 340px; text-align: center; gap: 10px; }
.soon svg { width: 72px; height: 72px; color: var(--violet); filter: drop-shadow(0 0 14px var(--violet)); }
.soon b { font-size: 24px; } .soon span { color: var(--muted); }

/* Alt bilgi */
.sitefoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px 28px 26px; max-width: 1480px; margin: 10px auto 0; border-top: 1px solid rgba(139, 92, 246, .2); color: var(--muted); font-size: 13px; }
.sitefoot .l { display: flex; align-items: center; gap: 10px; } .sitefoot .l i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--pink); color: #fff; box-shadow: var(--glow-pink); }
.sitefoot .l svg { width: 18px; height: 18px; }
.sitefoot .c { text-align: center; font-family: 'Kaushan Script', cursive; font-size: 22px; color: #efe9ff; } .sitefoot .c em { color: var(--pink); font-style: normal; }
.sitefoot .r { display: flex; align-items: center; justify-content: flex-end; gap: 14px; } .sitefoot .r a { color: #fff; display: grid; } .sitefoot .r svg { width: 20px; height: 20px; }

/* ---------- Overlay'ler: sol menü + içerik ---------- */
.ovwrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow: auto; padding: 10px; border-radius: 18px; border: 1px solid var(--line); background: rgba(14, 11, 30, .78); box-shadow: 0 14px 44px rgba(0, 0, 0, .4); }
.sidebtn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 12px; margin-bottom: 3px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text); text-align: left; text-decoration: none; cursor: pointer; }
.sidebtn:hover { background: rgba(139, 92, 246, .14); }
.sidebtn svg { width: 26px; height: 26px; flex: none; color: var(--c, var(--violet)); filter: drop-shadow(0 0 6px var(--c, var(--violet))); }
.sidebtn b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; } .sidebtn small { display: block; color: var(--muted); font-size: 11.5px; }
.sidebtn.on { background: linear-gradient(90deg, #ff2bd6, #8b5cf6); border-color: rgba(255, 255, 255, .25); box-shadow: 0 0 24px rgba(255, 43, 214, .45); }
.sidebtn.on svg { color: #fff; filter: none; } .sidebtn.on small { color: #f3dcff; }
.sidefoot { margin: 12px 0 4px; text-align: center; font-family: 'Kaushan Script', cursive; font-size: 19px; color: #e9e2ff; } .sidefoot em { color: var(--pink); font-style: normal; }
.ovmain { min-width: 0; }
.ovhead { margin: 0 0 6px; } .ovhead h1 { margin: 0; font-size: 30px; font-weight: 800; } .ovhead p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ovhead h1::after { content: ''; display: block; width: 64px; height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, #ff2bd6, #22d3ee); box-shadow: 0 0 12px var(--pink); }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 2px; } .subnav:empty { display: none; }
.subnav button { padding: 8px 14px; border-radius: 99px; background: rgba(14, 11, 30, .8); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13.5px; }
.subnav button:hover { color: #fff; border-color: var(--violet); }
.subnav button.on { color: #fff; background: linear-gradient(90deg, #ff2bd6, #8b5cf6); border-color: transparent; box-shadow: 0 0 16px rgba(255, 43, 214, .4); }
.subhide { display: none !important; }
.ovmain main { max-width: none; margin: 0; padding: 0 0 50px; }
.ovmain .tabs { display: none !important; }

/* Giriş karşılama + araç kartları */
.welcome { padding: 6px 0 4px; }
.welcome .wsmall { font-family: 'Permanent Marker', cursive; font-size: 26px; color: #fff; transform: rotate(-3deg); transform-origin: left; text-shadow: 0 0 12px rgba(255, 255, 255, .25); }
.welcome .wbig { font-family: 'Permanent Marker', 'Anton', sans-serif; font-size: clamp(46px, 7vw, 84px); line-height: 1; transform: skewX(-6deg); background: linear-gradient(180deg, #ffd23f, #ff8a1f 65%, #ff3d9a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 18px rgba(255, 120, 40, .3)); }
.welcome p { color: #d6d0f0; max-width: 620px; margin: 12px 0 0; }
.sechead { margin: 28px 0 4px; font-size: 20px; font-weight: 700; }
.toolcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 10px; }
.toolcards .hcard { min-height: 128px; } .toolcards .hcard b { font-size: 17px; }

/* ---------- Mevcut panel bölümlerine neon görünüm ---------- */
.ovmain .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 36px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.ovmain .panel > h2, .ovmain .rules-head h2 { font-size: 18px; font-weight: 700; }
.ovmain .panel > h2::before, .ovmain .rules-head h2::before { content: ''; display: inline-block; width: 4px; height: 17px; margin-right: 10px; vertical-align: -2px; border-radius: 3px; background: linear-gradient(180deg, #ff2bd6, #22d3ee); box-shadow: 0 0 10px var(--pink); }
.ovmain .counter { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
input, select { background: rgba(7, 6, 15, .75); border-color: rgba(139, 92, 246, .38); }
input:focus-visible, select:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
button { background: rgba(38, 30, 72, .85); border-color: rgba(139, 92, 246, .38); } button:hover { background: rgba(70, 48, 128, .9); }
button.primary { background: linear-gradient(90deg, #ff2bd6, #8b5cf6); color: #fff; border-color: transparent; box-shadow: 0 0 18px rgba(255, 43, 214, .35); }
button.danger:hover { background: rgba(120, 30, 60, .8); }
.tcard.on, .frame.on, .palchip.on { box-shadow: 0 0 0 2px var(--pink) inset, 0 0 16px rgba(255, 43, 214, .35); border-color: var(--pink); }
.badge.connected { box-shadow: 0 0 12px rgba(74, 222, 128, .3); }
.sidebtn, .subnav button, .topnav a { font-family: inherit; }
@media (max-width: 1180px) { .cards5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero { grid-template-columns: 1fr; } .hero-r { min-height: 420px; } .about { grid-template-columns: 1fr; } }
@media (max-width: 980px) {
  header.topbar { flex-wrap: wrap; padding: 10px 14px; } .topnav { order: 3; width: 100%; overflow-x: auto; } .topnav a { padding: 8px 12px; } .topnav a svg { display: none; }
  .page { padding: 18px 14px 12px; }
  .ovwrap { grid-template-columns: 1fr; gap: 14px; }
  .side { position: static; max-height: none; display: flex; gap: 6px; overflow-x: auto; padding: 8px; } .sidebtn { width: auto; flex: none; margin: 0; padding: 8px 12px; } .sidebtn small, .sidefoot { display: none; } .sidebtn svg { width: 20px; height: 20px; }
  .cards5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitefoot { grid-template-columns: 1fr; text-align: center; } .sitefoot .l, .sitefoot .r { justify-content: center; }
  .followbtn span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hcard, .cta { transition: none; } }
