/* 365 Gün Kur'an Mektebi — ana stil */
:root {
  --blue-deep: #1a6fb4;
  --blue-mid: #5dade2;
  --blue-sky: #87ceeb;
  --blue-pale: #ebf5fb;
  --gold: #ffd700;
  --orange: #ff8c00;
  --orange-deep: #ff6b1a;
  --ink: #0f2744;
  --ink-soft: #2c3e50;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(15, 39, 68, 0.12);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-soft);
  line-height: 1.65;
  background: var(--blue-pale);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
}

main {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

/* Uzun kelime / URL taşmasını kes */
main,
.site-header,
.site-footer {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Canlı gökyüzü gradyanı + hafif hareket */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    165deg,
    #4a9fd8 0%,
    #87ceeb 28%,
    #b8e6ff 55%,
    #fff9e6 85%,
    #fff4d6 100%
  );
  background-size: 200% 200%;
  animation: skyShift 18s ease-in-out infinite alternate;
}

@keyframes skyShift {
  0% {
    background-position: 0% 20%;
  }
  100% {
    background-position: 100% 80%;
  }
}

/* İnce islami geometri dokusu */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath fill='none' stroke='%230f2744' stroke-width='0.8' d='M40 4l6 12h12l-10 8 4 12-12-8-12 8 4-12-10-8h12z'/%3E%3C/svg%3E");
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--orange-deep);
}

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

.container {
  width: min(1120px, 100% - 2rem);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  left: 0.5rem;
}

/* Üst şerit */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(26, 111, 180, 0.12);
  box-shadow: 0 4px 24px rgba(15, 39, 68, 0.06);
  max-width: 100%;
  overflow-x: clip;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, 100% - 2rem);
  max-width: 100%;
  margin-inline: auto;
  min-width: 0;
  box-sizing: border-box;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--gold), var(--orange-deep)) border-box;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.25);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand__title {
  font-weight: 800;
  font-size: clamp(0.9rem, 2.4vw, 1.05rem);
  letter-spacing: 0.02em;
  color: var(--blue-deep);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 6px 20px rgba(26, 111, 180, 0.35);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  transition: width 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  box-shadow: 0 8px 24px rgba(255, 107, 26, 0.35);
  border: none;
}

.nav-cta:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.nav-cta::after {
  display: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
    border-bottom: 1px solid rgba(26, 111, 180, 0.1);
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.08);
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(15, 39, 68, 0.06);
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
  }

  .site-nav a::after {
    display: none;
  }
}

/* Kahraman */
.hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-width: 0;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-copy {
  position: relative;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 38ch;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff9e0, #ffe08a);
  color: var(--ink);
  border: 1px solid rgba(255, 193, 7, 0.45);
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.25);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 2px;
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-deep));
  box-shadow: 0 10px 28px rgba(26, 111, 180, 0.35);
}

.btn--secondary {
  color: var(--blue-deep);
  background: var(--white);
  border: 2px solid rgba(26, 111, 180, 0.2);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn__icon-dua-img {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  object-fit: cover;
  border-radius: 22%;
  box-shadow: 0 2px 8px rgba(40, 20, 120, 0.2);
}

.btn--dua-desktop {
  gap: 0.65rem;
  width: 100%;
  max-width: 22rem;
  color: #f8f6ff;
  background: linear-gradient(145deg, #3b72ff 0%, #5b32e8 48%, #9d4edd 100%);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(91, 50, 232, 0.35);
  font-weight: 800;
}

.btn--dua-desktop:hover {
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .btn--dua-desktop {
    display: none;
  }
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.45), transparent 62%);
  filter: blur(8px);
  animation: pulseGlow 5s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}

@keyframes pulseGlow {
  from {
    opacity: 0.55;
    transform: scale(0.95);
  }
  to {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

/* Slider */
.slider {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 39, 68, 0.18);
  border: 4px solid var(--white);
  background: var(--white);
}

.slider__viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: min(420px, 70vw);
}

