/* index.css - Cosmic Loot RNG Premium Design System */

:root {
  --bg-primary: #07090e;
  --bg-surface: rgba(15, 23, 42, 0.75);
  --bg-surface-elevated: rgba(30, 41, 59, 0.85);
  --bg-card: #0f172a;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.2);
  --border-glow: rgba(56, 189, 248, 0.5);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --accent-gold: #f59e0b;
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-rose: #f43f5e;
  --accent-green: #10b981;

  --tier-common: #e2e8f0;
  --tier-uncommon: #10b981;
  --tier-rare: #38bdf8;
  --tier-epic: #c084fc;
  --tier-legendary: #fbbf24;
  --tier-mythic: #f43f5e;
  --tier-divine: #00f5d4;
  --tier-secret: #ec4899;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --shadow-glow-gold: 0 0 35px rgba(245, 158, 11, 0.45);
  --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.45);
  --shadow-glow-secret: 0 0 50px rgba(236, 72, 153, 0.6);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  user-select: none;
}

/* Dynamic Ambient Background System */
.game-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: background 0.4s ease, filter 0.3s ease, opacity 0.3s ease;
}

.game-bg-dimmer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(10, 12, 20, 0.65) 0%, rgba(6, 7, 12, 0.92) 100%);
  backdrop-filter: blur(1px);
  transition: background 0.4s ease;
}

/* Background Themes */
.game-bg-layer.theme-angel {
  background-image: url('assets/bg_angel.jpg');
  filter: brightness(0.25) saturate(0.85) contrast(1.05);
  opacity: 0.88;
}

.game-bg-layer.theme-cosmic {
  background: radial-gradient(circle at 50% 20%, #121829 0%, #080a12 60%, #030408 100%);
  filter: none;
  opacity: 1;
}

.game-bg-layer.theme-nebula {
  background: radial-gradient(circle at 75% 25%, rgba(147, 51, 234, 0.28) 0%, transparent 50%),
              radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, #0d0f1a 0%, #06070c 100%);
  filter: none;
  opacity: 1;
}

.game-bg-layer.theme-cyber {
  background-color: #080c14;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  filter: none;
  opacity: 1;
}

/* Canvas & Overlays */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

.screen-flash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

/* Game Wrapper Layout */
.game-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  transition: transform 0.05s linear;
}

/* Top Navigation / Leaderstats */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(9, 12, 22, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 42px;
  max-width: 180px;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.6));
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0284c7, #9333ea);
  border-radius: var(--radius-md);
  font-size: 24px;
  box-shadow: 0 0 15px rgba(147, 51, 234, 0.4);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #38bdf8, #c084fc, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.version-tag {
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 1px;
  font-weight: 600;
}

.leaderstats-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.stat-pill:hover {
  border-color: var(--border-highlight);
  background: rgba(30, 41, 59, 0.68);
}

.stat-pill.highlight-luck {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.stat-pill.highlight-rebirth {
  border-color: rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.25);
  cursor: pointer;
}

.stat-pill.highlight-rebirth:hover {
  border-color: rgba(74, 222, 128, 0.85);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
  transform: translateY(-1px);
}

.rebirth-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rebirth-top-icon-svg {
  filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.6));
  transition: transform 0.2s ease;
}

.stat-pill.highlight-rebirth:hover .rebirth-top-icon-svg {
  transform: scale(1.12);
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
}

.stat-pill.highlight-luck .stat-value {
  color: #34d399;
}

.header-controls {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(0);
}

/* Floating Side Buttons (Fazlalıkları gizleyip tek tıkla açan modern butonlar) */
.floating-side-btn {
  position: fixed;
  top: 130px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-side-btn.left-side-btn {
  left: 20px;
  border-left: 3px solid #38bdf8;
}

.floating-side-btn.right-side-btn {
  right: 20px;
  border-right: 3px solid #a855f7;
}

.floating-side-btn:hover {
  transform: scale(1.08) translateY(-2px);
  border-color: #38bdf8;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.35);
}

/* Main Stage Layout (Geniş, Ferah ve Modern Merkez Odak) */
.main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 110px;
  max-width: 650px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

/* HUD Slide Drawers (Sadece tıklanınca açılan modern yan paneller) */
.slide-drawer {
  position: fixed !important;
  top: 80px;
  bottom: 90px;
  width: 320px;
  max-height: calc(100vh - 170px);
  background: rgba(11, 15, 25, 0.95) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-lg);
  padding: 20px;
  z-index: 200;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.rarity-tiers-hud.slide-drawer {
  left: 20px;
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}

.rarity-tiers-hud.slide-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.2);
}

.activity-hud.slide-drawer {
  right: 20px;
  transform: translateX(130%);
  opacity: 0;
  pointer-events: none;
}

.activity-hud.slide-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.2);
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
  transform: scale(1.1);
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.hud-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hud-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.hud-sub {
  font-size: 0.72rem;
  color: var(--accent-green);
  font-weight: 600;
}

.rarity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rarity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.rarity-row:hover {
  background: rgba(30, 41, 59, 0.7);
  transform: translateX(3px);
}

.tier-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.tier-common { border-left-color: var(--tier-common); }
.tier-common .tier-bullet { background: var(--tier-common); }
.tier-common .tier-name { color: var(--tier-common); }

.tier-uncommon { border-left-color: var(--tier-uncommon); }
.tier-uncommon .tier-bullet { background: var(--tier-uncommon); }
.tier-uncommon .tier-name { color: var(--tier-uncommon); }

