
/* TRIBUNPLUS - YENI ANA SITE VE KULLANICI PANELI */

:root {
  --tp-deep: #244b32;
  --tp-soft: #e7efe1;
  --tp-shadow: 0 12px 35px #1e3d2810;
}

body.dark {
  --tp-deep: #a5c9a5;
  --tp-soft: #314c38;
  --tp-shadow: 0 12px 35px #0002;
}

#main {
  min-width: 0;
}

.shell {
  gap: 24px;
  margin-top: 24px;
}

.filters {
  top: 100px;
}

.header .brand {
  line-height: 1.1;
}

.header nav button.active {
  background: var(--sage);
  font-weight: 700;
}

/* HERO */

.tp-hero {
  background: linear-gradient(
    115deg,
    #173f2d,
    #305c3b 65%,
    #416f47
  );
  border-radius: 25px;
  min-height: 290px;
  padding: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.tp-hero::after {
  content: "⚽";
  position: absolute;
  font-size: 260px;
  right: 110px;
  bottom: -155px;
  opacity: .055;
  pointer-events: none;
}

.tp-hero h1 {
  font-size: clamp(30px, 3.4vw, 47px);
  margin: 13px 0;
}

.tp-hero p {
  max-width: 410px;
  line-height: 1.8;
  color: #e3ede2;
}

.tp-eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--accent);
}

.tp-hero .tp-eyebrow {
  color: #bcd9ba;
}

.tp-hero-art {
  position: relative;
  z-index: 1;
  background: #ffffff14;
  border: 1px solid #ffffff35;
  border-radius: 20px;
  padding: 18px 22px;
  min-width: 205px;
  backdrop-filter: blur(8px);
}

.tp-hero-art div {
  padding: 11px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}

.tp-hero-art strong {
  font-size: 12px;
  font-weight: 500;
}

.tp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

/* BUTTONS */

.tp-button {
  background: #315f3d;
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  white-space: nowrap;
}

.tp-button:hover {
  background: #477c50;
  color: #fff;
}

.tp-hero .tp-button {
  background: #f1f7ec;
  color: #214a2e;
}

.tp-outline {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 18px;
}

.tp-hero .tp-outline {
  border-color: #ffffff88;
  color: #fff;
}

/* SECTIONS */

.tp-section {
  margin: 32px 0 40px;
}

.tp-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}

.tp-section-title h2 {
  margin: 7px 0 0;
  font-size: 27px;
}

.tp-subtle {
  color: var(--muted);
  font-size: 12px;
}

.tp-disclaimer {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
  margin: 9px 0 16px;
}

/* MATCH CARDS */

.tp-match-list {
  display: grid;
  gap: 13px;
}

.tp-match {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 23px;
  box-shadow: var(--tp-shadow);
}

.tp-match-featured {
  border-color: var(--accent);
}

.tp-match-head,
.tp-match-bottom,
.tp-venue-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tp-match-head {
  color: var(--muted);
  font-size: 12px;
}

.tp-chip,
.tp-live-label,
.tp-demo {
  border-radius: 30px;
  padding: 7px 12px;
  background: var(--tp-soft);
  color: var(--tp-deep);
  font-size: 11px;
  font-weight: 700;
}

.tp-demo {
  background: var(--bg);
  color: var(--muted);
  border: 1px solid var(--border);
}

.tp-teams {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  text-align: center;
  padding: 23px 0 10px;
  font-size: clamp(16px, 2vw, 23px);
}

.tp-teams strong {
  flex: 1;
}

.tp-teams span {
  color: var(--muted);
  font-weight: 400;
}

.tp-match-date {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 20px;
}

.tp-match-bottom {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.tp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tp-tags span {
  font-size: 11px;
  background: var(--tp-soft);
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 11px;
}

.tp-venue-reference {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.tp-text-button {
  border: 0;
  padding: 5px 0;
  color: var(--accent);
  font-weight: 700;
}

/* VENUE CARDS */

.tp-venue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tp-venue {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.tp-venue-visual {
  height: 150px;
  background: linear-gradient(
    125deg,
    #d7e5d0,
    #78967a
  );
  display: grid;
  place-items: center;
  font-size: 48px;
}

.tp-venue-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-venue-info {
  padding: 18px;
}

.tp-venue-info h3 {
  margin: 7px 0;
  font-size: 16px;
}

.tp-venue-info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 34px;
}

.tp-mini {
  color: var(--muted);
  font-size: 11px;
}

.tp-icon-button {
  font-size: 23px;
  border: 0;
  padding: 5px 10px;
  color: var(--accent);
}

.tp-venue-info .tp-button {
  margin-top: 14px;
  width: 100%;
}

/* USER PROFILE */

#modal.tp-profile-modal {
  width: min(950px, 95vw);
  max-width: 95vw;
}

#modal.tp-profile-modal .modal-card {
  width: 100%;
  max-width: none;
  padding: 0;
}

.tp-user-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 500px;
}

.tp-user-sidebar {
  background: var(--bg);
  padding: 27px 18px;
  border-right: 1px solid var(--border);
}

.tp-user-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin: 20px 0 25px;
}

.tp-user-identity small {
  font-size: 11px;
  color: var(--muted);
}

.tp-avatar {
  width: 60px;
  height: 60px;
  background: var(--sage);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 30px;
}

