:root {
  --navy: #062b55;
  --navy-2: #073b73;
  --navy-3: #031d3a;
  --blue: #0d6efd;
  --blue-2: #1688ff;
  --bg: #f3f8ff;
  --card: #ffffff;
  --line: #dce8f7;
  --text: #0d2746;
  --muted: #6b7f99;
  --green: #18b45b;
  --red: #ef4444;
  --orange: #f59e0b;
  --shadow: 0 14px 30px rgba(7, 49, 94, 0.12);
  --radius: 18px;
  --safe-bottom: 74px;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 42%, #f4f9ff 100%);
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.mobile-page {
  width: 100%;
  min-height: 100vh;
  padding-bottom: var(--safe-bottom);
  background: linear-gradient(180deg, #f0f7ff, #fff 45%, #eef6ff);
}

.mobile-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(135deg, #05264c, #074b87);
  color: #fff;
  box-shadow: 0 10px 28px rgba(6, 43, 85, 0.24);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.header-main {
  min-height: 74px;
  padding: 10px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.back-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.back-btn {
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}
.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff 0 12%, #0b4d86 13% 53%, #061f44 54% 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  outline: 2px solid #d71920;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  isolation: isolate;
}
.logo.has-image {
  background: #05264c;
  border-color: rgba(255, 255, 255, 0.88);
}
.logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  z-index: 2;
  -webkit-user-drag: none;
  user-select: none;
}
.logo.has-image img {
  /* Daireyi piksel boşlukları olmadan doldurur; ince anti-aliasing boşluklarını kapatır */
  transform: scale(1.1);
  transform-origin: center center;
}
.logo:after {
  content: "ASKF";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 11px;
  text-align: center;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.4px;
  z-index: 1;
}
.logo.has-image:after {
  content: none;
}
.brand-text {
  min-width: 0;
}
.brand-text h1 {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.1px;
  text-transform: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brand-text p {
  margin: 3px 0 0;
  font-size: 11px;
  color: #a9d7ff;
  font-weight: 800;
}
.header-title {
  min-width: 0;
}
.header-title h1 {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}
.header-title.header-title--wrap h1 {
  white-space: normal;
  max-width: none;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.header-title p {
  margin: 4px 0 0;
  font-size: 11px;
  color: #a9d7ff;
  font-weight: 800;
}

.mobile-search {
  padding: 0 16px 14px;
  display: flex;
  gap: 9px;
}
.mobile-search input {
  flex: 1;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: 0;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}
.mobile-search input::placeholder {
  color: #d7eaff;
}
.mobile-search button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.24);
  cursor: pointer;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 37, 0.54);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 330px);
  height: 100vh;
  background: linear-gradient(180deg, #05264c, #073b73);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.24s ease;
  z-index: 95;
  box-shadow: -12px 0 28px rgba(2, 18, 37, 0.32);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.active {
  transform: translateX(0);
}
.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.drawer-head b {
  font-size: 16px;
  letter-spacing: 0.2px;
}
.drawer-close {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.drawer-links {
  padding: 14px;
  display: grid;
  gap: 8px;
}
.drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
  font-size: 13px;
}

.screen {
  padding: 16px;
}

.breadcrumb {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  color: #6b7f99;
  font-size: 12px;
  font-weight: 800;
  margin: 2px 0 12px;
}
.breadcrumb a {
  color: #0d6efd;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 12px;
}
.section-head h3 {
  margin: 0;
  color: #07376a;
  font-size: 21px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 9px;
  letter-spacing: -0.3px;
}
.section-head h3:before {
  content: "";
  width: 7px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1688ff, #0d6efd);
}
.section-head a {
  font-size: 12px;
  color: #0d6efd;
  font-weight: 900;
  white-space: nowrap;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: linear-gradient(180deg, #073b73, #04264c);
  box-shadow: 0 -12px 28px rgba(6, 43, 85, 0.22);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 3px;
  max-width: 520px;
  margin: auto;
}
.bottom-nav a {
  height: 54px;
  border-radius: 15px;
  color: #dbeafe;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  padding: 0 2px;
}
.bottom-nav a.active {
  background: linear-gradient(135deg, #1688ff, #0d6efd);
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
}
.bottom-nav i {
  font-style: normal;
  font-size: 16px;
  line-height: 1;
}

@media (min-width: 720px) {
  body {
    display: grid;
    place-items: start center;
    background: #dfeeff;
  }
  .mobile-page {
    width: 430px;
    box-shadow: 0 24px 70px rgba(6, 43, 85, 0.18);
  }
  .bottom-nav {
    left: 50%;
    right: auto;
    width: 430px;
    transform: translateX(-50%);
  }
}