@media (max-width: 900px) {
  .slider__viewport {
    /* Dikey (portre) format; tam genişlikte aşağı doğru uzar, çok uzamasın diye tavan */
    aspect-ratio: 9 / 16;
    max-height: min(85vh, 720px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .slider__caption {
    font-size: clamp(0.78rem, 2.8vw, 0.88rem);
    padding: 0.75rem 1rem 1rem;
  }

  .slider__btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

.slider__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

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

.slider__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(15, 39, 68, 0.75));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.slider__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}

.slider__btn {
  pointer-events: all;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-size: 1.4rem;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.slider__btn:hover {
  background: var(--white);
  transform: scale(1.06);
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem;
  background: var(--white);
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 111, 180, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s, background 0.2s;
}

.slider__dot[aria-current="true"] {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  transform: scale(1.15);
}

/* Bölüm ortak */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section--soft {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.5rem;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--ink);
}

.section__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Hakkımızda */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  min-width: 0;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.prose {
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 1rem;
}

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

.quote-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(235, 245, 251, 0.9));
  border: 1px solid rgba(26, 111, 180, 0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.35), transparent 70%);
  pointer-events: none;
}

.quote-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.quote-card footer {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  position: relative;
  z-index: 1;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.icon-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(26, 111, 180, 0.1);
  box-shadow: 0 6px 20px rgba(15, 39, 68, 0.06);
  font-weight: 600;
  font-size: 0.92rem;
}

.icon-pill svg {
  flex-shrink: 0;
  color: var(--orange-deep);
}

/* Program */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-card {
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.schedule-card--morning {
  background: linear-gradient(135deg, #1a6fb4 0%, #5dade2 50%, #87ceeb 100%);
}

.schedule-card--noon {
  background: linear-gradient(135deg, #ff8c00 0%, #ffb347 45%, #ffd56b 100%);
  color: var(--ink);
}

.schedule-card h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-card--noon h3 {
  color: var(--ink);
}

.star-anim {
  display: inline-block;
  animation: twinkle 1.8s ease-in-out infinite;
}

@keyframes twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.15) rotate(12deg);
    opacity: 0.85;
  }
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

.schedule-card--noon .schedule-list li {
  border-color: rgba(15, 39, 68, 0.12);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  top: -40px;
  right: -40px;
}

.schedule-card--noon::after {
  background: rgba(255, 255, 255, 0.35);
}

.program-flow {
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 224, 0.55));
  border: 1px solid rgba(255, 193, 7, 0.35);
  box-shadow: var(--shadow);
  max-width: 820px;
  margin-inline: auto;
}

.program-flow__title {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--ink);
  text-align: center;
}

.program-flow__lead {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.program-flow__list {
  margin: 0;
  padding: 0 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.program-flow__list li {
  margin-bottom: 0.55rem;
  padding-left: 0.25rem;
}

.program-flow__list li:last-child {
  margin-bottom: 0;
}

/* Mektepler */
.locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1020px) {
  .locations {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .locations {
    grid-template-columns: 1fr;
  }
}

.location-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(26, 111, 180, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 39, 68, 0.12);
}

.location-card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue-deep);
  font-size: 1.25rem;
}

.location-card p {
  margin: 0;
}

/* Haberler — yatay kaydırma + ok düğmeleri */
.news-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.news-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-deep);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(15, 39, 68, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  padding: 0;
}

.news-carousel__nav:hover:not(:disabled) {
  background: var(--white);
  transform: translateY(-50%) scale(1.06);
}

.news-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: 0 2px 8px rgba(15, 39, 68, 0.08);
}

.news-carousel--noscroll .news-carousel__nav {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.news-carousel--noscroll .news-grid {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  scroll-padding-inline: 0.25rem;
}

.news-carousel__nav--prev {
  left: max(0.15rem, env(safe-area-inset-left, 0px));
}

.news-carousel__nav--next {
  right: max(0.15rem, env(safe-area-inset-right, 0px));
}

.news-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1.15rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 3.25rem 1rem;
  margin: 0;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 3.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(26, 111, 180, 0.45) rgba(26, 111, 180, 0.08);
  scrollbar-width: thin;
}

.news-grid::-webkit-scrollbar {
  height: 8px;
}

