:root {
  --bg-root: #040507;
  --bg-sidebar: rgba(10, 12, 17, 0.9);
  --bg-surface: rgba(18, 21, 29, 0.78);
  --bg-elevated: #141822;
  --border-subtle: rgba(255, 255, 255, 0.075);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(16, 185, 129, 0.6);
  --primary: #10b981;
  --primary-bright: #34d399;
  --discord-blurple: #5865F2;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-root);
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* SUBTLE GRID PATTERN & AMBIENT GLOW */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, black 35%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 70%);
  top: -190px;
  left: 8%;
}

.glow-2 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.12), transparent 70%);
  bottom: -240px;
  right: 4%;
}

.glow-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.09), transparent 70%);
  top: 35%;
  right: 30%;
}

/* ==========================================
   1. SİNEMATİK AÇILIŞ PANELİ (SPLASH SCREEN)
   ========================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: radial-gradient(circle at 50% 35%, #0c121d 0%, #040507 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px 28px;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.splash-screen.closing {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.splash-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.orb-a {
  width: 480px;
  height: 480px;
  background: rgba(16, 185, 129, 0.18);
  top: -120px;
  left: 20%;
  animation: floatOrb 8s ease-in-out infinite alternate;
}

.orb-b {
  width: 520px;
  height: 520px;
  background: rgba(139, 92, 246, 0.15);
  bottom: -140px;
  right: 18%;
  animation: floatOrb 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -25px) scale(1.08); }
}

.splash-center {
  margin: auto;
  text-align: center;
  max-width: 680px;
  position: relative;
  z-index: 2;
  animation: splashEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes splashEnter {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-pills {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.splash-logo-ring {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(52, 211, 153, 0.5);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(16, 185, 129, 0.3), inset 0 0 20px rgba(52, 211, 153, 0.2);
}

.splash-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
  line-height: 1.05;
}

.splash-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 32px;
}

.splash-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.splash-btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 15px 28px;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 35px -6px rgba(16, 185, 129, 0.5);
  transition: all 0.22s ease;
}

.splash-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -6px rgba(16, 185, 129, 0.65);
  filter: brightness(1.08);
}

.splash-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  padding: 15px 24px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.22s ease;
}

.splash-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.splash-features-bar {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(15, 19, 28, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 10px 22px;
  border-radius: 99px;
}

.sf-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.sf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 8px var(--primary-bright);
}

/* COPYRIGHT ETİ SHIMMER EFEKTİ */
.splash-footer {
  position: relative;
  z-index: 2;
  text-align: center;
}

.copyright-shimmer {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.copyright-shimmer span, .shimmer-text {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #94a3b8 0%, #34d399 35%, #fbbf24 50%, #a78bfa 65%, #94a3b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
  to { background-position: 200% center; }
}

/* ==========================================
   2. ANA UYGULAMA DÜZENİ
   ========================================== */
.app-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 310px 1fr;
  height: 100vh;
  width: 100vw;
}

@media (max-width: 920px) {
  .app-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none !important;
  }
}

/* SIDEBAR */
.sidebar {
  background: var(--bg-sidebar);
  backdrop-filter: blur(24px);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 4px 6px;
  cursor: pointer;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, #34d399 0%, #60a5fa 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* NAV MENU (SOHBET vs KÜTÜPHANE) */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-item {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-item.active {
  background: rgba(16, 185, 129, 0.13);
  border-color: rgba(52, 211, 153, 0.38);
  color: var(--primary-bright);
}

.nav-icon {
  display: flex;
  align-items: center;
}

.nav-badge {
  margin-left: auto;
  background: rgba(52, 211, 153, 0.2);
  color: var(--primary-bright);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

.new-session-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: all 0.2s ease;
}

.new-session-btn .plus-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-session-btn:hover {
  border-color: var(--border-hover);
  color: #fff;
}

/* RINAV KOMBIN DISCORD CARD */
.discord-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.18), rgba(88, 101, 242, 0.06));
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 14px;
  padding: 11px 13px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.22s ease;
}

.discord-card:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.28), rgba(88, 101, 242, 0.12));
  border-color: #7289da;
  transform: translateY(-1px);
}

.dc-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--discord-blurple);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.dc-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.dc-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #a5b4fc;
}

.dc-arrow {
  color: #a5b4fc;
}

