/* ==========================================================================
   KDZ. EREĞLİ 1980 SPOR KULÜBÜ - MİNİMALİST & SADE ONE PAGE
   Tema: Beyaz Üzerine Eflatun (Royal Lilac / Purple)
   ========================================================================== */

:root {
  --eflatun-dark: #3f1152;
  --eflatun-primary: #5c1d73;
  --eflatun-rich: #6e2389;
  --eflatun-accent: #8a2dae;
  --eflatun-tint: #f6edf9;
  --eflatun-tint-subtle: #fbf8fc;
  --eflatun-border: rgba(92, 29, 115, 0.14);

  --bg-page: #fcfbfe;
  --text-main: #1e1327;
  --text-secondary: #5a4d67;
  --text-muted: #857695;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100vh;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  padding: 32px 16px;
  -webkit-font-smoothing: antialiased;
}

/* Arka Plan Dekoratif Işıltıları (Minimal Ambient) */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.ambient-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.ambient-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(131, 39, 165, 0.18) 0%, rgba(246, 237, 249, 0) 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.ambient-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(92, 29, 115, 0.1) 0%, rgba(246, 237, 249, 0) 70%);
  bottom: -150px;
  right: -100px;
}

/* Ana Sayfa Kapsayıcısı */
.page-container {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 1;
  margin: auto;
}

/* Kart Kutusu */
.minimal-card {
  background: #ffffff;
  border: 1px solid var(--eflatun-border);
  border-radius: 28px;
  padding: 44px 34px 38px 34px;
  box-shadow: 0 20px 45px rgba(92, 29, 115, 0.08), 0 4px 12px rgba(92, 29, 115, 0.03);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.minimal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #5c1d73, #8a2dae, #e11d48);
}

/* Kulüp Logosu */
.logo-wrapper {
  margin: 0 auto 20px auto;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--eflatun-primary), var(--eflatun-accent));
  box-shadow: 0 10px 25px rgba(92, 29, 115, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo-wrapper:hover {
  transform: scale(1.04);
}

.club-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
}

/* Kulüp Başlığı & Alt Metin */
.club-meta {
  margin-bottom: 28px;
}

.club-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--eflatun-dark);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.club-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Honeypot Spam Tuzağı */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* Bekleme Listesi Formu */
.subscribe-box {
  margin-bottom: 28px;
}

.minimal-form {
  position: relative;
}

.input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--eflatun-border);
  border-radius: var(--radius-full);
  padding: 5px;
  box-shadow: 0 4px 16px rgba(92, 29, 115, 0.05);
  transition: all 0.25s ease;
}

.input-group:focus-within {
  border-color: var(--eflatun-primary);
  box-shadow: 0 0 0 4px rgba(92, 29, 115, 0.12);
}

.mail-icon {
  margin-left: 12px;
  color: var(--eflatun-accent);
  flex-shrink: 0;
}

.minimal-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
}

.minimal-input::placeholder {
  color: var(--text-muted);
}

.minimal-submit-btn {
  background: linear-gradient(135deg, var(--eflatun-primary), var(--eflatun-rich));
  color: #ffffff;
  border: none;
  outline: none;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(92, 29, 115, 0.25);
}

.minimal-submit-btn:hover {
  background: linear-gradient(135deg, var(--eflatun-rich), var(--eflatun-accent));
  box-shadow: 0 6px 18px rgba(92, 29, 115, 0.35);
  transform: translateY(-1px);
}

.minimal-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Bildirim Alert Kutusu */
.form-feedback-alert {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  display: none;
  text-align: left;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-feedback-alert.success {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback-alert.error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-feedback-alert.info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #faf5ff;
  color: var(--eflatun-primary);
  border: 1px solid #e9d5ff;
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   SADE VE KOMPAKT SIRADAKİ MAÇ KARTI
   ========================================================================== */
.compact-match-widget {
  background: var(--eflatun-tint-subtle);
  border: 1px solid var(--eflatun-border);
  border-radius: 20px;
  padding: 20px;
}

.match-widget-top {
  margin-bottom: 14px;
}

.match-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--eflatun-primary);
  background: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--eflatun-border);
  display: inline-block;
}

/* Takımlar Karşılaşması (Mini) */
.match-mini-clash {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.mini-team {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-team-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid var(--eflatun-border);
  padding: 2px;
  box-shadow: 0 2px 6px rgba(92, 29, 115, 0.08);
}

.mini-team-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--eflatun-dark);
}

.mini-team.home .mini-team-name {
  color: var(--eflatun-primary);
  font-weight: 800;
}

.mini-vs {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  background: #ffffff;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--eflatun-border);
}

/* Tarih & Stadyum */
.match-mini-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.meta-separator {
  color: #b0a3be;
}

/* Geri Sayım */
.mini-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--eflatun-border);
  border-radius: 12px;
  padding: 8px 16px;
  box-shadow: 0 2px 8px rgba(92, 29, 115, 0.04);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
}

.count-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--eflatun-primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.count-lbl {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.count-sep {
  font-size: 1rem;
  font-weight: 800;
  color: var(--eflatun-accent);
  margin-top: -6px;
}

/* ==========================================================================
   MOBİL UYUMLULUK
   ========================================================================= */
@media (max-width: 480px) {
  .minimal-card {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .logo-wrapper {
    width: 100px;
    height: 100px;
  }

  .club-title {
    font-size: 1.15rem;
  }

  .input-group {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 8px;
    gap: 8px;
  }

  .mail-icon {
    display: none;
  }

  .minimal-input {
    width: 100%;
    text-align: center;
    padding: 6px;
  }

  .minimal-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .match-mini-clash {
    flex-direction: column;
    gap: 8px;
  }

  .mini-team {
    justify-content: center;
  }

  .match-mini-meta {
    flex-direction: column;
    gap: 2px;
  }

  .meta-separator {
    display: none;
  }
}
