/* ============================================================
   Karşılama Portalı — "Twin Gates"
   İki etkinliğe açılan modern giriş sayfası
   ============================================================ */
body.theme-portal {
  background: linear-gradient(170deg, #16101c 0%, #0d0a12 55%, #140d18 100%);
  background-attachment: fixed;
  color: #f6f1f5;
  justify-content: center;
  padding: 34px 18px 44px;
}

.theme-portal .aurora span { opacity: 0.5; }
.theme-portal .aurora span:nth-child(1) { background: radial-gradient(circle, rgba(224, 51, 94, 0.5), transparent 66%); }
.theme-portal .aurora span:nth-child(2) { background: radial-gradient(circle, rgba(240, 205, 126, 0.32), transparent 66%); }
.theme-portal .aurora span:nth-child(3) { background: radial-gradient(circle, rgba(79, 138, 107, 0.45), transparent 66%); }

.theme-portal .grid-veil {
  background-image:
    linear-gradient(rgba(255, 235, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 235, 245, 0.05) 1px, transparent 1px);
  background-size: 66px 66px;
}

.portal-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ---------- Hero ---------- */
.portal-hero {
  text-align: center;
  position: relative;
}

.portal-hero .halo {
  position: absolute;
  top: -70%;
  left: 50%;
  width: 130%;
  height: 240%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 107, 138, 0.2) 0%, rgba(240, 205, 126, 0.1) 40%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.portal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 235, 245, 0.16);
  font-family: 'Space Grotesk', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #f0cd7e;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portal-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff6b8a;
  box-shadow: 0 0 10px #ff6b8a;
  animation: live-pulse 2.2s ease-in-out infinite;
}

.portal-names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.9rem, 9vw, 5.2rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -1px;
  background: linear-gradient(100deg, #ffffff 8%, #fff2d0 32%, #f0cd7e 50%, #ffc2d1 72%, #ffffff 94%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 40px rgba(255, 194, 209, 0.25));
  margin-bottom: 20px;
}

.portal-names .amp {
  display: inline-block;
  font-size: 0.42em;
  font-style: italic;
  color: #ff6b8a;
  -webkit-text-fill-color: #ff6b8a;
  padding: 0 0.18em;
  transform: translateY(-0.12em);
  letter-spacing: 0;
}

/* Dar ekranlarda isimler alt alta daha iyi duruyor */
@media (max-width: 420px) {
  .portal-names .amp {
    display: block;
    padding: 4px 0;
    transform: none;
  }
}

.portal-lede {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(246, 241, 245, 0.72);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Etkinlik kapıları ---------- */
.gates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 820px) {
  .gates { grid-template-columns: 1fr 1fr; gap: 22px; }
}

.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.gate::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

/* İmleç yönünde ısınan ışık */
.gate::after {
  content: '';
  position: absolute;
  inset: -40%;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.gate:hover { transform: translateY(-6px); }
.gate:hover::after { opacity: 1; }

.gate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.gate-icon {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.gate-date {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-full);
}

.gate-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 8px;
}

.gate-desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(246, 241, 245, 0.66);
  margin-bottom: 22px;
}

