/* Dalgona 3D banner — ana sayfa vitrini. Arka plan yok: metin + saydam 3D sahne. */
.dlg {
  --dlg-ton: #c2410c;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 16px;
  margin: 8px 0 36px;
}
:root[data-theme="dark"] .dlg { --dlg-ton: #fb923c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dlg { --dlg-ton: #fb923c; } }

.dlg-metin { max-width: 34ch; }
.dlg-ust { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--dlg-ton); }
.dlg-ust i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dlg-nabiz 2.4s ease-in-out infinite; }
.dlg h2 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.025em; font-weight: 600; }
.dlg h2 a { color: inherit; text-decoration: none; }
.dlg p { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.dlg-alt { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; }
.dlg-fiyat { font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.dlg-fiyat s { margin-left: 8px; font-size: 15px; font-weight: 400; color: var(--muted); }
.dlg-rozet { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 999px;
  color: var(--dlg-ton); border: 1px solid currentColor; }
.dlg-dugme { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 14px; text-decoration: none; }
.dlg-dugme svg { transition: transform .2s ease; }
.dlg-dugme:hover svg { transform: translateX(3px); }
.dlg-ipucu { display: block; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* 3D sahne (saydam tuval) */
.dlg-sahne { position: relative; width: 100%; aspect-ratio: 16 / 9; cursor: grab; touch-action: pan-y; user-select: none; }
.dlg-sahne:active { cursor: grabbing; }
.dlg-sahne canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .6s ease; }
.dlg-sahne.hazir canvas { opacity: 1; }
/* WebGL yoksa / yüklenene kadar duran görseller */
.dlg-yedek { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; transition: opacity .4s ease; }
.dlg-yedek img { width: 28%; height: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .25)); }
.dlg-yedek img:nth-child(2) { width: 32%; transform: translateY(-8%); }
.dlg-sahne.hazir .dlg-yedek { opacity: 0; }

@keyframes dlg-nabiz { 50% { opacity: .35; } }

@media (max-width: 760px) {
  .dlg { grid-template-columns: 1fr; gap: 0; }
  .dlg-metin { max-width: none; }
  .dlg-sahne { aspect-ratio: 4 / 3; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { .dlg-ust i { animation: none; } }
