/* ================================================================
   Noel Ağacım — ana stil dosyası
   Bölüm 1: temel, arka plan, üst menü
   ================================================================ */

:root {
    --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-display: 'Baloo 2', 'Nunito', 'Segoe UI', system-ui, sans-serif;

    --bg-0: #061120;
    --bg-1: #0b1d36;
    --bg-2: #12365c;
    --text: #eef5ff;
    --muted: #b2c5df;
    --muted-2: #8ba3c4;
    --line: rgba(255, 255, 255, 0.12);
    --line-strong: rgba(255, 255, 255, 0.22);

    --green: #4fc08d;
    --green-deep: #2f9a6a;
    --green-dark: #1d6d4b;
    --gold: #ffd97a;
    --gold-deep: #f0b429;
    --gold-dark: #c98d16;
    --red: #f26d7d;
    --red-deep: #d14558;

    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(11, 30, 55, 0.72);
    --glass-card: linear-gradient(165deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03));
    --shadow: 0 26px 70px rgba(1, 8, 20, 0.5);
    --shadow-soft: 0 12px 34px rgba(1, 8, 20, 0.35);
    --radius: 28px;
    --radius-sm: 18px;

    --orn-red: #e35663;
    --orn-gold: #f4c45a;
    --orn-green: #4fc08d;
    --orn-blue: #5aa9f7;
    --orn-purple: #a78bfa;
    --orn-silver: #d7e2ef;

    /* Ağaç renkleri (tema ile değişir) */
    --tree-a: #0f4b34;
    --tree-b: #176b48;
    --tree-c: #2b9464;
    --tree-edge: rgba(6, 40, 28, 0.65);
    --snow: #ffffff;
    --star: #ffd97a;
    --garland: #ffe6a8;
    --stage-bg: radial-gradient(circle at 50% 18%, #143c5c 0%, #0a2340 45%, #061525 100%);
    --stage-ring: rgba(255, 217, 122, 0.18);
}

/* ---------------- Reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg-0);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
    font-family: var(--font-display);
    margin: 0;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: #f7fbff;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: rgba(255, 217, 122, 0.3); color: #fff; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 500;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: #201400;
    font-weight: 800;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------------- Arka plan sahnesi ---------------- */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
    background: var(--bg-0);
}
.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 700px at 50% -10%, #1b4a72 0%, transparent 62%),
        radial-gradient(900px 600px at 88% 12%, #3a2a6b 0%, transparent 60%),
        linear-gradient(180deg, #08182c 0%, #061120 46%, #040d19 100%);
}
.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    will-change: transform;
    mix-blend-mode: screen;
}
.aurora-a {
    width: 60vw; height: 60vw;
    max-width: 820px; max-height: 820px;
    top: -22vw; left: -12vw;
    background: radial-gradient(circle, rgba(64, 156, 255, 0.32), transparent 68%);
    animation: auroraDrift 22s ease-in-out infinite alternate;
}
.aurora-b {
    width: 52vw; height: 52vw;
    max-width: 720px; max-height: 720px;
    top: 6vh; right: -16vw;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.26), transparent 68%);
    animation: auroraDrift 27s ease-in-out infinite alternate-reverse;
}
.aurora-c {
    width: 46vw; height: 46vw;
    max-width: 640px; max-height: 640px;
    bottom: -20vw; left: 22vw;
    background: radial-gradient(circle, rgba(79, 192, 141, 0.2), transparent 68%);
    animation: auroraDrift 31s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(4vw, 3vh, 0) scale(1.12); }
}

.bg-stars {
    position: absolute;
    inset: 0;
    opacity: 0.75;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,255,255,0.9) 50%, transparent 51%),
        radial-gradient(1.4px 1.4px at 28% 9%, rgba(255,255,255,0.7) 50%, transparent 51%),
        radial-gradient(1.8px 1.8px at 44% 24%, rgba(255,255,255,0.8) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 67% 12%, rgba(255,255,255,0.65) 50%, transparent 51%),
        radial-gradient(1.6px 1.6px at 82% 26%, rgba(255,255,255,0.85) 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 93% 8%, rgba(255,255,255,0.6) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 8% 42%, rgba(255,255,255,0.55) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 36% 38%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1.7px 1.7px at 58% 46%, rgba(255,255,255,0.6) 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 76% 40%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 21% 62%, rgba(255,255,255,0.4) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 88% 58%, rgba(255,255,255,0.45) 50%, transparent 51%);
    animation: starTwinkle 6s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
    from { opacity: 0.45; }
    to   { opacity: 0.9; }
}
.snow-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}
.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 50% 40%, transparent 46%, rgba(2, 8, 16, 0.62) 100%);
}

/* ---------------- Yüzen kar (JS'siz yedek) ---------------- */
body::before,
body::after {
    content: '';
    position: fixed;
    z-index: -1;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow:
        8vw 12vh 0 -0.5px rgba(255,255,255,0.8),
        18vw 34vh 0 0 rgba(255,255,255,0.6),
        29vw 8vh 0 -0.8px rgba(255,255,255,0.7),
        38vw 58vh 0 0.5px rgba(255,255,255,0.5),
        47vw 22vh 0 -0.6px rgba(255,255,255,0.75),
        57vw 71vh 0 0 rgba(255,255,255,0.5),
        66vw 14vh 0 -0.4px rgba(255,255,255,0.7),
        76vw 46vh 0 0.6px rgba(255,255,255,0.45),
        85vw 78vh 0 -0.7px rgba(255,255,255,0.6),
        94vw 30vh 0 0 rgba(255,255,255,0.5);
    animation: hintFall 18s linear infinite;
    opacity: 0.5;
}
body::after { animation-duration: 26s; animation-delay: -9s; opacity: 0.3; }
@keyframes hintFall {
    from { transform: translateY(-12vh); }
    to   { transform: translateY(112vh); }
}

