/* ==========================================================================
   RangeofMotion — Tasarım Sistemi
   Siyah ağırlıklı, HYROX sarısı vurgulu. Ana vurgu rengi tek değişkenden: --rom-yellow
   ========================================================================== */

/* ---- Fontlar (self-host: /wwwroot/fonts — yoksa jsDelivr yedeği) ---- */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5/files/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5/files/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/barlow-condensed-latin-ext-800-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5/files/barlow-condensed-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource/barlow-condensed@5/files/barlow-condensed-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5/files/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"), url("https://cdn.jsdelivr.net/npm/@fontsource-variable/inter@5/files/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---- Tokenlar ---- */
:root {
  --rom-yellow: #FFD400;
  --rom-yellow-hover: color-mix(in srgb, var(--rom-yellow) 72%, #ffffff);
  --rom-yellow-dim: color-mix(in srgb, var(--rom-yellow) 16%, transparent);
  --rom-black: #0B0B0B;
  --rom-surface: #151515;
  --rom-surface-2: #1C1C1C;
  --rom-border: #2A2A2A;
  --rom-text: #F2F2F2;
  --rom-text-soft: #D6D6D6;
  --rom-muted: #A3A3A3;
  --rom-success: #3DDC84;
  --rom-danger: #FF5A5A;
  --rom-warning: #FFB020;
  --rom-radius: 4px;
  --rom-radius-lg: 8px;
  --rom-font-head: "Barlow Condensed", "Oswald", "Arial Narrow", Impact, sans-serif;
  --rom-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rom-header-h: 72px;
  --rom-ease: cubic-bezier(.2,.7,.2,1);

  /* Bootstrap köprüsü */
  --bs-body-bg: var(--rom-black);
  --bs-body-color: var(--rom-text);
  --bs-body-font-family: var(--rom-font-body);
  --bs-border-color: var(--rom-border);
  --bs-link-color: var(--rom-yellow);
  --bs-link-color-rgb: 255, 212, 0;
  --bs-link-hover-color: var(--rom-yellow-hover);
  --bs-secondary-color: var(--rom-muted);
  --bs-emphasis-color: #fff;
  --bs-tertiary-bg: var(--rom-surface);
  --bs-focus-ring-color: color-mix(in srgb, var(--rom-yellow) 45%, transparent);
}

html { scroll-padding-top: calc(var(--rom-header-h) + 16px); }
body { background: var(--rom-black); color: var(--rom-text); font-family: var(--rom-font-body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--rom-yellow); color: var(--rom-black); }

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .display-head {
  font-family: var(--rom-font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; color: #fff;
}
h1, .h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4, .h4 { font-size: 1.25rem; }
.eyebrow { font-family: var(--rom-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; color: var(--rom-yellow); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--rom-yellow); display: inline-block; }
.text-muted, .text-secondary { color: var(--rom-muted) !important; }
.text-yellow { color: var(--rom-yellow) !important; }
.bg-surface { background: var(--rom-surface) !important; }
a { color: var(--rom-yellow); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s var(--rom-ease); }
a:hover { color: var(--rom-yellow-hover); }
:focus-visible { outline: 3px solid var(--rom-yellow) !important; outline-offset: 2px; box-shadow: none !important; }
img { max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 2000; background: var(--rom-yellow); color: var(--rom-black); padding: .6rem 1rem; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---- Butonlar ---- */
.btn { --bs-btn-font-family: var(--rom-font-head); --bs-btn-font-weight: 800; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .72rem; --bs-btn-font-size: 1.08rem;
  --bs-btn-border-radius: var(--rom-radius); text-transform: uppercase; letter-spacing: .06em; transition: transform .18s var(--rom-ease), background-color .18s, color .18s, border-color .18s, box-shadow .18s; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { --bs-btn-padding-x: .9rem; --bs-btn-padding-y: .4rem; --bs-btn-font-size: .95rem; min-height: 36px; }
.btn-lg { --bs-btn-padding-x: 2rem; --bs-btn-padding-y: .95rem; --bs-btn-font-size: 1.25rem; }
.btn-primary, .btn-rom {
  --bs-btn-bg: var(--rom-yellow); --bs-btn-border-color: var(--rom-yellow); --bs-btn-color: var(--rom-black);
  --bs-btn-hover-bg: var(--rom-yellow-hover); --bs-btn-hover-border-color: var(--rom-yellow-hover); --bs-btn-hover-color: var(--rom-black);
  --bs-btn-active-bg: var(--rom-yellow); --bs-btn-active-border-color: var(--rom-yellow); --bs-btn-active-color: var(--rom-black);
  --bs-btn-disabled-bg: #3a3a3a; --bs-btn-disabled-border-color: #3a3a3a; --bs-btn-disabled-color: #8a8a8a;
}
.btn-primary:hover, .btn-rom:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--rom-yellow) 70%, transparent); }
.btn-outline-primary, .btn-rom-outline {
  --bs-btn-bg: var(--rom-black); --bs-btn-color: var(--rom-yellow); --bs-btn-border-color: var(--rom-yellow);
  --bs-btn-hover-bg: var(--rom-yellow); --bs-btn-hover-color: var(--rom-black); --bs-btn-hover-border-color: var(--rom-yellow);
  --bs-btn-active-bg: var(--rom-yellow); --bs-btn-active-color: var(--rom-black); --bs-btn-border-width: 2px;
  --bs-btn-disabled-color: #777; --bs-btn-disabled-border-color: #444; --bs-btn-disabled-bg: transparent;
}
.btn-outline-light { --bs-btn-border-width: 2px; }
.btn-ghost { --bs-btn-color: var(--rom-text); --bs-btn-hover-color: var(--rom-yellow); --bs-btn-bg: transparent; --bs-btn-border-color: transparent; }
.btn:disabled, .btn.disabled { transform: none !important; box-shadow: none !important; cursor: not-allowed; }
/* Açık zeminli bölümlerde birincil buton hover: siyah zemin, sarı yazı */
.section-light .btn-primary:hover, .on-light .btn-primary:hover { --bs-btn-hover-bg: var(--rom-black); --bs-btn-hover-color: var(--rom-yellow); --bs-btn-hover-border-color: var(--rom-black); }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(11,11,11,.86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--rom-border); }
.site-header .navbar { min-height: var(--rom-header-h); padding: 0; }
.site-logo img { height: 42px; width: auto; display: block; }
.site-logo .logo-text { font-family: var(--rom-font-head); font-weight: 800; font-size: 1.55rem; color: #fff; letter-spacing: .02em; text-decoration: none; }
.site-logo .logo-text b { color: var(--rom-yellow); font-weight: 800; }
.main-nav .nav-link { font-family: var(--rom-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; color: var(--rom-text-soft); padding: .5rem .85rem !important; position: relative; }
.main-nav .nav-link:hover { color: var(--rom-yellow); }
.main-nav .nav-link.active { color: #fff; }
.main-nav .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -2px; height: 3px; background: var(--rom-yellow); }
.navbar-toggler { border: 0; padding: .5rem; min-width: 44px; min-height: 44px; }
.navbar-toggler .bar { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: .2s; }
.offcanvas { background: var(--rom-black); color: var(--rom-text); border-left: 1px solid var(--rom-border) !important; }
.offcanvas .nav-link { font-family: var(--rom-font-head); font-size: 1.9rem; font-weight: 800; text-transform: uppercase; color: #fff; padding: .4rem 0; border-bottom: 1px solid var(--rom-border); }
.offcanvas .nav-link:hover, .offcanvas .nav-link.active { color: var(--rom-yellow); }

/* ---- Bölümler ---- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-surface { background: var(--rom-surface); }
.section-light { background: #F4F4F1; color: #151515; }
.section-light h1, .section-light h2, .section-light h3 { color: var(--rom-black); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head h2 { margin: .35rem 0 0; }
.grid-lines { background-image: linear-gradient(var(--rom-border) 1px, transparent 1px), linear-gradient(90deg, var(--rom-border) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
.yellow-rule { width: 64px; height: 4px; background: var(--rom-yellow); border: 0; opacity: 1; margin: 1rem 0; }

/* ---- Hero ---- */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: end; overflow: hidden; padding: 7rem 0 4.5rem; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.35) 0%, rgba(11,11,11,.55) 45%, var(--rom-black) 100%), linear-gradient(90deg, rgba(11,11,11,.85) 0%, rgba(11,11,11,0) 70%); }
.hero-fallback { background: radial-gradient(1200px 500px at 85% 10%, color-mix(in srgb, var(--rom-yellow) 18%, transparent), transparent 60%), repeating-linear-gradient(135deg, #111 0 22px, #0e0e0e 22px 44px); }
.hero h1 { font-size: clamp(2.8rem, 8.5vw, 6.4rem); line-height: .92; max-width: 14ch; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--rom-yellow); }
.hero .lead { color: var(--rom-text-soft); max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rom-border); }
.hero-stats .num { font-family: var(--rom-font-head); font-weight: 800; font-size: 2.4rem; color: var(--rom-yellow); line-height: 1; }
.hero-stats .lbl { font-size: .85rem; color: var(--rom-muted); text-transform: uppercase; letter-spacing: .08em; }
.page-hero { padding: 4.5rem 0 2.5rem; border-bottom: 1px solid var(--rom-border); background: radial-gradient(800px 260px at 90% 0%, var(--rom-yellow-dim), transparent 70%); }
.page-hero h1 { margin-bottom: .5rem; }
.page-hero .lead { color: var(--rom-text-soft); max-width: 62ch; }

