* { box-sizing: border-box; margin: 0; padding: 0; }

/* ============================================================
   🌐 VİTRİN TEMA SİSTEMİ — 4 Tema
   ============================================================ */

/* 1) VİTRİN DEFAULT — mevcut siyah/pembe */
html[data-vitrin-theme="vitrin-default"] {
  --bg: #0a0b0f;
  --surface: #13151c;
  --surface-2: #1a1d26;
  --text: #ffffff;
  --muted: #8b93a7;
  --accent: #ff4d6d;
  --accent-2: #ffb84d;
  --accent-ink: #ffffff;
  --border: rgba(255,255,255,0.07);
}

/* 2) SİNEMA GECESİ — koyu + altın */
html[data-vitrin-theme="cinema"] {
  --bg: #0d0f13;
  --surface: #15181e;
  --surface-2: #1e2229;
  --text: #f8eedf;
  --muted: #b6b3ae;
  --accent: #f4bf64;
  --accent-2: #ffda93;
  --accent-ink: #21180b;
  --border: rgba(244,191,100,0.15);
}

/* 3) STÜDYO IŞIĞI — açık + bordo */
html[data-vitrin-theme="studio"] {
  --bg: #f7f4f1;
  --surface: #fffdfc;
  --surface-2: #f5eff0;
  --text: #29252a;
  --muted: #70666c;
  --accent: #a22645;
  --accent-2: #b53555;
  --accent-ink: #ffffff;
  --border: rgba(162,38,69,0.15);
}

/* 4) SAHNE ENERJİSİ — koyu + turkuaz */
html[data-vitrin-theme="stage"] {
  --bg: #0d1926;
  --surface: #122536;
  --surface-2: #1a3042;
  --text: #edf7fc;
  --muted: #afc1ce;
  --accent: #39dec3;
  --accent-2: #6cf2d5;
  --accent-ink: #072b2b;
  --border: rgba(57,222,195,0.15);
}

/* Ortak tema değişkenleri */
:root {
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* 🔥 SAYFA ZEMİN GLOW'U — temaya göre renk */
body::before {
  content: '';
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1600px;
  height: 1600px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}

/* Studio açık temada glow daha soluk */
html[data-vitrin-theme="studio"] body::before {
  background: radial-gradient(circle, rgba(162,38,69,0.06), transparent 60%);
}

body > *:not(script) {
  position: relative;
  z-index: 1;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-ink);
  object-fit: cover;
  flex-shrink: 0;
}

/* 🔥 NAV — bold + zıt kontrast */
.nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--text);
  font-weight: 700;
}

.nav a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.nav a:hover { color: var(--accent); }

/* 🔥 BUTON — zemin accent, yazı accent-ink (zıt) */
.header-cta {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* ============================================================
   BANNER CAROUSEL
   ============================================================ */
.banner-section {
  padding: 0 48px;
  margin-top: 32px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.banner-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  background: var(--surface);
}

.banner-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
}
.banner-track::-webkit-scrollbar { display: none; }

.banner-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.banner-description {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 14px;
  z-index: 2;
  pointer-events: none;
  word-break: break-word;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  z-index: 3;
  padding: 0;
  font-family: inherit;
}

.banner-carousel:hover .banner-nav { opacity: 1; }
.banner-nav:hover {
  background: color-mix(in srgb, var(--accent) 90%, transparent);
  transform: translateY(-50%) scale(1.08);
}
.banner-prev { left: 16px; }
.banner-next { right: 16px; }

.banner-dots { display: none !important; }

.banner-carousel.single .banner-nav,
.banner-carousel.single .banner-dots {
  display: none;
}

/* ============================================================
   HERO — YUMUŞAK ARKA PLAN GLOW (Kesilme Yok)
   ============================================================ */
.hero {
  padding: 60px 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Çizgileri önlemek için arka planı tamamen şeffaf yapıyoruz */
  background: transparent;
}

/* 🔥 Hero'nun tam ortasından yayılan yumuşak ışık */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent) 15%, transparent) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* İçeriği ışığın üstünde tut */
.hero > * {
  position: relative;
  z-index: 1;
}
/* 🔥 HERO TAG — ÇİZGİSİZ VE ŞEFFAF */
/* 🔥 HERO TAG — ÇİZGİSİZ VE ŞEFFAF */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  
  /* Tüm olası çizgileri ve kutuları sıfırla */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  
  /* Mobil tıklama efektini kaldır */
  -webkit-tap-highlight-color: transparent;
  
  /* Metin seçimini engelle (çizgi oluşumunu önler) */
  user-select: none;
}

.hero-tag .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
  
  /* Dot elementinin etrafındaki olası çizgileri sıfırla */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  
  /* Mobil tıklama efektini kaldır */
  -webkit-tap-highlight-color: transparent;
  
  /* Metin seçimini engelle */
  user-select: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  position: relative;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
/* ============================================================
   STUDIO AÇIK TEMA — hero glow daha soluk
   ============================================================ */
html[data-vitrin-theme="studio"] .hero::before {
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent) 8%, transparent) 0%,
    transparent 60%
  );
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 40px 48px 60px;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-value {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 48px;
  margin-bottom: 32px;
  gap: 24px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.section-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
}

/* ============================================================
   PROJELER CAROUSEL
   ============================================================ */
.projects-carousel-wrapper {
  position: relative;
  padding: 0 48px;
  max-width: 1400px;
  margin: 0 auto;
}

.projects-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.projects-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  gap: 20px;
  padding: 8px 0;
}
.projects-track::-webkit-scrollbar { display: none; }

