/* =====================================================
   BETTIME.CSS — SEO-First Brand Design System
   Domain: xn--mgbbga0lr7a.com
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
  --bt-bg:         #080c14;
  --bt-bg2:        #0d1526;
  --bt-bg3:        #111d33;
  --bt-card:       #0f1929;
  --bt-border:     rgba(0,210,255,0.12);
  --bt-gold:       #f5b731;
  --bt-gold2:      #e8960a;
  --bt-cyan:       #00d2ff;
  --bt-cyan2:      #0099cc;
  --bt-text:       #e8edf5;
  --bt-muted:      #7a8da8;
  --bt-white:      #ffffff;
  --bt-red:        #ff4757;
  --bt-green:      #2ed573;
  --bt-radius:     14px;
  --bt-shadow:     0 8px 40px rgba(0,0,0,0.6);
  --bt-glow-cyan:  0 0 30px rgba(0,210,255,0.25);
  --bt-glow-gold:  0 0 30px rgba(245,183,49,0.3);
  --bt-font:       'Vazirmatn', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--bt-font);
  background: var(--bt-bg);
  color: var(--bt-text);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   HEADER
   ============================================ */
.bt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,12,20,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bt-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.bt-header-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.bt-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.bt-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bt-gold), var(--bt-gold2));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--bt-glow-gold);
  transition: transform 0.3s ease;
}
.bt-logo:hover .bt-logo-mark { transform: rotate(-10deg) scale(1.05); }

.bt-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bt-logo-main {
  font-size: 22px;
  font-weight: 900;
  color: var(--bt-white);
  letter-spacing: 1px;
}

.bt-logo-accent { color: var(--bt-gold); }

.bt-logo-sub {
  font-size: 11px;
  color: var(--bt-muted);
  letter-spacing: 2px;
  font-weight: 500;
}

/* Nav */
.bt-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bt-nav-link {
  color: var(--bt-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

.bt-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--bt-gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.bt-nav-link:hover { color: var(--bt-white); background: rgba(255,255,255,0.06); }
.bt-nav-link:hover::after, .bt-nav-link.active::after { transform: scaleX(1); }
.bt-nav-link.active { color: var(--bt-gold); background: rgba(245,183,49,0.08); }

/* Live badge */
.bt-live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(46,213,115,0.1);
  border: 1px solid rgba(46,213,115,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bt-green);
  white-space: nowrap;
}

.bt-live-dot {
  width: 8px;
  height: 8px;
  background: var(--bt-green);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46,213,115,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(46,213,115,0); }
}

/* ============================================
   HERO
   ============================================ */
.bt-hero {
  position: relative;
  padding: 80px 30px 60px;
  overflow: hidden;
  text-align: center;
}

.bt-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bt-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,210,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,210,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bt-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: glowDrift 8s ease-in-out infinite alternate;
}

.bt-glow-1 {
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(245,183,49,0.12), transparent 70%);
  top: -100px; left: 10%;
}
.bt-glow-2 {
  width: 500px; height: 350px;
  background: radial-gradient(circle, rgba(0,210,255,0.1), transparent 70%);
  top: -50px; right: 10%;
  animation-delay: -4s;
}

@keyframes glowDrift {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(30px) scale(1.1); }
}

.bt-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.bt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,183,49,0.1);
  border: 1px solid rgba(245,183,49,0.35);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bt-gold);
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease both;
}

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

.bt-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  animation: fadeSlideDown 0.8s ease 0.1s both;
}

.bt-hero-line1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  color: var(--bt-text);
}

.bt-hero-line2 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 900;
  background: linear-gradient(90deg, var(--bt-gold), var(--bt-cyan), var(--bt-gold));
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.bt-hero-line2 em { font-style: normal; }

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.bt-hero-desc {
  font-size: 17px;
  color: var(--bt-muted);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 36px;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

/* Stats */
.bt-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
  background: rgba(13,21,38,0.7);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  padding: 20px 30px;
  backdrop-filter: blur(10px);
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.bt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 30px;
}

