/* Hero davetiye ön izlemesi */
.hero-invite-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
@media (min-width: 980px) {
  .hero-invite-wrap {
    max-width: none;
    min-width: 42%;
    flex: 1 1 42%;
  }
}
.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 980px) {
  .hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  .hero__copy { flex: 1 1 55%; }
  .hero-invite-wrap { order: 0; }
}
@media (max-width: 979px) {
  .hero-invite-wrap { order: -1; }
  .hero__copy { order: 0; }
}

/* Zarf animasyonu */
.hero-invite-wrap.is-animating .hero-invite__envelope {
  animation: envelopeOpen 1.4s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}
.hero-invite-wrap.is-animating .hero-invite__card {
  animation: cardReveal 1.4s 0.35s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
  opacity: 0;
}
.hero-invite-wrap.is-open .hero-invite__envelope { display: none; }
.hero-invite-wrap.is-open .hero-invite__card { opacity: 1; transform: none; }

@keyframes envelopeOpen {
  0% { opacity: 1; transform: scale(1); }
  70% { opacity: 0.4; transform: scale(1.02) translateY(-8px); }
  100% { opacity: 0; transform: scale(0.96) translateY(-20px); pointer-events: none; }
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-invite-wrap.is-animating .hero-invite__envelope,
  .hero-invite-wrap.is-animating .hero-invite__card { animation: none; opacity: 1; }
}

.hero-invite__envelope {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-invite__envelope-inner {
  width: 88%;
  max-width: 380px;
  aspect-ratio: 1.45;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff 0%, #f3f1ed 100%);
  border: 1.5px solid rgba(10, 12, 0, 0.12);
  box-shadow: 0 20px 50px rgba(10, 12, 0, 0.12);
  position: relative;
  overflow: hidden;
}
.hero-invite__envelope-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 48%, rgba(255, 63, 95, 0.12) 50%, transparent 52%);
}
.hero-invite__envelope-seal {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7900, #ff3f5f);
  border: 2px solid #0a0c00;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

/* Davetiye kartı */
.hero-invite__card {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  border: 1.5px solid rgba(10, 12, 0, 0.12);
  background: linear-gradient(165deg, #ffffff 0%, #fffaf5 55%, #f3f1ed 100%);
  box-shadow: 0 28px 70px rgba(10, 12, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
}
.hero-invite__card-head {
  padding: 1.35rem 1.35rem 0.85rem;
  border-bottom: 1px solid rgba(10, 12, 0, 0.08);
  background: linear-gradient(135deg, rgba(255, 121, 0, 0.06), rgba(115, 87, 255, 0.05));
}
.hero-invite__event-type {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 12, 0, 0.06);
}
.hero-invite__names {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-invite__tagline {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(10, 12, 0, 0.68);
  max-width: 32ch;
}
.hero-invite__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-invite__meta time { font-variant-numeric: tabular-nums; }
.hero-invite__venue {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(10, 12, 0, 0.6);
  width: 100%;
}
.hero-invite__body { padding: 1rem 1.35rem 1.35rem; }

.hero-invite__countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.hero-invite__countdown div {
  text-align: center;
  padding: 0.55rem 0.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(10, 12, 0, 0.1);
}
.hero-invite__countdown b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}
.hero-invite__countdown span {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(10, 12, 0, 0.5);
}

.hero-invite__actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}
.hero-invite__btn {
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1.5px solid rgba(10, 12, 0, 0.14);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-invite__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(10, 12, 0, 0.08); }
.hero-invite__btn--primary {
  grid-column: span 2;
  background: #0a0c00;
  color: #fff;
  border-color: #0a0c00;
  font-size: 0.82rem;
}

.hero-invite__indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(10, 12, 0, 0.12);
}
.hero-invite__indicators span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  background: rgba(0, 191, 179, 0.12);
  color: #067a72;
}
.hero-invite__indicators span:nth-child(2) {
  background: rgba(115, 87, 255, 0.12);
  color: #5a45c9;
}