/* ---- Kartlar ---- */
.rom-card { background: var(--rom-surface); border: 1px solid var(--rom-border); border-radius: var(--rom-radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; position: relative; transition: transform .25s var(--rom-ease), border-color .25s, box-shadow .25s; }
.rom-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--rom-yellow); transition: width .35s var(--rom-ease); z-index: 2; }
.rom-card:hover { transform: translateY(-4px); border-color: #3a3a3a; box-shadow: 0 18px 40px -24px rgba(0,0,0,.9); }
.rom-card:hover::before { width: 100%; }
.rom-card .media { position: relative; aspect-ratio: 16/10; background: var(--rom-surface-2); overflow: hidden; }
.rom-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rom-ease); }
.rom-card:hover .media img { transform: scale(1.04); }
.rom-card .media .badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.rom-card .body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.rom-card .title { font-family: var(--rom-font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; color: #fff; text-decoration: none; }
.rom-card .title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rom-card a.title:hover { color: var(--rom-yellow); }
.rom-card .meta { color: var(--rom-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.rom-card .meta i, .meta-icon { color: var(--rom-yellow); margin-right: .3rem; }
.rom-card .foot { margin-top: auto; padding-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--rom-border); }
.rom-card .foot .btn, .rom-card .foot a { position: relative; z-index: 2; }
.rom-card .price { font-family: var(--rom-font-head); font-weight: 800; font-size: 1.45rem; color: var(--rom-yellow); }
.placeholder-media { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, #171717 0 16px, #131313 16px 32px); color: #333; font-family: var(--rom-font-head); font-weight: 800; font-size: 2rem; letter-spacing: .1em; }

.date-chip { position: absolute; right: 12px; top: 12px; background: var(--rom-yellow); color: var(--rom-black); text-align: center; border-radius: var(--rom-radius); padding: .35rem .6rem; font-family: var(--rom-font-head); line-height: 1; min-width: 56px; z-index: 2; }
.date-chip .d { font-size: 1.7rem; font-weight: 800; display: block; }
.date-chip .m { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

/* ---- Rozetler ---- */
.badge-rom { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--rom-font-head); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .55rem; border-radius: 3px; line-height: 1; }
.badge-free { background: #fff; color: var(--rom-black); }
.badge-paid { background: var(--rom-yellow); color: var(--rom-black); }
.badge-new { background: var(--rom-success); color: var(--rom-black); }
.badge-full { background: var(--rom-danger); color: #fff; }
.badge-dark { background: rgba(11,11,11,.82); color: #fff; border: 1px solid var(--rom-border); }
.badge-outline { border: 1px solid var(--rom-border); color: var(--rom-text-soft); }

/* Kontenjan göstergesi */
.capacity { display: grid; gap: .35rem; }
.capacity .bar { height: 6px; background: var(--rom-border); border-radius: 6px; overflow: hidden; }
.capacity .bar span { display: block; height: 100%; background: var(--rom-yellow); border-radius: 6px; }
.capacity .bar span.full { background: var(--rom-danger); }
.capacity small { color: var(--rom-muted); font-size: .82rem; display: flex; justify-content: space-between; }

/* ---- Formlar ---- */
.form-control, .form-select { background-color: var(--rom-surface-2); border: 1px solid #333; color: #fff; border-radius: var(--rom-radius); min-height: 48px; padding: .65rem .9rem; }
.form-control:focus, .form-select:focus { background-color: #202020; border-color: var(--rom-yellow); color: #fff; box-shadow: 0 0 0 .2rem var(--rom-yellow-dim); }
.form-control::placeholder { color: #7a7a7a; }
.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFD400' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.form-label { font-weight: 600; font-size: .92rem; color: var(--rom-text-soft); margin-bottom: .35rem; }
.form-label .req { color: var(--rom-yellow); }
.form-text { color: var(--rom-muted); }
.form-check-input { background-color: var(--rom-surface-2); border-color: #555; width: 1.25em; height: 1.25em; margin-top: .15em; }
.form-check-input:checked { background-color: var(--rom-yellow); border-color: var(--rom-yellow); --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%230B0B0B' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.form-check-label { cursor: pointer; }
.field-validation-error, .invalid-feedback { color: var(--rom-danger); font-size: .86rem; display: block; margin-top: .3rem; }
.input-validation-error { border-color: var(--rom-danger) !important; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-panel { background: var(--rom-surface); border: 1px solid var(--rom-border); border-radius: var(--rom-radius-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.form-panel + .form-panel { margin-top: 1.25rem; }
.form-panel h3 { font-size: 1.45rem; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; }
.form-panel h3 .num { background: var(--rom-yellow); color: var(--rom-black); width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.participant-block { border: 1px dashed #3a3a3a; border-radius: var(--rom-radius-lg); padding: 1.1rem; margin-bottom: 1rem; position: relative; }
.participant-block .p-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.participant-block .p-head strong { font-family: var(--rom-font-head); font-size: 1.25rem; text-transform: uppercase; }

/* Adım göstergesi */
.steps { display: flex; gap: .4rem; counter-reset: step; margin-bottom: 1.5rem; flex-wrap: wrap; }
.steps li { list-style: none; flex: 1 1 0; min-width: 120px; font-family: var(--rom-font-head); text-transform: uppercase; font-weight: 600; font-size: .9rem; letter-spacing: .06em; color: var(--rom-muted); border-top: 4px solid var(--rom-border); padding-top: .5rem; }
.steps li.active, .steps li.done { color: #fff; border-color: var(--rom-yellow); }
.steps li::before { counter-increment: step; content: "0" counter(step) " "; color: var(--rom-yellow); }
.steps { padding: 0; }

.summary-box { position: sticky; top: calc(var(--rom-header-h) + 16px); }
.summary-box .total { font-family: var(--rom-font-head); font-weight: 800; font-size: 2.2rem; color: var(--rom-yellow); line-height: 1; }
.timer-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--rom-yellow-dim); color: var(--rom-yellow); border: 1px solid color-mix(in srgb, var(--rom-yellow) 40%, transparent); padding: .3rem .7rem; border-radius: 20px; font-size: .85rem; font-weight: 600; }

/* ---- Uyarılar ---- */
.alert { border-radius: var(--rom-radius); border-width: 1px; }
.alert-rom { background: var(--rom-yellow-dim); border-color: color-mix(in srgb, var(--rom-yellow) 45%, transparent); color: #fff; }
.alert-danger { background: rgba(255,90,90,.1); border-color: rgba(255,90,90,.45); color: #ffd0d0; }
.alert-success { background: rgba(61,220,132,.1); border-color: rgba(61,220,132,.45); color: #c9f7dc; }
.alert-warning { background: rgba(255,176,32,.1); border-color: rgba(255,176,32,.45); color: #ffe3b0; }
.legal-draft { background: rgba(255,176,32,.12); border: 1px solid rgba(255,176,32,.5); color: #ffe3b0; padding: .9rem 1rem; border-radius: var(--rom-radius); margin-bottom: 1.5rem; font-size: .92rem; }

/* ---- Uzun metin (blog, program, sayfa) ---- */
.prose { color: #E6E6E6; font-size: 1.06rem; line-height: 1.75; max-width: 72ch; }
.prose h2 { font-size: 2rem; margin: 2.2rem 0 .9rem; }
.prose h3 { font-size: 1.5rem; margin: 1.8rem 0 .7rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.15rem; }
.prose ul li::marker { color: var(--rom-yellow); }
.prose blockquote { border-left: 4px solid var(--rom-yellow); padding: .25rem 0 .25rem 1.2rem; color: #fff; font-size: 1.15rem; font-style: italic; margin: 1.6rem 0; }
.prose img { border-radius: var(--rom-radius-lg); margin: 1rem 0; }
.prose a { color: var(--rom-yellow); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose td, .prose th { border-bottom: 1px solid var(--rom-border); padding: .5rem; }

/* ---- Program içeriği ---- */
.program-week { border: 1px solid var(--rom-border); border-radius: var(--rom-radius-lg); margin-bottom: 1.25rem; overflow: hidden; background: var(--rom-surface); }
.program-week > header { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #0f0f0f; border-bottom: 1px solid var(--rom-border); }
.program-week > header .wk { background: var(--rom-yellow); color: var(--rom-black); font-family: var(--rom-font-head); font-weight: 800; font-size: 1.15rem; padding: .3rem .7rem; border-radius: 3px; white-space: nowrap; }
.program-week > header h3 { margin: 0; font-size: 1.35rem; }
.program-week .goal { padding: .75rem 1.25rem 0; color: var(--rom-text-soft); }
.session { padding: 1rem 1.25rem; border-top: 1px solid var(--rom-border); }
.session:first-of-type { border-top: 0; }
.session .s-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: baseline; margin-bottom: .6rem; }
.session .s-day { font-family: var(--rom-font-head); text-transform: uppercase; color: var(--rom-yellow); font-weight: 600; letter-spacing: .08em; }
.session .s-title { font-family: var(--rom-font-head); font-weight: 800; font-size: 1.35rem; text-transform: uppercase; }
.block-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.block-list li { display: grid; grid-template-columns: 130px 1fr; gap: .25rem 1rem; padding: .6rem .8rem; background: var(--rom-surface-2); border-radius: var(--rom-radius); border-left: 3px solid var(--rom-yellow); }
.block-list .bt { font-family: var(--rom-font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rom-muted); font-size: .92rem; }
.block-list .bd strong { color: #fff; }
.block-list .bx { color: var(--rom-yellow); font-weight: 600; font-size: .92rem; }
.block-list .bn { color: var(--rom-muted); font-size: .88rem; font-style: italic; }
@media (max-width: 575.98px) { .block-list li { grid-template-columns: 1fr; } }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.info-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--rom-border); }
.info-list li span:first-child { color: var(--rom-muted); }
.info-list li span:last-child { text-align: right; font-weight: 600; color: #fff; }

.locked-preview { position: relative; border: 1px dashed #444; border-radius: var(--rom-radius-lg); padding: 2rem; text-align: center; background: repeating-linear-gradient(135deg, #121212 0 14px, #101010 14px 28px); }
.locked-preview .lock { width: 56px; height: 56px; border-radius: 50%; background: var(--rom-yellow); color: var(--rom-black); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: .75rem; }

/* ---- Galeri ---- */
.gallery-grid { columns: 3 280px; column-gap: 12px; }
.gallery-grid a { display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--rom-radius); overflow: hidden; position: relative; background: var(--rom-surface-2); }
.gallery-grid img { width: 100%; display: block; transition: transform .5s var(--rom-ease), filter .3s; }
.gallery-grid a:hover img { transform: scale(1.03); filter: brightness(1.08); }
.gallery-grid a::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; transition: border-color .2s; border-radius: var(--rom-radius); }
.gallery-grid a:hover::after { border-color: var(--rom-yellow); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(5,5,5,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; transition: transform .2s; cursor: zoom-in; user-select: none; }
.lightbox img.zoomed { transform: scale(1.8); cursor: zoom-out; }
.lightbox figcaption { color: var(--rom-text-soft); margin-top: .8rem; text-align: center; font-size: .95rem; }
.lightbox .lb-btn { position: absolute; background: rgba(21,21,21,.85); color: #fff; border: 1px solid var(--rom-border); width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
.lightbox .lb-btn:hover { background: var(--rom-yellow); color: var(--rom-black); }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close { right: 18px; top: 18px; }
.lightbox .lb-count { position: absolute; left: 22px; top: 26px; font-family: var(--rom-font-head); color: var(--rom-yellow); font-weight: 600; letter-spacing: .1em; }

/* ---- Reklam alanları (CLS önlemek için sabit oran) ---- */
.ad-slot { position: relative; margin: 2rem auto; max-width: var(--ad-w); width: 100%; }
.ad-slot .ad-frame { position: relative; width: 100%; aspect-ratio: var(--ad-mw) / var(--ad-mh); overflow: hidden; border-radius: var(--rom-radius); background: var(--rom-surface); }
@media (min-width: 768px) { .ad-slot .ad-frame { aspect-ratio: var(--ad-w) / var(--ad-h); } }
.ad-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-slot .ad-label { position: absolute; right: 6px; top: 6px; z-index: 2; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; background: rgba(0,0,0,.7); color: #ccc; padding: 2px 6px; border-radius: 2px; }
.ad-slot .ad-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; border: 1px dashed #3a3a3a; color: var(--rom-muted); text-decoration: none; text-align: center; padding: 1rem; background: repeating-linear-gradient(135deg, #131313 0 12px, #111 12px 24px); }
.ad-slot .ad-placeholder strong { font-family: var(--rom-font-head); text-transform: uppercase; color: var(--rom-text-soft); letter-spacing: .08em; }
.ad-slot .ad-placeholder:hover { border-color: var(--rom-yellow); color: var(--rom-yellow); }
.ad-slot.ad-sidebar { margin: 0 0 1.5rem; }

/* ---- Sponsorlar ---- */
.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3rem; }
.sponsor-logo { display: flex; align-items: center; justify-content: center; filter: grayscale(1) brightness(1.4); opacity: .75; transition: filter .25s, opacity .25s, transform .25s; }
.sponsor-logo:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.sponsor-logo img { max-height: 56px; width: auto; }
.sponsor-logo.tier-0 img { max-height: 84px; }
.sponsor-logo .name { font-family: var(--rom-font-head); font-weight: 800; text-transform: uppercase; font-size: 1.4rem; color: #fff; }
.sponsor-card { background: var(--rom-surface); border: 1px solid var(--rom-border); border-radius: var(--rom-radius-lg); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: .75rem; }
.sponsor-card .logo-wrap { height: 110px; display: flex; align-items: center; justify-content: center; background: #0f0f0f; border-radius: var(--rom-radius); padding: 1rem; }
.sponsor-card.tier-0 .logo-wrap { height: 150px; }
.sponsor-card .logo-wrap img { max-height: 100%; max-width: 100%; }

/* ---- Footer ---- */
.site-footer { background: #070707; border-top: 1px solid var(--rom-border); padding: 4rem 0 2rem; color: var(--rom-muted); font-size: .95rem; }
.site-footer h4 { font-size: 1.15rem; color: #fff; margin-bottom: 1rem; letter-spacing: .08em; }
.site-footer a { color: var(--rom-text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--rom-yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .bottom { border-top: 1px solid var(--rom-border); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 44px; height: 44px; border: 1px solid var(--rom-border); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: .2s; }
.social a:hover { background: var(--rom-yellow); color: var(--rom-black); border-color: var(--rom-yellow); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---- Sayfalama ---- */
.pagination { --bs-pagination-bg: var(--rom-surface); --bs-pagination-color: #fff; --bs-pagination-border-color: var(--rom-border); --bs-pagination-hover-bg: var(--rom-yellow); --bs-pagination-hover-color: var(--rom-black);
  --bs-pagination-active-bg: var(--rom-yellow); --bs-pagination-active-border-color: var(--rom-yellow); --bs-pagination-active-color: var(--rom-black); --bs-pagination-disabled-bg: var(--rom-black); --bs-pagination-disabled-color: #555; --bs-pagination-disabled-border-color: var(--rom-border); }
.pagination .page-link { min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--rom-border); border-radius: 30px; color: var(--rom-text-soft); text-decoration: none; font-weight: 600; font-size: .92rem; transition: .15s; background: transparent; }
.chip:hover { border-color: var(--rom-yellow); color: var(--rom-yellow); }
.chip.active { background: var(--rom-yellow); color: var(--rom-black); border-color: var(--rom-yellow); }

.breadcrumb { --bs-breadcrumb-divider-color: #555; --bs-breadcrumb-item-active-color: var(--rom-muted); font-size: .88rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--rom-text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--rom-yellow); }

.empty-state { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--rom-border); border-radius: var(--rom-radius-lg); color: var(--rom-muted); }
.empty-state .big { font-family: var(--rom-font-head); font-size: 2rem; color: #fff; font-weight: 800; text-transform: uppercase; }

.cta-band { background: var(--rom-yellow); color: var(--rom-black); padding: clamp(2.5rem, 6vw, 4rem) 0; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--rom-black); }
.cta-band .btn-dark { --bs-btn-bg: var(--rom-black); --bs-btn-border-color: var(--rom-black); --bs-btn-hover-bg: #222; --bs-btn-color: var(--rom-yellow); --bs-btn-hover-color: var(--rom-yellow); }
.cta-band::after { content: "ROM"; position: absolute; right: -2rem; bottom: -4rem; font-family: var(--rom-font-head); font-weight: 800; font-size: 16rem; line-height: 1; color: rgba(0,0,0,.06); pointer-events: none; }

.coach-card .media { aspect-ratio: 4/5; }
.story-card blockquote { font-size: 1.05rem; color: var(--rom-text-soft); margin: 0; }
.story-result { font-family: var(--rom-font-head); font-weight: 800; color: var(--rom-yellow); font-size: 1.3rem; text-transform: uppercase; }

.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080; max-width: 560px; background: var(--rom-surface); border: 1px solid var(--rom-border); border-left: 4px solid var(--rom-yellow); border-radius: var(--rom-radius-lg); padding: 1.1rem 1.25rem; box-shadow: 0 20px 50px -20px #000; display: none; }
.cookie-banner.show { display: block; }

.result-icon { width: 84px; height: 84px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2.6rem; margin-bottom: 1rem; }
.result-icon.ok { background: var(--rom-yellow); color: var(--rom-black); }
.result-icon.fail { background: var(--rom-danger); color: #fff; }
.result-icon.wait { border: 3px solid var(--rom-yellow); color: var(--rom-yellow); }
.code-pill { font-family: Consolas, "SFMono-Regular", monospace; background: var(--rom-black); color: var(--rom-yellow); border: 1px solid var(--rom-border); padding: .2rem .55rem; border-radius: 3px; letter-spacing: .1em; font-weight: 700; }

.table-rom { --bs-table-bg: transparent; --bs-table-color: var(--rom-text); --bs-table-border-color: var(--rom-border); --bs-table-striped-bg: rgba(255,255,255,.02); --bs-table-hover-bg: rgba(255,212,0,.05); }

/* ---- Hareket ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--rom-ease), transform .7s var(--rom-ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Yazdırma (ücretsiz program sayfası yazdırılabilir) ---- */
@media print {
  .site-header, .site-footer, .ad-slot, .cookie-banner, .no-print, .btn, .breadcrumb { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  h1, h2, h3, .session .s-title, .program-week > header h3 { color: #000 !important; }
  .program-week, .session, .block-list li { background: #fff !important; border-color: #bbb !important; break-inside: avoid; }
  .program-week > header { background: #eee !important; }
  .program-week > header .wk { border: 1px solid #000; }
  .prose, .block-list .bd strong, .info-list li span:last-child { color: #000 !important; }
  a { color: #000 !important; text-decoration: none; }
  .page-hero { background: none !important; padding: 0 0 1rem; }
}

@media (max-width: 991.98px) {
  :root { --rom-header-h: 64px; }
  .summary-box { position: static; }
}
@media (max-width: 575.98px) {
  .hero { padding-top: 5rem; min-height: 78vh; }
  .hero-stats { gap: 1.5rem; }
  .rom-card .title { font-size: 1.35rem; }
}