/* ---------------- Yardımcılar ---------------- */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.mt { margin-top: 18px; }
.grad-text {
    background: linear-gradient(100deg, #8fe3b7 0%, #ffd97a 46%, #ff9f8a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.grad-text-gold {
    background: linear-gradient(100deg, #ffe9a8 0%, #ffc94d 52%, #ff9f6a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow.light { color: #ffe9a8; }
.icon { flex: 0 0 auto; }
.icon-brand { display: inline-block; }
.danger-text { color: var(--red); }

/* ---------------- Üst menü ---------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 14px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.topbar.is-scrolled {
    padding: 8px 0;
    background: rgba(5, 15, 28, 0.82);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--line);
    box-shadow: 0 14px 40px rgba(1, 7, 16, 0.4);
}
.topbar-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(150deg, #2b9464, #14684a 60%, #0e4b36);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 20px rgba(5, 40, 28, 0.45);
    color: #eafff4;
}
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.nav-link {
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-link.is-active { color: #fff; background: rgba(255, 255, 255, 0.09); }
.nav-link-owner { display: inline-flex; align-items: center; gap: 6px; }
.nav-cta { margin-left: 8px; }
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    margin-left: auto;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.06);
}
.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   Bölüm 2: butonlar, formlar, kartlar, modal, footer
   ================================================================ */

/* ---------------- Butonlar ---------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.1;
    letter-spacing: 0.005em;
    color: #fff;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.995); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary {
    background: linear-gradient(150deg, #46c08a 0%, #2b9c6c 48%, #187a50 100%);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px rgba(24, 122, 80, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.32);
    color: #f2fff9;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(24, 122, 80, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.36); filter: brightness(1.05); }
.btn-gold {
    background: linear-gradient(150deg, #ffe9a8 0%, #ffd15c 50%, #f0b429 100%);
    border-color: rgba(255, 255, 255, 0.4);
    color: #352000;
    box-shadow: 0 12px 30px rgba(240, 180, 41, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(240, 180, 41, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.66); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--line-strong);
    color: #e9f3ff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.11); transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.34); }
.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-danger {
    background: linear-gradient(150deg, #f47c8a, #d14558 55%, #a82c3e);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 28px rgba(209, 69, 88, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.24);
    color: #fff5f6;
}
.btn-danger:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: 0.84rem; gap: 7px; }
.btn-block { width: 100%; display: flex; }
.btn.icon-only { padding: 12px; width: 46px; height: 46px; }
.btn .icon { margin-top: -1px; }

.icon-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.link-danger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 2px;
    border: 0;
    background: none;
    color: var(--muted-2);
    font-size: 0.8rem;
    font-weight: 700;
    transition: color 0.18s ease;
}
.link-danger:hover { color: var(--red); }

/* ---------------- Etiket / pill ---------------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    white-space: nowrap;
}
.pill-live {
    color: #d9ffe9;
    border-color: rgba(79, 192, 141, 0.34);
    background: rgba(79, 192, 141, 0.12);
}
.pill-soft { color: #ffe9b0; border-color: rgba(255, 217, 122, 0.26); background: rgba(255, 217, 122, 0.09); }
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(79, 192, 141, 0.6);
    animation: dotPulse 2.4s ease-out infinite;
}
@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 192, 141, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(79, 192, 141, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 192, 141, 0); }
}

/* ---------------- Kartlar ---------------- */
.card {
    background: var(--glass-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}
.panel-card {
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(9, 24, 43, 0.55));
    box-shadow: var(--shadow-soft);
}
.panel-card + .panel-card { margin-top: 20px; }
.panel-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.panel-card-head h2 { font-size: 1.35rem; margin-top: 4px; }
.panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}
.panel-kicker.danger { color: var(--red); }
.count-badge {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(255, 217, 122, 0.12);
    border: 1px solid rgba(255, 217, 122, 0.28);
    color: var(--gold);
    font-weight: 900;
    font-size: 0.95rem;
}

/* ---------------- Bölüm başlıkları ---------------- */
.section {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 86px 0;
}
.section-head {
    max-width: 660px;
    margin: 0 auto 46px;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
    margin: 14px 0 12px;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------------- Form elemanları ---------------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label,
.field > .label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #dce9fb;
    letter-spacing: 0.01em;
}
.field .optional { font-weight: 600; color: var(--muted-2); font-size: 0.8rem; }
.field-hint { font-size: 0.78rem; color: var(--muted-2); line-height: 1.5; }
.field-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.char-count { font-size: 0.76rem; color: var(--muted-2); font-variant-numeric: tabular-nums; font-weight: 700; }
.char-count.is-near { color: var(--gold); }
.char-count.is-full { color: var(--red); }

input[type="text"],
input[type="search"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(4, 14, 27, 0.55);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
input::placeholder, textarea::placeholder { color: #6d84a3; }
input[type="text"]:hover, input[type="search"]:hover, input[type="password"]:hover, textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: rgba(255, 217, 122, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 217, 122, 0.12);
    background: rgba(4, 14, 27, 0.75);
}
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-prefix {
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(4, 14, 27, 0.55);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.input-prefix:focus-within {
    border-color: rgba(255, 217, 122, 0.65);
    box-shadow: 0 0 0 4px rgba(255, 217, 122, 0.12);
}
.input-prefix > span {
    padding: 0 0 0 16px;
    color: var(--muted-2);
    font-weight: 800;
    font-size: 1rem;
}
.input-prefix input {
    border: 0;
    background: transparent;
    box-shadow: none !important;
    padding-left: 6px;
}
.input-prefix input:focus { background: transparent; }

/* Platform seçici */
.platform-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platform-picker-sm { grid-template-columns: 1fr 1fr; }
.platform-option { position: relative; display: block; cursor: pointer; min-width: 0; }
.platform-option input { position: absolute; opacity: 0; pointer-events: none; }
.platform-card {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(4, 14, 27, 0.45);
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--muted);
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    min-width: 0;
}
.platform-card > span:not(.platform-icon) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-option:hover .platform-card { border-color: rgba(255, 255, 255, 0.34); transform: translateY(-1px); }
.platform-option input:checked + .platform-card {
    border-color: rgba(255, 217, 122, 0.6);
    background: rgba(255, 217, 122, 0.1);
    color: #fff5dc;
}
.platform-option input:focus-visible + .platform-card { outline: 2px solid var(--gold); outline-offset: 2px; }
.platform-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}
.platform-icon.p-ig { color: #f0a3c8; background: rgba(225, 48, 108, 0.16); }
.platform-icon.p-tt { color: #b8f0ff; background: rgba(37, 244, 238, 0.14); }
.platform-icon.p-ot { color: #cfd9e6; }
.platform-tick {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: #2a1a00;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.platform-option input:checked + .platform-card .platform-tick { opacity: 1; transform: scale(1); }
.platform-picker-sm .platform-card { padding: 9px 10px; font-size: 0.82rem; }
.platform-picker-sm .platform-icon { width: 27px; height: 27px; }

/* Anahtar (switch) */
.switch-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 16px;
    margin-bottom: 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(4, 14, 27, 0.4);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.switch-row:hover { border-color: rgba(255, 255, 255, 0.28); }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch-ui {
    flex: 0 0 auto;
    width: 46px;
    height: 27px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid var(--line-strong);
    transition: background 0.22s ease, border-color 0.22s ease;
}
.switch-ui > span {
    display: block;
    width: 19px;
    height: 19px;
    margin: 3px;
    border-radius: 50%;
    background: #e7f1ff;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.22s ease;
}
.switch-row input:checked + .switch-ui { background: linear-gradient(140deg, #46c08a, #1d7f54); border-color: rgba(255, 255, 255, 0.3); }
.switch-row input:checked + .switch-ui > span { transform: translateX(19px); background: #fff; }
.switch-row input:focus-visible + .switch-ui { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch-text { display: flex; flex-direction: column; gap: 2px; }
.switch-text strong { font-size: 0.9rem; }
.switch-text small { font-size: 0.77rem; color: var(--muted-2); line-height: 1.5; }

/* Süs seçici */
.ornament-picker { display: flex; flex-wrap: wrap; gap: 10px; }
.ornament-option { position: relative; cursor: pointer; }
.ornament-option input { position: absolute; opacity: 0; pointer-events: none; }
.ornament-dot {
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dot);
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -3px 6px rgba(0, 0, 0, 0.28), 0 4px 12px rgba(0, 0, 0, 0.28);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ornament-option:hover .ornament-dot { transform: scale(1.1); }
.ornament-option input:checked + .ornament-dot {
    transform: scale(1.12);
    box-shadow: 0 0 0 3px var(--bg-1), 0 0 0 5px var(--dot), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}
.ornament-option input:focus-visible + .ornament-dot { outline: 2px solid var(--gold); outline-offset: 3px; }
.ornament-chip {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--dot);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

/* Fotoğraf yükleme */
.photo-drop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.26);
    background: rgba(4, 14, 27, 0.35);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.photo-drop:hover, .photo-drop.is-drag { border-color: rgba(255, 217, 122, 0.62); background: rgba(255, 217, 122, 0.06); }
.photo-drop > .icon { color: var(--gold); }
.photo-drop > span { display: flex; flex-direction: column; gap: 2px; }
.photo-drop strong { font-size: 0.88rem; }
.photo-drop small { font-size: 0.76rem; color: var(--muted-2); }
.photo-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.photo-preview { position: relative; margin-top: 12px; width: min(260px, 100%); }
.photo-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
}
.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(4, 12, 22, 0.78);
    color: #fff;
    backdrop-filter: blur(6px);
}
.photo-remove:hover { background: var(--red-deep); }

/* Form geri bildirim */
.form-error {
    margin: 4px 0 14px;
    padding: 12px 15px;
    border-radius: 13px;
    border: 1px solid rgba(242, 109, 125, 0.4);
    background: rgba(242, 109, 125, 0.12);
    color: #ffd9dd;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
}
.form-note {
    display: flex;
    gap: 9px;
    padding: 13px 15px;
    margin: 16px 0;
    border-radius: 14px;
    border: 1px solid rgba(90, 169, 247, 0.24);
    background: rgba(90, 169, 247, 0.08);
    color: #cfe4ff;
    font-size: 0.82rem;
    line-height: 1.55;
}
.form-note .icon { margin-top: 2px; color: #8cc4ff; }
.form-micro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.76rem;
    color: var(--muted-2);
    text-align: center;
}
.panel-flash {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px solid rgba(79, 192, 141, 0.3);
    background: rgba(79, 192, 141, 0.12);
    color: #d9ffe9;
    font-size: 0.88rem;
    font-weight: 700;
}
.server-flash { display: none; }

/* ---------------- Avatar ---------------- */
.avatar {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: #08131f;
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    letter-spacing: 0.02em;
}
.avatar-sm { width: 36px; height: 36px; font-size: 0.76rem; border-width: 1.5px; }
.avatar-rose { background: linear-gradient(150deg, #ffc2cf, #ee7490); }
.avatar-gold { background: linear-gradient(150deg, #ffe9a8, #efb53c); }
.avatar-mint { background: linear-gradient(150deg, #b9f4d5, #4fc08d); }
.avatar-sky { background: linear-gradient(150deg, #bfe1ff, #5aa9f7); }
.avatar-violet { background: linear-gradient(150deg, #d9cbff, #a78bfa); }
.avatar-ice { background: linear-gradient(150deg, #eef6ff, #b6cee8); }

/* ---------------- Modal ---------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 22px;
    overflow-y: auto;
}
.modal[hidden] { display: none !important; }
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 9, 18, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: fadeIn 0.22s ease both;
}
.modal-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    padding: 30px;
    border-radius: 26px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(170deg, #122c48 0%, #0b1d33 55%, #081625 100%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: modalIn 0.32s cubic-bezier(0.22, 1.2, 0.36, 1) both;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
}
.modal-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.note-modal-head { margin-bottom: 20px; padding-right: 34px; }
.note-modal-head h2 { font-size: 1.6rem; margin: 10px 0 8px; }
.note-modal-head p { color: var(--muted); font-size: 0.9rem; }

/* ---------------- Toast ---------------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 400;
    transform: translate(-50%, 26px);
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(9, 24, 43, 0.95);
    color: #f2f8ff;
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.28s ease;
    max-width: calc(100vw - 40px);
    text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { border-color: rgba(242, 109, 125, 0.5); background: rgba(94, 26, 38, 0.96); }

/* ---------------- Footer ---------------- */
.site-footer {
    position: relative;
    margin-top: 40px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(6, 17, 32, 0), rgba(4, 11, 20, 0.85) 40%);
}
.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 34px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p { color: var(--muted-2); font-size: 0.88rem; margin: 12px 0 16px; max-width: 340px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 {
    font-family: var(--font-body);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.footer-col a { color: var(--muted-2); font-size: 0.88rem; font-weight: 600; transition: color 0.18s ease; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 26px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--muted-2);
}
.footer-love { display: inline-flex; align-items: center; gap: 6px; color: #ffb3c0; }
.footer-love .icon { color: var(--red); }

/* ---------------- Görünürken belirme ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Eski tarayıcı / JS yok: içerik görünür kalsın */
.no-js .reveal { opacity: 1; transform: none; }

/* ================================================================
   Bölüm 3: hero, sahne, ağaç animasyonu, zarflar, bölümler
   ================================================================ */

/* ---------------- Temalar ---------------- */
.theme-classic {
    --tree-a: #0d4630;
    --tree-b: #176b48;
    --tree-c: #2b9464;
    --tree-edge: rgba(5, 34, 24, 0.7);
    --star: #ffd97a;
    --garland: #ffe6a8;
    --snow: #ffffff;
    --stage-bg: radial-gradient(circle at 50% 12%, #16405f 0%, #0a2440 46%, #061525 100%);
    --stage-ring: rgba(255, 217, 122, 0.2);
}
.theme-snow {
    --tree-a: #2c6480;
    --tree-b: #4d90ac;
    --tree-c: #86c6dd;
    --tree-edge: rgba(20, 60, 80, 0.6);
    --star: #eaf7ff;
    --garland: #d8f1ff;
    --snow: #f4fbff;
    --stage-bg: radial-gradient(circle at 50% 10%, #3a6f8f 0%, #1d4560 46%, #0a2033 100%);
    --stage-ring: rgba(214, 241, 255, 0.26);
}
.theme-snow .snow-edge { opacity: 1; }
.theme-snow .tree-tier { filter: saturate(0.72) brightness(1.12); }
.theme-gold {
    --tree-a: #1c2f5e;
    --tree-b: #2a4585;
    --tree-c: #3f61ab;
    --tree-edge: rgba(16, 30, 62, 0.72);
    --star: #ffd15c;
    --garland: #ffcf6a;
    --snow: #fff6dc;
    --stage-bg: radial-gradient(circle at 50% 12%, #2a3a6c 0%, #16224a 46%, #0a1230 100%);
    --stage-ring: rgba(255, 209, 92, 0.28);
}
.theme-gold .orn-gold { filter: brightness(1.15); }
.theme-gold .tree-tier { filter: saturate(1.1) brightness(1.02); }

.snow-edge { opacity: 0; transition: opacity 0.3s ease; }

/* ---------------- Hero ---------------- */
.hero {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(28px, 5vw, 64px) 0 34px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}
.hero-eyebrows { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero h1 {
    font-size: clamp(2.3rem, 5.4vw, 4rem);
    letter-spacing: -0.025em;
    line-height: 1.02;
}
.hero-lead {
    margin: 20px 0 26px;
    max-width: 540px;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.4vw, 1.1rem);
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 22px 0 24px;
    color: var(--muted-2);
    font-size: 0.84rem;
    font-weight: 700;
}
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts .icon { color: var(--green); }
.hero-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px dashed rgba(255, 255, 255, 0.13);
}
.hero-socials-label { font-size: 0.75rem; font-weight: 800; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px; }
.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.77rem;
    font-weight: 800;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
    color: var(--muted);
}
.chip-tt { color: #c3f4ff; border-color: rgba(37, 244, 238, 0.24); background: rgba(37, 244, 238, 0.07); }
.chip-ig { color: #ffc0d9; border-color: rgba(225, 48, 108, 0.26); background: rgba(225, 48, 108, 0.09); }
.chip-wa { color: #b9f7c9; border-color: rgba(37, 211, 102, 0.24); background: rgba(37, 211, 102, 0.08); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.stage-glow {
    position: absolute;
    inset: 8% -6% -10% -6%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 55%, rgba(255, 217, 122, 0.2), transparent 62%);
    filter: blur(30px);
}

/* ---------------- Sahne kartı ---------------- */
.stage-card {
    position: relative;
    width: 100%;
    max-width: 540px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--stage-bg);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    overflow: hidden;
    isolation: isolate;
}
.stage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(70% 50% at 50% -6%, rgba(255, 255, 255, 0.14), transparent 70%),
        radial-gradient(80% 60% at 50% 108%, rgba(0, 0, 0, 0.4), transparent 70%);
    pointer-events: none;
}
.stage-head {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 18px 0;
}
.stage-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d9ffe9;
}
.stage-code {
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.28);
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: #ffe9a8;
}
.tree-stage {
    position: relative;
    z-index: 1;
    padding: 4px 14px 0;
    aspect-ratio: 420 / 560;
    max-height: 520px;
    margin: 0 auto;
}
.tree-stage-tall { max-height: 560px; }
.tree-stage-preview { aspect-ratio: 420 / 500; }
.tree-stage .tree-svg { width: 100%; height: 100%; }
.stage-card .envelopes { position: absolute; inset: 0; z-index: 4; }
.stage-cta {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(3, 12, 24, 0.44);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease;
}
.stage-cta:hover { background: rgba(3, 12, 24, 0.62); }
.stage-cta > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.stage-cta strong { font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage-cta small { font-size: 0.74rem; color: var(--muted-2); }
.stage-cta > .icon { color: var(--gold); flex: 0 0 auto; }
.stage-cta.is-static { cursor: default; }
.stage-card-tall { max-width: 520px; }

.float-chip {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 20, 37, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 800;
    color: #eaf3ff;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    animation: chipFloat 5.5s ease-in-out infinite;
}
.float-chip-1 { top: 17%; left: -10px; }
.float-chip-2 { top: 48%; right: -12px; animation-delay: -1.8s; }
.float-chip-3 { bottom: 21%; left: 2%; animation-delay: -3.2s; color: #ffd0dd; }
@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ---------------- Ağaç SVG animasyonları ---------------- */
.tree-svg { overflow: visible; }
.tree-body { transform-origin: 50% 96%; animation: treeSway 9s ease-in-out infinite; }
.tree-tier { transition: filter 0.3s ease; }
.tree-sheen { mix-blend-mode: screen; }
@keyframes treeSway {
    0%, 100% { transform: rotate(-0.5deg); }
    50% { transform: rotate(0.6deg); }
}
.tree-light {
    animation: lightTwinkle 3.2s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}
.tree-light.warm { fill: #ffdf8f; }
.tree-light.cool { fill: #bfe6ff; }
@keyframes lightTwinkle {
    0%, 100% { opacity: 0.45; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.18); }
}
.ornament {
    transform-box: fill-box;
    transform-origin: 50% 0%;
    animation: ornSway 6s ease-in-out infinite;
}
.ornament:nth-of-type(2n) { animation-duration: 7.4s; animation-delay: -1.2s; }
.ornament:nth-of-type(3n) { animation-duration: 8.2s; animation-delay: -2.6s; }
@keyframes ornSway {
    0%, 100% { transform: rotate(-2.4deg); }
    50% { transform: rotate(2.8deg); }
}
.tree-star {
    transform-box: fill-box;
    transform-origin: center;
    animation: starGlow 4.6s ease-in-out infinite;
}
@keyframes starGlow {
    0%, 100% { opacity: 0.82; transform: scale(0.94) rotate(-2deg); }
    50% { opacity: 1; transform: scale(1.06) rotate(2deg); }
}
.garland { animation: garlandBlink 4.4s ease-in-out infinite; }
@keyframes garlandBlink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.tree-snow circle { animation: snowDecor 7s ease-in-out infinite; }
.tree-snow circle:nth-child(2n) { animation-delay: -2s; }
@keyframes snowDecor {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.75; }
}
.mini-stage .tree-svg { width: 100%; }

/* ---------------- Zarflar ---------------- */
.envelopes { position: absolute; inset: 0; pointer-events: none; }
.envelope {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: clamp(34px, 7.6%, 62px);
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    transform: translate(-50%, -50%) rotate(var(--rot));
    transform-origin: 50% -34px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: envSwing 6.5s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}
@keyframes envSwing {
    0%, 100% { transform: translate(-50%, -50%) rotate(var(--rot)); }
    50% { transform: translate(-50%, -50%) rotate(calc(var(--rot) + 3.4deg)); }
}
.envelope:not(.is-static):hover { z-index: 8; }
.envelope:not(.is-static):hover .env-body { transform: translateY(-3px) scale(1.14) rotate(-2deg); }
.envelope:not(.is-static):hover .env-label { opacity: 1; transform: translate(-50%, 4px); }

.env-string {
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 1.5px;
    height: var(--len);
    margin-left: -0.75px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.55));
    border-radius: 2px;
}
.env-string::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 5px;
    height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: #ffd97a;
    box-shadow: 0 0 6px rgba(255, 217, 122, 0.9);
}
.env-body {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1.42 / 1;
    border-radius: 5px;
    background: linear-gradient(160deg, #f6fbff 0%, #dbe8f6 62%, #c4d6ea 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(120, 145, 175, 0.35);
    transition: transform 0.24s cubic-bezier(0.34, 1.4, 0.64, 1);
    overflow: hidden;
}
.env-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 62%;
    background: linear-gradient(170deg, #ffffff, #d3e2f2);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    box-shadow: 0 2px 3px rgba(90, 120, 155, 0.25);
}
.env-lines {
    position: absolute;
    left: 12%;
    bottom: 16%;
    width: 52%;
    height: 2px;
    border-radius: 2px;
    background: rgba(120, 148, 180, 0.4);
    box-shadow: 0 4px 0 rgba(120, 148, 180, 0.28), 0 8px 0 rgba(120, 148, 180, 0.2);
}
.env-seal {
    position: absolute;
    top: 47%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 42%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.58em;
    font-size: clamp(7px, 0.95vw, 11px);
    color: #3a0d12;
    background: radial-gradient(circle at 35% 30%, var(--dot, #e35663), #8d1f2b 78%);
    border: 1.5px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.orn-red { --dot: var(--orn-red); }
.orn-gold { --dot: var(--orn-gold); }
.orn-green { --dot: var(--orn-green); }
.orn-blue { --dot: var(--orn-blue); }
.orn-purple { --dot: var(--orn-purple); }
.orn-silver { --dot: var(--orn-silver); }
.orn-gold .env-seal { color: #4a3000; }
.orn-silver .env-seal, .orn-silver .env-seal { color: #2b3a4c; }
.env-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 2px);
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(4, 12, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: clamp(7px, 0.68vw, 9.5px);
    font-weight: 800;
    color: #eaf3ff;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.env-anon { color: #c4b5fd; font-style: italic; }
.envelopes-large .envelope { width: clamp(40px, 8.4%, 70px); }
.envelope-more {
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 5;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(6, 18, 33, 0.86);
    border: 1px solid var(--line-strong);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold);
}
.scene-badge {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(6, 18, 33, 0.86);
    border: 1px solid var(--line);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--muted);
}

/* ---------------- Kayan şerit ---------------- */
.marquee {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(255, 217, 122, 0.05), rgba(79, 192, 141, 0.05), rgba(167, 139, 250, 0.05));
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    gap: 44px;
    padding: 14px 22px;
    animation: marqueeScroll 34s linear infinite;
}
.marquee-track span {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted-2);
    white-space: nowrap;
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------------- Adımlar ---------------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.075), rgba(8, 22, 39, 0.5));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.28s ease;
}
.step-card::after {
    content: '';
    position: absolute;
    inset: auto -30% -60% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 217, 122, 0.14), transparent 70%);
    pointer-events: none;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(255, 217, 122, 0.34); }
.step-number {
    position: absolute;
    top: 22px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.09);
}
.step-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: #ffe9a8;
    background: linear-gradient(150deg, rgba(255, 217, 122, 0.2), rgba(255, 217, 122, 0.04));
    border: 1px solid rgba(255, 217, 122, 0.28);
}
.step-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------------- Örnek ağaç bölümü ---------------- */
.demo-section { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.demo-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin: 14px 0 16px; }
.demo-copy > p { color: var(--muted); font-size: 0.98rem; line-height: 1.7; }
.check-list { display: flex; flex-direction: column; gap: 11px; margin: 24px 0 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #d7e6f8; font-weight: 600; }
.check-list .icon { margin-top: 3px; color: var(--green); flex: 0 0 auto; }
.demo-visual { display: flex; justify-content: center; }

/* ---------------- Özellikler ---------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
    padding: 26px 24px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.26s ease, background 0.26s ease, border-color 0.26s ease;
}
.feature-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.07); border-color: var(--line-strong); }
.feature-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 14px;
    border: 1px solid transparent;
}
.feature-icon.icon-green { color: #b9f4d5; background: rgba(79, 192, 141, 0.14); border-color: rgba(79, 192, 141, 0.28); }
.feature-icon.icon-pink { color: #ffc6da; background: rgba(225, 48, 108, 0.13); border-color: rgba(225, 48, 108, 0.28); }
.feature-icon.icon-gold { color: #ffe9a8; background: rgba(255, 217, 122, 0.13); border-color: rgba(255, 217, 122, 0.3); }
.feature-icon.icon-blue { color: #bfe1ff; background: rgba(90, 169, 247, 0.13); border-color: rgba(90, 169, 247, 0.3); }
.feature-icon.icon-violet { color: #d9cbff; background: rgba(167, 139, 250, 0.14); border-color: rgba(167, 139, 250, 0.3); }
.feature-icon.icon-mint { color: #b9f4d5; background: rgba(79, 192, 141, 0.13); border-color: rgba(79, 192, 141, 0.3); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 7px; }
.feature-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

/* ---------------- Paylaşım bandı ---------------- */
.share-band {
    width: min(1200px, calc(100% - 40px));
    margin: 40px auto;
    border-radius: 34px;
    border: 1px solid rgba(255, 217, 122, 0.2);
    background:
        radial-gradient(90% 130% at 88% 6%, rgba(255, 217, 122, 0.18), transparent 56%),
        radial-gradient(70% 100% at 4% 96%, rgba(79, 192, 141, 0.16), transparent 60%),
        linear-gradient(150deg, #122f4f 0%, #0c2340 48%, #081a30 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.share-band-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
    padding: clamp(32px, 5vw, 60px);
}
.share-band-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 14px 0 14px; }
.share-band-copy p { color: #c4d8ef; font-size: 0.98rem; max-width: 470px; }
.share-band-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.share-band-visual { position: relative; display: flex; justify-content: center; }

.phone-mock {
    position: relative;
    width: 230px;
    height: 430px;
    border-radius: 38px;
    border: 7px solid #0a1524;
    background: #0a1524;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    transform: rotate(4deg);
    animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: rotate(4deg) translateY(0); }
    50% { transform: rotate(2.5deg) translateY(-10px); }
}
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 3;
    width: 74px;
    height: 17px;
    border-radius: 999px;
    background: #06101d;
    transform: translateX(-50%);
}
.phone-screen {
    position: absolute;
    inset: 5px;
    border-radius: 31px;
    background: var(--stage-bg);
    overflow: hidden;
}
.mini-stage { position: absolute; inset: 18px 6px 96px; }
.mini-stage .envelopes { display: none; }
.phone-ui {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.phone-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(4, 14, 26, 0.8);
    border: 1px solid var(--line);
    font-size: 0.65rem;
    font-weight: 800;
    color: #d9ffe9;
}
.phone-handle { font-size: 0.68rem; font-weight: 800; color: #ffd0dd; }
.share-orbit {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(8, 22, 40, 0.9);
    color: var(--gold);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
    animation: chipFloat 6s ease-in-out infinite;
}
.orbit-1 { top: 8%; left: -4%; color: #ffb3c0; animation-delay: -0.6s; }
.orbit-2 { top: 48%; right: -8%; color: #bfe1ff; animation-delay: -2.2s; }
.orbit-3 { bottom: 6%; left: 2%; color: #ffe9a8; animation-delay: -3.8s; }

/* ---------------- SSS ---------------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
    overflow: hidden;
    transition: border-color 0.22s ease, background 0.22s ease;
}
.faq-item[open] { border-color: rgba(255, 217, 122, 0.28); background: rgba(255, 217, 122, 0.045); }
.faq-item summary {
    position: relative;
    padding: 18px 54px 18px 22px;
    font-size: 0.98rem;
    font-weight: 800;
    color: #eaf3ff;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-top: -13.5px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold);
    transition: transform 0.24s ease, background 0.24s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: rgba(255, 217, 122, 0.14); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); font-size: 0.89rem; line-height: 1.7; max-width: 680px; }

/* ---------------- Son çağrı ---------------- */
.final-cta {
    position: relative;
    width: min(1200px, calc(100% - 40px));
    margin: 30px auto 80px;
    border-radius: 36px;
    border: 1px solid rgba(255, 217, 122, 0.24);
    background:
        radial-gradient(80% 120% at 50% 0%, rgba(255, 217, 122, 0.2), transparent 58%),
        radial-gradient(60% 100% at 12% 100%, rgba(79, 192, 141, 0.18), transparent 60%),
        linear-gradient(160deg, #14395b 0%, #0d2440 52%, #07172b 100%);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.final-cta-inner { position: relative; z-index: 2; padding: clamp(44px, 7vw, 84px) 24px; text-align: center; }
.final-cta h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin: 14px 0 14px; }
.final-cta > .final-cta-inner > p { color: #c9dcf1; font-size: 1rem; margin-bottom: 28px; }
.final-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 26px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted-2);
}
.final-meta span { display: inline-flex; align-items: center; gap: 6px; }
.final-sparkles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.final-sparkles span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffe9a8;
    box-shadow: 0 0 16px 4px rgba(255, 217, 122, 0.5);
    animation: sparkleFloat 8s ease-in-out infinite;
}
.final-sparkles span:nth-child(1) { top: 18%; left: 12%; }
.final-sparkles span:nth-child(2) { top: 28%; right: 16%; animation-delay: -2s; width: 4px; height: 4px; }
.final-sparkles span:nth-child(3) { bottom: 22%; left: 24%; animation-delay: -4s; }
.final-sparkles span:nth-child(4) { bottom: 30%; right: 24%; animation-delay: -6s; width: 5px; height: 5px; }
@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
    50% { transform: translateY(-16px) scale(1.4); opacity: 1; }
}

/* ================================================================
   Bölüm 4: ağaç kurma sayfası, sihirbaz, sonuç, QR
   ================================================================ */

.create-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(26px, 4vw, 52px) 0 70px;
}
.create-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.create-head h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 14px 0 12px; }
.create-head p { color: var(--muted); font-size: 1rem; }
.create-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 26px;
    align-items: start;
}
.create-form { padding: 30px; }
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}
.wizard-dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.86rem;
    color: var(--muted-2);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.wizard-dot.is-active {
    background: linear-gradient(150deg, #ffe9a8, #f0b429);
    border-color: rgba(255, 255, 255, 0.4);
    color: #3a2600;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(240, 180, 41, 0.35);
}
.wizard-dot.is-done {
    background: rgba(79, 192, 141, 0.18);
    border-color: rgba(79, 192, 141, 0.5);
    color: #b9f4d5;
}
.wizard-line { flex: 1; height: 2px; border-radius: 2px; background: var(--line); }
.wizard-step { animation: stepIn 0.34s ease both; }
@keyframes stepIn {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
}
.step-heading { margin-bottom: 22px; }
.step-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}
.step-heading h2 { font-size: 1.5rem; margin-bottom: 7px; }
.step-heading p { color: var(--muted-2); font-size: 0.86rem; }

/* Ağaç stili seçici */
.style-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.style-option { position: relative; display: block; cursor: pointer; min-width: 0; }
.style-option input { position: absolute; opacity: 0; pointer-events: none; }
.style-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: var(--stage-bg);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}
.style-option:hover .style-card { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.36); }
.style-option input:checked + .style-card {
    border-color: rgba(255, 217, 122, 0.7);
    box-shadow: 0 0 0 2px rgba(255, 217, 122, 0.2), 0 12px 26px rgba(0, 0, 0, 0.3);
}
.style-option input:focus-visible + .style-card { outline: 2px solid var(--gold); outline-offset: 2px; }
.style-swatch {
    position: relative;
    display: block;
    height: 82px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.16), transparent 62%), rgba(2, 9, 18, 0.35);
    overflow: hidden;
}
.swatch-tree {
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 56px;
    height: 62px;
    transform: translateX(-50%);
    background: linear-gradient(160deg, var(--tree-c), var(--tree-b) 50%, var(--tree-a));
    clip-path: polygon(50% 0%, 66% 28%, 58% 28%, 78% 56%, 66% 56%, 92% 88%, 8% 88%, 34% 56%, 22% 56%, 42% 28%, 34% 28%);
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4));
}
.swatch-tree::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 14px;
    height: 12px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #8a5a35, #5a3a22);
}
.swatch-star {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: var(--star);
    text-shadow: 0 0 10px rgba(255, 217, 122, 0.8);
}
.style-name { font-size: 0.84rem; font-weight: 800; color: #f2f8ff; }
.style-desc { font-size: 0.68rem; color: var(--muted-2); line-height: 1.4; }
.style-tick {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: #2a1a00;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.style-option input:checked + .style-card .style-tick { opacity: 1; transform: scale(1); }

/* Açılış seçici */
.unlock-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.unlock-option { position: relative; display: block; cursor: pointer; }
.unlock-option input { position: absolute; opacity: 0; pointer-events: none; }
.unlock-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid var(--line-strong);
    background: rgba(4, 14, 27, 0.45);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.unlock-option:hover .unlock-card { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.34); }
.unlock-option input:checked + .unlock-card {
    border-color: rgba(255, 217, 122, 0.62);
    background: rgba(255, 217, 122, 0.09);
}
.unlock-option input:focus-visible + .unlock-card { outline: 2px solid var(--gold); outline-offset: 2px; }
.unlock-emoji { font-size: 1.6rem; line-height: 1; }
.unlock-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.unlock-text strong { font-size: 0.86rem; }
.unlock-text small { font-size: 0.72rem; color: var(--muted-2); }
.unlock-tick {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
    color: #2a1a00;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.unlock-option input:checked + .unlock-card .unlock-tick { opacity: 1; transform: scale(1); }

.mini-summary {
    margin: 20px 0 4px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(4, 14, 27, 0.35);
}
.mini-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    font-size: 0.84rem;
}
.mini-summary-row + .mini-summary-row { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.mini-summary-row span { color: var(--muted-2); }
.mini-summary-row strong { color: #f0f7ff; text-align: right; }
.wizard-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.wizard-nav .btn-primary { margin-left: auto; }

/* Canlı önizleme */
.create-preview { position: sticky; top: 96px; }
.create-preview .stage-card { max-width: 100%; }
.create-preview .tree-stage { max-height: 430px; }
.preview-owner {
    position: absolute;
    left: 12px;
    bottom: 10px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px 7px 7px;
    border-radius: 999px;
    background: rgba(5, 16, 30, 0.82);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: calc(100% - 24px);
}
.preview-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: linear-gradient(150deg, #ffe9a8, #efb53c);
    color: #3a2600;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
}
.preview-owner > span:last-child { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.preview-owner strong { font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview-owner small { font-size: 0.68rem; color: #ffd0dd; }
.preview-side-note {
    display: flex;
    gap: 9px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--muted-2);
}
.preview-side-note .icon { margin-top: 2px; color: var(--gold); flex: 0 0 auto; }

/* Sonuç kartı */
.create-result { margin-top: 34px; }
.result-card {
    position: relative;
    padding: clamp(26px, 4vw, 44px);
    border-radius: 32px;
    border: 1px solid rgba(79, 192, 141, 0.32);
    background:
        radial-gradient(80% 120% at 6% 0%, rgba(79, 192, 141, 0.16), transparent 56%),
        radial-gradient(70% 110% at 96% 100%, rgba(255, 217, 122, 0.14), transparent 60%),
        linear-gradient(160deg, #123350 0%, #0b2139 52%, #071827 100%);
    box-shadow: var(--shadow);
    animation: modalIn 0.5s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.result-top { text-align: center; margin-bottom: 28px; }
.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(79, 192, 141, 0.4);
    background: rgba(79, 192, 141, 0.16);
    color: #d9ffe9;
    font-size: 0.78rem;
    font-weight: 800;
}
.result-top h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 14px 0 8px; }
.result-top p { color: var(--muted); font-size: 0.92rem; }
.result-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.result-share label { display: block; font-size: 0.78rem; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.copy-row { display: flex; gap: 9px; align-items: stretch; }
.copy-row input { min-width: 0; font-size: 0.85rem; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.copy-row .btn { flex: 0 0 auto; }
.result-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 20px;
    padding: 11px 14px;
    border-radius: 13px;
    border: 1px solid rgba(255, 217, 122, 0.28);
    background: rgba(255, 217, 122, 0.08);
    color: #ffe9b8;
    font-size: 0.8rem;
    line-height: 1.5;
}
.result-warning .icon { margin-top: 1px; flex: 0 0 auto; }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result-qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.result-qr > span { font-size: 0.74rem; color: var(--muted-2); text-align: center; max-width: 150px; }
.result-tip {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 26px;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    font-size: 0.82rem;
    color: var(--muted);
}
.result-tip .icon { color: var(--gold); flex: 0 0 auto; }

/* QR kutusu */
.qr-box {
    display: grid;
    place-items: center;
    width: 172px;
    height: 172px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.qr-box img, .qr-box canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    display: block;
}
.qr-box-sm { width: 146px; height: 146px; padding: 10px; }
.qr-box.is-empty {
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed var(--line-strong);
    font-size: 0.72rem;
    color: var(--muted-2);
    text-align: center;
    padding: 18px;
}

/* ================================================================
   Bölüm 5: ağaç sayfası, geri sayım, zarf/paylaşım modalları
   ================================================================ */

.tree-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(22px, 3.4vw, 42px) 0 60px;
}
.tree-page-inner {
    display: grid;
    grid-template-columns: minmax(320px, 400px) 1fr;
    gap: clamp(22px, 3.6vw, 46px);
    align-items: start;
}
.tree-info-card {
    position: sticky;
    top: 92px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(7, 21, 38, 0.62));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.tree-owner-row { display: flex; align-items: center; gap: 12px; }
.tree-owner-meta { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.tree-owner-kicker { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.tree-owner-meta strong { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.2; }
.inline-handle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffc9d8;
    width: fit-content;
}
a.inline-handle:hover { text-decoration: underline; }
.tree-owner-row .icon-btn { margin-left: auto; }
.tree-title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin: 20px 0 18px;
    line-height: 1.15;
}

/* Geri sayım */
.countdown-wrap {
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 217, 122, 0.22);
    background: rgba(255, 217, 122, 0.06);
}
.countdown-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffe9b8;
    margin-bottom: 10px;
}
.countdown { display: flex; align-items: flex-start; gap: 5px; }
.countdown-sm { margin-top: 12px; }
.count-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-width: 52px;
    padding: 7px 6px;
    border-radius: 11px;
    background: rgba(3, 12, 24, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.count-box span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    color: #fff6dc;
    font-variant-numeric: tabular-nums;
}
.count-box small { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.count-sep { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: rgba(255, 255, 255, 0.35); margin-top: 10px; }
.countdown-date {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--muted-2);
    font-weight: 700;
}
.unlock-open {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 18px;
    border: 1px solid rgba(79, 192, 141, 0.34);
    background: rgba(79, 192, 141, 0.12);
}
.unlock-open-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(79, 192, 141, 0.2);
    color: #b9f4d5;
}
.unlock-open > span:last-child { display: flex; flex-direction: column; }
.unlock-open strong { font-size: 0.9rem; color: #e6fff1; }
.unlock-open small { font-size: 0.72rem; color: #a9d9c2; line-height: 1.4; }

.tree-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
    font-size: 0.78rem;
    color: var(--muted-2);
    font-weight: 700;
}
.tree-stats span { display: inline-flex; align-items: center; gap: 5px; }
.tree-stats strong { color: #f2f8ff; }
.tree-actions { display: flex; flex-direction: column; gap: 9px; }
.tree-action-row { display: flex; gap: 8px; }
.tree-action-row .btn:not(.icon-only) { flex: 1; }
.tree-privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 16px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--muted-2);
}
.tree-privacy-note .icon { margin-top: 1px; color: #8cc4ff; flex: 0 0 auto; }

/* Sahiplik bildir bandı */
.owner-claim-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-top: 12px;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.14), rgba(255, 184, 0, 0.06));
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 12px;
}
.owner-claim-icon { color: #ffb800; flex: 0 0 auto; margin-top: 1px; }
.owner-claim-text { flex: 1; min-width: 0; }
.owner-claim-text strong { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 2px; }
.owner-claim-text span { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }
.owner-claim-banner .btn { flex: 0 0 auto; margin-top: 4px; }

/* Sahiplik bildir modalı */
.claim-modal-card { max-width: 420px; }
.claim-modal-card .eyebrow { color: #ffb800; }
.claim-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.claim-form .field { margin: 0; }
.claim-form .field-hint { font-size: 0.7rem; color: var(--muted-2); margin-top: 4px; }

/* Ağaç sahnesi */
.tree-scene-wrap { position: relative; display: flex; justify-content: center; }
.tree-scene {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 420 / 560;
    max-height: 680px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--stage-bg);
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: hidden;
}
.tree-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 42% at 50% -4%, rgba(255, 255, 255, 0.14), transparent 72%),
        radial-gradient(80% 50% at 50% 108%, rgba(0, 0, 0, 0.45), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.tree-scene-glow {
    position: absolute;
    inset: 6% 0 10%;
    background: radial-gradient(circle at 50% 55%, var(--stage-ring), transparent 62%);
    filter: blur(24px);
    z-index: 0;
}
.tree-scene .tree-svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.tree-scene .envelopes { z-index: 3; }
.tree-scene .scene-badge { z-index: 6; }
.empty-tree-hint {
    position: absolute;
    left: 50%;
    bottom: 7%;
    z-index: 7;
    width: min(300px, 84%);
    transform: translateX(-50%);
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(6, 18, 33, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}
.empty-tree-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: rgba(255, 217, 122, 0.14);
    border: 1px solid rgba(255, 217, 122, 0.3);
    color: var(--gold);
}
.empty-tree-hint strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 4px; }
.empty-tree-hint > span:not(.empty-tree-icon) { display: block; font-size: 0.78rem; color: var(--muted-2); line-height: 1.5; margin-bottom: 12px; }

/* Ağaç alt bilgi */
.tree-bottom {
    margin-top: 44px;
    border-radius: 30px;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(7, 20, 36, 0.5));
    overflow: hidden;
}
.tree-bottom-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr auto;
    gap: 30px;
    align-items: center;
    padding: clamp(24px, 3.6vw, 40px);
}
.tree-bottom h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 10px; }
.mini-steps { display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { display: flex; align-items: flex-start; gap: 12px; }
.mini-steps li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(255, 217, 122, 0.14);
    border: 1px solid rgba(255, 217, 122, 0.3);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--gold);
}
.mini-steps div { display: flex; flex-direction: column; gap: 1px; }
.mini-steps strong { font-size: 0.86rem; }
.mini-steps small { font-size: 0.76rem; color: var(--muted-2); line-height: 1.45; }

