/* ========================================
   GROWBET - Modern Dark Theme
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables */
:root {
  --bg-primary: #0f0f12;
  --bg-secondary: #17171c;
  --bg-card: #1c1c24;
  --bg-card-hover: #252530;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a8;
  --text-muted: #6b6b75;
  --accent-purple: #9b59b6;
  --accent-purple-light: #b86fd1;
  --accent-cyan: #00d4ff;
  --accent-green: #00ff88;
  --accent-yellow: #f4c430;
  --accent-orange: #ff6b35;
  --accent-pink: #ff4d8d;
  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 40px rgba(155, 89, 182, 0.15);
  --gradient-purple: linear-gradient(135deg, #9b59b6 0%, #667eea 100%);
  --gradient-hero: linear-gradient(180deg, rgba(155, 89, 182, 0.1) 0%, transparent 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Remove Bootstrap defaults */
.container,
.container-fluid {
  max-width: 100% !important;
  padding: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* ========================================
   SPLASH SCREEN / INTRO
   ======================================== */
/* ========================================
   SPLASH SCREEN / INTRO
   ======================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  perspective: 1000px;
  /* 3D efekt için */
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  transform-style: preserve-3d;
}

.splash-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
}

/* GROW Kelimesi */
.splash-word-grow {
  color: var(--text-primary);
  display: inline-block;
  opacity: 0;
  transform: translateX(100px) translateZ(-500px) rotateY(-45deg);
  /* Başlangıç pozisyonu */
  animation: splashGrowEnter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  text-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* BET Kelimesi */
.splash-word-bet {
  color: var(--accent-green);
  display: inline-block;
  opacity: 0;
  transform: translateX(-100px) translateZ(-500px) rotateY(45deg);
  /* Başlangıç pozisyonu */
  animation: splashBetEnter 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

@keyframes splashGrowEnter {
  0% {
    opacity: 0;
    transform: translateX(100px) translateZ(-200px) rotateY(-30deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateZ(0) rotateY(0);
  }
}

@keyframes splashBetEnter {
  0% {
    opacity: 0;
    transform: translateX(-100px) translateZ(-200px) rotateY(30deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateZ(0) rotateY(0);
  }
}

.splash-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards 1s;
  /* 1s gecikme */
  margin-bottom: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.splash-loader {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 1.2s;
}

.splash-loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
  border-radius: 2px;
  width: 0;
  animation: loadProgress 1.5s ease forwards 1.2s;
  box-shadow: 0 0 10px var(--accent-green);
}

@keyframes loadProgress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auth Modal (Overlay) */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 2000;
  display: none;
  /* Hidden by default */
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal.open {
  display: flex !important;
  opacity: 1;
}

.auth-modal-content {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.auth-modal.open .auth-modal-content {
  transform: translateY(0);
}

.auth-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  transition: var(--transition-normal);
}

.auth-modal-close:hover {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.auth-logo {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo .accent {
  color: var(--accent-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.auth-form-group {
  margin-bottom: 1.5rem;
}

.auth-form-label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.auth-form-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: var(--transition-normal);
}

.auth-form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  margin-top: 1rem;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-error {
  background: rgba(255, 77, 141, 0.15);
  color: #ff4d8d;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 77, 141, 0.2);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Main site wrapper */
.main-site {
  opacity: 1;
  transition: opacity 0.5s ease, margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0;
}

.main-site.hidden {
  opacity: 0;
}

.main-site.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Chat açıkken içerik sıkışsın */
.main-site.chat-open {
  margin-left: 380px;
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */
.navbar-custom {
  background-color: var(--bg-primary) !important;
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar-brand-custom {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 1px;
}

.navbar-brand-custom .accent {
  color: var(--accent-green);
  text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.logo-icon {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link-custom {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.nav-link-custom:hover {
  color: var(--text-primary) !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Balance Display */
.balance-display {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 2px 2px 2px 10px;
  border-radius: 8px;
  gap: 8px;
  margin-right: 1rem;
}

.balance-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.balance-icon:hover {
  transform: scale(1.1);
}

.balance-icon img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.balance-amount {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
}

.balance-add-btn {
  background: #6366f1;
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.balance-add-btn:hover {
  background: #4f46e5;
  transform: scale(1.05);
}

/* User Actions Group */
.user-actions-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-icon-btn.active {
  color: var(--accent-green);
}

/* User Dropdown */
.user-dropdown-container {
  position: relative;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 280px;
  background: #252836;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: none;
  flex-direction: column;
  z-index: 1001;
  overflow: hidden;
  animation: dropdownFade 0.2s ease;
}

.user-dropdown-menu.show {
  display: flex;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-dropdown-header {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-profile-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.user-avatar-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #393e46;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name-mini {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.user-level-badge {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.user-level-bar-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.level-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366f1;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.level-num.next {
  background: #4b5563;
}

.level-progress-mini {
  flex: 1;
  height: 6px;
  background: #374151;
  border-radius: 3px;
  overflow: hidden;
}

.level-progress-fill-mini {
  height: 100%;
  background: #6366f1;
  width: 45%;
}

.user-dropdown-items {
  padding: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-item svg {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.dropdown-item:hover svg {
  color: var(--text-primary);
}

.dropdown-item.logout {
  color: #ef4444;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
}

.dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

.dropdown-item.logout svg {
  color: #ef4444;
}

.btn-login {
  color: var(--text-primary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-login:hover {
  color: var(--accent-cyan) !important;
}

.btn-register {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-register:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
   HERO / BANNER SECTION
   ======================================== */
.hero-section {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(15, 15, 18, 0.6) 0%,
      rgba(15, 15, 18, 0.3) 40%,
      rgba(15, 15, 18, 0.1) 70%,
      transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 500px;
}

.hero-badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-green);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.hero-title .accent {
  color: var(--accent-green);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.4);
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-yellow);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 4px 20px rgba(244, 196, 48, 0.3);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244, 196, 48, 0.4);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-color);
}

.section-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
}

.nav-arrow:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* ========================================
   FEATURE CARDS
   ======================================== */
.features-section {
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-card-title .accent {
  color: var(--accent-yellow);
}

.feature-card-title .accent-cyan {
  color: var(--accent-cyan);
}

.feature-card-title .accent-green {
  color: var(--accent-green);
}

.feature-card-title .accent-pink {
  color: var(--accent-pink);
}

.feature-card-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.feature-card-icon {
  width: 80px;
  height: 80px;
  margin-left: auto;
  opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-custom {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition-normal);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* ========================================
   CHAT PANEL
   ======================================== */
.chat-panel {
  position: fixed;
  top: 0;
  left: -400px;
  width: 380px;
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
}

.chat-panel.open {
  left: 0;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.chat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.chat-close-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}

.chat-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-message {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  animation: fadeInUp 0.3s ease;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card);
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-message-content {
  flex: 1;
  min-width: 0;
}

.chat-message-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.chat-username {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.chat-badge {
  font-size: 0.75rem;
}

.chat-badge.gold {
  color: #f4c430;
}

.chat-badge.diamond {
  color: #00d4ff;
}

.chat-badge.emerald {
  color: #00ff88;
}

.chat-more {
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0 0.25rem;
}

.chat-more:hover {
  color: var(--text-secondary);
}

.chat-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}

.chat-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-mention {
  color: var(--accent-cyan);
  font-weight: 500;
  cursor: pointer;
}

.chat-mention:hover {
  text-decoration: underline;
}

.chat-link {
  color: var(--accent-cyan);
  word-break: break-all;
}

.chat-link:hover {
  text-decoration: underline;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  display: flex;
  gap: 0.75rem;
}

.chat-input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-normal);
}

.chat-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
  border: none;
  border-radius: var(--radius-md);
  color: #000;
  cursor: pointer;
  transition: var(--transition-normal);
}

.chat-send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Chat toggle button active state */
.btn-icon.active {
  background: var(--accent-cyan);
  color: #000;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .main-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .splash-letter {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .navbar-custom {
    padding: 0.8rem 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    min-height: 250px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .splash-letter {
    font-size: 3rem;
  }

  .splash-tagline {
    font-size: 0.9rem;
  }

  /* Chat panel mobile */
  .chat-panel {
    width: 100%;
    left: -100%;
  }

  /* Mobilde chat açılınca içerik kaymasın (chat tam ekran olacak) */
  .main-site.chat-open {
    margin-left: 0;
  }
}

/* Wallet Modal Styles */
.wallet-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.wallet-modal.open {
  display: flex;
}

.wallet-content {
  background: #1e212e;
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  position: relative;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wallet-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.wallet-close:hover {
  color: var(--text-primary);
}

.wallet-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.wallet-header-icon {
  color: white;
}

.wallet-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Wallet Tabs */
.wallet-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
}

.wallet-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-size: 1rem;
}

.wallet-tab.active {
  background: #6366f1;
  color: white;
}

.wallet-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Wallet Form */
.wallet-form-group {
  margin-bottom: 1.5rem;
}

.wallet-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.wallet-input {
  width: 100%;
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.wallet-input:focus {
  border-color: #6366f1;
}

/* Wallet Info Box */
.wallet-info-box {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.wallet-info-icon {
  color: #6366f1;
  flex-shrink: 0;
  margin-top: 2px;
}

.wallet-info-box b {
  color: #a5b4fc;
  text-decoration: none;
}

/* Captcha Placeholder */
.captcha-container {
  background: #161924;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
}

.captcha-text {
  color: white;
  font-size: 0.9rem;
}

.captcha-logo-box {
  text-align: right;
}

.captcha-logo-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 2px;
}

.captcha-terms {
  color: var(--text-muted);
  font-size: 0.6rem;
}

/* Deposit Button */
.btn-deposit-submit {
  width: 100%;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1.1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-deposit-submit:hover {
  background: #4f46e5;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.3);
}

@media (max-width: 576px) {
  .main-content {
    padding: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .btn-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .splash-letter {
    font-size: 2.5rem;
  }

  .splash-tagline {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .splash-loader {
    width: 150px;
  }
}

/* Override Bootstrap defaults */
.navbar {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.text-center,
.display-4 {
  color: var(--text-primary);
}

/* Kasa Modal */
.kasa-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.kasa-modal.open {
  display: flex;
}

.kasa-content {
  background: #1e212e;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.kasa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.kasa-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.kasa-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.kasa-tabs {
  display: flex;
  background: #11141e;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 1.5rem;
}

.kasa-tab {
  flex: 1;
  padding: 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.kasa-tab.active {
  background: #2d3142;
  color: white;
}

.kasa-input-group {
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.kasa-input-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.kasa-icon-placeholder {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 4px;
  color: #00d4ff;
}

.kasa-field {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.5rem 0;
  outline: none;
}

.btn-maks {
  background: #2d3142;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-kasa-submit {
  width: 100%;
  background: #10663c;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-kasa-submit:hover {
  background: #13804b;
}

.kasa-password-group {
  position: relative;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.kasa-password-field {
  width: 100%;
  background: #11141e;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 1rem;
  color: white;
  outline: none;
  font-size: 1rem;
}

.kasa-password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
}

.kasa-footer-bar {
  height: 4px;
  background: #11141e;
  border-radius: 2px;
  margin-top: 1.5rem;
}

/* Kasa History Scrollbar */
.kasa-history-container::-webkit-scrollbar {
  width: 6px;
}

.kasa-history-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.kasa-history-container::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
}

.kasa-log-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.kasa-log-item:last-child {
  border-bottom: none;
}

.kasa-log-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ========================================
   BALANCE CHANGE INDICATOR
   ======================================== */
.balance-change-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0;
  z-index: 100;
}

.balance-change-indicator.show-positive {
  animation: balanceFloatUp 1.5s ease-out forwards;
  color: #00ff88;
  text-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.balance-change-indicator.show-negative {
  animation: balanceFloatDown 1.5s ease-out forwards;
  color: #ff4444;
  text-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
}

@keyframes balanceFloatUp {
  0% {
    opacity: 0;
    bottom: -20px;
    transform: translateX(-50%) scale(0.8);
  }

  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }

  100% {
    opacity: 0;
    bottom: 50px;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes balanceFloatDown {
  0% {
    opacity: 0;
    top: -20px;
    transform: translateX(-50%) scale(0.8);
  }

  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }

  100% {
    opacity: 0;
    top: 50px;
    transform: translateX(-50%) scale(1);
  }
}

/* Balance text pulse animation when changed */
.balance-amount.pulse-positive {
  animation: pulsePlus 0.5s ease;
  color: #00ff88;
}

.balance-amount.pulse-negative {
  animation: pulseMinus 0.5s ease;
  color: #ff4444;
}

@keyframes pulsePlus {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes pulseMinus {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.9);
  }
}

/* ========================================
   BETTING NAVIGATION (LIVE / MATCHES)
   ======================================== */
.betting-nav-section {
  width: 100%;
  margin-bottom: 2rem;
}

.betting-nav-container {
  background: #1a1b21;
  border-radius: 8px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.betting-tabs-group {
  display: flex;
  align-items: center;
  height: 100%;
}

.betting-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 2rem;
  /* Wider padding for spacing */
  height: 100%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid transparent;
  /* Prepare for active border */
}

.betting-tab:hover {
  color: var(--text-primary);
}

.betting-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
  /* Or accent color if preferred */
}

.betting-actions-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.betting-action-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.betting-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.kasa-history-container::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 10px;
}

.kasa-log-item:hover {
  background: rgba(255, 255, 255, 0.02);
}