/* Büyük tema kartı ön izlemeleri */
.theme-card__preview {
  position: relative;
  min-height: 220px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  overflow: hidden;
}
.theme-card__preview-inner {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.theme-card__preview--wedding {
  background: linear-gradient(145deg, #fffaf5 0%, #ffe8dc 40%, #ff3f5f 100%);
}
.theme-card__preview--kina {
  background: linear-gradient(145deg, #6e1524 0%, #ff7900 50%, #7357ff 100%);
}
.theme-card__preview--noir {
  background: linear-gradient(145deg, #0a0a0a 0%, #4a1528 55%, #c4b59a 100%);
}
.theme-card__preview--aura {
  background: linear-gradient(145deg, #f7fbff 0%, #b8c9ff 45%, #00bfb3 100%);
}
.theme-card__preview--after {
  background: linear-gradient(145deg, #05060a 0%, #2f6bff 45%, #e3ff04 100%);
}
.theme-card__cat {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.theme-card__preview-inner strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.15rem 0;
}
.theme-card__preview-inner span:last-child {
  font-size: 0.78rem;
  opacity: 0.85;
}
.theme-card__body h3 { margin-top: 0; }
.theme-card__category {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

/* Katılım bölümü landing */
.attendance-section {
  max-width: 560px;
}

/* Kına tema kartları — sadeleştirilmiş hareketli ön izleme */
.theme-card__preview--live {
  overflow: hidden;
  isolation: isolate;
}
.theme-card__preview--live::before,
.theme-card__preview--live::after {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  z-index: 0;
}
.theme-card__preview--live .theme-card__preview-inner {
  position: relative;
  z-index: 1;
}
@keyframes kinaPreviewDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.5; }
  50% { transform: translate(6%, -5%) rotate(3deg); opacity: 0.85; }
}
@keyframes kinaPreviewPulse {
  0%, 100% { transform: scale(1); opacity: 0.35; }
  50% { transform: scale(1.08); opacity: 0.65; }
}
@keyframes kinaPreviewSlide {
  0% { transform: translateX(-8%); }
  100% { transform: translateX(8%); }
}
.theme-card__preview--kina-sultan {
  background: linear-gradient(145deg, #2a0812 0%, #4a0e1a 45%, #0f5c48 100%);
  color: #f5ebe0;
}
.theme-card__preview--kina-sultan::before {
  background: radial-gradient(circle at 30% 40%, rgba(201, 162, 39, 0.45), transparent 55%);
  animation: kinaPreviewDrift 9s ease-in-out infinite;
}
.theme-card__preview--kina-sultan::after {
  background: repeating-linear-gradient(45deg, rgba(201,162,39,0.08) 0 2px, transparent 2px 14px);
  animation: kinaPreviewSlide 14s linear infinite alternate;
}
.theme-card__preview--kina-dark {
  background: linear-gradient(160deg, #090909, #1a0a2e 50%, #090909);
  color: #fff;
}
.theme-card__preview--kina-dark::before {
  background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.35), transparent);
  animation: kinaPreviewSlide 5s ease-in-out infinite alternate;
}
.theme-card__preview--kina-dark::after {
  background: radial-gradient(circle at 70% 30%, rgba(227, 255, 4, 0.2), transparent 50%);
  animation: kinaPreviewPulse 6s ease-in-out infinite;
}
.theme-card__preview--kina-anadolu {
  background: linear-gradient(135deg, #8b4513 0%, #e8a317 40%, #2a9d8f 100%);
  color: #fff;
}
.theme-card__preview--kina-anadolu::before {
  background: repeating-linear-gradient(-12deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 18px);
  animation: kinaPreviewSlide 12s linear infinite alternate;
}
.theme-card__preview--kina-anadolu::after {
  background: radial-gradient(circle, rgba(232, 163, 23, 0.35), transparent 60%);
  animation: kinaPreviewDrift 10s ease-in-out infinite;
}
.theme-card__preview--kina-ay {
  background: linear-gradient(180deg, #0d1b3e 0%, #3d2a5c 55%, #0d1b3e 100%);
  color: #e8d4f0;
}
.theme-card__preview--kina-ay::before {
  background: radial-gradient(circle at 50% 25%, rgba(192, 200, 216, 0.5), transparent 45%);
  animation: kinaPreviewPulse 8s ease-in-out infinite;
}
.theme-card__preview--kina-ay::after {
  background: radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,0.6), transparent);
  animation: kinaPreviewDrift 11s ease-in-out infinite;
}
.theme-card__preview--kina-gul {
  background: linear-gradient(145deg, #6b1a2a, #9e2a3a 50%, #f5e6d3 100%);
  color: #fff;
}
.theme-card__preview--kina-gul::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(244, 196, 196, 0.45), transparent 55%);
  animation: kinaPreviewDrift 7s ease-in-out infinite;
}
.theme-card__preview--kina-gul::after {
  background: radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.25), transparent 40%);
  animation: kinaPreviewPulse 9s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .theme-card__preview--live::before,
  .theme-card__preview--live::after { animation: none !important; opacity: 0.4; }
}

/* Klasik düğün kart ön izlemeleri */
.theme-card__preview-inner--classic {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(164, 123, 61, 0.35);
  color: #241d16;
}
.theme-card__preview-inner--classic strong {
  color: #241d16;
}
.theme-card__preview--dugun-saray {
  background: linear-gradient(160deg, #fffdf8 0%, #f7f0e4 50%, #e8dcc8 100%);
  color: #241d16;
}
.theme-card__preview--dugun-saray::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(215, 187, 131, 0.35), transparent 55%);
  animation: kinaPreviewDrift 12s ease-in-out infinite;
}
.theme-card__preview--dugun-saray::after {
  border: 1px solid rgba(164, 123, 61, 0.25);
  border-radius: 80px 80px 0 0;
  inset: 15% 20% auto;
  height: 45%;
  animation: kinaPreviewPulse 10s ease-in-out infinite;
}
.theme-card__preview--dugun-mono {
  background: #ffffff;
  color: #241d16;
}
.theme-card__preview--dugun-mono::before {
  inset: 12%;
  border: 1px double rgba(164, 123, 61, 0.45);
  animation: kinaPreviewPulse 8s ease-in-out infinite;
}
.theme-card__preview--dugun-mono::after {
  content: "SE";
  inset: auto;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -80%);
  border-radius: 50%;
  border: 1px solid rgba(164, 123, 61, 0.4);
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  color: #a47b3d;
  background: rgba(255, 253, 248, 0.85);
  animation: none;
}
.theme-card__preview--dugun-bahce {
  background: linear-gradient(145deg, #fffdf8, #e8efe4 55%, #f7f0e4);
  color: #241d16;
}
.theme-card__preview--dugun-bahce::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cpath d='M10 70 Q60 10 110 70' fill='none' stroke='%23a47b3d' stroke-width='0.8' opacity='0.35'/%3E%3C/svg%3E") center/80% no-repeat;
  animation: kinaPreviewDrift 11s ease-in-out infinite;
}
.theme-card__preview--dugun-balo {
  background: linear-gradient(180deg, #14100e 0%, #241d16 100%);
  color: #f7f0e4;
}
.theme-card__preview--dugun-balo .theme-card__preview-inner--classic {
  background: #f7f0e4;
  max-width: 55%;
  margin-inline: auto;
}
.theme-card__preview--dugun-balo::before {
  background: radial-gradient(circle at 50% 15%, rgba(215, 187, 131, 0.45), transparent 45%);
  animation: kinaPreviewPulse 7s ease-in-out infinite;
}
.theme-card__preview--dugun-inci {
  background: linear-gradient(145deg, #fffdf8, #f4e8e4 45%, #f7f0e4);
  color: #241d16;
}
.theme-card__preview--dugun-inci::before {
  background: linear-gradient(105deg, transparent 40%, rgba(215, 187, 131, 0.2) 50%, transparent 60%);
  animation: kinaPreviewSlide 9s linear infinite alternate;
}
.theme-card__preview--dugun-inci::after {
  background: radial-gradient(circle at 30% 70%, rgba(215, 187, 131, 0.3), transparent 40%);
  animation: kinaPreviewDrift 10s ease-in-out infinite;
}

/* Yeni Klasik Koleksiyon — düğün D6–D10 */
.theme-card__preview--dugun-versailles {
  background: linear-gradient(180deg, #fbf8f1 0%, #f7f0e4 100%);
  color: #292219;
}
.theme-card__preview--dugun-versailles::before {
  border: 1px solid rgba(169, 128, 66, 0.3);
  border-radius: 100px 100px 0 0;
  inset: 12% 18% auto;
  height: 50%;
  animation: kinaPreviewPulse 11s ease-in-out infinite;
}
.theme-card__preview--dugun-versailles::after {
  background: radial-gradient(circle at 50% 10%, rgba(217, 189, 134, 0.35), transparent 50%);
  animation: kinaPreviewDrift 13s ease-in-out infinite;
}
.theme-card__preview--dugun-osmanli {
  background: linear-gradient(160deg, #fffaf0, #f3e8d5);
  color: #211b14;
}
.theme-card__preview--dugun-osmanli::before {
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%2387632f' stroke-width='0.6' opacity='0.4'/%3E%3C/svg%3E") repeat;
  opacity: 0.5;
  animation: kinaPreviewDrift 20s linear infinite;
}
.theme-card__preview--dugun-osmanli::after {
  inset: auto;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 44px;
  transform: translate(-50%, -70%);
  border: 1px solid rgba(179, 138, 76, 0.5);
  border-radius: 50% 50% 4px 4px;
  background: rgba(23, 63, 53, 0.15);
  animation: kinaPreviewPulse 9s ease-in-out infinite;
}
.theme-card__preview--dugun-floransa {
  background: linear-gradient(125deg, #f5f0e7, #ddd0bd 50%, #fffdf8);
  color: #282017;
}
.theme-card__preview--dugun-floransa::before {
  inset: 8% 22%;
  border-left: 3px solid rgba(221, 208, 189, 0.9);
  border-right: 3px solid rgba(221, 208, 189, 0.9);
  animation: kinaPreviewPulse 10s ease-in-out infinite;
}
.theme-card__preview--dugun-floransa::after {
  inset: auto;
  top: 18%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid #b88a45;
  background: rgba(255, 253, 248, 0.85);
  animation: none;
}
.theme-card__preview--dugun-regency {
  background: #fffdf7;
  color: #2e2921;
}
.theme-card__preview--dugun-regency::before {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100'%3E%3Cpath d='M40 5 Q65 50 40 95 Q15 50 40 5' fill='none' stroke='%234e5649' stroke-width='0.8' opacity='0.25'/%3E%3C/svg%3E") 10% center/30% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 100'%3E%3Cpath d='M40 5 Q65 50 40 95 Q15 50 40 5' fill='none' stroke='%234e5649' stroke-width='0.8' opacity='0.25'/%3E%3C/svg%3E") 90% center/30% no-repeat;
  animation: kinaPreviewDrift 12s ease-in-out infinite;
}
.theme-card__preview--dugun-regency .theme-card__preview-inner--classic {
  border-style: double;
  border-width: 3px;
}
.theme-card__preview--dugun-mektup {
  background: linear-gradient(180deg, #eee2cf 0%, #f7efe2 100%);
  color: #30271f;
}
.theme-card__preview--dugun-mektup::before {
  inset: 20% 15%;
  background: #eee2cf;
  border: 1px solid rgba(184, 146, 80, 0.4);
  clip-path: polygon(0 0, 50% 35%, 100% 0, 100% 100%, 0 100%);
  animation: kinaPreviewPulse 8s ease-in-out infinite;
}
.theme-card__preview--dugun-mektup::after {
  inset: auto;
  top: 42%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #8d2632;
  animation: kinaPreviewPulse 6s ease-in-out infinite;
}