.tier-rare { border-left-color: var(--tier-rare); }
.tier-rare .tier-bullet { background: var(--tier-rare); }
.tier-rare .tier-name { color: var(--tier-rare); }

.tier-epic { border-left-color: var(--tier-epic); }
.tier-epic .tier-bullet { background: var(--tier-epic); }
.tier-epic .tier-name { color: var(--tier-epic); }

.tier-legendary { border-left-color: var(--tier-legendary); }
.tier-legendary .tier-bullet { background: var(--tier-legendary); }
.tier-legendary .tier-name { color: var(--tier-legendary); }

.tier-mythic { border-left-color: var(--tier-mythic); }
.tier-mythic .tier-bullet { background: var(--tier-mythic); }
.tier-mythic .tier-name { color: var(--tier-mythic); }

.tier-divine { 
  border-left-color: var(--tier-divine);
  background: rgba(0, 245, 212, 0.08);
}
.tier-divine .tier-bullet { 
  background: var(--tier-divine); 
  box-shadow: 0 0 10px var(--tier-divine);
}
.tier-divine .tier-name { 
  color: var(--tier-divine);
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 245, 212, 0.5);
}

.tier-secret { 
  border-left-color: var(--tier-secret);
  animation: rainbowBorder 4s linear infinite;
}
.tier-secret .tier-bullet { 
  background: var(--tier-secret); 
  box-shadow: 0 0 8px var(--tier-secret);
}
.tier-secret .tier-name { 
  font-weight: 800;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6, #10b981, #f59e0b, #ec4899);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowText 4s linear infinite;
}

.tier-chance {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
}

.hud-footer-note {
  margin-top: 12px;
  font-size: 0.72rem;
  color: var(--text-faint);
  text-align: center;
}

/* Center Stage: Roll Altar */
.roll-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.roll-showcase {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
  transition: all 0.5s ease;
}

.showcase-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.6);
  display: none;
  animation: pulseNew 1.2s infinite ease-in-out;
}

.card-icon-wrapper {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

.card-icon {
  font-size: 48px;
  line-height: 1;
}

.card-rarity-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-display);
  letter-spacing: -0.5px;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 380px;
  margin-bottom: 14px;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  font-weight: 700;
}

.card-count {
  color: var(--accent-cyan);
}

.card-value {
  color: var(--accent-gold);
}

/* Multi-Roll Container */
.multi-roll-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  width: 100%;
  max-width: 520px;
  padding: 4px;
}

.multi-roll-mini-card {
  flex: 0 0 auto;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  animation: popIn 0.25s ease-out;
  transition: transform 0.15s ease;
}

.multi-roll-mini-card.icon-only {
  width: 36px;
  height: 36px;
  padding: 0;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.95);
}

.multi-roll-mini-card:hover {
  transform: translateY(-2px) scale(1.06);
}

/* Roll Action Controls */
.roll-action-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 480px;
}

/* Auto Roll Toggle */
.auto-roll-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 16px;
}

.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.switch-label input {
  display: none;
}

.slider {
  width: 42px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  position: relative;
  transition: background 0.3s ease;
}

.slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-label input:checked + .slider {
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.switch-label input:checked + .slider::before {
  transform: translateX(16px);
}

.switch-label input:disabled + .slider {
  opacity: 0.4;
  cursor: not-allowed;
}

.switch-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.auto-speed-indicator {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

/* Big Master Roll Button */
.roll-button-container {
  width: 100%;
  position: relative;
}

.btn-roll-master {
  width: 100%;
  height: 84px;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-roll-master:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.65), 0 0 20px rgba(124, 58, 237, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-roll-master:active:not(:disabled) {
  transform: translateY(1px) scale(0.98);
}

.btn-roll-master:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  animation: buttonShine 3s infinite;
  pointer-events: none;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.btn-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.btn-main-text {
  font-size: 1.7rem;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-sub-text {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cooldown-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: grayscale(0.5);
  pointer-events: none;
  transition: height 0.05s linear;
}

/* Cooldown Progress Bar */
.cooldown-bar-wrap {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.cooldown-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  border-radius: var(--radius-full);
  transform-origin: left;
  transition: width 0.05s linear;
}

.active-buffs-strip {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: center;
}

/* Right Panel: Best Pull & Feed */
.best-pull-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: all 0.3s ease;
}

.best-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  font-size: 26px;
}

.best-details {
  display: flex;
  flex-direction: column;
}

.best-rarity {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

.best-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.best-prob {
  font-size: 0.72rem;
  color: var(--text-faint);
  font-family: var(--font-display);
}

.recent-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-subtle) transparent;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  font-size: 0.8rem;
  animation: slideInFeed 0.25s ease-out;
}

.feed-empty {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-align: center;
  padding: 20px 0;
}

/* Player Level & EXP Card (Hemen roll altında) */
.player-level-card {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.player-level-card:hover {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.15);
}

.level-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.level-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.level-star-icon {
  font-size: 1rem;
}

.level-number-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fbbf24;
}

.level-title-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.level-rank-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.level-perk-text {
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
}

.level-exp-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.level-exp-text {
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}

.level-exp-pct {
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 700;
}

.level-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #ec4899);
  border-radius: var(--radius-full);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Modern Floating Glass Dock (Temiz, Zarif Alt Menü) */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.1);
  z-index: 100;
  max-width: 95vw;
  overflow-x: auto;
}

.nav-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.15);
}

.nav-tab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(168, 85, 247, 0.2));
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.tab-badge {
  background: var(--accent-rose);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.tab-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
}