/* Mühür modalı */
.seal-modal-card { text-align: center; width: min(460px, 100%); }
.seal-visual { display: flex; justify-content: center; margin: 4px 0 20px; }
.seal-envelope {
    position: relative;
    width: 132px;
    height: 92px;
    border-radius: 12px;
    background: linear-gradient(160deg, #f6fbff, #d7e5f4 66%, #bed2e8);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4), inset 0 1px 0 #fff;
    transform: rotate(-3deg);
    animation: sealFloat 4.6s ease-in-out infinite;
}
@keyframes sealFloat {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50% { transform: rotate(1.5deg) translateY(-7px); }
}
.seal-flap {
    position: absolute;
    inset: 0 0 auto;
    height: 62%;
    background: linear-gradient(170deg, #ffffff, #d2e1f1);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 4px rgba(90, 120, 155, 0.25);
}
.seal-wax {
    position: absolute;
    top: 58%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #fff;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), var(--dot, #c22b3d) 74%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.4);
}
.seal-modal-card h2 { font-size: 1.45rem; margin: 10px 0 4px; }
.seal-meta { display: block; font-size: 0.78rem; color: var(--muted-2); margin-bottom: 14px; }
.seal-text {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    background: rgba(4, 14, 27, 0.4);
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 10px;
}
.seal-hint { font-size: 0.76rem; color: var(--muted-2); margin-bottom: 18px; }

/* Paylaşım modalı */
.share-modal-card { width: min(500px, 100%); }
.share-modal-card h2 { font-size: 1.4rem; margin: 10px 0 16px; }
.share-grid { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 16px; }
.share-app {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.share-native .icon { color: #ffe9a8; }
.share-app:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: var(--line-strong); }
.share-app > span { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 800; }
.share-app small { font-size: 0.72rem; font-weight: 600; color: var(--muted-2); }
.share-tt .icon { color: #b8f0ff; }
.share-ig .icon { color: #ffb9d4; }
.share-wa .icon { color: #a9f0b9; }

/* QR modalı */
.qr-modal-card { width: min(400px, 100%); text-align: center; }
.qr-modal-card h2 { font-size: 1.35rem; margin: 10px 0 18px; }
.qr-modal-card .qr-box { width: 200px; height: 200px; margin: 0 auto 14px; }
.qr-url {
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 0.76rem;
    color: var(--muted-2);
    word-break: break-all;
    margin-bottom: 16px;
}

/* ================================================================
   Bölüm 6: sahip paneli
   ================================================================ */

.owner-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(24px, 3.6vw, 46px) 0 70px;
}
.owner-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.owner-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 10px 0 4px; }
.owner-head-dot { color: var(--muted-2); }
.owner-head p { color: var(--muted-2); font-size: 0.9rem; }
.owner-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.owner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
.stat-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(8, 22, 39, 0.45));
}
.stat-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid transparent;
}
.stat-icon.icon-gold { color: #ffe9a8; background: rgba(255, 217, 122, 0.13); border-color: rgba(255, 217, 122, 0.28); }
.stat-icon.icon-blue { color: #bfe1ff; background: rgba(90, 169, 247, 0.13); border-color: rgba(90, 169, 247, 0.28); }
.stat-icon.icon-mint { color: #b9f4d5; background: rgba(79, 192, 141, 0.13); border-color: rgba(79, 192, 141, 0.28); }
.stat-icon.icon-violet { color: #d9cbff; background: rgba(167, 139, 250, 0.14); border-color: rgba(167, 139, 250, 0.28); }
.stat-value {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.stat-value-date { font-size: 1.15rem; }
.stat-label { font-size: 0.76rem; font-weight: 700; color: var(--muted-2); }

.owner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    gap: 22px;
    align-items: start;
}
.owner-side { position: sticky; top: 92px; }

/* Kilitli not bandı */
.locked-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 217, 122, 0.28);
    background:
        radial-gradient(80% 120% at 0% 0%, rgba(255, 217, 122, 0.12), transparent 60%),
        rgba(6, 18, 33, 0.45);
}
.locked-banner-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 217, 122, 0.34);
    background: rgba(255, 217, 122, 0.12);
    color: var(--gold);
}
.locked-banner-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.locked-banner-copy strong { font-family: var(--font-display); font-size: 1.1rem; }
.locked-banner-copy > span { font-size: 0.84rem; color: var(--muted); }

.sealed-list { display: flex; flex-direction: column; gap: 8px; }
.sealed-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 15px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}
.sealed-main { display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; }
.sealed-main strong { font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sealed-main span { font-size: 0.74rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sealed-lock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--muted-2);
}
.panel-foot-note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 0.76rem;
    color: var(--muted-2);
}
.panel-foot-note .icon { color: #8cc4ff; flex: 0 0 auto; }

/* Not kartları */
.notes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.note-card {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(6, 18, 33, 0.42));
    transition: border-color 0.22s ease, transform 0.22s ease;
}
.note-card:hover { border-color: rgba(255, 217, 122, 0.26); transform: translateY(-2px); }
.note-card-head { display: flex; align-items: center; gap: 10px; }
.note-sender { display: flex; flex-direction: column; gap: 0; min-width: 0; flex: 1; }
.note-sender strong { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-date { font-size: 0.68rem; color: var(--muted-2); white-space: nowrap; align-self: flex-start; }
.anon-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    background: rgba(167, 139, 250, 0.12);
    color: #d9cbff;
    font-size: 0.68rem;
    font-weight: 800;
}
.note-message {
    font-size: 0.9rem;
    line-height: 1.62;
    color: #e2edfa;
    overflow-wrap: anywhere;
}
.note-photo { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); }
.note-photo img { width: 100%; max-height: 240px; object-fit: cover; transition: transform 0.32s ease; }
.note-photo:hover img { transform: scale(1.035); }
.note-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}
.note-ornament { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 700; color: var(--muted-2); }
.inline-form { display: inline-flex; }

