﻿.spor-akis {
  max-width: 1320px;
  margin: 24px auto 34px;
  display: grid;
  gap: 14px;
  position: relative;
}

.spor-akis::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(2, 48, 25, 0.68), rgba(17, 93, 49, 0.44), rgba(4, 40, 22, 0.72)),
    url("../../imagespagegame/photography7.webp");
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.spor-hero {
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(220, 255, 152, 0.25), transparent 30%),
    linear-gradient(120deg, #043f23, #0f8b47 55%, #0b512c);
  color: #f3fff7;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: 0 24px 44px rgba(7, 79, 40, 0.4);
  border: 1px solid rgba(186, 240, 147, 0.28);
}

.spor-hero-yazi { padding: 24px; }
.spor-hero-yazi .etiket { margin: 0 0 10px; color: #d6ff98; font-weight: 800; }
.spor-hero-yazi h1 { margin: 0 0 10px; font-size: 34px; line-height: 1.1; }
.spor-hero-yazi p { margin: 0; line-height: 1.5; }

.spor-hero-gorsel {
  min-height: 240px;
  background:
    linear-gradient(140deg, rgba(32, 126, 70, 0.36), rgba(14, 72, 39, 0.52)),
    url("../../imagespagegame/galleryimg15.webp") center/cover no-repeat;
  position: relative;
}

.spor-hero-gorsel::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.08);
}

.spor-kart {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9e4dc;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 26px rgba(7, 46, 26, 0.18);
  backdrop-filter: blur(2px);
}

.spor-sim {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 12px;
}

.spor-sol-panel input {
  width: 100%;
  border: 1px solid #c9dbce;
  border-radius: 10px;
  min-height: 40px;
  padding: 0 10px;
  margin: 10px 0;
}

.spor-sekme { display: flex; gap: 8px; flex-wrap: wrap; }
.spor-sekme button {
  border: 1px solid #c9dbce;
  background: #f8faf8;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.spor-sekme button.aktif { background: #0e8a3d; color: #fff; border-color: #0e8a3d; }

.spor-listesi { margin: 12px 0 0; padding-left: 18px; color: #4a5f55; display: grid; gap: 7px; }

.spor-baslik { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.spor-baslik h2 { margin: 0; }
.spor-baslik p { margin: 0; color: #587366; font-weight: 700; }
.puan-kutusu { margin: 10px 0; background: #ecf8ef; border: 1px solid #cde8d4; border-radius: 10px; padding: 10px; font-weight: 700; }
.puan-kutusu strong { color: #0f8b3f; }

.match-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
}

.match-card {
  border: 1px solid #d8e3dc;
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f4faf6);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(7, 74, 36, 0.14);
}

.match-card h4 { margin: 0 0 6px; }
.match-meta { color: #60756b; font-size: 13px; margin-bottom: 8px; }
.match-teams { font-weight: 800; margin-bottom: 10px; }

.pred-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pred-buttons button {
  border: 1px solid #cfe0d4;
  border-radius: 9px;
  background: #fff;
  padding: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pred-buttons button.secili {
  background: #0e8a3d;
  color: #fff;
  border-color: #0e8a3d;
  box-shadow: 0 8px 14px rgba(10, 115, 51, 0.3);
}
.pred-buttons button:hover { border-color: #7bc75c; }

.spor-sag-panel h3 { margin-top: 0; }
#stake-input {
  width: 100%;
  border: 1px solid #c9dbce;
  border-radius: 10px;
  min-height: 38px;
  padding: 0 10px;
}
#simulate-bet, #clear-predictions {
  width: 100%;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  background: #0f8a3d;
  color: #fff;
  font-weight: 800;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
#clear-predictions { background: #7a879f; }
#simulate-bet:hover, #clear-predictions:hover { transform: translateY(-1px); filter: brightness(1.04); }

.gorev-lider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gorev-lider h3 { margin: 0 0 10px; }
.gorev-lider ul, .gorev-lider ol { margin: 0; padding-left: 18px; }
.gorev-lider li { margin-bottom: 8px; }
.gorev-lider strong { color: #0f8b3f; }

.history-box {
  min-height: 72px;
  border-radius: 12px;
  border: 1px dashed #cddace;
  background: #f8faf8;
  padding: 10px;
  color: #4a5e55;
  margin-top: 8px;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .spor-sim { grid-template-columns: 1fr; }
  .match-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .spor-hero { grid-template-columns: 1fr; }
  .gorev-lider { grid-template-columns: 1fr; }
}