.nav-tab-btn.test-btn {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 100%;
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-sm { max-width: 440px; }
.modal-md { max-width: 580px; }
.modal-lg { max-width: 760px; }
.modal-xl { max-width: 960px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.85);
  gap: 12px;
  flex-wrap: wrap;
}

.modal-title-group h2 {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.modal-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.modal-currency-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-family: var(--font-display);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

/* Filter Pills */
.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.filter-pill.active {
  background: #38bdf8;
  color: #07090e;
  border-color: #38bdf8;
}

/* Collection Grid */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.collection-card {
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: rgba(30, 41, 59, 0.8);
}

.collection-card.locked {
  filter: grayscale(0.9) opacity(0.4);
  cursor: default;
}

.collection-card.locked:hover {
  transform: none;
  border-color: var(--border-subtle);
}

.collection-card-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.collection-card-name {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.collection-card-count {
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-muted);
}

.collection-card-new {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent-rose);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Upgrades Shop List */
.upgrades-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.upgrade-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  gap: 16px;
  transition: all 0.2s ease;
}

.upgrade-card:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--border-highlight);
}

.upgrade-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.upgrade-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 24px;
}

.upgrade-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.upgrade-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.upgrade-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.upgrade-level-tag {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  font-family: var(--font-display);
}

.upgrade-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.btn-buy-upgrade {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-buy-upgrade:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}

.btn-buy-upgrade:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-faint);
  cursor: not-allowed;
}

/* Auto-Buy Controls in Upgrades Modal */
.auto-buy-panel {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.auto-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auto-buy-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auto-buy-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-display);
}

.auto-buy-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.auto-buy-priority-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  border: 1px solid var(--border-subtle);
}

.hint-badge {
  font-weight: 800;
  color: var(--accent-gold);
  white-space: nowrap;
}

.hint-text {
  color: var(--text-muted);
}

.upgrade-priority-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}

.upgrade-priority-wrap label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.upgrade-priority-select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-display);
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
}

.upgrade-priority-select:hover, .upgrade-priority-select:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.btn-must-buy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.btn-must-buy:hover:not(:disabled) {
  background: rgba(245, 158, 11, 0.15);
  border-style: solid;
  border-color: #fbbf24;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-must-buy.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid #fbbf24;
  color: #fff;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
  font-weight: 800;
}

.btn-must-buy:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: var(--border-subtle);
  color: var(--text-faint);
}

/* Stats Summary */
.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-card.full-width {
  grid-column: span 2;
}

.stat-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stat-card-number {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
}

.stat-card-number.highlight {
  color: var(--accent-gold);
}

.tier-stat-heading {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.tier-stat-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
}

.tier-bar-label {
  width: 90px;
  font-weight: 700;
}