/* Boş durum */
.empty-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 40px 22px;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    background: rgba(4, 14, 27, 0.3);
}
.empty-panel-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: rgba(255, 217, 122, 0.1);
    border: 1px solid rgba(255, 217, 122, 0.26);
    color: var(--gold);
}
.empty-panel strong { font-family: var(--font-display); font-size: 1.1rem; }
.empty-panel p { font-size: 0.84rem; color: var(--muted-2); max-width: 320px; }
.empty-panel .btn { margin-top: 12px; }

/* Paylaşım paneli */
.share-panel h2 { font-size: 1.25rem; margin: 8px 0 14px; }
.copy-stack { display: flex; flex-direction: column; gap: 8px; }
.copy-stack input { font-size: 0.8rem; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; }
.share-panel .qr-box { margin: 18px auto 8px; }
.qr-caption { text-align: center; font-size: 0.72rem; color: var(--muted-2); margin-bottom: 14px; }
.share-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.share-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.share-mini-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.owner-summary .panel-kicker { margin-bottom: 4px; }
.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 0.83rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-row > span { color: var(--muted-2); }
.summary-row > strong, .summary-row > a { text-align: right; }
.owner-save-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid rgba(255, 217, 122, 0.24);
    background: rgba(255, 217, 122, 0.07);
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ffe9b8;
}
.owner-save-note .icon { flex: 0 0 auto; margin-top: 1px; }
.danger-panel { border-color: rgba(242, 109, 125, 0.26); }
.danger-panel h2 { font-size: 1.2rem; margin: 8px 0 8px; }
.danger-panel p { font-size: 0.8rem; color: var(--muted-2); margin-bottom: 14px; line-height: 1.55; }