.bt-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--bt-gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.bt-stat-label {
  font-size: 12px;
  color: var(--bt-muted);
  font-weight: 600;
  letter-spacing: 1px;
}

.bt-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bt-border);
}

/* Bonus Timer */
.bt-bonus-timer {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,71,87,0.12), rgba(255,71,87,0.06));
  border: 1px solid rgba(255,71,87,0.35);
  border-radius: var(--bt-radius);
  padding: 16px 28px;
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.bt-timer-label {
  font-size: 14px;
  font-weight: 700;
  color: #ff6b7a;
}

.bt-timer-display {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bt-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.bt-timer-unit span {
  font-size: 28px;
  font-weight: 900;
  color: var(--bt-white);
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 4px 12px;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
  text-align: center;
}

.bt-timer-unit small {
  font-size: 10px;
  color: var(--bt-muted);
  font-weight: 600;
}

.bt-timer-colon {
  font-size: 24px;
  font-weight: 900;
  color: var(--bt-muted);
  padding-bottom: 14px;
}

/* Floating Cards */
.bt-floating-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bt-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,21,38,0.85);
  border: 1px solid var(--bt-border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bt-text);
  backdrop-filter: blur(10px);
  animation: floatCard 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

.bt-float-1 { top: 20%; right: 3%; animation-delay: 0s; }
.bt-float-2 { top: 50%; left: 2%; animation-delay: -1.5s; }
.bt-float-3 { bottom: 15%; right: 4%; animation-delay: -3s; }

@keyframes floatCard {
  from { transform: translateY(0px); }
  to   { transform: translateY(-12px); }
}

.bt-float-badge {
  background: linear-gradient(135deg, var(--bt-gold), var(--bt-gold2));
  color: #000;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.bt-breadcrumb {
  background: rgba(13,21,38,0.6);
  border-bottom: 1px solid var(--bt-border);
}

.bt-breadcrumb-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 10px 30px;
}

.bt-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  color: var(--bt-muted);
}

.bt-breadcrumb a { color: var(--bt-cyan); text-decoration: none; }
.bt-breadcrumb a:hover { color: var(--bt-white); }
.bt-bc-sep { color: var(--bt-muted); }

/* ============================================
   FEATURES BAR
   ============================================ */
.bt-features-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(13,21,38,0.7);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
}

.bt-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-muted);
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.bt-feature-item:hover { color: var(--bt-cyan); border-color: rgba(0,210,255,0.3); background: rgba(0,210,255,0.05); }
.bt-feature-icon { font-size: 16px; }

/* ============================================
   FAQ SECTION
   ============================================ */
.bt-faq-section {
  margin: 40px 0;
}

.bt-section-header {
  text-align: center;
  margin-bottom: 28px;
}

.bt-section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--bt-gold);
  margin-bottom: 8px;
}

.bt-section-sub {
  font-size: 14px;
  color: var(--bt-muted);
}

.bt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bt-faq-item {
  background: var(--bt-card);
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.bt-faq-item[open] {
  border-color: rgba(245,183,49,0.4);
  box-shadow: 0 0 20px rgba(245,183,49,0.08);
}

.bt-faq-q {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bt-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
  user-select: none;
}

.bt-faq-q::after {
  content: '﹢';
  font-size: 20px;
  color: var(--bt-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.bt-faq-item[open] .bt-faq-q { color: var(--bt-gold); }
.bt-faq-item[open] .bt-faq-q::after { transform: rotate(45deg); }

.bt-faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 2;
  color: var(--bt-muted);
}

/* ============================================
   TRUST WIDGET
   ============================================ */
.bt-trust-widget {}

.bt-trust-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.bt-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bt-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--bt-border);
  border-radius: 8px;
  padding: 10px 12px;
}

/* ============================================
   NEW FOOTER
   ============================================ */
.main-footer { display: none !important; }

.bt-footer {
  background: var(--bt-bg2);
  border-top: 1px solid var(--bt-border);
  margin-top: 60px;
  padding: 40px 30px 30px;
}