.project-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}

.projects-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  z-index: 3;
  padding: 0;
  font-family: inherit;
}

.projects-carousel:hover .projects-nav { opacity: 1; }
.projects-nav:hover {
  background: color-mix(in srgb, var(--accent) 90%, transparent);
  transform: translateY(-50%) scale(1.08);
}
.projects-prev { left: 6px; }
.projects-next { right: 6px; }

.projects-dots { display: none !important; }

.projects-carousel.single .projects-nav,
.projects-carousel.single .projects-dots {
  display: none;
}

.project-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.project-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.project-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.project-card:hover .project-poster img {
  transform: scale(1.06);
}

.project-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--surface) 90%, transparent), transparent 50%);
}

.project-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}

/* 🔥 PROJE DURUM — buton zemin accent, yazı accent-ink */
.project-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  background: color-mix(in srgb, var(--accent) 90%, transparent);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-ink);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-status .dot {
  width: 5px;
  height: 5px;
  background: var(--accent-ink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.project-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  border-radius: 10px;
  z-index: 2;
  pointer-events: none;
  word-break: break-word;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   OYUNCULAR
   ============================================================ */
.players-grid-wrapper {
  padding: 8px 48px;
  overflow: hidden;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  max-width: 100%;
}

.player-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  opacity: 1;
  will-change: opacity, transform;
}

.player-card.fade-out {
  animation: fadeOut 0.35s ease-out forwards;
}

.player-card.fade-in {
  animation: fadeIn 0.4s ease-in forwards;
}

@keyframes fadeOut {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.96); }
}

@keyframes fadeIn {
  0%   { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

.player-card:not(.fade-out):not(.fade-in):hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s,
              border-color 0.3s;
}

.player-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-2), var(--bg));
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.player-card:hover .player-photo img {
  transform: scale(1.05);
}

.player-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--surface) 95%, transparent), transparent 45%);
}

.player-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
}

.player-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.player-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.player-tags {
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  min-height: 44px;
}

.tag {
  padding: 3px 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  margin: 80px 48px;
  padding: 64px 48px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), color-mix(in srgb, var(--accent-2) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 🔥 CTA BUTON — zemin accent, yazı accent-ink */
.btn-primary {
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .players-grid { grid-template-columns: repeat(4, 1fr); }
  .project-slide { flex: 0 0 calc((100% - 20px) / 2); }
}

@media (max-width: 768px) {
  .header { padding: 14px 20px; }
  .nav { display: none; }
  .banner-section { padding: 0 12px; margin-top: 16px; }
  .banner-carousel { border-radius: 12px; }
  .banner-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
    opacity: 1;
    background: color-mix(in srgb, var(--bg) 75%, transparent);
  }
  .banner-prev { left: 8px; }
  .banner-next { right: 8px; }
  .banner-dots { display: none !important; }
  .banner-description {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 10px;
  }
  .hero { padding: 40px 20px 30px; }
  .hero h1 { letter-spacing: -1px; }
  .hero p { font-size: 15px; }
  .stats { gap: 32px; padding: 20px 20px 40px; }
  .stat-value { font-size: 24px; }
  .section-header { padding: 0 20px; flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 24px; }
  .projects-carousel-wrapper { padding: 0 20px; }
  .projects-nav {
    width: 36px;
    height: 36px;
    font-size: 22px;
    opacity: 1;
    background: color-mix(in srgb, var(--bg) 75%, transparent);
  }
  .projects-prev { left: 4px; }
  .projects-next { right: 4px; }
  .project-slide { flex: 0 0 100%; }
  .players-grid-wrapper { padding: 8px 20px; }
  .players-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .player-photo { height: 180px; }
  .cta-section { margin: 40px 20px; padding: 40px 24px; }
  .cta-section h2 { font-size: 26px; }
  .footer { padding: 32px 20px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .players-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .player-photo { height: 160px; }
  .player-name { font-size: 13px; }
  .player-meta { font-size: 11px; }
}
/* ============================================================
   BAŞVURU MODAL
   ============================================================ */
.apply-modal-overlay {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, #000 65%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.apply-modal-overlay.open {
  display: flex;
  opacity: 1;
}

.apply-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.apply-modal-overlay.open .apply-modal {
  transform: translateY(0) scale(1);
}

.apply-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  padding: 0;
  font-family: inherit;
}

.apply-modal-close:hover {
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(90deg);
}

.apply-modal-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  padding-right: 40px;
}

.apply-modal-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.apply-modal-subtitle strong {
  color: var(--accent);
}

.apply-field {
  margin-bottom: 16px;
}

.apply-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
  margin-bottom: 6px;
}

.apply-field input {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.apply-field input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.apply-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.apply-field input:invalid:not(:placeholder-shown) {
  border-color: #ff4d6d;
}

.apply-error {
  display: none;
  font-size: 12px;
  color: #ff4d6d;
  margin-top: 6px;
  font-weight: 600;
}

.apply-error.show {
  display: block;
}

.apply-submit {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.apply-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--accent) 40%, transparent);
}

.apply-submit:active {
  transform: translateY(0);
}

/* Proje kartında başvuru butonu */
.project-apply-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 6px 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  border: none;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.project-apply-btn:hover {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 45%, transparent);
}

/* Mobil */
@media (max-width: 480px) {
  .apply-modal {
    padding: 28px 20px 22px;
    border-radius: 16px;
  }
  .apply-modal-title {
    font-size: 19px;
  }
  .apply-modal-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .apply-field input {
    font-size: 16px; /* iOS zoom engelle */
  }
}