/* ================================================================
   Bölüm 7: yönetim paneli, giriş/merkez sayfaları, hukuki sayfalar
   ================================================================ */

/* ---------------- Merkez / giriş sayfaları ---------------- */
.center-page {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
    min-height: calc(100vh - 260px);
    display: grid;
    place-items: center;
    padding: 54px 0 70px;
}
.center-card {
    width: min(520px, 100%);
    padding: clamp(26px, 4vw, 40px);
    border-radius: 30px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(7, 21, 38, 0.6));
    box-shadow: var(--shadow);
    text-align: center;
}
.center-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 217, 122, 0.3);
    background: linear-gradient(150deg, rgba(255, 217, 122, 0.2), rgba(255, 217, 122, 0.05));
    color: var(--gold);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.center-card h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 10px; }
.center-card > p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.gate-card { text-align: left; }
.gate-card .center-icon { margin-left: 0; }
.gate-form { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.gate-form .field { text-align: left; }
.gate-form .btn { margin-top: 6px; }
.gate-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--muted-2);
    text-align: left;
}
.gate-help .icon { flex: 0 0 auto; margin-top: 1px; color: var(--gold); }
.gate-help code, .center-card code, .admin-warning code {
    padding: 1px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.09);
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 0.86em;
    color: #ffe9b8;
}
.owner-gate .gate-card { width: min(560px, 100%); }
.owner-gate .gate-card .btn + .btn { margin-top: 12px; }