.news-grid::-webkit-scrollbar-track {
  background: rgba(26, 111, 180, 0.08);
  border-radius: 999px;
}

.news-grid::-webkit-scrollbar-thumb {
  background: rgba(26, 111, 180, 0.4);
  border-radius: 999px;
}

.news-card {
  flex: 0 0 auto;
  /* 100vw kullanma: iOS / scrollbar ile yatay taşma yapar */
  width: min(340px, 88vw);
  max-width: 100%;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(26, 111, 180, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease);
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card__img {
  aspect-ratio: 4 / 3;
  min-height: 9.5rem;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.news-card__body {
  padding: 0.95rem 1.1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-deep);
  margin-bottom: 0.3rem;
}

.news-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.25;
}

.news-card p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.news-card a {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Gelecek platform */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 800px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(235, 245, 251, 0.85));
  border: 1px dashed rgba(26, 111, 180, 0.25);
  text-align: center;
}

.platform-card .icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(255, 140, 0, 0.3);
}

.platform-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.platform-card p {
  margin: 0;
  font-size: 0.92rem;
}

.badge-soon {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 111, 180, 0.1);
  color: var(--blue-deep);
}

/* İletişim */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 800px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 111, 180, 0.1);
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--blue-deep);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.75rem;
  position: relative;
}

.contact-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--orange-deep);
  font-size: 0.85rem;
  top: 0.1rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(15, 39, 68, 0.95), #0a1628);
  color: rgba(255, 255, 255, 0.88);
  max-width: 100%;
  overflow-x: clip;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 215, 0, 0.6);
}

.footer-brand strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.footer-brand span {
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-footer a {
  color: #b8e6ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social__handle {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #ffe08a;
}

.footer-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.2s, transform 0.2s var(--ease), color 0.2s;
}

.footer-social__link:hover {
  color: #0a1628;
  background: linear-gradient(135deg, #ffe08a, #f5b041);
  transform: translateY(-2px);
  border-color: transparent;
}

.footer-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  text-align: center;
  opacity: 0.75;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Yüzen dekoratif hilal (saf CSS) */
.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  inset: 0;
}

.floating-icons span {
  position: absolute;
  opacity: 0.2;
  animation: floatY 8s ease-in-out infinite;
}

.floating-icons span:nth-child(1) {
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.floating-icons span:nth-child(2) {
  top: 22%;
  right: 10%;
  animation-delay: 1.5s;
  font-size: 1.4rem;
}

.floating-icons span:nth-child(3) {
  bottom: 18%;
  left: 15%;
  animation-delay: 2.5s;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Hızlı iletişim: masaüstünde sağda dikey; mobilde altta ortada yatay şerit */
body.dua-modal-open,
body.modal-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(7.85rem + env(safe-area-inset-bottom, 0px));
  }
}

.contact-mobile-hint {
  display: none;
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--blue-deep);
  font-style: italic;
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .contact-mobile-hint {
    display: block;
  }
}

.floating-actions {
  position: fixed;
  z-index: 940;
  display: flex;
  align-items: center;
  pointer-events: none;
  /* Masaüstü: sağ kenar, dikey orta */
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  left: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  flex-direction: column-reverse;
  gap: 0.65rem;
}

.floating-actions > * {
  pointer-events: auto;
}

.floating-actions__fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 5px 16px rgba(15, 39, 68, 0.22), 0 2px 0 rgba(0, 0, 0, 0.08);
  transition: transform 0.15s var(--ease), filter 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.floating-actions__fab:active {
  transform: scale(0.96);
  box-shadow: 0 3px 12px rgba(15, 39, 68, 0.22);
}

