/* ==========================================================================
   RaxiWin Info - Independent Gaming & Navigation Portal
   Theme: Luxury Dark Crimson & Gold (Mobile-First, Ultra High Performance)
   ========================================================================== */

:root {
  --bg-primary: #0b0303;
  --bg-secondary: #150606;
  --bg-card: #1c0a0a;
  --bg-card-hover: #260e0e;
  --border-color: rgba(239, 68, 68, 0.25);
  --border-gold: rgba(245, 158, 11, 0.35);
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-gold: #fbbf24;
  --text-gold-light: #fef3c7;
  
  --accent-red: #ef4444;
  --accent-red-dark: #b91c1c;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-green: #10b981;
  
  --shadow-red: 0 4px 20px rgba(239, 68, 68, 0.25);
  --shadow-gold: 0 4px 20px rgba(245, 158, 11, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max: 1200px;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(220, 38, 38, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(245, 158, 11, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

/* ==========================================================================
   Topbar (RaxiWin Luxury Dark Red & Gold Theme)
   ========================================================================== */
.topbar {
  background: #080202;
  border-bottom: 1px solid rgba(239, 68, 68, 0.25);
  padding: 8px 16px;
}

.topbar-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.tb-btn {
  font-size: 0.82rem;
  padding: 6px 18px;
  min-width: 90px;
  text-align: center;
  font-weight: 900;
  border-radius: 10px;
  letter-spacing: 0.02em;
}

@media(min-width: 640px) {
  .tb-btn {
    font-size: 0.875rem;
    min-width: 105px;
    padding: 7px 20px;
  }
}

/* ==========================================================================
   Header & Navbar (RaxiWin Glassmorphic Dark Red & Gold)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 5, 5, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(239, 68, 68, 0.25);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.site-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-yellow {
  color: #f59e0b;
}

.brand-white {
  color: #ffffff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.2s ease;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: #f59e0b;
}

.nav-toggle-btn {
  display: none;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.3rem;
  padding: 6px 12px;
  cursor: pointer;
}

/* ==========================================================================
   Cute & Attractive Buttons (Matching RaxiWin Dark Red & Gold Theme)
   ========================================================================== */
.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
  color: #0b0303 !important;
  font-weight: 900;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  text-decoration: none;
  text-align: center;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.7);
  transform: translateY(-2px);
}

.btn-red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.4);
  color: #ffffff !important;
  font-weight: 900;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  text-decoration: none;
  text-align: center;
}

.btn-red:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #b91c1c 100%);
  box-shadow: 0 0 28px rgba(239, 68, 68, 0.7);
  transform: translateY(-2px);
}

.btn-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
  color: #ffffff !important;
  font-weight: 900;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  text-decoration: none;
  text-align: center;
}

.btn-green:hover {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.65);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(26, 9, 9, 0.8);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #e2e8f0;
  font-weight: 700;
  border-radius: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.3);
}

/* Button Sizes */
.btn-sm {
  padding: 6px 14px;
  font-size: 0.825rem;
  min-height: 38px;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 1.05rem;
  min-height: 52px;
}

/* Cute Pulse Animation */
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.pulse {
  animation: pulse-glow 2.5s infinite ease-in-out;
}

/* Mobile Sticky Bottom Bar (RaxiWin Theme) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: rgba(14, 5, 5, 0.98);
  border-top: 1px solid rgba(239, 68, 68, 0.35);
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-sticky-bar a {
  height: 46px;
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media(min-width: 768px) {
  .mobile-sticky-bar {
    display: none !important;
  }
}

@media(max-width: 767px) {
  body {
    padding-bottom: 65px;
  }
}

/* ==========================================================================
   Disclaimer Banner
   ========================================================================== */
.compliance-banner {
  background: #170707;
  border-bottom: 1px solid rgba(239, 68, 68, 0.3);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: #d1d5db;
  text-align: center;
}

.compliance-banner strong {
  color: var(--accent-gold);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 40px 20px 50px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.hero-content h1 span.highlight-gold {
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.hero-content h1 span.highlight-red {
  color: var(--accent-red);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #d1d5db;
  margin-bottom: 24px;
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #d1d5db;
}

.trust-icon {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 35px rgba(245, 158, 11, 0.2), 0 0 25px rgba(239, 68, 68, 0.15);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hero-media-wrapper:hover .hero-img {
  transform: scale(1.02);
}

/* ==========================================================================
   Quick Actions Card Bar
   ========================================================================== */
.quick-nav-bar {
  max-width: var(--container-max);
  margin: -10px auto 40px;
  padding: 0 20px;
}

.quick-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
}

.quick-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.quick-title {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.quick-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.section {
  padding: 45px 20px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

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

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 680px;
  margin: 10px auto 0;
  font-size: 1rem;
}

/* Visual Rewards / Charts Showcase */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.reward-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.reward-card-img-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
}

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

.reward-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.reward-badge {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.reward-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.reward-card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Game Highlights Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.game-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.2s ease;
}

.game-box:hover {
  border-color: var(--accent-red);
  background: var(--bg-card-hover);
}

.game-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.game-icon {
  font-size: 1.8rem;
}

.game-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.game-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Info & Steps Container */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent-red);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-red);
}

.step-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin: 8px 0 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Notice / Warning Callouts */
.callout-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 25px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.callout-icon {
  color: var(--accent-gold);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-content h4 {
  color: var(--accent-gold-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.callout-content p {
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-gold);
}

.faq-question {
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-gold);
  color: #000;
}

.faq-answer {
  padding: 0 22px 20px;
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* ==========================================================================
   Disclaimer Banner (Disabled as requested)
   ========================================================================== */
.compliance-banner {
  display: none !important;
}

/* ==========================================================================
   Floating Telegram Button (Left Side - Circular Official Icon)
   ========================================================================== */
.floating-telegram-btn {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 9999;
  display: block;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 22px rgba(41, 169, 234, 0.65);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  animation: pulse-tg 2.2s infinite;
}

.floating-telegram-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.floating-telegram-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 30px rgba(41, 169, 234, 0.9);
}

@keyframes pulse-tg {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(41, 169, 234, 0.7); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 15px rgba(41, 169, 234, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(41, 169, 234, 0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #070202;
  border-top: 1px solid var(--border-color);
  padding: 45px 20px 25px;
  margin-top: auto;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--accent-gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 25px;
  font-size: 0.8rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* ==========================================================================
   Mobile Responsive Adjustments
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-cta-box {
    justify-content: center;
  }
  
  .hero-trust-badges {
    justify-content: center;
  }
  
  .quick-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rewards-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #110404;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .nav-toggle-btn {
    display: block;
  }
  
  .header-cta-group .btn-gold {
    display: none; /* Hide secondary in tight mobile navbar */
  }
  
  .quick-nav-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-telegram-btn {
    bottom: 18px;
    left: 18px;
    padding: 8px 14px;
  }
  
  .tg-sub-text {
    display: none;
  }
}
