/* ==========================================================================
   ETERNALRISE — SUNUCU ÇÖKÜŞ PARODİSİ MASTER STYLESHEET
   Ultra-animated, Cyber-Gothic Minecraft Parody Design System
   ========================================================================== */

:root {
  --bg-deep: #02060b;
  --bg-dark: #040c14;
  --bg-surface: rgba(6, 17, 27, 0.82);
  --cyan: #14d9ff;
  --cyan-glow: rgba(20, 217, 255, 0.45);
  --cyan-deep: #0077b6;
  --red: #ff2a4b;
  --red-glow: rgba(255, 42, 75, 0.55);
  --yellow: #ffb703;
  --green: #2ec4b6;
  --text: #f0f6fc;
  --text-muted: #8b9eb0;
  --text-dim: #556b7d;
  --border-cyan: rgba(20, 217, 255, 0.28);
  --border-glass: rgba(255, 255, 255, 0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  --font-impact: 'Impact', 'Arial Black', sans-serif;
  --font-comic: 'Comic Sans MS', 'Chalkboard SE', cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% -5%, #08293d 0%, #051421 28%, #02060b 70%),
    radial-gradient(circle at 10% 40%, rgba(255, 42, 75, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(20, 217, 255, 0.04) 0%, transparent 40%);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ==========================================================================
   EFEKT KATMANLARI (CANVAS, CRT SCANLINES, NOISE, VIGNETTE)
   ========================================================================== */

#fxCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scanlines, .noise, .vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scanlines {
  z-index: 40;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.07) 3px
  );
}

.noise {
  z-index: 41;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.vignette {
  z-index: 42;
  background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.page-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

/* Screen Shake Effect */
body.shaking {
  animation: screenRumble 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes screenRumble {
  10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-0.5deg); }
  20%, 80% { transform: translate3d(3px, -2px, 0) rotate(0.5deg); }
  30%, 50%, 70% { transform: translate3d(-5px, 2px, 0) rotate(-1deg); }
  40%, 60% { transform: translate3d(5px, -1px, 0) rotate(1deg); }
}

/* ==========================================================================
   ÜST REZALET BANDI (BREAKING NEWS MARQUEE & SOUND TOGGLE)
   ========================================================================== */

.ticker-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 42px;
  background: rgba(3, 10, 16, 0.92);
  border-bottom: 1px solid var(--border-cyan);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.ticker-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-impact);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 0 16px;
  height: 100%;
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  box-shadow: 2px 0 12px var(--red-glow);
  z-index: 2;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-content {
  display: inline-flex;
  gap: 40px;
  animation: marqueeRoll 32s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: #d8e5f2;
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
}

