html {
  font-size: 14px;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1f4273 0, #050816 45%, #050816 100%);
  color: #f8fafc;
}

/* Koyu zemin üzerinde varsayılan koyu yazıları düzelt */
.card,
.card-body,
.card-title,
.card-text,
.table,
.table th,
.table td,
label,
.form-label,
.form-check-label,
.breadcrumb,
.page-link {
  color: #f9fafb !important;
}

.page-link {
  background-color: transparent;
  border-color: rgba(148, 163, 184, 0.4);
}

/* Koyu temada text-muted rengini aç */
.text-muted {
  color: #cbd5f5 !important; /* açık mavi-gri, koyu zeminde rahat okunur */
}

.ktfk-navbar {
  background: linear-gradient(90deg, #0b1120, #1d3557);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.2s ease-out;
}

.ktfk-navbar:not(.navbar-hidden) {
  transition: transform 0.2s ease-in;
}

.ktfk-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 61px;
  height: 61px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.ktfk-logo img {
  max-height: 64px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #e5e7eb !important;
  position: relative;
  padding-inline: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.ktfk-admin-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border: none;
  color: #0f172a;
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.1rem;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ktfk-admin-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(34, 197, 94, 0.45);
  color: #020617;
}

.ktfk-hero {
  padding: 6rem 1rem 5rem;
}

@media (min-width: 992px) {
  .ktfk-hero {
    padding: 7rem 0 6rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(2.3rem, 2.6vw + 1.5rem, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
}

.hero-title span {
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 36rem;
  color: #cbd5f5;
}

.ktfk-primary-btn {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-radius: 999px;
  border: none;
  color: #0b1120;
  font-weight: 600;
  padding-inline: 1.5rem;
  box-shadow: 0 16px 45px rgba(56, 189, 248, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.ktfk-primary-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 20px 65px rgba(56, 189, 248, 0.5);
}

.ktfk-outline-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #e5e7eb;
  font-weight: 500;
  padding-inline: 1.4rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ktfk-outline-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.hero-highlight-card {
  border-radius: 1.5rem;
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(148, 163, 184, 0.3);
}

.hero-highlight-card h2 {
  font-weight: 700;
}

.hero-highlight-card p {
  font-size: 0.95rem;
  color: #cbd5f5;
}

.hero-links li + li {
  margin-top: 0.35rem;
}

.hero-links a {
  font-size: 0.9rem;
  color: #e5e7eb;
  text-decoration: none;
}

.hero-links a::before {
  content: "•";
  margin-right: 0.4rem;
  color: #38bdf8;
}

.hero-links a:hover {
  color: #38bdf8;
}

.ktfk-section {
  padding: 0 1rem 5rem;
}

@media (min-width: 992px) {
  .ktfk-section {
    padding: 0 0 6rem;
  }
}

.info-card {
  border-radius: 1.3rem;
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.info-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.info-link::after {
  content: "→";
  margin-left: 0.4rem;
  font-size: 0.9rem;
  transition: transform 0.15s ease;
}

.info-link:hover::after {
  transform: translateX(3px);
}

.ktfk-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.8rem 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  color: #9ca3af;
}

.footer-link {
  color: #e5e7eb;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-link:hover {
  color: #38bdf8;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate="fade-up"].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* İç sayfa düzenleri */
.ktfk-page-header {
  padding: 5rem 1rem 2rem;
}

@media (min-width: 992px) {
  .ktfk-page-header {
    padding: 6rem 0 2.5rem;
  }
}

.ktfk-page-header h1 {
  font-size: clamp(2rem, 2.2vw + 1.3rem, 2.6rem);
  font-weight: 800;
}

.ktfk-page-header p {
  margin-top: 0.5rem;
  color: #cbd5f5;
}

.ktfk-page-body {
  padding: 0 1rem 5rem;
}

@media (min-width: 992px) {
  .ktfk-page-body {
    padding: 0 0 6rem;
  }
}

.ktfk-side-card {
  border-radius: 1.3rem;
  padding: 1.7rem 1.6rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 55%),
    rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.ktfk-side-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.ktfk-side-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #cbd5f5;
}

.ktfk-side-card dl {
  margin-bottom: 0.75rem;
}

.ktfk-side-card dt {
  font-weight: 600;
}

.ktfk-side-card dd {
  margin-left: 0;
  margin-bottom: 0.4rem;
  color: #e5e7eb;
}

.management-card {
  border-radius: 1.2rem;
  padding: 1.4rem 1.3rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.management-photo {
  width: 104px;
  height: 104px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.management-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.management-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  color: #e5e7eb;
}

.management-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.management-card .name {
  margin-bottom: 0.2rem;
  color: #e5e7eb;
}

.management-card .detail {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.ktfk-tournament-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ktfk-tournament-list li {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.ktfk-tournament-list .title {
  display: block;
  font-weight: 600;
}

.ktfk-tournament-list .meta {
  font-size: 0.85rem;
  color: #9ca3af;
}

.ktfk-contact-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ktfk-contact-list .label {
  font-weight: 600;
  margin-right: 0.4rem;
}

.ktfk-contact-list .value {
  color: #e5e7eb;
}

.ktfk-table-wrapper {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(15, 23, 42, 0.98);
}

.ktfk-table thead {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.9));
}

.ktfk-table tbody tr:nth-child(1) {
  background: linear-gradient(90deg, rgba(22, 163, 74, 0.2), rgba(22, 163, 74, 0.05));
}

.ktfk-fixtures-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fixture-card {
  border-radius: 1.1rem;
  padding: 0.95rem 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.36);
}

.fixture-card .teams {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.fixture-card .vs {
  margin-inline: 0.4rem;
  color: #9ca3af;
}

.fixture-card .meta {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.ktfk-topscorer-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ktfk-topscorer-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.32);
}

.ktfk-topscorer-list .name {
  font-weight: 500;
}

.ktfk-topscorer-list .goals {
  font-weight: 600;
  color: #38bdf8;
}

.ktfk-topscorer-list-large li {
  border-radius: 1rem;
  padding-block: 0.65rem;
}

.ktfk-topscorer-list-large .rank {
  width: 2rem;
  font-weight: 700;
  color: #9ca3af;
}

.ktfk-week-block {
  margin-bottom: 2rem;
}

.admin-card {
  display: block;
  padding: 1.2rem 1rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}
.admin-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  color: inherit;
}
.admin-card .icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
.admin-card .title { font-weight: 600; display: block; }
.admin-card .desc { font-size: 0.85rem; color: #9ca3af; display: block; margin-top: 0.2rem; }

.admin-form .form-label { color: #e5e7eb; }
.admin-form .form-control, .admin-form .form-select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #f8fafc;
}
.admin-form .form-control:focus, .admin-form .form-select:focus {
  background: rgba(15, 23, 42, 0.95);
  border-color: #38bdf8;
  color: #f8fafc;
}
.admin-table { background: rgba(15, 23, 42, 0.96); border-radius: 1rem; overflow: hidden; }
.admin-table .btn-sm { padding: 0.25rem 0.5rem; }

.ktfk-gallery .gallery-item .placeholder {
  border-radius: 1rem;
  height: 140px;
  background: radial-gradient(circle at 30% 0, rgba(56, 189, 248, 0.35), rgba(15, 23, 42, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #e5e7eb;
  border: 1px dashed rgba(148, 163, 184, 0.6);
}