/* 48 SAAT KOTA KARTI */
.membership-widget {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(24, 29, 42, 0.92), rgba(12, 15, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
}

.mw-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  pointer-events: none;
}

.mw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mw-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tier-pill.tier-standard {
  font-size: 0.67rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--primary-bright);
  border: 1px solid rgba(52, 211, 153, 0.38);
}

.quota-box {
  background: rgba(7, 9, 13, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 11px;
  margin-bottom: 10px;
}

.quota-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 7px;
}

.quota-row strong {
  color: var(--primary-bright);
  font-family: 'JetBrains Mono', monospace;
}

.quota-progress-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.quota-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #34d399, #60a5fa);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.quota-progress-fill.depleted {
  background: linear-gradient(90deg, #ef4444, #f97316);
}

.sub-row {
  margin-bottom: 0;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.timer-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #fbbf24;
}

.reset-test-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s;
}

.reset-test-btn:hover {
  border-color: var(--primary-bright);
  color: var(--primary-bright);
}

/* SIDEBAR FOOTER */
.sidebar-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.settings-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.settings-left {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
}

.status-indicator.connected {
  background: var(--primary-bright);
  box-shadow: 0 0 10px var(--primary-bright);
}

.sidebar-copyright {
  text-align: center;
  padding-top: 2px;
}

/* MAIN STAGE & VIEWS */
.main-stage {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.view-container {
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.view-container.active {
  display: flex;
}

.stage-header {
  height: 62px;
  padding: 0 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(16px);
  flex-shrink: 0;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 10px var(--primary-bright);
}

.header-right-pills {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-discord-pill {
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.4);
  color: #c7d2fe;
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.header-discord-pill:hover {
  background: var(--discord-blurple);
  color: #fff;
}

.header-quota-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 0.79rem;
  display: flex;
  align-items: center;
  gap: 7px;
}

.header-quota-pill strong {
  color: var(--primary-bright);
}

/* CHAT STREAM */
.chat-stream {
  flex: 1;
  overflow-y: auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  scroll-behavior: smooth;
}

.empty-hero {
  margin: auto;
  text-align: center;
  max-width: 680px;
  padding: 24px 16px;
}

.hero-top-pills {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badge {
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 15px;
  border-radius: 99px;
}

.hero-eti-badge {
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  padding: 6px 15px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
}

.empty-hero h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 14px;
}

.empty-hero p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}

.empty-hero kbd {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: var(--primary-bright);
}

.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}

@media (max-width: 680px) {
  .hero-cards-grid {
    grid-template-columns: 1fr;
  }
}

.hero-step-card {
  background: rgba(18, 22, 31, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
}

.hsc-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.hero-step-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-step-card span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

/* GİZLİLİK SEÇİM BUTONLARI (ÖZEL Mİ HERKESE AÇIK MI?) */
.privacy-choice-box {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.privacy-choice-btn {
  flex: 1;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  padding: 13px 16px;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  transition: all 0.2s ease;
}

.privacy-choice-btn:hover {
  border-color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.1);
  transform: translateY(-2px);
}

.privacy-choice-btn.public-btn:hover {
  border-color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
}

.privacy-choice-btn strong {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-bright);
}

.privacy-choice-btn.public-btn strong {
  color: #60a5fa;
}

.privacy-choice-btn span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* CUSTOM INLINE SVG BADGES */
.custom-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--primary-bright);
  vertical-align: middle;
  margin-right: 6px;
}

.custom-svg-icon svg {
  width: 13px;
  height: 13px;
}

/* CHAT MESSAGES */
.message-row {
  display: flex;
  gap: 14px;
  width: 100%;
  animation: msgSlide 0.22s ease;
}

@keyframes msgSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.message-row.user {
  justify-content: flex-end;
}

.message-row.bot {
  justify-content: flex-start;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.message-row.bot .avatar-circle {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--primary-bright);
}

.message-row.user .avatar-circle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
}

.bubble-card {
  max-width: 84%;
  padding: 20px 24px;
  border-radius: 18px;
  font-size: 0.93rem;
  line-height: 1.7;
}