.tp-user-nav {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 12px;
  text-align: left;
  margin-bottom: 5px;
}

.tp-user-nav.active {
  background: var(--sage);
  font-weight: 700;
}

.tp-user-content {
  padding: 34px;
}

.tp-user-content h2 {
  margin: 12px 0 24px;
}

.tp-user-card {
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 22px;
}

.tp-user-card h3 {
  margin: 0 0 19px;
}

.tp-user-card p {
  color: var(--muted);
  line-height: 1.8;
}

.tp-user-card label {
  letter-spacing: 0;
  font-size: 12px;
}

.tp-line,
.tp-res-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.tp-res-row {
  flex-direction: column;
}

.tp-res-row span {
  color: var(--muted);
  font-size: 12px;
}

/* BOOKING */

.tp-booking-match {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 15px;
  padding: 18px;
  text-align: center;
}

.tp-booking-match > span {
  font-size: 11px;
  color: var(--muted);
}

.tp-booking-match h3 {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  font-size: 18px;
}

.tp-booking-match h3 span {
  color: var(--muted);
}

.tp-booking-match p {
  font-size: 12px;
  color: var(--muted);
}

.tp-booking-venue {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 0;
  align-items: center;
}

.tp-booking-venue span {
  color: var(--muted);
  font-size: 11px;
}

.tp-booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tp-booking-grid label {
  font-size: 11px;
  letter-spacing: 0;
}

.tp-booking-summary {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 17px;
  margin: 10px 0;
}

.tp-booking-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 12px;
}

.tp-booking-summary > div span {
  color: var(--muted);
}

.tp-booking-summary .tp-total {
  border-top: 1px solid var(--border);
  font-size: 16px;
}

.tp-booking-summary .tp-total strong {
  color: var(--accent);
}

.tp-full {
  width: 100%;
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .tp-hero {
    padding: 25px;
  }

  .tp-hero-art {
    display: none;
  }

  .tp-venue-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tp-hero {
    min-height: 240px;
  }

  .tp-match {
    padding: 16px;
  }

  .tp-match-bottom {
    align-items: stretch;
  }

  .tp-match-bottom .tp-button {
    width: 100%;
  }

  .tp-teams {
    gap: 10px;
  }

  .tp-user-layout {
    grid-template-columns: 1fr;
  }

  .tp-user-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 14px;
  }

  .tp-user-identity {
    margin: 8px 0;
  }

  .tp-user-nav {
    display: inline-block;
    width: auto;
    margin: 3px;
    padding: 9px;
  }

  .tp-user-content {
    padding: 20px;
  }

  .tp-booking-grid {
    grid-template-columns: 1fr;
  }

  .tp-section-title h2 {
    font-size: 22px;
  }
}

/* TRIBUNPLUS - MAC KARTI V2 */
.tp-match-stage { position:relative; isolation:isolate; overflow:hidden; border-radius:16px; margin:14px 0; padding:12px 8px; background:linear-gradient(115deg,var(--tp-home,#31594a),#244737 53%,var(--tp-away,#405c7d)); color:#fff; }
.tp-stadium-wash { position:absolute; z-index:-1; inset:0; background-image:linear-gradient(90deg,rgba(0,0,0,.52),rgba(0,0,0,.35)),var(--tp-stadium,none); background-position:center; background-size:cover; opacity:.55; }
.tp-teams-updated {padding:12px 0 4px; gap:12px;}
.tp-team { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:7px; }
.tp-team strong {color:#fff; font-size:clamp(14px,2vw,21px); overflow-wrap:anywhere;}
.tp-team small {color:#e7eee9; font-size:10px; letter-spacing:.09em;}
.tp-crest {width:60px; height:60px; border-radius:50%; border:3px solid var(--crest-alt); background:var(--crest-main); color:var(--crest-alt); display:grid; place-items:center; font-size:17px; font-weight:900; box-shadow:0 5px 18px #0005;}
.tp-versus {color:#fff !important; font-weight:800 !important; font-size:17px;}
.tp-match-stage .tp-match-date {color:#fff; margin:8px 0;}
.tp-capacity-track {height:7px; margin-top:12px; border-radius:20px; background:var(--border); overflow:hidden;}
.tp-capacity-track span {display:block; height:100%; border-radius:20px; background:var(--accent); transition:width .25s;}
.tp-demo-note {font-size:11px; color:var(--muted); margin:9px 0 0;}
.tp-match .tp-button:disabled {opacity:.55; cursor:not-allowed;}
@media(max-width:600px){.tp-crest{width:46px;height:46px;font-size:13px}.tp-team small{font-size:9px}}

/* Aşama 2: mekan rezervasyonu ve detay galerisi */
.tp-venue-actions { display:flex; flex-wrap:wrap; gap:8px; }
.tp-venue-actions .tp-button { flex:1 1 145px; }
.tp-gallery { margin:20px 0; display:grid; gap:12px; }
.tp-gallery section { display:flex; flex-wrap:wrap; gap:10px; }
.tp-gallery section h3 { width:100%; margin:4px 0; }
.tp-gallery img { width:min(100%,220px); height:155px; object-fit:cover; border-radius:12px; }
.tp-match-option { margin:8px 0; text-align:left; }