.floating-actions__fab--call {
  background: linear-gradient(180deg, #5dade2 0%, #1a6fb4 55%, #155a96 100%);
}

.floating-actions__fab--wa {
  background: linear-gradient(165deg, #5eec8f 0%, #25d366 38%, #1ebe57 70%, #128c7e 100%);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42), 0 2px 0 rgba(0, 0, 0, 0.08);
}

.floating-actions__fab--dua {
  padding: 0.48rem;
  overflow: hidden;
  background: linear-gradient(175deg, #3b7cff 0%, #6b3dff 52%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 22px rgba(107, 61, 255, 0.38), 0 2px 0 rgba(0, 0, 0, 0.1);
}

.floating-actions__dua-mark {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

.floating-actions__icon {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18));
}

.floating-actions__icon--wa {
  transform: scale(1.08);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}

.floating-actions__label {
  display: none;
}

@media (max-width: 900px) {
  .floating-actions {
    pointer-events: auto;
    left: 0.5rem;
    right: 0.5rem;
    top: auto;
    bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
    transform: none;
    width: auto;
    max-width: none;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: stretch;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.65rem 0.65rem 0.7rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 39, 68, 0.12);
    box-shadow: 0 20px 50px rgba(15, 39, 68, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.7) inset;
    z-index: 950;
  }

  .floating-actions__fab {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    min-height: 3.85rem;
    border-radius: 1rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.28rem;
    padding: 0.5rem 0.35rem 0.45rem;
    box-shadow: 0 6px 20px rgba(15, 39, 68, 0.22), 0 2px 0 rgba(0, 0, 0, 0.08);
  }

  .floating-actions__fab--wa {
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.38), 0 2px 0 rgba(0, 0, 0, 0.06);
  }

  .floating-actions__fab--dua {
    padding: 0.42rem 0.35rem 0.4rem;
    box-shadow: 0 6px 22px rgba(107, 61, 255, 0.32), 0 2px 0 rgba(0, 0, 0, 0.08);
  }

  .floating-actions__dua-mark {
    width: auto;
    height: 1.85rem;
    max-height: 2rem;
    max-width: 100%;
    object-fit: contain;
  }

  .floating-actions__label {
    display: block;
    font-size: clamp(0.56rem, 2.1vw, 0.65rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-align: center;
    max-width: 100%;
    color: inherit;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .floating-actions__fab--dua .floating-actions__label {
    font-size: 0.58rem;
    line-height: 1.2;
  }

  .floating-actions__icon {
    transform: scale(1.08);
  }

  .floating-actions__icon--wa {
    transform: scale(1.1);
  }
}

/* Günün duası / vecize popup */
.dua-modal {
  position: fixed;
  inset: 0;
  z-index: 980;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.dua-modal[hidden] {
  display: none;
}

.dua-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 215, 0, 0.12), transparent 55%),
    rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.dua-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(90vh, 42rem);
  overflow: auto;
  padding: clamp(1.35rem, 4vw, 2rem) clamp(1.25rem, 4vw, 1.75rem) 1.5rem;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, #fffdf8 0%, #fff4e0 38%, #e8f4fc 100%);
  border: 2px solid #c9a227;
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.28), 0 28px 80px rgba(15, 39, 68, 0.35);
  animation: duaModalIn 0.45s var(--ease) both;
  text-align: center;
}