.message-row.user .bubble-card {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message-row.bot .bubble-card {
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

.bubble-card.quota-alert {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(18, 21, 29, 0.9));
}

.bubble-card h3, .bubble-card h4 {
  color: var(--primary-bright);
  font-size: 1.04rem;
  margin: 18px 0 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
}

.bubble-card h3:first-child, .bubble-card h4:first-child {
  margin-top: 0;
}

.bubble-card p {
  margin-bottom: 10px;
}

.bubble-card p:last-child {
  margin-bottom: 0;
}

.bubble-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.bubble-card li {
  margin-bottom: 6px;
}

.bubble-card code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.85em;
}

.bubble-card hr {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 16px 0;
}

.chat-uploaded-img {
  max-width: 250px;
  max-height: 290px;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* ==========================================
   3. YÜZ KÜTÜPHANESİ GÖRÜNÜMÜ (LIBRARY VIEW)
   ========================================== */
.library-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 32px 36px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.library-header-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(88, 101, 242, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.library-header-banner h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 10px 0 6px;
}

.library-header-banner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.lib-card {
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.24s ease;
}

.lib-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.lib-card-media {
  height: 210px;
  position: relative;
  background: #0d1017;
  overflow: hidden;
}

.lib-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lib-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.lib-tag-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--primary-bright);
  font-size: 0.69rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
}

.lib-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.lib-card-body h4 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.lib-dna-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #60a5fa;
  margin-bottom: 10px;
  display: block;
}

.lib-card-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.lib-view-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.lib-view-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.lib-modal-body {
  padding: 22px 26px;
  max-height: 65vh;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.7;
}

.lib-modal-body h3 {
  color: var(--primary-bright);
  margin: 16px 0 8px;
  font-size: 1rem;
}

.lib-modal-body h3:first-child {
  margin-top: 0;
}

.lib-modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.lib-modal-body code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  padding: 2px 7px;
  border-radius: 6px;
}

/* COMPOSER AREA */
.composer-wrapper {
  padding: 12px 24px 18px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}

.composer-box {
  background: rgba(18, 22, 31, 0.9);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
}

.composer-box:focus-within {
  border-color: var(--border-focus);
}

.attachment-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 8px;
}

.attach-thumb-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.attach-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--primary);
}

.remove-thumb-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
}

.attach-meta {
  display: flex;
  flex-direction: column;
}

.attach-meta strong {
  font-size: 0.85rem;
}

.attach-meta span {
  font-size: 0.75rem;
  color: var(--primary-bright);
}

.composer-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.composer-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 11px 15px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.composer-icon-btn:hover {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.45);
  color: var(--primary-bright);
}

#messageInput {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.94rem;
  padding: 10px 8px;
  outline: none;
}

.composer-send-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.composer-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 9px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.footer-dc-link {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-dc-link b {
  color: #818cf8;
}

.hidden {
  display: none !important;
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: #10131c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.modal-dialog.modal-lg {
  max-width: 760px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary-bright);
}

.modal-top h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 4px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-content-body {
  padding: 22px 26px;
}

.modal-content-body p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.modal-content-body label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.modal-content-body input {
  width: 100%;
  background: #090b10;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  margin-bottom: 12px;
}

.ext-link {
  font-size: 0.82rem;
  color: var(--primary-bright);
  text-decoration: none;
}

.modal-bottom-bar {
  padding: 14px 26px;
  background: #0b0e15;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn-outline-sm {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-sm:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

/* ==========================================
   4. ÜYE KAYIT KUTUSU, ROZETLER & ÜYELER LİSTESİ
   ========================================== */
.user-profile-widget {
  background: linear-gradient(145deg, rgba(19, 24, 36, 0.92), rgba(11, 14, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.22s ease;
}

.user-profile-widget:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.upw-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.upw-guest-info strong {
  font-size: 0.82rem;
  color: #fff;
}

.upw-guest-info span {
  font-size: 0.71rem;
  color: var(--text-secondary);
}

.upw-reg-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3);
  transition: all 0.2s;
}

.upw-reg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.45);
}

.upw-logged {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.upw-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.upw-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.upw-meta {
  flex: 1;
  min-width: 0;
}

.upw-meta strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upw-meta span {
  display: block;
  font-size: 0.71rem;
  color: var(--primary-bright);
}

.upw-edit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.upw-edit-btn:hover {
  color: #fff;
  border-color: var(--primary-bright);
}

.upw-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.header-register-btn {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.28));
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.header-register-btn:hover {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  transform: translateY(-1px);
}

/* ROZET (BADGE) CHIP TASARIMLARI */
.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  max-width: 100%;
  line-height: 1.25;
}