.bt-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.bt-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.bt-footer-logo {
  font-size: 22px;
  font-weight: 900;
  color: var(--bt-gold);
}

.bt-footer-tagline {
  font-size: 13px;
  color: var(--bt-muted);
}

.bt-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.bt-footer-nav a {
  color: var(--bt-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.bt-footer-nav a:hover { color: var(--bt-white); }

.bt-footer-nav span { color: var(--bt-border); }

.bt-footer-disclaimer {
  font-size: 12px;
  color: var(--bt-muted);
  max-width: 700px;
  line-height: 1.7;
  background: rgba(255,71,87,0.06);
  border: 1px solid rgba(255,71,87,0.2);
  border-radius: 8px;
  padding: 12px 20px;
}

.bt-footer-copy {
  font-size: 13px;
  color: var(--bt-muted);
}

/* ============================================
   OVERRIDE EXISTING HEADER & FOOTER
   ============================================ */
.main-header { display: none !important; }

/* Keep main-container's grid layout */
.main-container {
  background: transparent;
}

/* Sidebar overrides to match new brand */
.sidebar,
.right-sidebar {
	padding: 15px;
  background: linear-gradient(180deg, #0f1929 0%, #080c14 100%) !important;
  border: 1px solid var(--bt-border) !important;
}

.nav-item {
  color: var(--bt-muted) !important;
}

.nav-item:hover {
  background: rgba(0,210,255,0.08) !important;
  color: var(--bt-cyan) !important;
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(0,210,255,0.15), rgba(0,153,204,0.15)) !important;
  color: var(--bt-cyan) !important;
}

.sidebar-divider {
  background: linear-gradient(90deg, transparent, var(--bt-cyan), transparent) !important;
}

.widget {
	padding:10px;
  background: linear-gradient(135deg, #0f1929 0%, #080c14 100%) !important;
  border: 1px solid var(--bt-border) !important;
}

.widget-title {
  color: var(--bt-gold) !important;
  border-bottom-color: rgba(245,183,49,0.2) !important;
}

.comment-item, .rating-item {
  border-right-color: var(--bt-gold) !important;
}

.btn-view-all, .btn-more-news {
  background: linear-gradient(135deg, var(--bt-gold), var(--bt-gold2)) !important;
  color: #000 !important;
  font-weight: 800 !important;
}

.btn-more-comments, .btn-more-ratings {
  background: rgba(245,183,49,0.1) !important;
  border-color: rgba(245,183,49,0.3) !important;
  color: var(--bt-gold) !important;
}

.search-container {
  background: var(--bt-card) !important;
  border: 1px solid var(--bt-border) !important;
}

.search-input {
  border-color: rgba(0,210,255,0.2) !important;
}

.search-input:focus {
  border-color: var(--bt-cyan) !important;
  box-shadow: 0 0 20px rgba(0,210,255,0.2) !important;
}

.search-btn {
  background: linear-gradient(135deg, var(--bt-gold), var(--bt-gold2)) !important;
}

.seo-content-section {
  background: var(--bt-card) !important;
  border: 1px solid var(--bt-border) !important;
}

.seo-title { color: var(--bt-gold) !important; }
.seo-subtitle { color: var(--bt-gold) !important; border-bottom-color: rgba(245,183,49,0.2) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bt-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--bt-gold), var(--bt-gold2)); border-radius: 8px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .bt-floating-cards { display: none; }
  .bt-nav { display: none; }
}

@media (max-width: 768px) {
  .bt-hero { padding: 50px 20px 40px; }
  .bt-hero-stats { flex-direction: column; gap: 16px; }
  .bt-stat-divider { width: 60px; height: 1px; }
  .bt-timer-display { flex-wrap: wrap; justify-content: center; }
  .bt-features-bar { justify-content: center; }
  .bt-footer-nav { flex-direction: column; gap: 12px; }
  .bt-footer-nav span { display: none; }
  .bt-header-inner { padding: 0 16px; }
  .bt-breadcrumb-inner { padding: 8px 16px; }
}

/* ============================================
   ANIMATIONS — Performance-friendly
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