@keyframes marqueeRoll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-actions {
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 100%;
  background: rgba(3, 10, 16, 0.95);
  border-left: 1px solid var(--border-cyan);
  z-index: 2;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 217, 255, 0.1);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.sound-toggle:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.sound-toggle.muted {
  border-color: #556b7d;
  color: #7b8e9f;
  background: rgba(255, 255, 255, 0.03);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.eq-bars i {
  width: 2px;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
  animation: eqAnim 0.6s ease-in-out infinite alternate;
}

.eq-bars i:nth-child(2) { animation-delay: 0.2s; }
.eq-bars i:nth-child(3) { animation-delay: 0.4s; }

.sound-toggle.muted .eq-bars i {
  animation: none;
  height: 2px;
}

@keyframes eqAnim {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ==========================================================================
   HERO BÖLÜMÜ & ARKAPLAN GÖKYÜZÜ
   ========================================================================== */

.hero {
  position: relative;
  min-height: 850px;
  padding: 40px max(24px, 5vw) 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: radial-gradient(circle at 50% 18%, rgba(20, 217, 255, 0.18), transparent 30%),
              linear-gradient(180deg, #051421 0%, #030d17 50%, #02060b 100%);
}

.sky:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0% 45%, rgba(20, 217, 255, 0.12) 46%, transparent 48%),
              linear-gradient(65deg, transparent 0% 52%, rgba(255, 42, 75, 0.1) 53%, transparent 55%);
  mix-blend-mode: screen;
}

.ruins {
  position: absolute;
  bottom: 0;
  width: 44%;
  height: 68%;
  opacity: 0.55;
  filter: drop-shadow(0 0 24px rgba(0, 160, 255, 0.2));
  background: linear-gradient(180deg, transparent 0 9%, #071624 9% 18%, transparent 18% 21%, #0b1d2b 21% 46%, transparent 46% 50%, #07121c 50% 100%);
  clip-path: polygon(0 100%, 0 25%, 8% 25%, 8% 8%, 17% 8%, 17% 36%, 28% 36%, 28% 18%, 37% 18%, 37% 0, 48% 0, 48% 29%, 58% 29%, 58% 12%, 69% 12%, 69% 38%, 79% 38%, 79% 20%, 90% 20%, 90% 44%, 100% 44%, 100% 100%);
}

.ruins-left { left: -5%; }
.ruins-right { right: -5%; transform: scaleX(-1); }

.lightning {
  position: absolute;
  top: -10%;
  width: 4px;
  height: 65%;
  background: #d4f4ff;
  box-shadow: 0 0 10px #fff, 0 0 30px var(--cyan);
  clip-path: polygon(45% 0, 100% 26%, 60% 26%, 95% 51%, 52% 50%, 80% 100%, 0 56%, 40% 57%, 7% 31%, 50% 31%);
  opacity: 0.2;
  animation: thunderFlash 7s infinite;
}

.l1 { left: 14%; transform: rotate(14deg); animation-delay: -1.5s; }
.l2 { left: 74%; transform: rotate(-10deg); animation-delay: -4.2s; }
.l3 { left: 88%; height: 45%; animation-delay: -2.8s; }

.embers {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: radial-gradient(circle at 20% 75%, rgba(255, 42, 75, 0.25), transparent 22%),
              radial-gradient(circle at 80% 75%, rgba(20, 217, 255, 0.2), transparent 22%);
  filter: blur(14px);
}

@keyframes thunderFlash {
  0%, 91%, 95%, 100% { opacity: 0.05; }
  92% { opacity: 1; transform: scale(1.05); }
  94% { opacity: 0.6; }
}

/* ==========================================================================
   HERO BRAND & YAZILAR
   ========================================================================== */

.brand {
  margin-top: 15px;
  text-align: center;
  max-width: 1040px;
  position: relative;
  z-index: 5;
}

.brand-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(20, 217, 255, 0.5);
  box-shadow: 0 0 25px var(--cyan-glow);
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: rotate(5deg) scale(1.06);
}

.brand-glow {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 217, 255, 0.4), transparent 70%);
  filter: blur(14px);
  z-index: -1;
  animation: pulseAura 3s ease-in-out infinite alternate;
}

.clown-badge {
  position: absolute;
  bottom: -6px;
  right: -6px;
  font-size: 28px;
  filter: drop-shadow(0 2px 5px #000);
  animation: bounceClown 2s infinite;
}

@keyframes pulseAura {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

@keyframes bounceClown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px) rotate(10deg); }
}

.wordmark {
  font-family: var(--font-impact);
  letter-spacing: -0.02em;
  font-size: clamp(64px, 11vw, 156px);
  line-height: 0.85;
  margin: 14px 0 10px;
  color: #f0f6fc;
  text-shadow: 
    0 4px 0 #283747,
    0 10px 24px rgba(0, 0, 0, 0.9),
    0 0 30px var(--cyan-glow);
  transform: skewX(-2deg);
  position: relative;
  display: inline-block;
}

/* RGB Glitch Effect on Main Logo */
.glitch {
  position: relative;
}

.glitch:before, .glitch:after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch:before {
  left: 3px;
  text-shadow: -2px 0 var(--red);
  clip: rect(24px, 550px, 90px, 0);
  animation: glitchAnim1 3s infinite linear alternate-reverse;
}