.tier-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.tier-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.tier-bar-val {
  width: 45px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Settings Modal */
.settings-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.setting-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.setting-info strong {
  font-size: 0.9rem;
}

.setting-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.setting-actions {
  margin-top: 14px;
}

.setting-select {
  background: rgba(18, 22, 36, 0.95);
  color: var(--text-main);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  max-width: 210px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.setting-select:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.setting-slider {
  accent-color: var(--color-gold);
  cursor: pointer;
  width: 140px;
}

.btn-secondary {
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-danger {
  padding: 12px;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-md);
  color: #fb7185;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #fff;
}

.w-100 { width: 100%; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mt-4 { margin-top: 16px; }

/* Item Detail Modal */
.modal-item-dialog {
  max-width: 440px;
  padding: 0;
  background: transparent;
  border: none;
}

.item-detail-card {
  background: var(--bg-card);
  border: 2px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.float-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.detail-icon-glow {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
}

.detail-icon {
  font-size: 46px;
}

.detail-tier-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.detail-title {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.detail-lore {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 20px;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.spec-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
}

.spec-val {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-main);
}

.detail-bonus-note {
  font-size: 0.78rem;
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 85px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toastSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.toast-mythic {
  border-color: var(--tier-mythic);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.4);
}

.toast.toast-secret {
  border-color: var(--tier-secret);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.6);
  animation: rainbowBorder 3s linear infinite, toastSlideIn 0.3s ease-out;
}

/* Test Runner UI */
.test-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.btn-primary {
  padding: 10px 20px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: none;
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.test-status-summary {
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.test-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.test-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.test-badge-pass {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.72rem;
}

.test-badge-fail {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.72rem;
}

/* Animations */
@keyframes buttonShine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

@keyframes pulseNew {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes rainbowBorder {
  0% { border-color: #ec4899; }
  25% { border-color: #8b5cf6; }
  50% { border-color: #3b82f6; }
  75% { border-color: #10b981; }
  100% { border-color: #ec4899; }
}

@keyframes rainbowText {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes popIn {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInFeed {
  0% { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes toastSlideIn {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* Utility Text Colors */
.text-red { color: #f43f5e !important; }
.text-green { color: #10b981 !important; }
.text-cyan { color: #38bdf8 !important; }

/* Glowing Tab Badges */
.tab-badge-glow {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(244, 63, 94, 0.6); }
  50% { transform: scale(1.08); box-shadow: 0 0 16px rgba(244, 63, 94, 0.9); }
}

/* ========================================================
   HERO STATS & ARMORY (CEPHANELİK)
   ======================================================== */
.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.hero-stat-card:hover {
  transform: translateY(-2px);
}

.hero-stat-card.card-cp {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.9));
}
.hero-stat-card.card-cp .hero-stat-val { color: #fbbf24; }

.hero-stat-card.card-dmg {
  border-color: rgba(244, 63, 94, 0.4);
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(15, 23, 42, 0.9));
}
.hero-stat-card.card-dmg .hero-stat-val { color: #fb7185; }

.hero-stat-card.card-hp {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.9));
}
.hero-stat-card.card-hp .hero-stat-val { color: #34d399; }

.hero-stat-card.card-shield {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.9));
}
.hero-stat-card.card-shield .hero-stat-val { color: #38bdf8; }

.hero-stat-icon {
  font-size: 28px;
}

.hero-stat-info {
  display: flex;
  flex-direction: column;
}

.hero-stat-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.hero-stat-val {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-display);
}

.armory-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.armory-sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.armory-select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 6px 12px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
}

.armory-select:focus {
  border-color: var(--accent-cyan);
}

/* Armory Grid */
.armory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.armory-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
}

.armory-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  background: rgba(30, 41, 59, 0.85);
}

.armory-card.locked {
  filter: grayscale(0.9) opacity(0.4);
}

.armory-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.armory-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 24px;
}

.armory-card-titles {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.armory-card-name {
  font-size: 0.92rem;
  font-weight: 800;
}

.armory-card-tier {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.armory-card-count {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
}

.armory-stats-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(7, 9, 14, 0.6);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.armory-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.armory-stat-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
}

.armory-stat-num {
  font-size: 0.85rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.armory-card-footer {
  font-size: 0.72rem;
  color: var(--text-faint);
  display: flex;
  justify-content: space-between;
}

/* ========================================================
   RAID BOSS ARENA (BÖLÜM 1: 10M HP BOSS)
   ======================================================== */
.raid-dialog {
  max-width: 980px;
}

.raid-header {
  border-bottom-color: rgba(244, 63, 94, 0.3);
}

.raid-reward-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.raid-body {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.raid-floor-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.floor-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
  text-align: center;
}

.floor-btn.active {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.25), rgba(190, 18, 60, 0.15));
  border-color: rgba(244, 63, 94, 0.7);
  box-shadow: 0 0 16px rgba(225, 29, 72, 0.35);
}

.floor-btn.locked {
  opacity: 0.45;
  cursor: not-allowed;
  background: rgba(10, 15, 25, 0.4);
}

.floor-badge-pill {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.floor-btn.active .floor-badge-pill {
  color: #fb7185;
}

.floor-title-text {
  font-size: 0.88rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.floor-hp-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.raid-arena-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Boss Podium */
.boss-podium {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(244, 63, 94, 0.15) 0%, rgba(15, 23, 42, 0.9) 70%);
  border: 2px solid rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(244, 63, 94, 0.15);
}

.boss-aura {
  position: absolute;
  top: 60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.4) 0%, transparent 70%);
  filter: blur(25px);
  animation: bossAuraBreath 3s infinite ease-in-out;
  pointer-events: none;
}

@keyframes bossAuraBreath {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.boss-avatar {
  font-size: 72px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bossFloat 3s infinite ease-in-out;
}

.boss-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: contain;
  background: radial-gradient(circle, #fff2f2 0%, #ffe0e0 70%, #fecaca 100%);
  border: 3px solid rgba(239, 68, 68, 0.85);
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.75), inset 0 0 10px rgba(185, 28, 28, 0.3);
  display: block;
}

@keyframes bossFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.boss-badge {
  display: inline-block;
  background: linear-gradient(135deg, #be123c, #881337);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.boss-name {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-display);
  margin-bottom: 14px;
  color: #fecdd3;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
}

/* 10 Million HP Bar */
.boss-hp-container {
  width: 100%;
  height: 28px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.boss-hp-bar {
  height: 100%;
  background: linear-gradient(90deg, #be123c 0%, #f43f5e 50%, #fb7185 100%);
  border-radius: var(--radius-full);
  transition: width 0.25s ease-out;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.7);
}

.boss-hp-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.78rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.boss-intent {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(7, 9, 14, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

/* Player Combat Podium */
.player-combat-podium {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.player-combat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-title {
  font-size: 1rem;
  font-weight: 800;
}

.player-dps-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fb7185;
  background: rgba(244, 63, 94, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.player-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-bar-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.bar-track {
  width: 100%;
  height: 14px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.2s ease-out;
}

.shield-fill {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.hp-fill {
  background: linear-gradient(90deg, #059669, #10b981);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

/* Combat Action Controls */
.raid-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-raid-hit {
  grid-column: span 2;
  height: 54px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.4);
  transition: all 0.15s ease;
}

.btn-raid-hit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.6);
}

.btn-raid-hit:active:not(:disabled) {
  transform: translateY(1px);
}

.hit-text {
  font-size: 1.15rem;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.hit-sub {
  font-size: 0.68rem;
  opacity: 0.85;
}

.btn-raid-ult {
  height: 44px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.btn-raid-ult:not(:disabled) {
  animation: rainbowBorder 3s linear infinite;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.btn-raid-ult:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-raid-auto {
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-raid-auto.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
}

/* Battle Combat Log */
.raid-battle-log {
  height: 110px;
  background: rgba(7, 9, 14, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 0.74rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-entry {
  line-height: 1.3;
}
.log-system { color: #38bdf8; }
.log-player-dmg { color: #34d399; }
.log-crit { color: #fbbf24; font-weight: bold; }
.log-boss-dmg { color: #fb7185; }
.log-shield { color: #7dd3fc; }

/* Victory & Defeat Overlays */
.raid-victory-screen, .raid-defeat-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  animation: popIn 0.3s ease-out;
}

.raid-victory-screen {
  background: rgba(7, 9, 14, 0.88);
}

.victory-content {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 500px;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.victory-trophy {
  font-size: 64px;
  animation: pulseGlow 1.2s infinite;
}

.victory-content h2 {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: #fbbf24;
}

.victory-reward-box {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: #fef08a;
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
  margin: 8px 0;
}

.btn-claim-gold {
  padding: 12px 28px;
  font-size: 1rem;
}

.raid-defeat-screen {
  background: rgba(15, 7, 7, 0.92);
}

.defeat-content {
  background: linear-gradient(135deg, rgba(30, 15, 15, 0.95), rgba(20, 10, 10, 0.98));
  border: 2px solid #f43f5e;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 500px;
  box-shadow: 0 0 50px rgba(244, 63, 94, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.defeat-icon {
  font-size: 64px;
}

.defeat-content h2 {
  color: #fb7185;
  font-family: var(--font-display);
}

@media (max-width: 768px) {
  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .raid-arena-stage {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   REBIRTH SYSTEM (ALTAR & PRESTIGE)
   ======================================================== */
.stat-pill.highlight-rebirth {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.stat-pill.highlight-rebirth .stat-value {
  color: #c084fc;
}

.rebirth-tab-btn {
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.tab-badge-gold {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
  animation: pulseGlow 1.2s infinite;
}

.rebirth-dialog {
  max-width: 580px;
}

.rebirth-header {
  border-bottom-color: rgba(168, 85, 247, 0.3);
}

.rebirth-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.rebirth-hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
}

/* Angelic Rebirth Emblem (Green squircle + white halo + angel wings) */
.rebirth-angel-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.angel-badge-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 22px rgba(34, 197, 94, 0.55));
  animation: angelFloat 2.8s ease-in-out infinite alternate;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.angel-badge-container:hover {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 0 35px rgba(74, 222, 128, 0.85));
}

@keyframes angelFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.rebirth-rank-pill {
  margin-top: 6px;
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid #22c55e;
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 900;
  font-family: var(--font-display);
  padding: 4px 16px;
  border-radius: 99px;
  letter-spacing: 0.8px;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.45);
}

.rebirth-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 440px;
}

.rebirth-perks-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.rebirth-perks-box h4 {
  font-size: 0.88rem;
  color: #fbbf24;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.rebirth-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-main);
}

.rebirth-perks-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rebirth-requirement-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.req-header strong {
  color: var(--accent-gold);
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.req-bar-track {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.req-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: var(--radius-full);
  transition: width 0.3s ease-out;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.req-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
}

.btn-do-rebirth {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #2563eb 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45);
  transition: all 0.2s ease;
}

.btn-do-rebirth:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.65), 0 0 20px rgba(251, 191, 36, 0.4);
}

.btn-do-rebirth:disabled {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-subtle);
  color: var(--text-faint);
  cursor: not-allowed;
  box-shadow: none;
}

/* Rebirth Requirements Grid */
.rebirth-requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rebirth-req-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.req-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-card-top .req-icon {
  font-size: 1.3rem;
}

.req-card-top .req-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.req-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.req-target {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-display);
}

.req-status-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.req-status-pill.ready {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}

.req-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-faint);
  font-family: var(--font-display);
}

.req-level-fill {
  background: linear-gradient(90deg, #10b981, #34d399) !important;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5) !important;
}

.rebirth-preserve-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.preserve-col .preserve-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.preserve-kept .preserve-title {
  color: #34d399;
}

.preserve-reset .preserve-title {
  color: #f87171;
}

.preserve-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   QU MASTER - LIMITED TIME EVENT ENTRANCE CARD (Sol Tarafta Oranların Altında)
   ========================================================================== */
.event-entrance-card {
  position: fixed;
  top: 185px;
  left: 20px;
  z-index: 95;
  width: 220px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid #f97316;
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.45), 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  user-select: none;
  display: flex;
  align-items: center;
}

.event-entrance-card:hover {
  transform: scale(1.05) translateY(-2px);
  border-color: #ff5722;
  box-shadow: 0 0 25px rgba(255, 87, 34, 0.75), 0 12px 30px rgba(0, 0, 0, 0.75);
}

.event-entrance-card:active {
  transform: scale(0.98);
}

.event-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(1.15);
  transition: transform 0.4s ease;
  z-index: 1;
}

.event-entrance-card:hover .event-card-bg {
  transform: scale(1.08);
}

.event-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 8, 6, 0.82) 0%, rgba(35, 14, 10, 0.60) 50%, rgba(15, 6, 12, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

.event-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  width: 100%;
}

.event-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
  flex-shrink: 0;
}

.event-card-popper-icon {
  font-size: 20px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.event-card-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event-badge-row {
  display: flex;
  align-items: center;
}

.event-limited-pill {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #fff;
  background: linear-gradient(90deg, #dc2626, #ea580c);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 0 6px rgba(220, 38, 38, 0.6);
}

.event-main-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(249, 115, 22, 0.5);
  line-height: 1.1;
}

.event-sub-label {
  font-size: 0.68rem;
  color: #fdba74;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Odds Drawer Event Link Banner */
.rarity-drawer-event-banner {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(249, 115, 22, 0.25));
  border: 1px solid rgba(249, 115, 22, 0.5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rarity-drawer-event-banner:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(249, 115, 22, 0.4));
  border-color: #ff5722;
  transform: translateY(-2px);
}

.rarity-drawer-event-banner .banner-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #f97316;
}

.rarity-drawer-event-banner strong {
  font-size: 0.9rem;
  color: #fff;
}

.rarity-drawer-event-banner span {
  font-size: 0.72rem;
  color: #fdba74;
}

/* Event Modal Styling */
.event-modal-dialog {
  max-width: 680px;
}

.event-modal-header {
  border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}

.event-modal-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #dc2626, #ea580c);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.event-hero-banner {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.event-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 8, 14, 0.2) 0%, rgba(10, 8, 14, 0.85) 90%);
}

.event-hero-caption {
  position: absolute;
  bottom: 14px;
  left: 18px;
  right: 18px;
}

.event-hero-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fb923c;
  letter-spacing: 1px;
}

.event-hero-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin: 4px 0 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.event-hero-desc {
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.4;
  margin: 0;
}

.event-timing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  background: rgba(30, 20, 18, 0.7);
  border: 1px solid rgba(249, 115, 22, 0.4);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.timing-icon {
  font-size: 24px;
}

.timing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.timing-info strong {
  font-size: 0.92rem;
  color: #fff;
}

.timing-info span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.timing-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.event-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .event-features-grid {
    grid-template-columns: 1fr;
  }
}

.event-feature-box {
  background: rgba(18, 22, 36, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: all 0.2s ease;
}

.event-feature-box:hover {
  border-color: rgba(249, 115, 22, 0.4);
  background: rgba(25, 26, 42, 0.95);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 22px;
  display: inline-block;
  margin-bottom: 6px;
}

.event-feature-box h4 {
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 6px;
}

.event-feature-box p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.event-footer-action {
  text-align: center;
}

.event-note {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

/* ==========================================================================
   CREATOR LINKS MODAL (YARATICI'NIN BAĞLANTILARI)
   ========================================================================== */
.brand {
  cursor: pointer;
  outline: none;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: scale(1.04);
}

.creator-modal-dialog {
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
}

.creator-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.creator-cards-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.creator-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.creator-profile-card:hover {
  transform: translateY(-2px);
}

.creator-profile-card.serkan-card {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.1);
}

.creator-profile-card.serkan-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.2);
}

.creator-profile-card.eray-card {
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.1);
}

.creator-profile-card.eray-card:hover {
  border-color: rgba(239, 68, 68, 0.55);
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.25);
}

.creator-profile-card.eda-card {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.1);
}

.creator-profile-card.eda-card:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.25);
}

.creator-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.creator-avatar-wrap.serkan-wrap {
  background: linear-gradient(135deg, #10b981, #065f46);
  border: 2px solid #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.creator-avatar-wrap.eray-wrap {
  background: linear-gradient(135deg, #ef4444, #7f1d1d);
  border: 2px solid #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
}

.creator-avatar-wrap.eda-wrap {
  background: linear-gradient(135deg, #0ea5e9, #1e3a8a);
  border: 2px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

.creator-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creator-profile-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.creator-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-name {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.3px;
}

.creator-badge-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: none;
  white-space: nowrap;
}

.creator-badge-pill.lead {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.creator-badge-pill.dev {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  color: #fff;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.creator-badge-pill.eray-pill {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.creator-badge-pill.eda-pill {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.creator-role {
  font-size: 0.74rem;
  color: #38bdf8;
  font-weight: 600;
}

.creator-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.btn-instagram-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 4px;
}

.btn-instagram-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(220, 39, 67, 0.7);
  filter: brightness(1.1);
  color: #fff;
}

.btn-instagram-link:active {
  transform: translateY(0) scale(0.99);
}

.insta-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.insta-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.insta-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.insta-username {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.insta-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.btn-instagram-link:hover .insta-arrow {
  transform: translateX(4px);
}

.creator-badge-footer {
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* ========================================================
   🔐 NEXT-GEN AUTH GATE & CLOUD SYNC SYSTEM (2026 UI)
   ======================================================== */

/* Game Locked & Blurred State when unauthenticated */
.game-blurred-locked {
  filter: blur(14px) brightness(0.38) !important;
  pointer-events: none !important;
  user-select: none !important;
  transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Fullscreen Auth Gate Overlay */
.auth-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 30%, rgba(15, 23, 42, 0.94) 0%, rgba(6, 9, 18, 0.98) 100%);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}

.auth-gate-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Ambient Floating Neon Orbs */
.auth-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

.auth-orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #38bdf8 0%, rgba(56, 189, 248, 0) 70%);
  top: 15%;
  left: 20%;
  animation-duration: 9s;
}

.auth-orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
  bottom: 15%;
  right: 20%;
  animation-duration: 12s;
}

.auth-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #ec4899 0%, rgba(236, 72, 153, 0) 70%);
  top: 50%;
  right: 35%;
  animation-duration: 8s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.08); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Auth Gate Main Floating Card */
.auth-gate-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 460px;
  background: rgba(13, 18, 33, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 50px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: cardEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-card-top-glow {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, #f43f5e, transparent);
  box-shadow: 0 0 16px #38bdf8;
}

/* Card Header */
.auth-card-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.45));
}

.auth-logo-img {
  width: 72px;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-main-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #ffffff 30%, #7dd3fc 70%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.auth-subtitle-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.auth-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.auth-card-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
  max-width: 380px;
  margin-inline: auto;
}

/* Loading Spinner Overlay */
.auth-loading-spinner {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(12px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #38bdf8;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 28px;
}

.spinner-ring {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-radius: 50%;
  animation: spinRing 0.8s linear infinite;
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

/* Error Banner */
.auth-error-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.shake-anim {
  animation: shakeX 0.4s ease;
}

@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Social Buttons */
.auth-social-buttons {
  margin-bottom: 18px;
}

.btn-social-auth {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-google {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-google:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
}

.btn-google:active {
  transform: translateY(0);
}

.btn-social-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.btn-social-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
}

.btn-social-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748b;
}

.btn-social-arrow {
  color: #94a3b8;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-social-auth:hover .btn-social-arrow {
  transform: translateX(4px);
  color: #2563eb;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748b;
}

/* Tab Switcher */
.auth-tab-switch {
  display: flex;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Forms & Inputs */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.auth-input-group label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.7;
}

.auth-input-wrapper input {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 14px 12px 42px;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  outline: none;
  transition: all 0.2s ease;
}

.auth-input-wrapper input:focus {
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25), 0 0 16px rgba(56, 189, 248, 0.2);
}

.auth-input-wrapper input::placeholder {
  color: #475569;
}

/* Submit Buttons */
.btn-auth-submit {
  width: 100%;
  margin-top: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 13px 20px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.55);
  filter: brightness(1.08);
}

.btn-auth-submit:active {
  transform: translateY(0);
}

.btn-register-glow {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.35);
}

.btn-register-glow:hover {
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.55);
}

/* Card Footer */
.auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.security-lock-icon {
  font-size: 0.85rem;
}

/* ========================================================
   ☁️ TOP NAV: CLOUD STATUS PILL & USER PROFILE WIDGET
   ======================================================== */

.cloud-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  transition: all 0.3s ease;
}

.cloud-status-pill.cloud-status-saving,
.cloud-status-pill.cloud-status-syncing {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.cloud-status-pill.cloud-status-saving .cloud-status-icon,
.cloud-status-pill.cloud-status-syncing .cloud-status-icon {
  display: inline-block;
  animation: spinRing 0.8s linear infinite;
}

.cloud-status-pill.cloud-status-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* User Profile Badge in Top Nav */
.top-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px 4px 6px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  cursor: default;
  transition: all 0.2s ease;
}

.top-user-profile:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.user-avatar-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: visible;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #38bdf8;
}

.user-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.online-indicator-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  background: #22c55e;
  border: 1.5px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.user-profile-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #f1f5f9;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-name-dev-badge {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 4px rgba(124, 58, 237, 0.6));
}

.user-profile-email {
  font-size: 0.65rem;
  font-weight: 500;
  color: #64748b;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-user-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
  border-radius: var(--radius-full);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 4px;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}

.logout-x-icon {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  color: #ef4444;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-user-logout:hover {
  background: #dc2626;
  border-color: #f87171;
  transform: scale(1.12);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.7);
}