@keyframes duaModalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dua-modal__frame {
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border-radius: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.dua-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(15, 39, 68, 0.12);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.dua-modal__close:hover {
  background: var(--white);
  transform: scale(1.06);
}

.dua-modal__bismillah {
  margin: 0 0 0.35rem;
  font-family: "Segoe UI", "Arabic Typesetting", "Traditional Arabic", serif;
  font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  color: #1a4d2e;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.dua-modal__title {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  color: var(--blue-deep);
  position: relative;
  z-index: 1;
}

.dua-modal__block {
  margin-bottom: 1.25rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.dua-modal__block:last-of-type {
  margin-bottom: 0;
}

.dua-modal__subtitle {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #5a3a0a;
  letter-spacing: 0.02em;
}

.dua-modal__ref {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange-deep);
}

.dua-modal__ref--muted {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.dua-modal__text {
  margin: 0;
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: clamp(0.92rem, 2.6vw, 1.05rem);
  line-height: 1.78;
  color: var(--ink);
  font-style: normal;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border-left: 4px solid var(--blue-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.dua-modal__text--dua {
  font-style: italic;
}

.dua-modal__text--vecize {
  border-left-color: #c9a227;
  font-style: normal;
  white-space: pre-wrap;
}

/* Bölge seçimi popup */
.branch-modal {
  position: fixed;
  inset: 0;
  z-index: 985;
  display: grid;
  place-items: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

.branch-modal[hidden] {
  display: none;
}

.branch-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(132, 94, 247, 0.25), transparent 45%),
    radial-gradient(circle at 82% 76%, rgba(21, 199, 123, 0.2), transparent 48%),
    rgba(8, 16, 32, 0.72);
  backdrop-filter: blur(7px);
  cursor: pointer;
}

.branch-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(33rem, 100%);
  padding: clamp(1.35rem, 3.6vw, 1.75rem) clamp(1.2rem, 3.4vw, 1.5rem) clamp(1.2rem, 3.4vw, 1.5rem);
  padding-top: calc(clamp(1.35rem, 3.6vw, 1.75rem) + 0.25rem);
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(150deg, rgba(13, 41, 71, 0.96) 0%, rgba(45, 32, 102, 0.96) 45%, rgba(10, 92, 78, 0.94) 100%);
  box-shadow: 0 25px 60px rgba(7, 12, 24, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  animation: branchModalIn 0.35s var(--ease) both;
  overflow: hidden;
}

.branch-modal__dialog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 0h60v60H0zm60 60h60v60H60z' fill='rgba(255,255,255,0.03)'/%3E%3Cpath d='M60 0h60v60H60zm-60 60h60v60H0' fill='rgba(255,255,255,0.018)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.9;
}

@keyframes branchModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.branch-modal__ornament {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0 0 0.2rem;
}

.branch-modal__symbol-isl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.5rem;
  line-height: 1;
  color: #f0e6c6;
  text-shadow: 0 0 18px rgba(201, 162, 39, 0.55);
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.35) 0%, rgba(201, 162, 39, 0.08) 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 50%;
}

.branch-modal__ornament-dots {
  flex: 0 1 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0.7;
  position: relative;
}

.branch-modal__ornament-dots::before,
.branch-modal__ornament-dots::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

.branch-modal__ornament-dots::before {
  left: 0;
}

.branch-modal__ornament-dots::after {
  right: 0;
}

.branch-modal__star {
  color: #f0e6c6;
  font-size: 1.1rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(201, 162, 39, 0.45);
  opacity: 0.95;
}

.branch-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}

.branch-modal__close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.05);
}

.branch-modal__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(235, 242, 255, 0.82);
  text-align: center;
}

.branch-modal__title {
  position: relative;
  z-index: 1;
  margin: 0.3rem 0 0;
  color: #fff;
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.branch-modal__lead {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0 1rem;
  color: rgba(231, 240, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: center;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.branch-modal__list {
  display: grid;
  gap: 0.55rem;
}

.branch-modal__item {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: #fff;
  padding: 0.72rem 0.9rem 0.72rem 0.72rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.18s var(--ease), background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.branch-modal__item:hover,
.branch-modal__item:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  outline: none;
}

.branch-modal__item:focus-visible {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.55), 0 8px 22px rgba(0, 0, 0, 0.2);
}

.branch-modal__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 0.9rem;
  color: #fffef8;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.35) 0%, rgba(201, 162, 39, 0.08) 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.branch-modal__icon--mushaf {
  background: linear-gradient(145deg, rgba(40, 120, 200, 0.35) 0%, rgba(40, 120, 200, 0.08) 100%);
  border-color: rgba(120, 190, 255, 0.4);
}

.branch-modal__icon--dome {
  background: linear-gradient(145deg, rgba(25, 180, 120, 0.38) 0%, rgba(25, 180, 120, 0.1) 100%);
  border-color: rgba(120, 220, 180, 0.45);
}

.branch-modal__svg {
  display: block;
  width: 1.9rem;
  height: 1.9rem;
}

.branch-modal__text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.branch-modal__name {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.branch-modal__city {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.5rem 0.1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.35), rgba(201, 162, 39, 0.15));
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08) inset;
}