/* ---------------- Yönetim ---------------- */
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(16px, 3vw, 34px);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 15, 28, 0.86);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.admin-tag {
    margin-left: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(242, 109, 125, 0.34);
    background: rgba(242, 109, 125, 0.12);
    color: #ffc4cc;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.admin-top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-page {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(22px, 3vw, 40px) 0 70px;
}
.admin-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.admin-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 10px 0 4px; }
.admin-head p { color: var(--muted-2); font-size: 0.88rem; }
.admin-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-warning {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 13px 16px;
    margin-bottom: 18px;
    border-radius: 14px;
    border: 1px solid rgba(242, 109, 125, 0.36);
    background: rgba(242, 109, 125, 0.1);
    color: #ffd9dd;
    font-size: 0.83rem;
    line-height: 1.55;
}
.admin-warning .icon { flex: 0 0 auto; margin-top: 1px; color: #ff9aa7; }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}
.admin-stats .stat-card { padding: 15px 16px; }
.admin-stats .stat-icon { width: 34px; height: 34px; margin-bottom: 8px; }
.admin-stats .stat-value { font-size: 1.5rem; }
.admin-filter { padding: 14px; margin-bottom: 18px; border-radius: 20px; }
.filter-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-search {
    position: relative;
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    min-width: 0;
}
.filter-search .icon {
    position: absolute;
    left: 14px;
    color: var(--muted-2);
    pointer-events: none;
}
.filter-search input { padding-left: 42px; }
.filter-code { flex: 0 1 150px; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 20px;
    align-items: start;
}
.admin-side { position: sticky; top: 78px; }

.admin-notes { display: flex; flex-direction: column; gap: 12px; }
.admin-note {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(5, 16, 30, 0.4));
}
.admin-note-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.admin-route { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.route-person { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.route-person strong { font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.route-person span { display: inline-flex; align-items: center; gap: 3px; font-size: 0.7rem; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.route-arrow { color: var(--muted-2); opacity: 0.7; }
.admin-note-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--muted);
    white-space: nowrap;
}
.badge-anon { border-color: rgba(167, 139, 250, 0.32); background: rgba(167, 139, 250, 0.12); color: #d9cbff; }
.badge-locked { border-color: rgba(255, 217, 122, 0.3); background: rgba(255, 217, 122, 0.1); color: #ffe9b8; }
.badge-open { border-color: rgba(79, 192, 141, 0.32); background: rgba(79, 192, 141, 0.12); color: #b9f4d5; }
.badge-code { border-color: rgba(90, 169, 247, 0.3); background: rgba(90, 169, 247, 0.1); color: #bfe1ff; font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: 0.1em; }
.admin-note-message {
    font-size: 0.87rem;
    line-height: 1.6;
    color: #dfeaf7;
    overflow-wrap: anywhere;
}
.admin-note-photo {
    display: block;
    width: min(280px, 100%);
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
}
.admin-note-photo img { width: 100%; max-height: 200px; object-fit: cover; }
.admin-note-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: 0.72rem;
    color: var(--muted-2);
}
.admin-note-foot > span { display: inline-flex; align-items: center; gap: 4px; }
.admin-note-foot .inline-form { margin-left: auto; }

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
    transition: background 0.2s ease, color 0.2s ease;
}
.page-btn:hover { background: rgba(255, 255, 255, 0.11); color: #fff; }
.page-info { font-size: 0.78rem; color: var(--muted-2); font-weight: 700; }

.admin-tree-list { display: flex; flex-direction: column; gap: 8px; }
.admin-tree-row {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}
.admin-tree-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-tree-main strong { font-size: 0.86rem; }
.admin-tree-main span { display: inline-flex; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--muted-2); }
.admin-tree-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.admin-tree-foot {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.7rem;
    color: var(--muted-2);
}
.admin-tree-foot > span { display: inline-flex; align-items: center; gap: 3px; }
.admin-tree-foot .inline-form { margin-left: auto; }
.admin-privacy h2 { font-size: 1.15rem; margin: 6px 0 8px; }
.admin-privacy p { font-size: 0.78rem; color: var(--muted-2); line-height: 1.6; }
.admin-login { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 20px 70px; }
.admin-login-card { width: min(480px, 100%); }

/* ---------------- Hukuki sayfalar ---------------- */
.legal-page {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    padding: clamp(34px, 5vw, 66px) 0 80px;
}
.legal-head { margin-bottom: 24px; }
.legal-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 12px 0 8px; }
.legal-head p { color: var(--muted-2); font-size: 0.82rem; }
.legal-card {
    padding: clamp(24px, 4vw, 42px);
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
}
.legal-card h2 { font-size: 1.2rem; margin: 28px 0 10px; color: #f4f9ff; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.75; margin-bottom: 12px; }
.legal-card ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; padding-left: 4px; }
.legal-card li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}
.legal-card li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.62em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-deep);
}
.legal-card strong { color: #eaf3ff; }
.legal-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 26px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 217, 122, 0.24);
    background: rgba(255, 217, 122, 0.06);
    color: #ffe9b8 !important;
    font-size: 0.8rem !important;
}
.legal-note .icon { flex: 0 0 auto; margin-top: 2px; }