.btn-user-logout:hover .logout-x-icon {
  color: #ffffff;
}

/* ========================================================
   📱 GOOGLE ACCOUNT SELECTOR MODAL (Simülatör)
   ======================================================== */

.modal-google-select {
  max-width: 440px !important;
  background: #ffffff !important;
  color: #202124 !important;
  border-radius: 20px !important;
  border: 1px solid #dadce0 !important;
  padding: 24px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45) !important;
}

.google-select-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f3f4;
}

.google-select-title-group h3 {
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: #202124;
  margin: 0 0 2px 0;
}

.google-select-title-group p {
  font-size: 0.78rem;
  color: #5f6368;
  margin: 0;
}

.google-accounts-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.google-acc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #dadce0;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease;
}

.google-acc-card:hover {
  background: #f8fafd;
  border-color: #1a73e8;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
}

.google-acc-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #e8f0fe;
}

.google-acc-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.google-acc-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #202124;
}

.google-acc-email {
  font-size: 0.74rem;
  color: #5f6368;
}

.google-acc-arrow {
  color: #1a73e8;
  font-size: 1rem;
}

.google-custom-entry {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.google-custom-entry label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #5f6368;
}

.google-custom-row {
  display: flex;
  gap: 8px;
}

.google-custom-row input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 0.85rem;
  outline: none;
  color: #202124;
}