.branch-modal__item[data-branch="umraniye"] .branch-modal__city {
  background: linear-gradient(90deg, rgba(20, 160, 130, 0.45), rgba(20, 160, 130, 0.18));
  border-color: rgba(90, 210, 180, 0.5);
}

.branch-modal__number {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(250, 252, 255, 0.95);
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Sürpriz yumurta (toast) */
.egg-toast {
  position: fixed;
  left: 50%;
  transform: translate3d(-50%, 120%, 0);
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 975;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 1rem 1.2rem;
  border-radius: 1.05rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(155deg, #fff9e8 0%, #ffe8c8 40%, #e8f4fc 100%);
  border: 2px solid rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18), 0 18px 48px rgba(15, 39, 68, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.45s var(--ease);
}

.egg-toast--visible {
  transform: translate3d(-50%, 0, 0);
  opacity: 1;
}

@media (max-width: 900px) {
  .egg-toast {
    bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }
}

/* Hoş geldiniz — premium cinsiyet seçimi (Outfit, aurora, cam panel) */
body.gender-welcome-open {
  overflow: hidden;
}

.gender-welcome {
  --gw-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  font-family: var(--gw-font);
}

.gender-welcome[hidden] {
  display: none !important;
}

.gender-welcome__backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(30, 70, 140, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 100% 100%, rgba(90, 40, 100, 0.45) 0%, transparent 50%),
    linear-gradient(160deg, #0a1020 0%, #152a50 40%, #1a1240 100%);
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.gender-welcome--show .gender-welcome__backdrop {
  opacity: 1;
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.gender-welcome__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: transform;
}

.gender-welcome__orb--1 {
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  top: -8%;
  left: -5%;
  background: #5b7cff;
  animation: gw-orb-a 12s ease-in-out infinite;
}

.gender-welcome__orb--2 {
  width: min(50vw, 28rem);
  height: min(50vw, 28rem);
  bottom: -15%;
  right: -10%;
  background: #c76b9a;
  animation: gw-orb-b 14s ease-in-out infinite;
}

.gender-welcome__orb--3 {
  width: min(35vw, 16rem);
  height: min(35vw, 16rem);
  top: 40%;
  left: 35%;
  background: #3dd0c0;
  opacity: 0.28;
  animation: gw-orb-c 10s ease-in-out infinite;
}

@keyframes gw-orb-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8%, 12%) scale(1.08);
  }
}

@keyframes gw-orb-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, -8%) scale(1.1);
  }
}

@keyframes gw-orb-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(15%, -10%) scale(1.15);
  }
}

.gender-welcome__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.gender-welcome__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  border-radius: 1.5rem;
  padding: 1px;
  overflow: hidden;
  background: linear-gradient(
    125deg,
    rgba(100, 180, 255, 0.55) 0%,
    rgba(200, 120, 200, 0.45) 40%,
    rgba(100, 220, 200, 0.4) 100%
  );
  background-size: 200% 200%;
  animation: gw-border-glow 10s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 120px rgba(80, 120, 255, 0.12);
  opacity: 0;
  transform: translateY(1.1rem) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

@keyframes gw-border-glow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gender-welcome--show .gender-welcome__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}

.gender-welcome__inner {
  position: relative;
  z-index: 1;
  border-radius: calc(1.5rem - 1px);
  padding: clamp(1.4rem, 4.5vw, 2rem) clamp(1.15rem, 3.5vw, 1.75rem) clamp(1.1rem, 3vw, 1.4rem);
  background: linear-gradient(165deg, rgba(18, 28, 48, 0.72) 0%, rgba(12, 20, 40, 0.88) 100%);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  color: #f0f4ff;
}

.gender-welcome__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.gender-welcome__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.gender-welcome__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.gender-welcome__brand-text {
  text-align: left;
  line-height: 1.2;
}

.gender-welcome__brandname {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: rgba(230, 240, 255, 0.9);
  margin: 0;
  max-width: 14rem;
}

.gender-welcome__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(100deg, #fff 0%, #b8d4ff 50%, #e8c8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gender-welcome__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(220, 230, 255, 0.72);
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.gender-welcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 440px) {
  .gender-welcome__grid {
    grid-template-columns: 1fr;
  }
}