.badge-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-chip svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.badge-chip.badge-founder {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.12));
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.22);
}

.badge-chip.badge-verified {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.badge-chip.badge-architect {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(167, 139, 250, 0.45);
  color: #ddd6fe;
}

.badge-chip.badge-contributor {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(96, 165, 250, 0.45);
  color: #bfdbfe;
}

.badge-chip.badge-kombin {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(251, 113, 133, 0.45);
  color: #fecdd3;
}

/* ROZET REHBERİ ŞERİDİ (BADGE LEGEND) */
.badge-legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.badge-legend-card {
  background: rgba(16, 20, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  min-width: 0;
}

.badge-legend-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ÜYELER GRİD VE ÜYE KARTLARI */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 560px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}

.member-card {
  background: rgba(18, 22, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.member-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.member-card.founder-card {
  border-color: rgba(251, 191, 36, 0.45);
  background: linear-gradient(145deg, rgba(28, 24, 18, 0.92), rgba(18, 22, 31, 0.92));
}

.mc-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
}

.mc-avatar.editable-avatar,
.upw-avatar.editable-avatar {
  cursor: pointer;
}

.mc-avatar.editable-avatar::after {
  content: "GIF/PNG";
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.76);
  color: #6ee7b7;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.mc-avatar.editable-avatar:hover::after {
  opacity: 1;
}

.avatar-custom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.mc-info {
  flex: 1;
  min-width: 0;
}

.mc-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-name-row h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-role {
  font-size: 0.76rem;
  color: var(--primary-bright);
  display: block;
  margin-top: 2px;
}

.mc-discord {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

/* ROZETLER YAN YANA DİZİLİR, SIĞMAZSA ALT SATIRA GEÇER */
.mc-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
}

.mc-badges .badge-chip {
  width: auto;
  flex: 0 0 auto;
  padding: 5px 10px;
  font-size: 0.69rem;
}

.mc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.73rem;
  color: var(--text-muted);
}

.mc-footer strong {
  color: var(--text-primary);
}

/* GIF / PNG AVATAR YÜKLEME KUTUSU */
.avatar-custom-upload-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(9, 11, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  padding: 11px 14px;
  margin-bottom: 12px;
}

.reg-avatar-preview {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.avatar-upload-controls {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.avatar-upload-btns-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* KAYIT MODALI EK ELEMANLAR */
.modal-select {
  width: 100%;
  background: #090b10;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
}

.modal-select:focus {
  border-color: var(--primary-bright);
}

.avatar-color-picker {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}

.color-swatch.active {
  border-color: #fff;
  transform: scale(1.1);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.modal-submit-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* BOŞ KÜTÜPHANE KARŞILAMA DURUMU (MOCKUPSIZ GERÇEK VERİ GÖRÜNÜMÜ) */
.empty-state-box {
  grid-column: 1 / -1;
  background: rgba(18, 22, 31, 0.78);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 52px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.empty-state-box h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.empty-state-box p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 8px;
}

/* ==========================================
   5. YÖNETİCİ PANELİ (ADMIN PANEL) TASARIMI
   ========================================== */
.nav-admin-item {
  border-color: rgba(245, 158, 11, 0.2);
}

.nav-admin-item.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(217, 119, 6, 0.08));
  border-color: rgba(251, 191, 36, 0.45);
  color: #fde68a;
}

.nav-admin-item.active .nav-icon {
  color: #fbbf24;
}

.admin-badge-pill {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.45);
}

.admin-login-card {
  max-width: 460px;
  margin: 48px auto;
  background: rgba(18, 22, 31, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 22px;
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.alc-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.admin-login-card h2 {
  font-size: 1.45rem;
  font-weight: 800;
}

.admin-login-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.alc-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alc-form input {
  width: 100%;
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 13px 16px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  text-align: center;
}

.alc-form input:focus {
  border-color: #fbbf24;
}

.alc-error {
  font-size: 0.8rem;
  color: #f87171;
  font-weight: 700;
}

.admin-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(16, 185, 129, 0.08));
  border-color: rgba(251, 191, 36, 0.3);
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stat-card {
  background: rgba(18, 22, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.asc-label {
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.admin-stat-card strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}

.asc-sub {
  font-size: 0.74rem;
  color: var(--primary-bright);
}

.admin-section-card {
  background: rgba(18, 22, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 22px;
}

.asc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.asc-head h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.asc-head p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.admin-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-action-btn:hover {
  border-color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.14);
  transform: translateY(-1px);
}

.admin-action-btn.primary {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.3));
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.admin-action-btn.active-bypass {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.26), rgba(217, 119, 6, 0.25));
  border-color: rgba(251, 191, 36, 0.65);
  color: #fde68a;
}