.google-custom-row input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* ========================================================
   👑 ADMIN / DEVELOPER CONSOLE & EXCLUSIVE PRIVILEGES
   ======================================================== */

.btn-admin-crown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #facc15 0%, #eab308 50%, #ca8a04 100%);
  color: #0f172a;
  border: 1px solid #fef08a;
  border-radius: var(--radius-full);
  padding: 5px 14px 5px 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  animation: adminPulseGlow 3s infinite alternate;
  white-space: nowrap;
  user-select: none;
}

.btn-admin-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

@keyframes adminPulseGlow {
  0% { box-shadow: 0 0 12px rgba(234, 179, 8, 0.4); transform: scale(1); }
  100% { box-shadow: 0 0 24px rgba(234, 179, 8, 0.8); transform: scale(1.02); }
}

.btn-admin-crown:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 28px rgba(234, 179, 8, 0.9);
  filter: brightness(1.08);
}

.admin-profile-active {
  border-color: rgba(234, 179, 8, 0.6) !important;
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.35) !important;
  background: rgba(28, 25, 23, 0.85) !important;
}

.google-acc-admin {
  border-color: #eab308 !important;
  background: rgba(254, 240, 138, 0.15) !important;
}

.google-acc-crown-avatar {
  border: 2px solid #eab308 !important;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.6) !important;
}