.gender-welcome__choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.15rem 0.8rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  cursor: pointer;
  font: inherit;
  color: #fff;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, box-shadow 0.25s;
}

.gender-welcome__choice-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gender-welcome__choice--kadin .gender-welcome__choice-glow {
  background: radial-gradient(80% 80% at 50% 0%, rgba(255, 150, 180, 0.35) 0%, transparent 70%);
}

.gender-welcome__choice--erkek .gender-welcome__choice-glow {
  background: radial-gradient(80% 80% at 50% 0%, rgba(100, 160, 255, 0.35) 0%, transparent 70%);
}

.gender-welcome__choice:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.gender-welcome__choice:hover .gender-welcome__choice-glow {
  opacity: 1;
}

.gender-welcome__choice:active {
  transform: translateY(-1px) scale(0.99);
}

.gender-welcome__choice:focus-visible {
  outline: 2px solid rgba(150, 200, 255, 0.9);
  outline-offset: 3px;
}

.gender-welcome__choice--kadin {
  border-color: rgba(255, 160, 190, 0.28);
  background: linear-gradient(180deg, rgba(255, 120, 160, 0.18) 0%, rgba(40, 20, 40, 0.5) 100%);
}

.gender-welcome__choice--erkek {
  border-color: rgba(100, 160, 255, 0.25);
  background: linear-gradient(180deg, rgba(50, 100, 200, 0.2) 0%, rgba(15, 30, 60, 0.55) 100%);
}

.gender-welcome__icon-wrap {
  position: relative;
  z-index: 1;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gender-welcome__choice--kadin .gender-welcome__icon-wrap {
  background: linear-gradient(145deg, rgba(255, 180, 200, 0.35) 0%, rgba(120, 40, 80, 0.4) 100%);
}

.gender-welcome__choice--erkek .gender-welcome__icon-wrap {
  background: linear-gradient(145deg, rgba(100, 160, 255, 0.3) 0%, rgba(30, 60, 120, 0.5) 100%);
}

.gender-welcome__icon-wrap svg {
  width: 2.35rem;
  height: 2.35rem;
  color: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.gender-welcome__hijab-ico {
  width: 2.1rem;
  height: 2.55rem;
  flex-shrink: 0;
}

.gender-welcome__choice--kadin .gender-welcome__icon-wrap svg {
  color: #ffe8f0;
}

.gender-welcome__choice-label {
  position: relative;
  z-index: 1;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gender-welcome__hint {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  max-width: 12rem;
}

.gender-welcome__skip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.gender-welcome__skip svg {
  opacity: 0.55;
  transition: transform 0.25s, opacity 0.2s;
}

.gender-welcome__skip:hover {
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.gender-welcome__skip:hover svg {
  opacity: 0.95;
  transform: translateX(3px);
}

.gender-welcome__skip:focus-visible {
  outline: 2px solid rgba(150, 200, 255, 0.85);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .gender-welcome__orb,
  .gender-welcome__panel {
    animation: none;
  }
  .gender-welcome__backdrop,
  .gender-welcome__panel {
    transition-duration: 0.01ms;
  }
  .gender-welcome--show .gender-welcome__panel {
    filter: none;
  }
}

/* Küçük Sözler sınavı — ana sayfa duyuru bloğu */
.section--exam {
  background: linear-gradient(180deg, rgba(255, 252, 235, 0.95) 0%, rgba(235, 245, 255, 0.92) 100%);
  border-block: 1px solid rgba(255, 193, 7, 0.35);
}

.exam-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
  align-items: start;
  max-width: 56rem;
  margin: 0 auto;
}

.exam-spotlight__fig {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 39, 68, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  background: #fff;
}

.exam-spotlight__fig img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.exam-spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 720px) {
  .exam-spotlight__grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .floating-actions {
    display: none !important;
  }

  .gender-welcome {
    display: none !important;
  }

  .dua-modal {
    display: none !important;
  }

  .branch-modal {
    display: none !important;
  }

  .egg-toast {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}
