/* ============================================================
   Bilgi Yarışması — stüdyo görünümü (yrp-*) · yarisma.css'in üstüne
   ============================================================ */
.yr { gap: 1.4rem; }

/* Menü: hap sekmeler */
.yr-menu { padding: .3rem; border-radius: 999px; background: var(--ry-yuzey); box-shadow: var(--ry-golge-1); border: 0; }
.yr-menu a { border: 0 !important; }
.yr-menu .yr-menu-canli { background: #fde8e5; }

/* Kahraman: yarışma stüdyosu */
.yrp-hero { isolation: isolate; border-radius: 30px; padding: clamp(1.5rem, 3.6vw, 2.8rem); min-height: 430px; align-items: center;
  background: radial-gradient(90% 120% at 85% 10%, rgba(244,197,79,.22), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(47,122,75,.45), transparent 60%), linear-gradient(140deg, #050d0a 0%, #0b2418 45%, #10331f 100%);
  box-shadow: 0 34px 70px -36px rgba(5,13,10,.85), inset 0 0 0 1px rgba(255,255,255,.05); }
.yrp-hero.canli { background: radial-gradient(90% 120% at 85% 10%, rgba(255,90,70,.3), transparent 55%), linear-gradient(140deg, #1a0604, #4a130c 55%, #6d1d14); }
.yrp-spot { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.yrp-spot i { position: absolute; top: -30%; width: 34%; height: 160%; background: linear-gradient(180deg, rgba(255,236,170,.16), rgba(255,236,170,0) 70%); filter: blur(6px); transform-origin: 50% 0; animation: yrp-salla 9s ease-in-out infinite alternate; }
.yrp-spot i:nth-child(1) { left: 6%; transform: rotate(16deg); }
.yrp-spot i:nth-child(2) { left: 38%; transform: rotate(-6deg); animation-delay: -3s; opacity: .7; }
.yrp-spot i:nth-child(3) { left: 68%; transform: rotate(-20deg); animation-delay: -6s; }
@keyframes yrp-salla { from { rotate: -5deg; } to { rotate: 5deg; } }
.yrp-isiklar { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.yrp-isiklar i { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: #ffe7a1; box-shadow: 0 0 10px 2px rgba(255,214,120,.6); opacity: .0; animation: yrp-parilti 3.2s ease-in-out var(--g) infinite; }
@keyframes yrp-parilti { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .85; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .yrp-spot i, .yrp-isiklar i { animation: none; } .yrp-isiklar i { opacity: .4; } }
.yrp-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); letter-spacing: -.045em; }
.yrp-hero h1 em { background: linear-gradient(120deg, #ffe49a, #f4c54f 40%, #e39a2a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 20px rgba(244,197,79,.35)); }
.yrp-hero .yr-cip { background: rgba(244,197,79,.14); border-color: rgba(244,197,79,.35); color: #ffe1a3; }
.yrp-hero .yr-btn-altin { border-radius: 16px !important; padding: .95rem 1.5rem !important; font-weight: 900 !important; }
.yrp-hero .ry-btn-saydam { border-radius: 16px !important; padding: .95rem 1.4rem !important; }

/* Geri sayım: parlayan karolar */
.yrp-hero .yr-geri-kutu { padding: 1.25rem; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.yrp-hero .yr-geri-tarih { font-size: 1.3rem; color: #fff; }
.yrp-hero .yr-geri > div { position: relative; padding: .9rem .2rem .6rem; border-radius: 16px; background: linear-gradient(180deg, #13261c, #071510); border: 1px solid rgba(244,197,79,.18); box-shadow: 0 10px 20px -12px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); overflow: hidden; }
.yrp-hero .yr-geri > div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.yrp-hero .yr-geri b { font-size: clamp(2rem, 4vw, 2.9rem); color: #ffe7a1; text-shadow: 0 0 22px rgba(244,197,79,.45); }
.yrp-hero .yr-geri small { color: rgba(255,231,161,.6); }

/* Ödüller: madalya kartları */
.yrp-hero .yr-oduller li { position: relative; padding: .75rem .9rem; border-radius: 18px; gap: .85rem; overflow: hidden; }
.yrp-hero .yr-oduller li > i { margin-left: auto; opacity: .35; font-size: 1.5rem; width: auto; }
.yrp-madalya { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.05rem; color: #3a2503; background: radial-gradient(circle at 35% 30%, #fff3c4, #f4c54f 45%, #c98a1f); box-shadow: 0 6px 14px -6px rgba(244,197,79,.8), inset 0 -2px 0 rgba(0,0,0,.15); }
.yr-oduller li.d2 .yrp-madalya { color: #2a3338; background: radial-gradient(circle at 35% 30%, #ffffff, #cfd8dd 45%, #8d9aa1); box-shadow: 0 6px 14px -6px rgba(207,216,221,.6), inset 0 -2px 0 rgba(0,0,0,.15); }
.yr-oduller li.d3 .yrp-madalya { color: #3a1f0b; background: radial-gradient(circle at 35% 30%, #ffd9b8, #e2a476 45%, #a8612e); box-shadow: 0 6px 14px -6px rgba(226,164,118,.6), inset 0 -2px 0 rgba(0,0,0,.15); }
.yrp-hero .yr-oduller li.d1 { background: linear-gradient(90deg, rgba(244,197,79,.22), rgba(244,197,79,.06)); border-color: rgba(244,197,79,.45); }
.yrp-hero .yr-oduller li.d1 b { font-size: 1.08rem; color: #fff3cf; }

/* Bilgi şeridi */
.yrp-serit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: -2.2rem; margin-inline: clamp(.5rem, 3vw, 2.5rem); position: relative; z-index: 2; border-radius: 22px; background: var(--ry-yuzey); box-shadow: 0 20px 40px -24px rgba(5,13,10,.55), var(--ry-golge-1); overflow: hidden; }
.yrp-serit > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1rem 1.2rem; }
.yrp-serit > div + div { border-left: 1px solid var(--ry-cizgi-2); }
.yrp-serit i { grid-row: span 2; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #fff5dc; color: #c98a1f; font-size: 1.05rem; }
[data-tema="karanlik"] .yrp-serit i { background: #3a2c12; color: #f4c54f; }
.yrp-serit b { font-size: 1.3rem; font-weight: 900; color: var(--ry-murekkep); line-height: 1.1; font-variant-numeric: tabular-nums; }
.yrp-serit small { font-size: .78rem; color: var(--ry-soluk); font-weight: 600; }

/* Adımlar: bağlı zaman çizelgesi */
.yrp-adimlar { gap: 1rem; counter-reset: none; }
.yrp-adimlar > div { padding: 1.25rem 1.1rem 1.15rem; border: 0; border-radius: 22px; box-shadow: var(--ry-golge-1); transition: transform var(--ry-gecis), box-shadow var(--ry-gecis); }
.yrp-adimlar > div:hover { transform: translateY(-3px); box-shadow: var(--ry-golge-2); }
.yrp-adimlar span { left: auto; right: 1rem; top: 1rem; width: auto; height: auto; padding: .15rem .55rem; border-radius: 999px; background: var(--ry-yuzey-2); color: var(--ry-cok-soluk); font-size: .75rem; }
.yrp-adim-ikon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; margin-bottom: .75rem; font-style: normal; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--ry-cay-700), var(--ry-cay-500)); box-shadow: 0 10px 20px -12px rgba(31,81,50,.8); }
.yrp-adimlar > div:nth-child(2) .yrp-adim-ikon { background: linear-gradient(135deg, #1d5a73, #2d8bb0); }
.yrp-adimlar > div:nth-child(3) .yrp-adim-ikon { background: linear-gradient(135deg, #c2410c, #f59e0b); }
.yrp-adimlar > div:nth-child(4) .yrp-adim-ikon { background: linear-gradient(135deg, #b8860b, #f4c54f); color: #3a2503; }
.yrp-adimlar b { font-size: 1.02rem; }

/* Kartlar */
.yr .yr-kart { border: 0; border-radius: 22px; padding: 1.3rem; box-shadow: var(--ry-golge-1), 0 16px 36px -28px rgba(14,42,28,.45); }
.yr .yr-kart-bas { padding-bottom: .75rem; margin-bottom: .9rem; border-bottom: 1px solid var(--ry-cizgi-2); }
.yr .yr-kart-bas h2 { font-size: 1.15rem; font-weight: 900; letter-spacing: -.01em; }
.yr .yr-kart-bas h2 i { width: 34px; height: 34px; border-radius: 11px; display: inline-grid; place-items: center; background: var(--ry-cay-100); color: var(--ry-cay-700); font-size: .9rem; }
.yr .yr-kart-bas > a { padding: .35rem .75rem; border-radius: 999px; background: var(--ry-yuzey-2); text-decoration: none; font-size: .82rem; }
#deneme { background: radial-gradient(80% 120% at 100% 0%, rgba(244,197,79,.12), transparent 60%), var(--ry-yuzey); }
.yr-deneme-bos { text-align: center; padding: 1.5rem .5rem; }
.yr-deneme-bos p { font-size: 1.02rem; color: var(--ry-metin); }
.yr-deneme-bos .ry-btn { border-radius: 14px; padding: .8rem 1.4rem; font-weight: 900; }
.yr .yr-sekmeler { border-radius: 999px; }
.yr-davet { text-align: center; background: linear-gradient(180deg, #fff8e6, var(--ry-yuzey) 60%) !important; }
[data-tema="karanlik"] .yr-davet { background: linear-gradient(180deg, #2a2210, var(--ry-yuzey) 60%) !important; }
.yr-davet > i { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 1.6rem; color: #3a2503; background: radial-gradient(circle at 35% 30%, #fff3c4, #f4c54f 45%, #c98a1f); box-shadow: 0 12px 24px -12px rgba(201,138,31,.8); margin-bottom: .6rem; }
.yr-ben { background: linear-gradient(180deg, var(--ry-cay-50), var(--ry-yuzey) 45%) !important; }
.yr .yr-puanlama b { border-radius: 10px; }

@media (max-width: 900px) {
  .yrp-hero { min-height: 0; border-radius: 24px; }
  .yrp-serit { grid-template-columns: 1fr 1fr; margin-top: -1.5rem; }
  .yrp-serit > div:nth-child(3) { border-left: 0; }
  .yrp-serit > div:nth-child(n+3) { border-top: 1px solid var(--ry-cizgi-2); }
}
@media (max-width: 560px) {
  .yrp-serit { margin-inline: 0; margin-top: -1rem; }
  .yrp-serit > div { padding: .8rem .85rem; column-gap: .55rem; }
  .yrp-serit i { width: 34px; height: 34px; border-radius: 11px; font-size: .9rem; }
  .yrp-serit b { font-size: 1.08rem; }
}