/* Geri sayım */
.gate-countdown {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.cd-cell {
  flex: 1;
  text-align: center;
  padding: 11px 6px;
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.cd-value {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-top: 5px;
}

.gate-live {
  padding: 11px 14px;
  border-radius: 13px;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.gate-live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.gate-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-full);
  font-size: 0.93rem;
  font-weight: 500;
  transition: gap 0.3s var(--ease-out);
}

.gate:hover .gate-cta { gap: 16px; }
.gate-cta svg { width: 17px; height: 17px; flex-shrink: 0; }

/* --- Kına kapısı --- */
.gate-kina {
  background: linear-gradient(158deg, rgba(122, 30, 70, 0.55), rgba(43, 10, 30, 0.7));
  box-shadow: 0 24px 60px -28px rgba(224, 51, 94, 0.7);
}
.gate-kina::before {
  background: linear-gradient(150deg, rgba(255, 242, 208, 0.7) 0%, rgba(255, 107, 138, 0.45) 40%, rgba(255, 255, 255, 0.1) 70%, rgba(240, 205, 126, 0.4) 100%);
}
.gate-kina::after { background: radial-gradient(circle at 50% 0%, rgba(255, 107, 138, 0.3), transparent 60%); }
.gate-kina:hover { box-shadow: 0 34px 70px -26px rgba(224, 51, 94, 0.9); }

.gate-kina .gate-icon {
  background: radial-gradient(circle at 35% 25%, rgba(255, 140, 165, 0.8), rgba(125, 22, 56, 0.9));
  border: 1px solid rgba(240, 205, 126, 0.4);
}
.gate-kina .gate-date { background: rgba(255, 194, 209, 0.14); border: 1px solid rgba(240, 205, 126, 0.4); color: #fff2d0; }
.gate-kina .gate-title { color: #fff2d0; }
.gate-kina .cd-value { color: #ffd9e2; }
.gate-kina .gate-cta { background: linear-gradient(135deg, #e0335e, #7d1638); color: #fff; box-shadow: 0 10px 26px -12px rgba(224, 51, 94, 0.9); }
.gate-kina .gate-live { background: rgba(255, 107, 138, 0.16); border: 1px solid rgba(255, 107, 138, 0.35); color: #ffc2d1; }
.gate-kina .gate-live .dot { background: #ff6b8a; box-shadow: 0 0 10px #ff6b8a; }

/* --- Düğün kapısı --- */
.gate-dugun {
  background: linear-gradient(158deg, rgba(79, 138, 107, 0.42), rgba(16, 40, 29, 0.72));
  box-shadow: 0 24px 60px -28px rgba(31, 93, 67, 0.75);
}
.gate-dugun::before {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.65) 0%, rgba(201, 162, 39, 0.45) 38%, rgba(143, 191, 164, 0.4) 70%, rgba(255, 255, 255, 0.3) 100%);
}
.gate-dugun::after { background: radial-gradient(circle at 50% 0%, rgba(143, 191, 164, 0.3), transparent 60%); }
.gate-dugun:hover { box-shadow: 0 34px 70px -26px rgba(79, 138, 107, 0.9); }

.gate-dugun .gate-icon {
  background: radial-gradient(circle at 35% 25%, rgba(190, 226, 205, 0.9), rgba(31, 93, 67, 0.9));
  border: 1px solid rgba(240, 221, 164, 0.4);
}
.gate-dugun .gate-date { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(143, 191, 164, 0.4); color: #e6f4ec; }
.gate-dugun .gate-title { color: #eaf7f0; }
.gate-dugun .cd-value { color: #c6e8d6; }
.gate-dugun .gate-cta { background: linear-gradient(135deg, #4f8a6b, #1f5d43); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 93, 67, 0.9); }
.gate-dugun .gate-live { background: rgba(143, 191, 164, 0.16); border: 1px solid rgba(143, 191, 164, 0.35); color: #d6efe1; }
.gate-dugun .gate-live .dot { background: #8fbfa4; box-shadow: 0 0 10px #8fbfa4; }

/* ---------- Alt şerit ---------- */
.portal-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.note-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 235, 245, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.note-card .ico {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  font-size: 0.95rem;
}

.note-card p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(246, 241, 245, 0.72);
}

.note-card strong { font-weight: 500; color: #f6f1f5; }

.portal-foot {
  text-align: center;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 241, 245, 0.32);
}

@media (max-width: 520px) {
  body.theme-portal { padding: 28px 14px 40px; }
  .portal-shell { gap: 24px; }
  .gate { padding: 24px 20px 22px; }
  .gate-title { font-size: 1.7rem; }
  .portal-eyebrow { margin-bottom: 20px; letter-spacing: 0.18em; }
}