/* ================================================================
   Bölüm 8: duyarlılık, hareket azaltma, yazdırma
   ================================================================ */

@media (max-width: 1120px) {
    .hero { grid-template-columns: 1fr 0.9fr; gap: 34px; }
    .owner-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .admin-grid { grid-template-columns: minmax(0, 1fr) 320px; }
    .tree-page-inner { grid-template-columns: 350px 1fr; }
    .tree-info-card { padding: 22px; }
    .count-box { min-width: 46px; }
}

@media (max-width: 1020px) {
    .hero { grid-template-columns: 1fr; padding-top: 26px; }
    .hero-copy { max-width: 640px; }
    .hero-visual { margin-top: 8px; }
    .stage-card { max-width: 560px; }
    .create-layout { grid-template-columns: 1fr; }
    .create-preview { position: relative; top: 0; order: -1; }
    .create-preview .stage-card { max-width: 480px; margin: 0 auto; }
    .preview-side-note { max-width: 480px; margin-left: auto; margin-right: auto; }
    .demo-section { grid-template-columns: 1fr; }
    .demo-copy { max-width: 620px; }
    .demo-visual .stage-card { max-width: 480px; }
    .share-band-inner { grid-template-columns: 1fr; text-align: center; }
    .share-band-copy p { margin: 0 auto; }
    .share-band-actions { justify-content: center; }
    .share-band-visual { margin-top: 10px; }
    .tree-page-inner { grid-template-columns: 1fr; }
    .tree-info-card { position: relative; top: 0; }
    .tree-scene { max-width: 560px; margin: 0 auto; }
    .tree-bottom-inner { grid-template-columns: 1fr 1fr; }
    .tree-bottom-inner > .btn { grid-column: 1 / -1; justify-self: start; }
    .owner-grid { grid-template-columns: 1fr; }
    .owner-side { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .owner-side .panel-card + .panel-card { margin-top: 0; }
    .admin-grid { grid-template-columns: 1fr; }
    .admin-side { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .admin-side .panel-card + .panel-card { margin-top: 0; }
    .admin-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border-radius: 20px;
        border: 1px solid var(--line-strong);
        background: rgba(7, 20, 36, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    }
    .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav-link { padding: 12px 14px; border-radius: 12px; font-size: 0.95rem; }
    .nav-cta { margin: 8px 0 0; justify-content: center; }
    .nav-toggle { margin-left: auto; }
    .steps-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .section { padding: 60px 0; }
    .hero { padding-bottom: 20px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    .float-chip-1 { left: -4px; }
    .float-chip-2 { right: -4px; }
    .features-grid { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: 1fr; }
    .result-qr { order: -1; }
    .owner-stats { grid-template-columns: 1fr 1fr; }
    .owner-side { grid-template-columns: 1fr; }
    .admin-side { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-stats .stat-card:last-child { grid-column: 1 / -1; }
    .admin-head { align-items: flex-start; }
    .tree-bottom-inner { grid-template-columns: 1fr; }
    .tree-bottom-inner > .btn { justify-self: stretch; }
    .copy-row { flex-wrap: wrap; }
    .copy-row input { flex: 1 1 100%; }
    .copy-row .btn { flex: 1 1 auto; }
    .modal-card { padding: 24px; border-radius: 22px; }
    .countdown { justify-content: center; }
    .countdown-wrap { text-align: center; }
    .countdown-label, .countdown-date { justify-content: center; }
    .create-form { padding: 22px; }
    .style-picker { grid-template-columns: 1fr; }
    .style-card { flex-direction: row; align-items: center; gap: 12px; }
    .style-swatch { width: 70px; height: 70px; margin-bottom: 0; flex: 0 0 auto; }
    .style-swatch .swatch-tree { transform: translateX(-50%) scale(0.85); transform-origin: bottom center; }
    .style-name { font-size: 0.9rem; }
    .style-desc { display: none; }
    .style-tick { top: 50%; right: 12px; margin-top: -10px; }
    .unlock-picker { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 26px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { justify-content: center; text-align: center; }
    .marquee-track { gap: 30px; }
    .admin-note-badges { width: 100%; }
    .filter-form .btn { flex: 1 1 auto; }
    .filter-code { flex: 1 1 100%; }
}

@media (max-width: 540px) {
    .topbar-inner, .hero, .section, .share-band, .final-cta, .create-page,
    .tree-page, .owner-page, .admin-page, .legal-page, .center-page, .footer-inner, .footer-bottom {
        width: calc(100% - 28px);
    }
    .bg-scene .aurora { opacity: 0.36; }
    .hero-actions .btn { width: 100%; }
    .hero-facts { gap: 6px 14px; font-size: 0.79rem; }
    .hero-socials-label { width: 100%; }
    .stage-head { padding: 12px 14px 0; }
    .stage-cta { padding: 12px 14px; }
    .float-chip { font-size: 0.64rem; padding: 5px 9px; }
    .field-row { grid-template-columns: 1fr; }
    .platform-picker { grid-template-columns: 1fr 1fr; }
    .platform-card { padding: 9px 10px; font-size: 0.8rem; }
    .platform-icon { width: 27px; height: 27px; }
    .owner-stats { grid-template-columns: 1fr 1fr; }
    .stat-card { padding: 14px; }
    .stat-value { font-size: 1.45rem; }
    .stat-value-date { font-size: 1rem; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .count-box { min-width: 40px; padding: 6px 4px; }
    .count-box span { font-size: 1.1rem; }
    .count-box small { font-size: 0.52rem; }
    .count-sep { margin-top: 8px; }
    .tree-title { font-size: 1.35rem; }
    .tree-info-card { padding: 18px; }
    .notes-grid { grid-template-columns: 1fr; }
    .sealed-row { flex-wrap: wrap; }
    .sealed-lock { margin-left: auto; }
    .locked-banner { flex-direction: column; gap: 12px; }
    .modal { padding: 12px; }
    .modal-card { max-height: calc(100vh - 24px); padding: 20px; }
    .note-modal-head h2 { font-size: 1.3rem; }
    .result-actions .btn { width: 100%; }
    .share-grid { gap: 7px; }
    .admin-topbar { padding: 10px 14px; flex-wrap: wrap; }
    .brand-name { font-size: 1.05rem; }
    .admin-tag { display: none; }
    .admin-head-actions { width: 100%; }
    .admin-head-actions .btn { flex: 1 1 auto; }
    .legal-card { padding: 22px 18px; }
    .center-card { padding: 24px 20px; }
    .wizard-dot { width: 28px; height: 28px; font-size: 0.78rem; }
    .tree-bottom-inner { padding: 22px 18px; }
    .site-footer { margin-top: 20px; }
}

@media (max-width: 400px) {
    .countdown { gap: 3px; }
    .count-box { min-width: 36px; }
    .owner-stats, .admin-stats { grid-template-columns: 1fr; }
    .admin-stats .stat-card:last-child { grid-column: auto; }
    .style-card { flex-direction: column; align-items: flex-start; }
    .style-swatch { width: 100%; height: 66px; }
    .style-desc { display: block; }
    .style-tick { top: 8px; right: 8px; margin-top: 0; }
}

/* ---------------- Hareket azaltma ---------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .tree-body, .tree-light, .tree-star, .ornament, .garland,
    .envelope, .float-chip, .phone-mock, .share-orbit, .seal-envelope,
    .marquee-track, .aurora, .bg-stars, body::before, body::after {
        animation: none !important;
    }
}

/* ---------------- Yazdırma ---------------- */
@media print {
    .bg-scene, .topbar, .site-footer, .float-chip, .marquee,
    .modal, .toast, .tree-action-row, .hero-actions, .hero-socials,
    .wizard-nav, .btn { display: none !important; }
    body { background: #fff; color: #111; }
    * { box-shadow: none !important; text-shadow: none !important; }
    .panel-card, .stage-card, .tree-scene, .card, .result-card {
        border: 1px solid #ccc !important;
        background: #fff !important;
    }
    h1, h2, h3, h4, strong { color: #111 !important; }
    p, span, small, li { color: #333 !important; }
}

/* ---------------- Ek durumlar ---------------- */
html { scroll-padding-top: 92px; }
#nasil, #ozellikler, #sss { scroll-margin-top: 92px; }

.is-invalid {
    border-color: rgba(242, 109, 125, 0.78) !important;
    box-shadow: 0 0 0 4px rgba(242, 109, 125, 0.14) !important;
}
.modal { overscroll-behavior: contain; }
.modal-card::-webkit-scrollbar { width: 8px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 99px; }
.qr-box canvas, .qr-box img { image-rendering: pixelated; }
.result-card.is-visible { display: block; }
.tree-svg .icon, .tree-svg text { pointer-events: none; }
.tree-svg { user-select: none; -webkit-user-select: none; }
.stage-card, .tree-scene { transform: translateZ(0); }
@media (max-width: 900px) {
    html { scroll-padding-top: 76px; }
    #nasil, #ozellikler, #sss { scroll-margin-top: 76px; }
}


/* ================================================================
   Agac temali yonetim girisi + 2FA + sahiplik kaydi  (04.12.2026)
   ================================================================ */
.admin-login-treecard { position: relative; overflow: hidden; padding-top: 26px; }
.admin-login-tree { display: flex; justify-content: center; margin: 0 0 10px; color: var(--gold); }
.admin-login-tree .icon { width: 62px; height: 62px; filter: drop-shadow(0 0 16px rgba(255,217,122,.35)); transform-origin: 50% 92%; animation: adminTreeSway 7s ease-in-out infinite; }
@keyframes adminTreeSway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.admin-login-snow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.admin-login-snow span { position: absolute; top: -14px; color: #cfe6ff; opacity: .45; font-size: 13px; animation: adminSnowFall 9s linear infinite; }
.admin-login-snow span:nth-child(1) { left: 10%; animation-delay: 0s; }
.admin-login-snow span:nth-child(2) { left: 30%; animation-delay: 2.2s; font-size: 10px; }
.admin-login-snow span:nth-child(3) { left: 52%; animation-delay: 1.1s; font-size: 15px; }
.admin-login-snow span:nth-child(4) { left: 72%; animation-delay: 3.4s; font-size: 11px; }
.admin-login-snow span:nth-child(5) { left: 88%; animation-delay: 4.6s; font-size: 12px; }
@keyframes adminSnowFall { 0% { transform: translateY(-10px) rotate(0); } 100% { transform: translateY(380px) rotate(220deg); opacity: 0; } }
.twofa-form .twofa-input { text-align: center; font-size: 1.55rem; font-weight: 800; letter-spacing: .42em; padding-left: .42em; font-variant-numeric: tabular-nums; }
.twofa-alt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 2px; color: var(--muted-2); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.link-btn:hover { color: var(--gold); }
.save-banner { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border: 1px solid rgba(255,217,122,.32); border-radius: 16px; background: linear-gradient(135deg, rgba(255,217,122,.12), rgba(255,217,122,.03)); }
.save-banner-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; background: rgba(255,217,122,.16); color: var(--gold); }
.save-banner-copy { flex: 1; min-width: 0; }
.save-banner-copy strong { display: block; font-size: .92rem; }
.save-banner-copy p { margin: 2px 0 0; font-size: .78rem; color: var(--muted); line-height: 1.5; }
.save-banner .btn { flex: 0 0 auto; }
.save-banner .btn.is-saved { background: var(--green); color: #04231a; }
.key-row { display: flex; align-items: center; gap: 8px; }
.key-row input { flex: 1; min-width: 0; }
.owner-key-card p { color: var(--muted); font-size: .85rem; line-height: 1.6; }
@media (max-width: 520px) {
    .save-banner { flex-wrap: wrap; }
    .save-banner .btn { width: 100%; }
    .twofa-alt { justify-content: center; }
}

/* Yonetim paneli agac motifi */
.admin-head { position: relative; }
.admin-head-copy { flex: 1 1 320px; min-width: 0; z-index: 1; }
.admin-head-tree {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: rgba(255, 217, 122, 0.22);
    pointer-events: none;
    margin: 0 10px -6px;
}
.admin-head-tree .icon {
    width: 150px;
    height: 150px;
    filter: drop-shadow(0 0 26px rgba(255, 217, 122, 0.14));
    transform-origin: 50% 94%;
    animation: adminTreeSway 9s ease-in-out infinite;
}
@media (max-width: 860px) {
    .admin-head-tree { display: none; }
}