.glitch:after {
  left: -3px;
  text-shadow: -2px 0 var(--cyan);
  clip: rect(85px, 550px, 140px, 0);
  animation: glitchAnim2 2.5s infinite linear alternate-reverse;
}

@keyframes glitchAnim1 {
  0% { clip-path: inset(40% 0 61% 0); }
  20% { clip-path: inset(92% 0 1% 0); }
  40% { clip-path: inset(10% 0 40% 0); }
  60% { clip-path: inset(75% 0 5% 0); }
  80% { clip-path: inset(25% 0 58% 0); }
  100% { clip-path: inset(54% 0 7% 0); }
}

@keyframes glitchAnim2 {
  0% { clip-path: inset(25% 0 58% 0); }
  20% { clip-path: inset(70% 0 10% 0); }
  40% { clip-path: inset(12% 0 65% 0); }
  60% { clip-path: inset(88% 0 2% 0); }
  80% { clip-path: inset(30% 0 45% 0); }
  100% { clip-path: inset(15% 0 80% 0); }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 42, 75, 0.15);
  border: 1px solid var(--red);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 6px 0 14px;
  box-shadow: 0 0 15px var(--red-glow);
}

.blink-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: blinkFast 1s infinite;
}

@keyframes blinkFast {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.status-title {
  font-family: var(--font-impact);
  font-size: clamp(34px, 4.5vw, 64px);
  margin: 0;
  letter-spacing: 0.02em;
  text-shadow: 0 5px 15px #000;
}

.neon-red {
  color: var(--red);
  text-shadow: 0 0 20px var(--red-glow), 0 0 40px var(--red);
}

.status-sub {
  font-family: var(--font-mono);
  color: #ff8595;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 4px 0 12px;
}

.tagline {
  font-size: clamp(17px, 2vw, 24px);
  color: #cbd8e4;
  margin: 10px auto 26px;
  max-width: 780px;
}

.tagline b {
  color: #ff6174;
}

.smile {
  display: inline-block;
  color: var(--red);
  font-size: 1.3em;
  font-weight: 900;
  transform: rotate(8deg);
}

/* Zincir Efektleri */
.chain {
  position: absolute;
  top: 140px;
  width: 260px;
  height: 12px;
  border-top: 8px dashed #404d59;
  filter: drop-shadow(0 4px 6px #000);
  opacity: 0.8;
}

.chain-left { left: -220px; transform: rotate(26deg); }
.chain-right { right: -220px; transform: rotate(-26deg); }

/* Hero Butonları */
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.action-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.action-btn:active {
  transform: translateY(1px);
}

.danger-btn {
  background: linear-gradient(135deg, #ff2a4b, #b90e29);
  color: #fff;
  border: 1px solid #ff7b90;
  box-shadow: 0 6px 20px var(--red-glow);
}

.danger-btn:hover {
  box-shadow: 0 8px 30px var(--red-glow);
}

.warning-btn {
  background: linear-gradient(135deg, #ffb703, #d48b00);
  color: #000;
  border: 1px solid #ffe180;
}

.warning-btn:hover {
  box-shadow: 0 8px 30px rgba(255, 183, 3, 0.4);
}

.info-btn {
  background: rgba(20, 217, 255, 0.12);
  color: var(--cyan);
  border: 1px solid var(--cyan);
}

.info-btn:hover {
  background: var(--cyan);
  color: #000;
  box-shadow: 0 8px 25px var(--cyan-glow);
}

/* ==========================================================================
   YAN PANOLAR: AHŞAP TABELA & AĞLAMA BUTONU (WOMP WOMP)
   ========================================================================== */

/* Ahşap Tabela */
.wood-sign {
  position: absolute;
  left: max(20px, 2.5vw);
  top: 170px;
  padding: 22px 26px;
  min-width: 230px;
  background: linear-gradient(90deg, #302019, #54392a 50%, #2f2019);
  border: 5px solid #16100c;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
  font-family: var(--font-comic);
  font-size: 26px;
  line-height: 1.15;
  transform: rotate(-5deg);
  text-shadow: 0 2px 3px #000;
  z-index: 6;
}

.wood-sign:before, .wood-sign:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(0, 0, 0, 0.3);
}

.wood-sign:before { left: 26%; }
.wood-sign:after { right: 26%; }

.nail {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0a0a0a;
  box-shadow: inset 0 1px 1px #fff;
  top: 8px;
}

.n1 { left: 14px; }
.n2 { right: 14px; }

.scribble {
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 55px;
  height: 16px;
  border-bottom: 3px solid #ff3852;
  border-radius: 50%;
  transform: rotate(-7deg);
}

.wood-sub {
  display: block;
  font-size: 13px;
  color: #ff919d;
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* Sağ Pano: Ağlama Butonu (Womp Womp Box) */
.womp-box {
  position: absolute;
  right: max(20px, 2.5vw);
  top: 170px;
  background: rgba(14, 23, 33, 0.9);
  border: 1px solid var(--red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
  padding: 18px 22px;
  border-radius: 12px;
  text-align: center;
  transform: rotate(4deg);
  z-index: 6;
  backdrop-filter: blur(10px);
}

.womp-title {
  font-family: var(--font-impact);
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #ff8595;
  margin-bottom: 10px;
}

.womp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff2a4b, #9e071e);
  color: #fff;
  border: 2px solid #ff7388;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-impact);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--red-glow);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.womp-btn:hover {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 25px var(--red);
}

.womp-btn:active {
  transform: scale(0.95);
}

.womp-count {
  margin-top: 10px;
  font-size: 12px;
  color: #9cb2c5;
}

.womp-count b {
  color: #fff;
  font-size: 15px;
}

/* ==========================================================================
   MINECRAFT HATA PENCERESİ SIMÜLATÖRÜ
   ========================================================================== */

.glass {
  background: linear-gradient(180deg, rgba(8, 20, 31, 0.88), rgba(4, 10, 16, 0.93));
  border: 1px solid var(--border-cyan);
  box-shadow: 
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 50px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(20, 217, 255, 0.08);
  backdrop-filter: blur(16px);
}

.connection-error {
  position: absolute;
  top: 310px;
  right: max(20px, 3.2vw);
  width: min(370px, 30vw);
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-2deg);
  z-index: 7;
  transition: transform 0.3s ease;
}

.connection-error:hover {
  transform: rotate(0deg) scale(1.02);
}

.window-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: rgba(13, 23, 33, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.window-bar b {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.x-btn {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #aebac5;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}

.x-btn:hover {
  color: var(--red);
}

.error-body {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 20px 18px;
}

.error-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 18px var(--red-glow);
}

.error-body strong {
  display: block;
  font-size: 15px;
  color: #fff;
  margin-bottom: 4px;
}

.error-body code {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ff5266;
  background: rgba(255, 42, 75, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
  word-break: break-all;
}

.error-body p {
  font-size: 12px;
  color: #9cb2c4;
  margin: 8px 0 0;
}

.error-footer {
  padding: 0 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fake-btn {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #18232e;
  color: #edf3f7;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.fake-btn:hover {
  background: #233242;
  border-color: var(--cyan);
}

.fake-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spin-icon {
  display: inline-block;
  font-size: 16px;
}

.fake-btn.loading .spin-icon {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.error-ping {
  font-size: 11px;
  color: #7b92a5;
  text-align: center;
}

.error-ping b {
  color: var(--red);
}

/* ==========================================================================
   PİKSEL KARAKTER & BAŞARISIZLIK KAĞIDI
   ========================================================================== */

.sad-player {
  position: absolute;
  left: 9%;
  bottom: 120px;
  width: 130px;
  height: 190px;
  filter: drop-shadow(0 20px 24px #000);
  transform: rotate(3deg);
  z-index: 4;
}

.pixel-head {
  position: absolute;
  left: 23px;
  top: 0;
  width: 88px;
  height: 88px;
  background: #12181f;
  border: 10px solid #070a0e;
  box-shadow: inset 0 0 0 8px #1b242e;
}

.hair {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #020304 0 58%, transparent 58%);
}

.eye {
  position: absolute;
  top: 49px;
  width: 11px;
  height: 7px;
  background: #bce9ff;
}

.eye.left { left: 17px; }
.eye.right { right: 17px; }

.pixel-body {
  position: absolute;
  left: 12px;
  top: 78px;
  width: 105px;
  height: 98px;
  background: linear-gradient(90deg, #102638 0 28%, #18202b 28% 72%, #102638 72%);
  border: 9px solid #070a0e;
  transform: skewX(-4deg);
}

.pixel-body:before, .pixel-body:after {
  content: "";
  position: absolute;
  top: 56px;
  width: 44px;
  height: 18px;
  background: #0d1218;
}

.pixel-body:before { left: -34px; transform: rotate(20deg); }
.pixel-body:after { right: -34px; transform: rotate(-20deg); }

.can {
  position: absolute;
  right: -6px;
  bottom: 22px;
  background: #192736;
  border: 3px solid #6c7e8e;
  padding: 8px 6px;
  color: #ff4d58;
  font-weight: 900;
  font-size: 13px;
  transform: rotate(-14deg);
}

.player-speech {
  position: absolute;
  top: -36px;
  left: -20px;
  background: #fff;
  color: #000;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.player-speech:after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 30px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
}

/* Başarısızlık Listesi (Kağıt Efekti) */
.paper {
  background: linear-gradient(145deg, #ece3d7, #c7b8a7);
  color: #171717;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  border-radius: 2px;
}

.paper:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 25%, rgba(45, 28, 18, 0.12), transparent 20%),
              linear-gradient(93deg, transparent 0 47%, rgba(80, 45, 28, 0.08) 50%, transparent 53%);
  mix-blend-mode: multiply;
}

.failure-list {
  position: absolute;
  left: max(20px, 3vw);
  bottom: 75px;
  transform: rotate(-3deg);
  padding: 18px 20px;
  width: 220px;
  font-family: var(--font-comic);
  z-index: 5;
}

.failure-list label {
  display: block;
  font-weight: 800;
  font-size: 15px;
  margin: 5px 0;
}

.failure-list label span {
  color: #b61f2d;
  font-size: 17px;
}

.failure-list strong {
  display: block;
  color: #a82228;
  font-size: 22px;
  margin-top: 10px;
  text-align: center;
}

.stamp-fail {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 3px solid #b61f2d;
  color: #b61f2d;
  font-family: var(--font-impact);
  font-size: 22px;
  padding: 2px 8px;
  border-radius: 4px;
  transform: rotate(18deg);
  opacity: 0.85;
}

/* ==========================================================================
   İSTATİSTİK SAYAÇLARI GRID
   ========================================================================== */

.stats-grid {
  width: min(1020px, 86vw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: auto;
  position: relative;
  z-index: 5;
}

.stat-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border-cyan);
  background: linear-gradient(180deg, rgba(7, 21, 31, 0.92), rgba(3, 9, 14, 0.95));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 152, 255, 0.04);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px var(--cyan-glow);
}

.stat-card.danger-card {
  border-color: rgba(255, 42, 75, 0.5);
}

.stat-card.danger-card:hover {
  border-color: var(--red);
  box-shadow: 0 12px 30px var(--red-glow);
}

.stat-card .icon {
  font-size: 32px;
  color: #d9eef7;
  min-width: 44px;
  text-align: center;
}

.stat-card b {
  display: block;
  font-size: 22px;
  font-family: var(--font-impact);
  letter-spacing: 0.03em;
}

.stat-card small {
  display: block;
  color: #cad6e2;
  margin: 3px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.stat-card em {
  display: block;
  color: #ff5266;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.danger {
  color: var(--red);
}

.pulse-text {
  animation: pulseColor 1.5s infinite alternate;
}

@keyframes pulseColor {
  0% { color: var(--red); text-shadow: 0 0 8px var(--red-glow); }
  100% { color: #ff8595; text-shadow: 0 0 22px var(--red); }
}

/* ==========================================================================
   ETKİLEŞİMLİ ROAST MERKEZİ (DASHBOARD)
   ========================================================================== */

.dashboard {
  padding: 0 max(24px, 5vw) 60px;
  margin-top: -30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 6;
}

.card-head {
  margin-bottom: 14px;
}

.card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  color: var(--cyan);
  background: rgba(20, 217, 255, 0.12);
  border: 1px solid var(--border-cyan);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.dashboard h3 {
  font-family: var(--font-impact);
  font-size: 18px;
  margin: 0;
  letter-spacing: 0.04em;
  color: #fff;
}

/* Widget 1: Bahaneler Çarkı */
.slot-panel {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.slot-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.slot-display {
  background: rgba(3, 8, 14, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  padding: 16px;
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
  position: relative;
}

.slot-icon {
  font-size: 32px;
}

.slot-text {
  font-size: 14px;
  font-style: italic;
  color: #ffe699;
  font-weight: 600;
  line-height: 1.4;
}

.slot-text.spinning {
  animation: slotRoll 0.25s infinite linear;
}

@keyframes slotRoll {
  0% { transform: translateY(-8px); opacity: 0.5; }
  100% { transform: translateY(8px); opacity: 1; }
}

.spin-btn {
  margin-top: auto;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #ffb703, #e09200);
  color: #000;
  border: 1px solid #ffe180;
  border-radius: 8px;
  font-family: var(--font-impact);
  font-size: 15px;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 183, 3, 0.3);
  transition: all 0.2s ease;
}

.spin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 183, 3, 0.5);
}

/* Widget 2: Gecikme Kronometresi */
.time-panel {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.timer-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0;
  background: rgba(3, 8, 14, 0.85);
  padding: 14px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-cyan);
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-box span {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
}

.time-box label {
  font-size: 9px;
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.time-sep {
  font-size: 20px;
  color: #556b7d;
  font-weight: 800;
}

.timer-note {
  margin-top: auto;
  font-size: 11px;
  color: #ff8595;
  background: rgba(255, 42, 75, 0.08);
  padding: 8px 10px;
  border-radius: 6px;
  border-left: 3px solid var(--red);
}

/* Widget 3: Yalan Dedektörü */
.meter-panel {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.gauge-container {
  margin: 20px 0 14px;
}

.gauge-bar {
  height: 22px;
  background: #111a24;
  border-radius: 12px;
  border: 2px solid #283747;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 8px #000;
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #2ec4b6, #ffb703 50%, #ff2a4b 80%, #a00 100%);
  border-radius: 10px;
  animation: overheatPulse 1s ease-in-out infinite alternate;
}

@keyframes overheatPulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.4) drop-shadow(0 0 10px var(--red)); }
}

.gauge-val {
  text-align: center;
  font-family: var(--font-impact);
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-top: 10px;
}

.meter-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: auto;
}

/* Widget 4: Kaçan Bağış Butonu */
.donate-panel {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.donate-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.dodge-arena {
  position: relative;
  height: 110px;
  background: rgba(3, 8, 14, 0.7);
  border: 1px dashed rgba(20, 217, 255, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dodge-btn {
  position: absolute;
  padding: 11px 18px;
  background: linear-gradient(135deg, #2ec4b6, #0e8579);
  color: #fff;
  border: 1px solid #5ff4e6;
  border-radius: 8px;
  font-family: var(--font-impact);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(46, 196, 182, 0.35);
  transition: transform 0.15s ease-out;
}

.dodge-msg {
  display: block;
  text-align: center;
  font-size: 11px;
  color: #ff919d;
  margin-top: 10px;
}

/* ==========================================================================
   TERMİNAL, KRONOLOJİ VE İLETİŞİM
   ========================================================================== */

.console-section {
  padding: 0 max(24px, 5vw) 60px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 6;
}

/* Terminal Paneli */
.terminal-panel {
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.window-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.window-actions i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
}

.window-actions i:nth-child(2) { background: #ffb703; box-shadow: 0 0 6px #ffb703; }
.window-actions i:nth-child(3) { background: #2ec4b6; box-shadow: 0 0 6px #2ec4b6; }

.terminal-output {
  flex: 1;
  height: 250px;
  overflow-y: auto;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: #dbe8f2;
}

.terminal-output .ok { color: #3bf59a; }
.terminal-output .bad { color: #ff5266; font-weight: 700; }
.terminal-output .dim { color: #7f95a6; }
.terminal-output .highlight { color: #ffe699; }

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(3, 8, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prompt-arrow {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 16px;
}

.terminal-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
}

.term-send-btn {
  background: var(--cyan);
  color: #000;
  border: 0;
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}

.term-send-btn:hover {
  opacity: 0.9;
}

.terminal-hints {
  padding: 6px 16px 10px;
  background: rgba(3, 8, 14, 0.95);
  font-size: 11px;
  color: var(--text-dim);
}

.terminal-hints code {
  color: var(--cyan);
  background: rgba(20, 217, 255, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 4px;
}

.terminal-hints code:hover {
  background: var(--cyan);
  color: #000;
}

/* Yalan Kronolojisi & Yapılacaklar (Papers Column) */
.papers-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.papers-col .paper {
  padding: 20px 22px;
  font-family: var(--font-comic);
}

.paper-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.timeline {
  transform: rotate(-1.5deg);
}

.todo {
  transform: rotate(1.5deg);
}

.papers-col h2 {
  font-family: var(--font-impact);
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: #171717;
}

.timeline p {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  margin: 8px 0;
  border-bottom: 1px dashed rgba(40, 20, 15, 0.2);
  padding-bottom: 5px;
  font-size: 14px;
}

.timeline b {
  font-size: 20px;
  color: #9c1f24;
  text-decoration: line-through;
}

.timeline i {
  color: #7c0f18;
}

.todo p {
  font-weight: 700;
  margin: 10px 0;
  font-size: 14px;
}

.todo p span {
  color: #c0242d;
  font-size: 18px;
}

.todo p b {
  color: #b31f27;
  font-size: 12px;
}

.todo em {
  display: block;
  text-align: right;
  font-size: 16px;
  margin-top: 14px;
}

/* İletişim & Ağlama Köşesi */
.contact-card {
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}

.contact-card h2 {
  font-family: var(--font-impact);
  font-size: 22px;
  margin: 0;
  color: #fff;
}

.contact-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.contact-row {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-cyan);
  background: rgba(3, 9, 14, 0.6);
  color: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.contact-row:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 6px 20px var(--cyan-glow);
  background: rgba(20, 217, 255, 0.08);
}

.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.discord { background: #5865f2; box-shadow: 0 0 12px rgba(88, 101, 242, 0.5); }
.whatsapp { background: #25d366; box-shadow: 0 0 12px rgba(37, 211, 102, 0.5); }

.contact-row small {
  display: block;
  color: var(--cyan);
  font-size: 11px;
}

.contact-row b {
  display: block;
  font-size: 15px;
  margin-top: 2px;
}

.copy-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7cdfff;
  background: rgba(20, 217, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(20, 217, 255, 0.3);
}

.contact-footer-box {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(255, 42, 75, 0.08);
  border: 1px solid rgba(255, 42, 75, 0.25);
  border-radius: 8px;
}

.contact-footer-box.domain-terms {
  background: rgba(255, 183, 3, 0.08);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-left: 4px solid var(--yellow);
}

.contact-footer-box strong {
  display: block;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-footer-box.domain-terms strong {
  color: var(--yellow);
}

.contact-footer-box p {
  margin: 0;
  font-size: 12px;
  color: #cbd8e4;
}

/* ==========================================================================
   MEZAR TAŞI & CANLI INCIDENT FEED
   ========================================================================== */

.extra-section {
  padding: 0 max(24px, 5vw) 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
  z-index: 6;
}

.rip-block {
  position: relative;
  min-height: 250px;
  background: linear-gradient(#334a2d 0 18%, #4f3826 18% 100%);
  border: 8px solid #161c20;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-impact);
  transform: rotate(-2deg);
  text-shadow: 0 3px 0 #000;
  padding: 20px;
}

.pixel-grass {
  position: absolute;
  top: -16px;
  left: -8px;
  right: -8px;
  height: 24px;
  background: repeating-linear-gradient(90deg, #2e742f 0 18px, #4d9f38 18px 34px);
}

.rip-skull {
  font-size: 44px;
  margin-bottom: 6px;
}

.rip-block strong {
  font-size: 40px;
  text-align: center;
  line-height: 1;
}

.rip-dates {
  font-size: 14px;
  color: #d1dbe2;
  margin-top: 8px;
}

.rip-epitaph {
  font-family: var(--font-comic);
  font-size: 15px;
  color: #ff919d;
  margin-top: 10px;
}

/* Mock Log / Incident Feed */
.mock-log {
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.log-head {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: rgba(10, 20, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.dot.yellow { background: #ffb703; box-shadow: 0 0 6px #ffb703; }
.dot.green { background: #2ec4b6; box-shadow: 0 0 6px #2ec4b6; }

.log-head b {
  margin-left: 8px;
  font-size: 12px;
  color: #8ccbe1;
  letter-spacing: 0.1em;
}

.live-indicator {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: var(--red);
  animation: blinkFast 1.2s infinite;
}

.live-feed {
  flex: 1;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
  color: #bdd1de;
  max-height: 230px;
  overflow-y: auto;
}

.live-feed p {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding: 3px 0;
}

.live-feed time { color: #698396; margin-right: 6px; }
.live-feed .tag-warn { color: #ffb703; font-weight: 700; }
.live-feed .tag-err { color: #ff5266; font-weight: 800; }
.live-feed .tag-info { color: #3be2ff; }
.live-feed .tag-shame { color: #e040fb; font-weight: 800; }

/* ==========================================================================
   FOOTER & TOAST & FLOATING PARTICLES
   ========================================================================== */

footer {
  text-align: center;
  color: #6a8292;
  font-size: 13px;
  padding: 20px max(20px, 5vw) 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  max-width: 700px;
  margin: 0 auto 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 100;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: rgba(5, 15, 24, 0.95);
  color: #eafaff;
  border: 1px solid var(--cyan);
  box-shadow: 0 14px 45px #000, 0 0 20px var(--cyan-glow);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Womp Womp / L Particle Explosion */
.particle-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
}

.flying-particle {
  position: absolute;
  font-family: var(--font-impact);
  font-weight: 900;
  user-select: none;
  animation: floatUpAndFade 1.6s ease-out forwards;
}

@keyframes floatUpAndFade {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.6) rotate(var(--tr));
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-left.reveal.visible {
  transform: rotate(-5deg);
}

.tilt-right.reveal.visible {
  transform: rotate(4deg);
}

/* ==========================================================================
   RESPONSIVE TASARIM (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
  .connection-error {
    top: 340px;
    width: 320px;
  }
  .wood-sign { top: 220px; }
  .womp-box { top: 220px; }
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .console-section {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 25px;
    padding-bottom: 50px;
  }
  .chain { display: none; }
  .wood-sign, .womp-box {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin: 15px auto;
    transform: none;
  }
  .connection-error {
    position: relative;
    top: auto;
    right: auto;
    width: min(92vw, 420px);
    margin: 25px auto 0;
    transform: none;
  }
  .sad-player, .failure-list {
    display: none;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 30px;
  }
  .dashboard {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .console-section {
    grid-template-columns: 1fr;
  }
  .extra-section {
    grid-template-columns: 1fr;
  }
  .rip-block {
    width: min(100%, 340px);
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .ticker-badge { font-size: 11px; padding: 0 10px; }
  .sound-label { display: none; }
  .wordmark { font-size: 16vw; }
  .status-title { font-size: 8.5vw; }
  .stats-grid { grid-template-columns: 1fr; }
  .timer-display { padding: 10px 4px; }
  .time-box span { font-size: 18px; }
  .timeline, .todo { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
  }
}