.admin-action-btn.warn:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.14);
  color: #fcd34d;
}

.admin-table-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-row {
  background: rgba(10, 13, 19, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.admin-row-meta strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
}

.admin-row-meta span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.admin-badge-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.adm-badge-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.18s;
  opacity: 0.55;
}

.adm-badge-btn svg {
  width: 11px;
  height: 11px;
}

.adm-badge-btn.has-badge {
  opacity: 1;
  border-style: solid;
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

.adm-badge-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.adm-delete-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.adm-delete-btn:hover {
  background: #ef4444;
  color: #fff;
}

/* ==========================================
   6. GENİŞLETİLMİŞ ROZETLER (KURUCU, STAFF, DESTEKÇİ, 10-20-30-40 PAYLAŞIM)
   ========================================== */
.badge-chip {
  cursor: pointer;
  transition: all 0.18s ease;
}

.badge-chip:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.12);
}

.badge-chip.badge-staff {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.24), rgba(185, 28, 28, 0.16));
  border-color: rgba(248, 113, 113, 0.6);
  color: #fecaca;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.22);
}

.badge-chip.badge-supporter {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.24), rgba(190, 24, 93, 0.16));
  border-color: rgba(244, 114, 182, 0.55);
  color: #fbcfe8;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.2);
}

.badge-chip.badge-share-10 {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22), rgba(146, 64, 14, 0.18));
  border-color: rgba(251, 146, 60, 0.52);
  color: #fed7aa;
}

.badge-chip.badge-share-20 {
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.26), rgba(71, 85, 105, 0.2));
  border-color: rgba(226, 232, 240, 0.6);
  color: #f8fafc;
  box-shadow: 0 0 12px rgba(203, 213, 225, 0.18);
}

.badge-chip.badge-share-30 {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.26), rgba(161, 98, 7, 0.2));
  border-color: rgba(250, 204, 21, 0.65);
  color: #fef08a;
  box-shadow: 0 0 15px rgba(234, 179, 8, 0.25);
}

.badge-chip.badge-share-40 {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28), rgba(59, 130, 246, 0.24));
  border-color: rgba(103, 232, 249, 0.72);
  color: #cffafe;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.35);
}

