/* Turnuva merkezi */

.turnuva-top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0 14px;
}
.turnuva-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(8, 60, 116, 0.12);
}
.turnuva-top-btn.kayit {
  background: linear-gradient(135deg, #0d6efd, #1688ff);
  color: #fff;
}
.turnuva-top-btn.kurum {
  background: #fff;
  color: #0b4e9a;
  border-color: #cfe2ff;
}
.turnuva-top-btn:active {
  transform: scale(0.98);
}

.tournament-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(circle at 85% 20%, rgba(22, 136, 255, 0.38), transparent 34%),
    linear-gradient(135deg, #05264c, #074b87 68%, #0d6efd);
  color: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-top: 20px;
  margin-bottom: 14px;
}
.tournament-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dbeafe;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 11px;
}
.tournament-hero h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.14;
  letter-spacing: -0.55px;
}
.tournament-hero p {
  margin: 10px 0 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.stat {
  min-height: 66px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat strong {
  display: block;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.stat span {
  font-size: 10px;
  color: #dbeafe;
  font-weight: 800;
}

.active-tournament {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(8, 60, 116, 0.08);
  padding: 13px;
  margin: 14px 0 18px;
}
.active-tournament small {
  display: block;
  color: #0d6efd;
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 4px;
}
.active-tournament b {
  font-size: 13px;
  line-height: 1.35;
  color: #10243d;
}
.active-tournament-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.turnuva-basvur-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff !important;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22);
  white-space: nowrap;
  border: 0;
}
.turnuva-basvur-btn:active {
  opacity: 0.92;
}
.active-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e9f9f1;
  color: #0b9f51;
  font-size: 10px;
  font-weight: 900;
}
.active-status.done {
  background: #fff4e6;
  color: #b45309;
}
.active-status.wait {
  background: #eef6ff;
  color: #275072;
}

.turnuva-page .section-head h3 {
  font-size: 20px;
  letter-spacing: -0.25px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}
.menu-card {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(8, 60, 116, 0.09);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s ease;
}
.menu-card:after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 136, 255, 0.13), rgba(13, 110, 253, 0.03));
}
.menu-card:active {
  transform: scale(0.98);
}
.menu-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf5ff, #f7fbff);
  color: #0d6efd;
  border: 1px solid #d7eafb;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(13, 110, 253, 0.08);
  position: relative;
  z-index: 2;
}
.menu-card b {
  display: block;
  margin-top: 11px;
  color: #10243d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}
.menu-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7f99;
  font-size: 10px;
  font-weight: 800;
  margin-top: 8px;
  position: relative;
  z-index: 2;
}
.menu-card span i {
  font-style: normal;
  color: #0d6efd;
  font-size: 15px;
}
.menu-card.primary {
  background: linear-gradient(135deg, #062b55, #0d6efd);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.menu-card.primary .menu-icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.menu-card.primary b {
  color: #fff;
}
.menu-card.primary span {
  color: #dbeafe;
}
.menu-card.primary span i {
  color: #fff;
}

.info-card {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 15px;
}
.info-card h4 {
  margin: 0 0 10px;
  color: #07376a;
  font-size: 16px;
  font-weight: 900;
}
.info-card p {
  margin: 0;
  color: #5f748f;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}

.mobile-footer {
  margin: 22px 0 6px;
  background: linear-gradient(135deg, #05264c, #074b87);
  color: #dbeafe;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-brand .logo {
  width: 46px;
  height: 46px;
}
.footer-brand b {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
}
.footer-brand span {
  display: block;
  color: #a9d7ff;
  font-size: 11px;
  font-weight: 800;
  margin-top: 3px;
}
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 14px;
  margin: 14px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-links a {
  font-size: 12px;
  font-weight: 800;
  color: #dbeafe;
}
.footer-contact {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
  color: #dbeafe;
}
