:root {
  --bg: #f7f7f7;
  --card: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #e8e0db;
  --primary: #d95f39;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
  --radius: 24px;
  --space-1: 0.618rem;
  --space-2: 1rem;
  --space-3: 1.618rem;
  --space-4: 2.618rem;
  --space-5: 4.236rem;
  --shell: 72rem;
  --shell-narrow: 38rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(217, 95, 57, 0.07), transparent 30%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - (var(--space-3) * 2)), var(--shell));
  margin: 0 auto;
}

.shell-narrow {
  max-width: var(--shell-narrow);
}

.site-header,
.site-footer {
  padding: var(--space-3) 0;
}

.header-shell,
.footer-shell {
  display: flex;
  justify-content: center;
}

.brand {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 10rem);
  display: flex;
  align-items: center;
  padding: var(--space-5) 0;
}

.hero-card,
.cta-card,
.empty-state {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4);
}

.hero-card {
  text-align: center;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: var(--space-3);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(1.35rem, 2vw, 2rem);
}

p {
  color: var(--muted);
  margin-bottom: var(--space-3);
}

.story-form {
  display: grid;
  gap: var(--space-2);
}

.story-form input,
.story-form button,
.cta-button {
  min-height: 3.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
}

.story-form input {
  padding: 0 1.2rem;
  border-color: var(--line);
  background: #fffdfc;
}

.story-form button,
.cta-button,
.sticky-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
}

.ad-slot {
  margin-top: var(--space-3);
  min-height: 6rem;
  border: 1px dashed #d8c6be;
  border-radius: calc(var(--radius) - 8px);
  display: grid;
  place-items: center;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(217, 95, 57, 0.06));
}

.ad-slot-wide {
  margin-bottom: var(--space-4);
}

.page-section {
  padding: var(--space-4) 0 var(--space-5);
}

.page-intro {
  text-align: center;
  margin-bottom: var(--space-4);
}

.story-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: var(--space-4);
}

.story-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.story-card img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #ece7e4;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-2);
  font-size: 0.95rem;
  color: var(--muted);
}

.story-badge {
  text-transform: capitalize;
  color: var(--text);
  font-weight: 700;
}

.cta-card {
  text-align: center;
  margin-bottom: var(--space-4);
}

.internal-links {
  padding-bottom: var(--space-4);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.related-link,
.link-list a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  min-height: 3.4rem;
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(217, 95, 57, 0.28);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .story-form {
    grid-template-columns: 1fr auto;
  }

  .story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-card,
  .cta-card,
  .empty-state {
    padding: var(--space-3);
  }

  .sticky-cta {
    left: 1rem;
    right: 1rem;
  }
}
/* ===== UPGRADE UI START ===== */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-card {
  box-shadow: 0 20px 50px rgba(0,0,0,0.08) !important;
  border-radius: 20px !important;
}

.story-form input {
  border-radius: 999px !important;
}

.story-form button {
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff5a3c, #ff7a59) !important;
}

.ad-slot {
  background: #f3f6ff !important;
}

.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff5a3c;
  color: white;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
}
/* ===== HERO ÜST BOŞLUK FIX ===== */

body {
  margin: 0;
  padding: 0;
}

.hero {
  padding-top: 10px !important;
}

.shell {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

header {
  margin-bottom: 0 !important;
}
/* ===== UPGRADE UI END ===== *//* 🔥 CTA BUTTON FIX */
/* 🔥 STICKY CTA (ALT BUTON) */

.sticky-cta {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);

  animation: floatBtn 2s ease-in-out infinite;
  width: auto;
  max-width: 320px;

  padding: 10px 16px;
  border-radius: 14px;

  background: #e25b34;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 6px 20px rgba(0,0,0,0.2);

  z-index: 999;
}/* ANIMASYON */
@keyframes floatBtn {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
  100% { transform: translateX(-50%) translateY(0); }
}/* 🔥 PROMO BAR */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  color: #fff;

  text-align: center;
  font-size: 14px;
  font-weight: 500;

  padding: 10px 10px;
  z-index: 1000;
}

.promo-bar a {
  color: #fff;
  font-weight: 700;
  margin-left: 10px;
  text-decoration: underline;
}

/* sayfa içeriği yukarı kaymasın */
body {
  padding-top: 45px;
}/* 🔥 Sticky başlangıçta gizli */
.sticky-cta {
  display: none;
}/* 🔥 PROMO BAR */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  color: #fff;

  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 13px;
  padding: 10px;
  z-index: 1000;

  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.promo-bar a {
  background: #fff;
  color: #0ea5e9;
  padding: 5px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.promo-close {
  position: absolute;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
}.sticky-cta {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}/* ===== FINAL FIX (KESİN ÇÖZÜM) ===== */

/* USER NOT FOUND */
.empty-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.empty-state h1,
.empty-state p {
  text-align: center !important;
}

/* STICKY CTA FULL FIX */
.sticky-cta {
  position: fixed;

  bottom: 20px;

  left: 50% !important;
  right: auto !important;

  transform: translateX(-50%) !important;

  width: calc(100% - 32px);
  max-width: 340px;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  text-align: center !important;

  padding: 14px 20px !important;

  z-index: 999;
}

/* ANIMATION FIX */
.sticky-cta {
  animation: pulseGlow 2s infinite !important;
}/* ===== STICKY DELAY + SMOOTH ===== */

.sticky-cta {
  display: none;

  opacity: 0;
  transform: translate(-50%, 20px);

  transition: all 0.5s ease;
}

/* görünür hali */
.sticky-cta.show {
  opacity: 1;
  transform: translate(-50%, 0);
}.sticky-cta.show {
  display: flex !important;
  opacity: 1 !important;
  transform: translate(-50%, 0);
}/* ÜST BOŞLUĞU SIFIRLA */
main {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

/* HEADER ALT BOŞLUK AZALT */
header {
  margin-bottom: 10px !important;
  padding-bottom: 0 !important;
}

/* STORY SAVER YAZISI ÜSTÜNÜ ÇEK */
h1, .title {
  margin-top: 10px !important;
}

/* ÜST BANNER İLE ARAYI DARALT */
.top-banner {
  margin-bottom: 10px !important;
}/* FORCE UPDATE */
body {
  outline: 0;
}/* DESKTOP FIX */
@media (min-width: 1024px) {
    main {
        margin-top: -80px !important;
        padding-top: 0 !important;
    }

    header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}.top-section,
.hero,
.container:first-child {
    margin-top: -50px !important;
}.form-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

@media (max-width: 768px) {
    .form-group {
        grid-template-columns: 1fr;
    }
}