/* PAYLAŞIM HEDEF ÇUBUĞU (10 - 20 - 30 - 40 MILESTONE KARTI) */
.milestone-progress-card {
  background: linear-gradient(145deg, rgba(18, 23, 35, 0.92), rgba(11, 15, 24, 0.95));
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mpc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mpc-top h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.mpc-top span {
  font-size: 0.8rem;
  color: var(--primary-bright);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
}

.mpc-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .mpc-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mpc-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.mpc-step.unlocked {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(16, 185, 129, 0.1);
}

.mpc-step-target {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.mpc-step.unlocked .mpc-step-target {
  color: #6ee7b7;
}

.mpc-step small {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* BÖLÜM ALT BAŞLIKLARI VE ROZET FİLTRELERİ */
.section-sub-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.section-sub-header h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
}

.section-sub-header p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.badge-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bf-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.bf-pill.active, .bf-pill:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(52, 211, 153, 0.5);
  color: #6ee7b7;
}

/* DETAYLI ROZET REHBERİ KARTI */
.badge-legend-card {
  cursor: pointer;
  transition: all 0.2s ease;
  justify-content: space-between;
}

.badge-legend-card:hover {
  border-color: rgba(52, 211, 153, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.blc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.blc-rarity {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  white-space: nowrap;
}

.blc-how {
  font-size: 0.73rem;
  color: var(--primary-bright);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  line-height: 1.4;
}

/* ÖZEL ROZET BİLGİ MODALI (BADGE INFO MODAL) */
.bim-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.bim-icon-large {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: var(--primary-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bim-icon-large svg {
  width: 26px;
  height: 26px;
}

.bim-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bim-meta-item {
  background: rgba(9, 11, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  padding: 11px 14px;
}

.bim-meta-item span {
  display: block;
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.bim-meta-item strong {
  font-size: 0.84rem;
  color: #fff;
}

/* KALİTELİ HESAP OLUŞTURMA & TEK HESAP MODALI */
.modal-dialog.modal-auth {
  max-width: 580px;
}

.auth-tabs-bar {
  display: flex;
  background: #090b10;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 22px;
  gap: 8px;
}

.auth-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  padding: 13px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.auth-tab.active {
  color: var(--primary-bright);
  border-bottom-color: var(--primary-bright);
}

.one-account-banner {
  margin: 16px 26px 0;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #fcd34d;
  font-size: 0.76rem;
  line-height: 1.45;
}

.one-account-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.one-account-banner strong {
  display: block;
  color: #fde68a;
  margin-bottom: 2px;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .auth-grid-2 {
    grid-template-columns: 1fr;
  }
}

.auth-error-box {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.79rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.45;
}

.mc-ic-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.32);
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.adm-share-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.adm-mini-btn {
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #93c5fd;
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 0.71rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.adm-mini-btn:hover {
  background: #3b82f6;
  color: #fff;
}

/* ÖZEL KOYU SCROLLBAR (BEYAZ KAYDIRMA ÇUBUĞUNU KALDIRIR) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(8, 10, 16, 0.6);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(52, 211, 153, 0.55);
}

/* YÖNETİCİ PANELİ: ÜYE BAZLI SINIRSIZ ERİŞİM, ÖZEL HAK TANIMLAMA VE ROZET YÖNETİMİ */
.admin-member-card {
  background: rgba(9, 12, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.admin-member-card:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.amc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.amc-status-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.amc-quota-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.amc-quota-pill.unlimited {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.18));
  border-color: rgba(251, 191, 36, 0.65);
  color: #fde68a;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.25);
}

.amc-control-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amc-box-title {
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.amc-quota-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.adm-unlimited-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s;
}

.adm-unlimited-btn.active,
.adm-unlimited-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fbbf24;
  color: #090b10;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.adm-custom-quota-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  padding: 3px 5px 3px 10px;
}

.adm-custom-quota-input {
  width: 68px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  outline: none;
}

.adm-set-quota-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.adm-set-quota-btn:hover {
  filter: brightness(1.1);
}

/* ==========================================
   ETİ PROTECTION SYSTEMS — ANTI-INSPECT UYARI PANELİ
   ========================================== */
.eti-protection-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 5, 10, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: epcFadeIn 0.22s ease-out;
}

@keyframes epcFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.eti-protection-card {
  position: relative;
  max-width: 540px;
  width: 100%;
  background: linear-gradient(155deg, rgba(24, 11, 18, 0.96), rgba(10, 12, 20, 0.98));
  border: 1.5px solid rgba(239, 68, 68, 0.65);
  border-radius: 24px;
  padding: 34px 30px 28px;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(239, 68, 68, 0.35),
    0 25px 70px rgba(0, 0, 0, 0.85),
    inset 0 0 30px rgba(239, 68, 68, 0.12);
}

.epc-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, #f59e0b, #ef4444, transparent);
  animation: epcScan 1.6s linear infinite;
}

@keyframes epcScan {
  0% {
    top: 0%;
    opacity: 0.9;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    top: 100%;
    opacity: 0.9;
  }
}

.epc-icon-ring {
  width: 78px;
  height: 78px;
  margin: 0 auto 16px;
  border-radius: 22px;
  background: rgba(239, 68, 68, 0.16);
  border: 1.5px solid rgba(248, 113, 113, 0.6);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.4);
  animation: epcPulse 0.9s ease-in-out infinite alternate;
}

@keyframes epcPulse {
  from {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
  }
  to {
    transform: scale(1.07);
    box-shadow: 0 0 36px rgba(239, 68, 68, 0.7);
  }
}

.epc-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 13px;
  border-radius: 99px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #fca5a5;
  margin-bottom: 12px;
}

.epc-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 10px;
}

.epc-title span {
  display: block;
  background: linear-gradient(90deg, #f87171, #fbbf24, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.epc-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 20px;
}

.epc-timer-bar {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.epc-timer-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b);
  border-radius: 99px;
  transition: width 0.1s linear;
}

.epc-countdown-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fca5a5;
}
