*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fa;
  color: #222;
  line-height: 1.6;
}

a {
  color: #ffb41f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kapsayici {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */

.ust-baslik {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ust-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.ust-marka {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.marka-logo {
  height: 40px;
  width: auto;
}

.ust-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ust-link {
  font-size: 14px;
  font-weight: 500;
  color: #ffb41f;
  position: relative;
}

.ust-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #f9a01d;
  transition: width 0.2s ease;
}

.ust-link:hover::after {
  width: 100%;
}

.ust-cta {
  display: flex;
  gap: 10px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  cursor: pointer;
  padding: 0 6px;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #1095b5;
  border-radius: 999px;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 15;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* BUTTONS */

.buton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.buton:active {
  transform: scale(0.97);
}

.buton-koyu {
  background-color: #07badb;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(7, 186, 219, 0.3);
}

.buton-koyu:hover {
  background-color: #0597b3;
  text-decoration: none;
}

.buton-turuncu {
  background-color: #ffb41f;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(255, 180, 31, 0.4);
}

.buton-turuncu:hover {
  background-color: #f29d17;
  text-decoration: none;
}

.buton-ikincil {
  background-color: transparent;
  color: #07badb;
  border: 1px solid rgba(7, 186, 219, 0.35);
  box-shadow: none;
}

.buton-ikincil:hover {
  background-color: rgba(7, 186, 219, 0.06);
  text-decoration: none;
}

.tam-genis {
  width: 100%;
}

.buyuk-cta {
  padding: 14px 32px;
  font-size: 15px;
}

/* MAIN LAYOUT */

.sayfa {
  padding: 28px 0 40px;
}

.icerik-kapsayici {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

section {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.035);
}

section h1,
section h2,
section h3 {
  margin-top: 0;
  color: #1095b5;
}

section h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

section h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

section p {
  margin: 0 0 8px;
}

section ul {
  padding-left: 18px;
  margin: 6px 0 0;
}

section ul li {
  margin-bottom: 4px;
}

/* HERO */

.hero-blok {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: stretch;
}

.hero-metin p:last-child {
  margin-bottom: 0;
}

.hero-cta-grup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-yan-kutu {
  background: linear-gradient(145deg, #07badb, #1095b5);
  color: #ffffff;
  border-radius: 14px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-yan-kutu h2 {
  color: #ffffff;
  margin-bottom: 4px;
}

.hero-yan-kutu ul {
  margin-top: 4px;
}

.hero-yan-kutu li {
  margin-bottom: 4px;
}

.cta-orta {
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.cta-orta .buton {
  white-space: normal;
}

/* OYUN KATEGORİLERİ */

.oyun-kategorileri-blok .oyun-kategorileri {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.oyun-kart {
  border-radius: 12px;
  padding: 14px 12px;
  background: linear-gradient(145deg, rgba(7, 186, 219, 0.05), rgba(16, 149, 181, 0.04));
  border: 1px solid rgba(16, 149, 181, 0.14);
}

.oyun-kart-ikon {
  font-size: 22px;
  display: inline-block;
  margin-bottom: 6px;
}

.oyun-kart h3 {
  margin-bottom: 4px;
}

/* TABLOLAR */

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14px;
}

thead {
  background-color: rgba(7, 186, 219, 0.06);
}

th,
td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  word-wrap: break-word;
}

th {
  font-weight: 600;
  color: #1095b5;
}

tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.01);
}

/* FOOTER */

.site-altbilgi {
  background-color: #1095b5;
  color: #ffffff;
  padding: 24px 0 28px;
  margin-top: 30px;
}

.site-altbilgi a {
  color: #ffb41f;
}

.altbilgi-linkler {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.altbilgi-alt {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.altbilgi-copyright {
  flex: 1 1 280px;
  font-size: 13px;
  text-align: center;
}

.altbilgi-butonlar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.altbilgi-butonlar .buton {
  font-size: 13px;
  padding-inline: 16px;
}

/* RESPONSIVE */

@media (max-width: 992px) {
  .hero-blok {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }

  .oyun-kategorileri-blok .oyun-kategorileri {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .ust-nav {
    position: fixed;
    inset: 56px 0 auto;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 10px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 18;
  }

  .ust-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger-menu {
    display: inline-flex;
  }

  .hero-blok {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-yan-kutu {
    order: -1;
  }

  .oyun-kategorileri-blok .oyun-kategorileri {
    grid-template-columns: minmax(0, 1fr);
  }

  section {
    margin-bottom: 18px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 10px 10px 8px 10px;
  }

  td::before {
    content: attr(data-label);
    position: relative;
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 11px;
    color: #1095b5;
    white-space: normal;
  }

  .altbilgi-alt {
    flex-direction: column;
    align-items: flex-start;
  }

  .altbilgi-copyright {
    flex: 1 1 80px;
    font-size: 13px;
    text-align: center;
  }
}