.admin-badge-pill {
  display: inline-block;
  background: #ca8a04;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  letter-spacing: 0.5px;
}

/* ========================================================
   💎 MODAL: GAME OWNER / LEAD DEVELOPER CONTROL CENTER
   ======================================================== */
.modal-admin-custom {
  max-width: 820px !important;
  background: rgba(10, 14, 26, 0.95) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(139, 92, 246, 0.25) !important;
  border-radius: 26px !important;
  backdrop-filter: blur(28px) !important;
  position: relative;
  overflow: hidden;
}

.modal-admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.25);
}

.admin-header-lead {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-lead-badge-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(234, 179, 8, 0.25));
  border: 1.5px solid rgba(168, 85, 247, 0.5);
  display: grid;
  place-items: center;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  flex-shrink: 0;
}

.admin-modal-badge-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.admin-title-gradient {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #fef08a 0%, #facc15 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 4px 0 !important;
}

.admin-header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-tag-dev {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fef08a;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.admin-tag-live {
  font-size: 0.65rem;
  font-weight: 800;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.admin-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 1.4rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #f87171;
  transform: rotate(90deg) scale(1.1);
}

.modal-admin-body {
  padding: 22px 26px 28px 26px;
  max-height: calc(85vh - 90px);
  overflow-y: auto;
}

/* Telemetry HUD Grid */
.admin-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 700px) {
  .admin-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.admin-telemetry-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.telemetry-label {
  font-size: 0.62rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

.telemetry-value {
  font-size: 1.05rem;
  font-weight: 900;
  font-family: var(--font-display);
}

.text-gold { color: #facc15; }
.text-cyan { color: #38bdf8; }
.text-purple { color: #c084fc; }
.text-rose { color: #fb7185; }

/* Sections */
.admin-action-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-section-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-section-icon {
  font-size: 1rem;
}

.admin-section-title {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #cbd5e1;
}

.admin-action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .admin-action-grid {
    grid-template-columns: 1fr;
  }
}

.admin-btn-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(22, 30, 49, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  color: #f8fafc;
  outline: none;
  position: relative;
  overflow: hidden;
}

.admin-btn-card:hover {
  background: rgba(30, 41, 68, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.admin-btn-card.gold-border:hover {
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.35);
}

.admin-btn-card.gold-glow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.12), rgba(22, 30, 49, 0.8));
  border-color: rgba(234, 179, 8, 0.3);
}

.admin-btn-card.gold-glow:hover {
  border-color: #facc15;
  box-shadow: 0 0 24px rgba(234, 179, 8, 0.45);
}

.admin-btn-card.purple-glow {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(22, 30, 49, 0.8));
  border-color: rgba(168, 85, 247, 0.3);
}

.admin-btn-card.purple-glow:hover {
  border-color: #c084fc;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.45);
}

.admin-btn-card.divine-glow {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.15));
  border-color: rgba(236, 72, 153, 0.4);
}

