/* =====================================================
   DIJITAL DENEYIM — style.css
   Dark Mode (default) + Light Mode
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables: Dark Mode ---- */
:root {
  --bg: #08070b;
  --bg2: #11101a;
  --card: #161421;
  --card2: #1e1b30;
  --card3: #231f38;
  --text: #f5f1e6;
  --text2: #d9d3c4;
  --muted: #b0a891;
  --gold: #d7ae5b;
  --gold2: #f4d58a;
  --gold3: #fce9b0;
  --blue: #4fc3f7;
  --green: #46d39a;
  --danger: #ff5a69;
  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.16);
  --shadow: 0 24px 80px rgba(0,0,0,.45);
  --shadow2: 0 8px 32px rgba(0,0,0,.3);
  --r: 22px;
  --r2: 16px;
  --r3: 12px;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---- Light Mode ---- */
[data-theme="light"] {
  --bg: #f0ede6;
  --bg2: #faf8f4;
  --card: #ffffff;
  --card2: #f7f4ef;
  --card3: #ede9e2;
  --text: #1a1410;
  --text2: #3d3025;
  --muted: #7a6e60;
  --gold: #b8860b;
  --gold2: #c9922a;
  --gold3: #d4a332;
  --blue: #0277bd;
  --green: #2e7d32;
  --danger: #c62828;
  --line: rgba(0,0,0,.10);
  --line2: rgba(0,0,0,.18);
  --shadow: 0 24px 80px rgba(0,0,0,.12);
  --shadow2: 0 8px 32px rgba(0,0,0,.08);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  transition: background .3s, color .3s;
}
[data-theme="dark"] body {
  background: radial-gradient(ellipse at 15% 0%, rgba(215,174,91,.14) 0%, transparent 40%),
              linear-gradient(160deg, #08070b 0%, #12101c 60%, #09080e 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ---- Container ---- */
.container { width: min(1180px, 92vw); margin: auto; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,7,11,.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
[data-theme="light"] .nav {
  background: rgba(250,248,244,.90);
}
.nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.navin {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--gold), #9d6b20);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 28px rgba(215,174,91,.30);
}
.mark-d {
  font-weight: 900;
  font-size: 20px;
  color: #130d05;
}
.brand-text {
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}
.brand-text small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.navlinks {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.navlinks a {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.navlinks a:hover,
.navlinks a.active {
  color: var(--text);
  background: rgba(255,255,255,.07);
}
[data-theme="light"] .navlinks a:hover,
[data-theme="light"] .navlinks a.active {
  background: rgba(0,0,0,.06);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.theme-toggle {
  background: none;
  border: 1px solid var(--line2);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.theme-toggle:hover { background: var(--line); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
}
.menu-overlay.show { display: block; }
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--line);
  z-index: 201;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transition: right .3s ease;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 15px;
  transition: background .2s, color .2s;
}
.mobile-menu a:hover { background: var(--line); color: var(--text); }
.mobile-menu hr { border: none; border-top: 1px solid var(--line); margin: 8px 0; }
.mobile-close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 8px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .btn-gold, .btn-outline, .btn-dark, .btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover, .btn-gold:hover, .btn-outline:hover, .btn-dark:hover { transform: translateY(-1px); }
.btn-gold, .btn.btn-gold {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #140e04;
  box-shadow: 0 4px 20px rgba(215,174,91,.28);
}
.btn-gold:hover { box-shadow: 0 6px 28px rgba(215,174,91,.42); }
.btn-outline, .btn.btn-outline {
  background: transparent;
  border: 1px solid var(--line2);
  color: var(--text);
}
.btn-outline:hover { background: var(--line); }
.btn-dark, .btn.btn-dark {
  background: rgba(255,255,255,.07);
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-dark:hover { background: rgba(255,255,255,.12); }
.btn-red {
  background: rgba(255,90,105,.15);
  color: var(--danger);
  border: 1px solid rgba(255,90,105,.25);
}
.btn-red:hover { background: rgba(255,90,105,.25); }
.btn-full { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 12px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }
[data-theme="light"] .btn-dark { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); }
[data-theme="light"] .btn-outline { border-color: rgba(0,0,0,.2); }

/* ============================================================
   LAYOUT & SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.section-title h2 {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -.04em;
  line-height: 1.1;
}
.section-center { text-align: center; margin-bottom: 40px; }
.section-center h2 { font-size: clamp(28px, 4.5vw, 48px); letter-spacing: -.04em; }
.section-center p { color: var(--muted); max-width: 580px; margin: 12px auto 0; font-size: 17px; }
.grid2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.muted { color: var(--muted); }
.text-gold { color: var(--gold2); }
.text-center { text-align: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow2);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
[data-theme="dark"] .card {
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03));
}
.card-hover:hover {
  border-color: rgba(215,174,91,.42);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.card-link { cursor: pointer; display: block; }
.card-link:hover { text-decoration: none; }
.card-gold {
  background: linear-gradient(135deg, rgba(215,174,91,.18), rgba(244,213,138,.06));
  border-color: rgba(215,174,91,.30);
}
.card-featured {
  background: linear-gradient(180deg, rgba(215,174,91,.12), rgba(215,174,91,.04));
  border: 2px solid rgba(215,174,91,.40);
  position: relative;
}
.thumb {
  height: 130px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(215,174,91,.14), rgba(255,255,255,.04));
  display: grid;
  place-items: center;
  font-size: 44px;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.field label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select {
  background: rgba(0,0,0,.04);
  border-color: rgba(0,0,0,.14);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--gold); background: rgba(215,174,91,.06); }
.field textarea { min-height: 100px; resize: vertical; }
.field select option { background: #171322; color: white; }
[data-theme="light"] .field select option { background: #f5f1e6; color: #1a1410; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 52px; position: relative; overflow: hidden; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(215,174,91,.35);
  color: var(--gold2);
  background: rgba(215,174,91,.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.h1 {
  font-size: clamp(40px, 6.5vw, 80px);
  line-height: .94;
  letter-spacing: -.06em;
  margin-bottom: 20px;
}
.h1 .accent { color: var(--gold2); }
.lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-stat { display: flex; align-items: center; gap: 8px; }
.hero-stat-icon { font-size: 20px; }
.hero-stat-text strong { display: block; font-size: 15px; font-weight: 800; }
.hero-stat-text span { font-size: 12px; color: var(--muted); }

/* ---- Phone Mockup ---- */
.phones-wrap {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-mock {
  position: absolute;
  border-radius: 40px;
  background: linear-gradient(145deg, #2a2638, #0a0810);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.12);
  overflow: hidden;
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  z-index: 2;
}
.phone-center {
  width: 210px;
  height: 420px;
  z-index: 3;
  transform: translateY(0);
  animation: phoneFloat 4s ease-in-out infinite;
}
.phone-left {
  width: 170px;
  height: 340px;
  z-index: 2;
  left: 5%;
  transform: translateX(-10%) rotate(-8deg);
  animation: phoneFloat 4s ease-in-out infinite .8s;
}
.phone-right {
  width: 170px;
  height: 340px;
  z-index: 2;
  right: 5%;
  transform: translateX(10%) rotate(8deg);
  animation: phoneFloat 4s ease-in-out infinite 1.6s;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(var(--phone-rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--phone-rot, 0deg)); }
}
.phone-center { --phone-rot: 0deg; }
.phone-left { --phone-rot: -8deg; }
.phone-right { --phone-rot: 8deg; }
.phone-screen {
  position: absolute;
  inset: 14px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px;
}
.phone-screen-gold {
  background: linear-gradient(160deg, #2a1f06, #1a0e02);
  border: 1px solid rgba(215,174,91,.2);
}
.phone-screen-pink {
  background: linear-gradient(160deg, #3a1a2a, #1a0812);
}
.phone-screen-blue {
  background: linear-gradient(160deg, #0a1a2e, #050d1a);
}

/* ============================================================
   ENVELOPE ANIMATION
   ============================================================ */
.envelope-wrap {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.envelope-body {
  width: 200px;
  height: 130px;
  background: linear-gradient(160deg, #2e2338, #1a1528);
  border: 1px solid rgba(244,213,138,.28);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.envelope-body:hover { transform: scale(1.04); }
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: linear-gradient(160deg, #3a2c48, #251d35);
  border-bottom: 1px solid rgba(244,213,138,.15);
  clip-path: polygon(0 0, 50% 58%, 100% 0);
  transform-origin: top center;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.envelope-wrap.open .envelope-flap {
  transform: rotateX(-180deg);
}
.envelope-line-l {
  position: absolute;
  top: 0;
  left: 0;
  width: 52%;
  height: 100%;
  background: linear-gradient(135deg, transparent 49%, rgba(244,213,138,.12) 50%);
}
.envelope-line-r {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: linear-gradient(225deg, transparent 49%, rgba(244,213,138,.08) 50%);
}
.envelope-heart {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  animation: heartPulse 1.5s ease-in-out infinite;
}
@keyframes heartPulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.15); }
}
.envelope-card {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  width: 160px;
  background: linear-gradient(160deg, #fce9b0, #f4d58a);
  border-radius: 12px;
  padding: 12px;
  color: #2a1a04;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  transition: transform .5s .2s, opacity .4s .2s;
}
.envelope-wrap.open .envelope-card {
  transform: translateX(-50%) translateY(-10px);
  opacity: 1;
}

/* ============================================================
   SERVICE CARDS ROW
   ============================================================ */
.service-bar {
  padding: 32px 0;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  text-decoration: none;
  color: var(--text);
  min-width: 110px;
}
.service-item:hover {
  border-color: rgba(215,174,91,.4);
  background: rgba(215,174,91,.06);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.service-item span.label { font-size: 13px; font-weight: 700; text-align: center; }
.service-item small { font-size: 11px; color: var(--muted); text-align: center; max-width: 100px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  padding: 24px 0;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 8px 16px; }
.stat-item .stat-icon { font-size: 22px; margin-bottom: 6px; }
.stat-item strong { display: block; font-size: 22px; font-weight: 900; color: var(--gold2); }
.stat-item span { font-size: 12px; color: var(--muted); }

/* ============================================================
   STEP WIZARD
   ============================================================ */
.steps-flow {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  scrollbar-width: none;
}
.steps-flow::-webkit-scrollbar { display: none; }
.step-dot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  min-width: 80px;
  text-align: center;
}
.step-dot.active {
  border-color: var(--gold);
  background: rgba(215,174,91,.1);
}
.step-dot.done { border-color: rgba(70,211,154,.4); background: rgba(70,211,154,.06); }
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}
.step-dot.active .step-num { background: var(--gold); color: #130d05; }
.step-dot.done .step-num { background: var(--green); color: #0a1f14; }
.step-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.step-dot.active .step-label { color: var(--text); }
.wizard-panel { display: none; animation: fadeIn .3s ease; }
.wizard-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   BUILDER LAYOUT
   ============================================================ */
.builder { display: grid; grid-template-columns: 1fr .75fr; gap: 24px; align-items: start; }
.preview-box { position: sticky; top: 88px; }

/* ============================================================
   GIFT CARD PREVIEW
   ============================================================ */
.gift-preview-phone {
  border-radius: 40px;
  background: linear-gradient(145deg, #221e30, #0e0c14);
  border: 1px solid rgba(255,255,255,.16);
  padding: 14px;
  box-shadow: 0 28px 70px rgba(0,0,0,.5);
  overflow: hidden;
}
.gift-preview-screen {
  border-radius: 28px;
  min-height: 380px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.gift-preview-screen.theme-gold    { background: linear-gradient(160deg,#2a1e06,#120e04); }
.gift-preview-screen.theme-minimal { background: linear-gradient(160deg,#faf8f2,#ede8d8); color: #2a1f06; }
.gift-preview-screen.theme-pastel  { background: linear-gradient(160deg,#3f1828,#200c18); }
.gift-preview-screen.theme-modern  { background: linear-gradient(160deg,#05081e,#090d28); }
.gift-preview-screen.theme-glass   { background: linear-gradient(160deg,#042030,#031520); }
.gift-preview-screen.theme-black   { background: linear-gradient(160deg,#050505,#111); }
.gift-preview-screen.theme-botanik { background: linear-gradient(160deg,#0f2211,#060e06); }
.gift-preview-screen.theme-rose    { background: linear-gradient(160deg,#3a0c1e,#1a0610); }
.gift-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 14px;
}

/* ============================================================
   IMAGE PICKER
   ============================================================ */
.img-pick {
  height: 160px;
  position: relative;
  border: 2px dashed rgba(215,174,91,.3);
  border-radius: 18px;
  background: rgba(215,174,91,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.img-pick:hover { border-color: var(--gold); background: rgba(215,174,91,.08); }
.img-pick.has-img { border-style: solid; border-color: var(--gold); }
.img-pick input[type="file"] { display: none; }
.img-pick img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block; border-radius: 16px;
}
.img-pick .pick-hint { color: var(--muted); font-size: 13px; text-align: center; }
.img-pick .pick-hint span { font-size: 32px; display: block; margin-bottom: 4px; }
/* Resim seçilince pick-hint div, background-image overlay olarak dolacak (upload.js) */
.img-pick.has-img .pick-hint {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  padding: 0; margin: 0;
  /* background-image, size ve position JS tarafından inline set edilir */
}

/* ============================================================
   SELECT GRID (themes, effects, music)
   ============================================================ */
.select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.select-item {
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: 12px;
  color: var(--muted);
}
.select-item .si-icon { font-size: 22px; display: block; margin-bottom: 4px; }
.select-item:hover { border-color: var(--line2); color: var(--text); }
.select-item.selected {
  border-color: var(--gold);
  background: rgba(215,174,91,.1);
  color: var(--gold2);
}
.select-item.selected .si-icon { animation: pulse .3s ease; }
@keyframes pulse { 0%,100%{transform:scale(1)}50%{transform:scale(1.2)} }

/* ============================================================
   QR BOX
   ============================================================ */
.qrbox {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.qrbox span {
  background: #111;
  border-radius: 2px;
  aspect-ratio: 1;
}

/* ============================================================
   BADGE / PILL / TAG
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.badge-gold { background: rgba(215,174,91,.15); color: var(--gold2); border: 1px solid rgba(215,174,91,.25); }
.badge-green  { background: rgba(70,211,154,.13);  color: #75f0bb; }
.badge-blue   { background: rgba(79,195,247,.13);  color: #7dd5f8; }
.badge-red    { background: rgba(255,90,105,.13);  color: #ff8a95; }
.badge-purple { background: rgba(167,139,250,.13); color: #c4b5fd; }
/* Light mode: badge renkleri okunabilir koyu renge dönüşür */
[data-theme="light"] .badge-green  { background: rgba(46,125,50,.12);  color: #1e6b22; border: 1px solid rgba(46,125,50,.25); }
[data-theme="light"] .badge-blue   { background: rgba(2,119,189,.12);  color: #01579b; border: 1px solid rgba(2,119,189,.25); }
[data-theme="light"] .badge-red    { background: rgba(198,40,40,.10);  color: #b71c1c; border: 1px solid rgba(198,40,40,.2); }
[data-theme="light"] .badge-purple { background: rgba(109,40,217,.10); color: #5b21b6; border: 1px solid rgba(109,40,217,.2); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.pill-gold { border-color: rgba(215,174,91,.3); color: var(--gold2); background: rgba(215,174,91,.08); }
.tag-featured {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #130d05;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
  letter-spacing: .04em;
}

/* ============================================================
   ADMIN / USER PANEL
   ============================================================ */
.panel-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.panel-side {
  background: var(--bg2);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.panel-side .brand { padding: 8px 8px 20px; }
.side-divider { border: none; border-top: 1px solid var(--line); margin: 8px 0; }
.side-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 12px 4px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: background .2s, color .2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
}
.side-link:hover, .side-link.active { background: rgba(255,255,255,.07); color: var(--text); }
.side-link .icon { font-size: 17px; flex-shrink: 0; }
.panel-main { padding: 28px; overflow-y: auto; }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.panel-head h1 { font-size: 26px; letter-spacing: -.03em; }
.panel-section { display: none; }
.panel-section.active { display: block; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.stat-card .stat-label { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat-card .stat-val { font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.stat-card .stat-change { font-size: 12px; color: var(--green); margin-top: 4px; }

/* ============================================================
   TABLE
   ============================================================ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
}
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: rgba(255,255,255,.025); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.pricing-card.featured {
  border: 2px solid rgba(215,174,91,.4);
  background: linear-gradient(180deg, rgba(215,174,91,.09), transparent);
}
.pricing-name { font-size: 16px; font-weight: 800; }
.pricing-price { display: flex; align-items: baseline; gap: 4px; }
.pricing-price .amount { font-size: 40px; font-weight: 900; letter-spacing: -.04em; color: var(--gold2); }
.pricing-price .currency { font-size: 19px; font-weight: 700; color: var(--gold); align-self: flex-start; margin-top: 6px; }
.pricing-price .old { font-size: 16px; color: var(--muted); text-decoration: line-through; }
.pricing-features { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.pricing-feature::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; }

/* ============================================================
   LOYALTY CARD
   ============================================================ */
.loyalty-card {
  background: linear-gradient(135deg, rgba(215,174,91,.15), rgba(215,174,91,.04));
  border: 1px solid rgba(215,174,91,.28);
  border-radius: var(--r);
  padding: 24px;
}
.loyalty-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.loyalty-dot {
  aspect-ratio: 1;
  border-radius: 999px;
  border: 2px solid var(--line2);
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  transition: .2s;
}
.loyalty-dot.filled { background: var(--gold); border-color: var(--gold); color: #130d05; }
.loyalty-dot.gift { background: rgba(70,211,154,.2); border-color: var(--green); color: var(--green); }

/* ============================================================
   DAVETIYE PREVIEW
   ============================================================ */
.invite-preview {
  border-radius: var(--r);
  padding: 28px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.invite-preview.type-dugun { background: linear-gradient(160deg, #2a1520, #1a0e15); border: 1px solid rgba(255,182,193,.2); }
.invite-preview.type-nisan { background: linear-gradient(160deg, #1a2030, #0d1420); border: 1px solid rgba(180,200,255,.2); }
.invite-preview.type-kina { background: linear-gradient(160deg, #301820, #1a0e14); border: 1px solid rgba(255,150,180,.2); }
.invite-preview.type-mezun { background: linear-gradient(160deg, #1a2a20, #0e1a14); border: 1px solid rgba(100,210,150,.2); }
.invite-preview.type-kurumsal { background: linear-gradient(160deg, #1a1e2a, #0e121a); border: 1px solid rgba(100,150,255,.2); }

/* ============================================================
   KARTVIZIT PREVIEW
   ============================================================ */
.kv-preview {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 1px solid rgba(79,195,247,.2);
  border-radius: var(--r);
  padding: 24px;
  text-align: center;
}
.kv-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #9d6b20);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.kv-links { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.kv-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  color: var(--text);
}
.kv-link-icon { font-size: 16px; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 60px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--line);
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background .2s, transform .2s;
  text-decoration: none;
}
.social-btn:hover { background: rgba(215,174,91,.15); transform: translateY(-2px); }
.footer-links h4 { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-whatsapp { margin-top: 16px; }
.footer-whatsapp p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 0;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37,211,102,.38), 0 2px 8px rgba(0,0,0,.2);
  z-index: 200;
  transition: transform .22s, box-shadow .22s, padding .22s;
  text-decoration: none;
  overflow: hidden;
}
/* İkon yuvarlağı */
.wa-float::before {
  content: '💬';
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(0,0,0,.08);
  border-radius: 999px;
}
/* Metin etiketi */
.wa-float::after {
  content: 'Destek & Aktivasyon';
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .22s, transform .22s;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55), 0 3px 10px rgba(0,0,0,.22);
  padding: 0 20px 0 0;
}
.wa-float:hover::after {
  opacity: 1;
  transform: translateX(0);
}
/* Pulse halkası */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float { animation: waPulse 2.2s ease-out 3s 3; }

/* ============================================================
   TOAST
   ============================================================ */
.dd-toast {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 300;
  background: var(--card2);
  border: 1px solid var(--line2);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  max-width: 260px;
}
.dd-toast.show { opacity: 1; transform: none; }
.dd-toast.success { border-color: rgba(70,211,154,.3); color: var(--green); }
.dd-toast.error { border-color: rgba(255,90,105,.3); color: var(--danger); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-box {
  width: min(560px, 96vw);
  background: var(--card);
  border: 1px solid var(--line2);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fadeIn .25s ease;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-head h3 { font-size: 18px; }
.modal-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
}

/* ============================================================
   MISC
   ============================================================ */
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line2);
  border-radius: 18px;
  font-size: 15px;
}
.divider { border: none; border-top: 1px solid var(--line); margin: 24px 0; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #9d6b20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.gap8 { gap: 8px; }
.gap12 { gap: 12px; }
.gap16 { gap: 16px; }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.fw8 { font-weight: 800; }
.fs12 { font-size: 12px; }
.fs14 { font-size: 14px; }
.page-title { font-size: clamp(28px, 5vw, 52px); letter-spacing: -.05em; margin-bottom: 12px; }
.page-lead { font-size: 17px; color: var(--muted); line-height: 1.7; }
.scroll-x { overflow-x: auto; }
.content-editable { cursor: text; }
.link-area { background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.link-text { font-size: 12px; color: var(--muted); word-break: break-all; margin-bottom: 10px; }
.countdown-row { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.countdown-item { text-align: center; }
.countdown-item .count { font-size: 28px; font-weight: 900; color: var(--gold2); display: block; }
.countdown-item .unit { font-size: 11px; color: var(--muted); }

/* ============================================================
   PHONES SHOWCASE (Hero redesign)
   ============================================================ */
.phones-showcase {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arka plan glow */
.phones-glow {
  position: absolute;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.phones-glow::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 360px; height: 360px;
  background: radial-gradient(ellipse, rgba(215,174,91,.22) 0%, transparent 70%);
  filter: blur(20px);
}
.phones-glow::after {
  content: '';
  position: absolute;
  bottom: 5%; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 200px;
  background: radial-gradient(ellipse, rgba(167,139,250,.15) 0%, transparent 70%);
  filter: blur(30px);
}

/* Showcase telefon çerçevesi — premium */
.sc-frame {
  position: absolute;
  border-radius: 42px;
  background: linear-gradient(155deg, #38324e, #0e0c1a);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.16),
    0 0 0 2px rgba(255,255,255,.04),
    0 36px 90px rgba(0,0,0,.75),
    0 12px 30px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -1px 0 rgba(0,0,0,.4);
  overflow: hidden;
}
.sc-frame::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 22px;
  background: #06050a;
  border-radius: 14px;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07);
}

/* Merkez telefon */
.sc-center {
  width: 220px;
  height: 440px;
  z-index: 3;
  animation: phoneFloat 4s ease-in-out infinite;
  --phone-rot: 0deg;
}

/* Yan telefonlar */
.sc-left {
  width: 178px;
  height: 360px;
  z-index: 2;
  left: 0%;
  animation: phoneFloat 4s ease-in-out infinite .9s;
  --rot: -9deg;
}
.sc-right {
  width: 178px;
  height: 360px;
  z-index: 2;
  right: 0%;
  animation: phoneFloat 4s ease-in-out infinite 1.8s;
  --rot: 9deg;
}

/* Ekran */
.sc-screen {
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Premium çok katmanlı gradient arka planlar */
.sc-screen-gold {
  background:
    radial-gradient(ellipse 110% 55% at 38% 0%, rgba(215,174,91,.32) 0%, transparent 62%),
    radial-gradient(ellipse 80% 45% at 70% 105%, rgba(180,110,18,.22) 0%, transparent 58%),
    linear-gradient(160deg, #3d2806 0%, #1a1005 52%, #080502 100%);
}
.sc-screen-pastel {
  background:
    radial-gradient(ellipse 110% 55% at 38% 0%, rgba(255,100,160,.28) 0%, transparent 62%),
    radial-gradient(ellipse 80% 45% at 70% 105%, rgba(200,50,100,.2) 0%, transparent 58%),
    linear-gradient(160deg, #44091f 0%, #200a12 52%, #080408 100%);
}
.sc-screen-modern {
  background:
    radial-gradient(ellipse 110% 55% at 38% 0%, rgba(56,148,240,.28) 0%, transparent 62%),
    radial-gradient(ellipse 80% 45% at 70% 105%, rgba(30,90,200,.18) 0%, transparent 58%),
    linear-gradient(160deg, #0c1e38 0%, #071525 52%, #030810 100%);
}
.sc-screen-emerald {
  background:
    radial-gradient(ellipse 110% 55% at 38% 0%, rgba(143,192,166,.26) 0%, transparent 62%),
    radial-gradient(ellipse 80% 45% at 70% 105%, rgba(60,120,90,.20) 0%, transparent 58%),
    linear-gradient(160deg, #123022 0%, #0a1c12 52%, #060d09 100%);
}
.sc-screen-rose {
  background:
    radial-gradient(ellipse 110% 55% at 38% 0%, rgba(217,139,166,.26) 0%, transparent 62%),
    radial-gradient(ellipse 80% 45% at 70% 105%, rgba(150,70,95,.18) 0%, transparent 58%),
    linear-gradient(160deg, #2a0f1a 0%, #1a0a12 52%, #0a0508 100%);
}
.sc-screen-emerald .sc-mini { --sc-ac:#8fc0a6; --sc-bg:#0a1c12; }
.sc-screen-rose    .sc-mini { --sc-ac:#d98ba6; --sc-bg:#1a0a12; }
/* Hero merkez telefon — davetiyeler arası otomatik canlı geçiş */
.sc-center .sc-screen { transition: background .8s ease; }
.sc-center .sc-mini-badge, .sc-center .sc-mini-names, .sc-center .sc-mini-orn,
.sc-center .sc-mini-info, .sc-center .sc-mini-btn { transition: color .8s ease, border-color .8s ease, background .8s ease; }
.sc-center .sc-mini-hero img, .sc-center .sc-mini-av img { transition: opacity .45s ease; }
.sc-center .sc-mini-names { transition: color .8s ease, opacity .45s ease; }

/* Cam parlaması — ekranın üst yarısına glass shine */
.sc-screen::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 52%;
  background: linear-gradient(180deg,
    rgba(255,255,255,.09) 0%,
    rgba(255,255,255,.03) 55%,
    transparent 100%);
  pointer-events: none;
  z-index: 10;
  border-radius: 30px 30px 0 0;
}

/* Durum çubuğu */
.sc-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 14px 4px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.38);
  letter-spacing: .02em;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

/* Kart içeriği */
.sc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 14px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

/* Arka plan glow orb */
.sc-content::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 160px; height: 160px;
  background: radial-gradient(ellipse, rgba(215,174,91,.22) 0%, transparent 70%);
  pointer-events: none;
}
.sc-screen-pastel .sc-content::before {
  background: radial-gradient(ellipse, rgba(255,100,160,.2) 0%, transparent 70%);
}

/* ===== Mini davetiye mockup — viewer ile aynı dil (hero foto + bindirmeli avatar + gold isim) ===== */
.sc-mini {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 2; overflow: hidden;
  --sc-ac: #e8c45c; --sc-bg: #140d05;
}
.sc-screen-pastel .sc-mini { --sc-ac: #f7a8c8; --sc-bg: #1a0a12; }
.sc-screen-gold   .sc-mini { --sc-ac: #e8c45c; --sc-bg: #140d05; }
.sc-screen-modern .sc-mini { --sc-ac: #7db9f0; --sc-bg: #091627; }
.sc-mini-hero { width: 100%; height: 46%; flex-shrink: 0; position: relative; overflow: hidden; }
.sc-mini-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.sc-mini-hero::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.16) 0%, transparent 44%, var(--sc-bg) 100%); }
.sc-mini-av { width: 46px; height: 46px; border-radius: 50%; margin-top: -25px; overflow: hidden;
  position: relative; z-index: 3; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--sc-bg), 0 0 0 4px var(--sc-ac), 0 6px 16px rgba(0,0,0,.5); }
.sc-mini-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-mini-badge { margin-top: 7px; font-size: 6.5px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sc-ac); border: 1px solid rgba(255,255,255,.18);
  padding: 2px 8px; border-radius: 99px; }
.sc-mini-names { font-family: 'Great Vibes', cursive; font-size: 23px; line-height: 1.04;
  color: var(--sc-ac); margin-top: 5px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.sc-mini-orn { font-size: 8px; color: var(--sc-ac); opacity: .7; margin: 3px 0; letter-spacing: .2em; }
.sc-mini-info { font-size: 8px; color: rgba(255,255,255,.64); letter-spacing: .03em; }
.sc-mini-btn { margin-top: 8px; font-size: 7.5px; font-weight: 800; letter-spacing: .05em;
  color: var(--sc-bg); background: var(--sc-ac); padding: 4px 15px; border-radius: 99px;
  box-shadow: 0 3px 12px rgba(0,0,0,.4); }

/* ===== Anı Defteri mockup — misafir fotoğraf duvarı (davetiyeden farklı görünür) ===== */
.sc-ani { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2;
  --sc-ac: #8fc0a6; }
.sc-ani-head { padding: 9px 8px 7px; text-align: center; flex-shrink: 0; }
.sc-ani-badge { font-size: 6.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sc-ac); display: inline-block; border: 1px solid rgba(143,192,166,.4);
  padding: 2px 8px; border-radius: 99px; }
.sc-ani-title { font-family: 'Great Vibes', cursive; font-size: 19px; color: var(--sc-ac);
  line-height: 1.05; margin-top: 5px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.sc-ani-sub { font-size: 7px; color: rgba(255,255,255,.6); margin-top: 3px; letter-spacing: .04em; }
.sc-ani-grid { display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; padding: 4px 7px 9px; align-content: start; }
.sc-ani-grid img { width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 5px; display: block; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.sc-ani-grid .sc-ani-more { display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1; border-radius: 5px; background: rgba(143,192,166,.16);
  color: var(--sc-ac); font-size: 8px; font-weight: 800; }

/* ===== Anı Defteri "açılır defter" — krem sayfa + el yazısı mesajlar (sayfalar çevrilir) ===== */
.sc-book { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2;
  background: linear-gradient(165deg, #faf6ec 0%, #f3ebd9 100%); color: #5a4326; }
.sc-book-tab { font-size: 6.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #a07f3c; text-align: center; padding: 9px 8px 0; }
.sc-book-page { flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 4px 14px; text-align: center; }
.sc-book-quote { font-family: Georgia, serif; font-size: 22px; color: #cdb074; height: 12px; line-height: 1; }
.sc-book-msg { font-family: 'Great Vibes', cursive; font-size: 16px; line-height: 1.45;
  color: #5a4326; transition: opacity .4s ease; }
.sc-book-sign { font-family: 'Playfair Display', serif; font-size: 8px; font-style: italic;
  color: #9a7638; margin-top: 9px; transition: opacity .4s ease; }
.sc-book-foot { display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 7px; font-size: 8px; color: #a07f3c; border-top: 1px solid rgba(160,127,60,.2); }
/* Hatıra sayfası fotoğrafı — polaroid hissi */
.sc-book-photo { width: 56%; aspect-ratio: 4/3; margin: 2px auto 9px; border-radius: 4px;
  overflow: hidden; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(90,67,38,.28);
  transform: rotate(-2.5deg); }
.sc-book-photo img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .4s ease; }
.sc-book-msg { font-size: 14px; }

/* Fotoğraf halkası — glowing */
.sc-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(215,174,91,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  background: radial-gradient(ellipse at center, rgba(215,174,91,.2) 0%, rgba(215,174,91,.04) 100%);
  margin-bottom: 7px; flex-shrink: 0;
  box-shadow:
    0 0 0 1px rgba(215,174,91,.18),
    0 0 18px rgba(215,174,91,.35),
    0 0 36px rgba(215,174,91,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.sc-screen-pastel .sc-photo {
  border-color: rgba(255,120,175,.7);
  background: radial-gradient(ellipse at center, rgba(255,120,175,.2) 0%, rgba(255,120,175,.04) 100%);
  box-shadow: 0 0 0 1px rgba(255,120,175,.18), 0 0 18px rgba(255,120,175,.35), 0 0 36px rgba(255,120,175,.14), inset 0 1px 0 rgba(255,255,255,.12);
}
.sc-screen-modern .sc-photo {
  border-color: rgba(79,195,247,.7);
  background: radial-gradient(ellipse at center, rgba(79,195,247,.2) 0%, rgba(79,195,247,.04) 100%);
  box-shadow: 0 0 0 1px rgba(79,195,247,.18), 0 0 18px rgba(79,195,247,.35), 0 0 36px rgba(79,195,247,.14), inset 0 1px 0 rgba(255,255,255,.12);
}
/* Mockup'larda GERÇEK foto (emoji yerine — vitrin satışı için kritik) */
.sc-photo { overflow: hidden; }
.sc-photo img, .sc-invite-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-invite-photo {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(79,195,247,.7); margin: 0 auto 3px; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(79,195,247,.18), 0 0 18px rgba(79,195,247,.35), 0 0 36px rgba(79,195,247,.14);
}

/* Rozet — glass pill */
.sc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; padding: 3px 10px;
  font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 5px;
  background: linear-gradient(135deg, rgba(215,174,91,.24), rgba(215,174,91,.07));
  border: 1px solid rgba(215,174,91,.38);
  color: rgba(255,228,120,.98);
  box-shadow: 0 1px 10px rgba(215,174,91,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.sc-screen-pastel .sc-badge {
  background: linear-gradient(135deg, rgba(255,120,175,.24), rgba(255,120,175,.07));
  border-color: rgba(255,120,175,.38);
  color: rgba(255,192,220,.98);
  box-shadow: 0 1px 10px rgba(255,120,175,.2), inset 0 1px 0 rgba(255,255,255,.1);
}
.sc-screen-modern .sc-badge {
  background: linear-gradient(135deg, rgba(79,195,247,.24), rgba(79,195,247,.07));
  border-color: rgba(79,195,247,.38);
  color: rgba(150,225,255,.98);
  box-shadow: 0 1px 10px rgba(79,195,247,.2), inset 0 1px 0 rgba(255,255,255,.1);
}

/* Süsleme */
.sc-ornament {
  font-size: 11px; letter-spacing: 5px;
  color: rgba(215,174,91,.55); margin-bottom: 4px;
}
.sc-screen-pastel .sc-ornament { color: rgba(255,140,185,.5); }
.sc-screen-modern .sc-ornament { color: rgba(79,195,247,.4); }

/* Başlık — glow */
.sc-title {
  font-size: 17px; font-weight: 900; letter-spacing: -.04em; line-height: 1.1;
  color: #ffe9aa; margin-bottom: 5px;
  text-shadow: 0 0 18px rgba(215,174,91,.55), 0 0 36px rgba(215,174,91,.2), 0 2px 8px rgba(0,0,0,.7);
}
.sc-screen-pastel .sc-title {
  color: #ffe6f0;
  text-shadow: 0 0 18px rgba(255,120,175,.5), 0 0 36px rgba(255,120,175,.2), 0 2px 8px rgba(0,0,0,.7);
}
.sc-screen-modern .sc-title {
  color: #dff1ff;
  text-shadow: 0 0 18px rgba(79,195,247,.45), 0 0 36px rgba(79,195,247,.15), 0 2px 8px rgba(0,0,0,.7);
}

/* Mesaj */
.sc-msg {
  font-size: 9.5px; line-height: 1.65;
  color: rgba(255,235,170,.6); margin-bottom: 6px; max-width: 160px;
}
.sc-screen-pastel .sc-msg { color: rgba(255,220,235,.6); }
.sc-screen-modern .sc-msg { color: rgba(200,232,255,.58); }

/* Gönderen — italic */
.sc-sender {
  font-size: 9px; font-weight: 600; font-style: italic;
  color: rgba(215,174,91,.75); margin-bottom: 7px; letter-spacing: .01em;
}
.sc-screen-pastel .sc-sender { color: rgba(255,155,195,.8); }
.sc-screen-modern .sc-sender { color: rgba(79,195,247,.78); }

/* Efektler */
.sc-effects {
  display: flex; gap: 4px; justify-content: center;
  font-size: 13px; margin-bottom: 7px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.25));
}

/* Mini zarf */
.sc-mini-envelope {
  background: linear-gradient(135deg, rgba(215,174,91,.16), rgba(215,174,91,.06));
  border: 1px solid rgba(215,174,91,.28);
  border-radius: 8px; padding: 5px 10px;
  font-size: 9px; color: rgba(255,228,120,.8);
  display: flex; align-items: center; gap: 5px; font-weight: 700;
  box-shadow: 0 2px 10px rgba(215,174,91,.12);
}

/* Alt aksiyon çubuğu */
.sc-bottom-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-top: 6px;
  padding: 4px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px; font-size: 8.5px; font-weight: 700;
  color: rgba(255,255,255,.55); letter-spacing: .04em;
  text-transform: uppercase;
}
.sc-screen-gold .sc-bottom-bar   { border-color: rgba(215,174,91,.25); color: rgba(215,174,91,.8); background: rgba(215,174,91,.08); }
.sc-screen-pastel .sc-bottom-bar { border-color: rgba(255,120,175,.25); color: rgba(255,155,195,.8); background: rgba(255,120,175,.08); }
.sc-screen-modern .sc-bottom-bar { border-color: rgba(79,195,247,.25);  color: rgba(130,220,255,.8); background: rgba(79,195,247,.08); }

/* Davetiye ekranı (sağ telefon) */
.sc-invite-content {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 6px 12px 12px; text-align: center; gap: 5px;
  position: relative; z-index: 2;
}
.sc-invite-emoji {
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.35)) drop-shadow(0 0 28px rgba(79,195,247,.45));
}
.sc-invite-title {
  font-size: 13px; font-weight: 900; color: #d8efff;
  line-height: 1.3; letter-spacing: -.03em;
  text-shadow: 0 0 16px rgba(79,195,247,.5), 0 0 32px rgba(79,195,247,.2), 0 2px 6px rgba(0,0,0,.6);
}
.sc-invite-date { font-size: 9px; color: rgba(180,218,255,.52); line-height: 1.5; }
.sc-countdown { display: flex; gap: 4px; margin-top: 2px; }
.sc-count-box {
  background: linear-gradient(135deg, rgba(79,195,247,.16), rgba(79,195,247,.05));
  border: 1px solid rgba(79,195,247,.28);
  border-radius: 7px; padding: 4px 5px; text-align: center; min-width: 30px;
  box-shadow: 0 2px 8px rgba(79,195,247,.15);
}
.sc-count-box .num {
  font-size: 15px; font-weight: 900; color: #92ddff; display: block; line-height: 1;
  text-shadow: 0 0 10px rgba(129,212,250,.7), 0 0 20px rgba(129,212,250,.3);
}
.sc-count-box .lbl { font-size: 7px; color: rgba(150,225,255,.58); letter-spacing: .04em; text-transform: uppercase; }

/* Floating chips */
.float-chip {
  position: absolute;
  z-index: 5;
  background: rgba(20,18,30,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #f5f1e6;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: chipFloat 3s ease-in-out infinite;
}
.float-chip:nth-of-type(1) { animation-delay: 0s; }
.float-chip:nth-of-type(2) { animation-delay: 1.5s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #46d39a;
  box-shadow: 0 0 6px rgba(70,211,154,.6);
  flex-shrink: 0;
  animation: chipDotPulse 1.5s ease infinite;
}
@keyframes chipDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}
.chip-count {
  font-size: 11px;
  color: #d7ae5b;
  font-weight: 800;
}

/* ============================================================
   CAT TILE — Ana sayfa kategori kartları (gradient + emoji)
   ============================================================ */
.cat-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
}
.cat-tile {
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  animation: catTilePop .45s ease both;
}
.cat-tile:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
}
@keyframes catTilePop {
  from { opacity: 0; transform: translateY(16px) scale(.95); }
  to   { opacity: 1; transform: none; }
}
.cat-tile-img {
  height: 84px;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}
.cat-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.cat-tile:hover .cat-tile-img img {
  transform: scale(1.1);
}
.cat-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, rgba(0,0,0,.58) 100%);
  pointer-events: none;
  z-index: 1;
}
.cat-tile-emoji {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 15px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.28);
  line-height: 1;
}
.cat-tile-bot {
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(4px);
  padding: 6px 6px 9px;
  text-align: center;
}
.cat-tile-name {
  font-size: 10.5px;
  font-weight: 800;
  color: rgba(255,255,255,.94);
  letter-spacing: .01em;
  line-height: 1.3;
  display: block;
}
.cat-tile-feat {
  font-size: 8.5px;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  display: block;
  margin-top: 2px;
  letter-spacing: .01em;
}
@media (max-width: 767px) {
  .cat-grid-main { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; }
  .cat-tile-img { height: 68px; }
  .cat-tile-emoji { width: 24px; height: 24px; font-size: 13px; top: 4px; right: 4px; }
  .cat-tile-feat { display: none; }
}
@media (max-width: 380px) {
  .cat-grid-main { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .cat-tile-img { height: 58px; }
  .cat-tile-emoji { width: 22px; height: 22px; font-size: 11px; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