.admin-btn-card.divine-glow:hover {
  border-color: #f472b6;
  box-shadow: 0 0 26px rgba(236, 72, 153, 0.5);
}

.admin-btn-card.cyan-border:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

.admin-btn-card.cyan-glow:hover {
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.admin-btn-card.purple-border:hover {
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.admin-btn-card.red-glow:hover {
  border-color: #f43f5e;
  box-shadow: 0 0 24px rgba(244, 63, 94, 0.45);
}

.admin-btn-card.red-border:hover {
  border-color: #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}

.admin-btn-card.green-glow:hover {
  border-color: #22c55e;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.45);
}

.admin-btn-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.admin-btn-text {
  display: flex;
  flex-direction: column;
}

.admin-btn-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
}

.admin-btn-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ========================================================
   🔑 COMPACT EXPANDABLE PASSKEY BOX
   ======================================================== */

.auth-passkey-box {
  background: rgba(234, 179, 8, 0.05);
  border: 1.5px dashed rgba(234, 179, 8, 0.35);
  border-radius: 14px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
  outline: none;
  margin-bottom: 6px;
}

.auth-passkey-box:hover {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.65);
  transform: translateY(-1px);
}

.passkey-compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.passkey-compact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.76rem;
  color: #fef08a;
  letter-spacing: 0.8px;
}

.passkey-key-icon {
  font-size: 1rem;
}

.passkey-status-pill {
  font-size: 0.62rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(234, 179, 8, 0.18);
  color: #fef08a;
  border: 1px solid rgba(234, 179, 8, 0.35);
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.passkey-expand-body {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.3s ease;
}

/* Expanded State (On Click or Focus) */
.auth-passkey-box.expanded,
.auth-passkey-box:focus-within {
  border-style: solid;
  border-color: #eab308;
  background: rgba(234, 179, 8, 0.1);
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 12px 14px 14px 14px;
}

.auth-passkey-box.expanded .passkey-status-pill,
.auth-passkey-box:focus-within .passkey-status-pill {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

.auth-passkey-box.expanded .passkey-expand-body,
.auth-passkey-box:focus-within .passkey-expand-body {
  max-height: 80px;
  opacity: 1;
  margin-top: 10px;
  pointer-events: auto;
}

.passkey-input-wrap input {
  border-color: rgba(234, 179, 8, 0.4) !important;
  color: #fef08a !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.9) !important;
}

.passkey-input-wrap input:focus {
  border-color: #facc15 !important;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.3), 0 0 20px rgba(234, 179, 8, 0.3) !important;
}





