/*
Theme Name: RaxiWin VIP Theme
Theme URI: https://raxiwinguide.com/
Description: Luxury Crimson Red & Obsidian VIP Gaming SEO Theme for RaxiWin (raxiwinguide.com). Zero-glitch, 100% Rank Math ready, Core Web Vitals optimized, fully responsive with sticky glass header, animated ticker, sliding drawer, and mobile bottom dock.
Version: 3.5.0
Author: Senior SEO Team
Author URI: https://raxiwinguide.com/
Text Domain: raxiwin-vip-theme
*/

:root {
  --red-primary: #e11d48;
  --red-hover: #f43f5e;
  --red-dark: #be123c;
  --red-deep: #881337;
  --red-glow: rgba(225, 29, 72, 0.4);
  --red-subtle: rgba(225, 29, 72, 0.12);
  --red-border: rgba(225, 29, 72, 0.28);
  --gold: #fbbf24;
  --gold-glow: rgba(251, 191, 36, 0.35);
  --bg-body: #0a0d14;
  --bg-card: #111827;
  --bg-card-alt: #161f33;
  --bg-header: rgba(10, 13, 20, 0.96);
  --bg-footer: #070a10;
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(225, 29, 72, 0.4);
  --text-white: #ffffff;
  --text-silver: #cbd5e1;
  --text-muted: #94a3b8;
  --text-gold: #fbbf24;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-body);
  color: var(--text-silver);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-silver);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 901px) {
  body { padding-bottom: 0; }
}

body.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px !important; }
}

img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--red-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--red-primary);
  box-shadow: 0 0 12px var(--red-glow);
  object-fit: cover;
}

.rw-brand-title {
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
  color: var(--text-white);
  line-height: 1.15;
}

.rw-brand-title span {
  color: var(--red-primary);
  text-shadow: 0 0 14px var(--red-glow);
}

.rw-brand-sub {
  font-size: 10px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-nav a {
  color: var(--text-silver);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--red-hover);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-login {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-white) !important;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 15px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.btn-header-login:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-header-reg {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: var(--text-white) !important;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 14px var(--red-glow);
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.btn-header-reg:hover {
  transform: translateY(-1px);
}

.btn-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--red-border);
  color: var(--text-white);
  padding: 7px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .btn-menu-toggle { display: inline-flex !important; }
  .btn-header-login { display: none !important; }
}

/* Ticker */
.rw-ticker-strip {
  background: #070a10;
  border-bottom: 1px solid rgba(225, 29, 72, 0.2);
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 12px;
  color: #94a3b8;
}

.rw-ticker-badge {
  background: var(--red-primary);
  color: #ffffff;
  padding: 0 12px;
  height: 32px;
  line-height: 32px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rw-ticker-marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.rw-ticker-track {
  display: inline-flex;
  animation: tickerAnim 30s linear infinite;
}

.rw-ticker-track:hover { animation-play-state: paused; }

.rw-ticker-item {
  padding: 0 28px;
  white-space: nowrap;
}

.rw-ticker-item strong { color: var(--gold); }

@keyframes tickerAnim {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Drawer */
#mobileDrawerBackdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobileDrawerBackdrop.active { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(85vw, 340px);
  background: #0b0f19;
  border-left: 1px solid var(--red-border);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active { transform: translateX(0); }

.drawer-header {
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.8);
}

.drawer-links { padding: 14px 16px 50px; }

.drawer-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  color: var(--text-silver);
  font-size: 13.5px; font-weight: 600;
  border-radius: 10px; margin-bottom: 4px;
  transition: all 0.2s ease;
}

.drawer-item:hover, .drawer-item:active {
  background: var(--red-subtle);
  color: var(--text-white);
  padding-left: 18px;
}

/* Cards & Content */
.rw-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px 24px;
  margin-bottom: 26px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.rw-card:hover {
  border-color: var(--border-card-hover);
}

.rw-card h2, .rw-article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--text-white);
  border-left: 4px solid var(--red-primary);
  padding-left: 12px;
  margin-top: 8px; margin-bottom: 16px;
}

.rw-card h3, .rw-article-body h3 {
  font-size: 1.15rem; font-weight: 800;
  color: var(--gold);
  margin-top: 20px; margin-bottom: 10px;
}

.rw-card h4, .rw-article-body h4 {
  font-size: 1rem; font-weight: 700;
  color: var(--text-white);
  margin-top: 14px; margin-bottom: 8px;
}

.rw-card p, .rw-article-body p {
  color: var(--text-silver);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rw-card strong, .rw-article-body strong { color: var(--text-white); }
.rw-card ul, .rw-card ol, .rw-article-body ul, .rw-article-body ol {
  padding-left: 22px; line-height: 1.85; color: var(--text-silver); margin-bottom: 18px;
}
.rw-card li, .rw-article-body li { margin-bottom: 6px; }

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 15%, rgba(225, 29, 72, 0.2) 0%, transparent 65%), linear-gradient(180deg, #131c2e 0%, #0d121d 100%);
  border: 1.5px solid var(--red-border);
  border-radius: 20px;
  padding: 40px 22px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.hero-badge {
  background: var(--red-primary);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  display: inline-block; margin-bottom: 14px;
  box-shadow: 0 0 15px var(--red-glow);
}

.hero-title {
  color: var(--text-white);
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--text-silver);
  font-size: 15.5px;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex; gap: 12px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 26px;
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: #ffffff !important;
  font-weight: 800; font-size: 14.5px;
  padding: 13px 26px; border-radius: 9999px;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 18px var(--red-glow);
  transition: transform 0.15s ease;
}

.btn-primary-cta:hover { transform: translateY(-2px); }

.btn-secondary-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(251, 191, 36, 0.6);
  color: #ffffff !important;
  font-weight: 700; font-size: 14.5px;
  padding: 13px 24px; border-radius: 9999px;
  display: inline-flex; align-items: center; gap: 8px;
}

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

.copy-card {
  background: rgba(17, 24, 39, 0.9);
  border: 1.5px solid var(--red-border);
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 740px; margin: 0 auto 26px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px; text-align: left;
}

.copy-card-title {
  font-size: 15px; font-weight: 800; color: var(--gold); margin-bottom: 4px;
}

.copy-card-sub {
  font-size: 13px; color: var(--text-silver); line-height: 1.5;
}

.copy-code-badge {
  background: #070a10;
  border: 1.5px dashed var(--gold);
  padding: 8px 18px; border-radius: 8px;
  font-size: 19px; font-weight: 800; letter-spacing: 2px;
  color: var(--gold); font-family: monospace;
}

.btn-copy {
  background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  color: #ffffff; border: none;
  padding: 10px 20px; border-radius: 8px;
  font-weight: 700; font-size: 13.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 12px var(--red-glow);
}

.trust-bar {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 18px;
}

/* Tables */
.table-wrap {
  overflow-x: auto; margin: 20px 0; border-radius: 12px;
  border: 1px solid var(--border-card);
}

table {
  width: 100%; border-collapse: collapse; font-size: 13.5px;
  text-align: left; background: #0d131f;
}

th {
  background: #1e293b; color: #ffffff; font-weight: 700;
  padding: 12px 16px; border-bottom: 2px solid var(--red-primary);
}

td {
  padding: 11px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-silver);
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }

.steps-grid, .features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px; margin: 20px 0;
}

.step-box, .feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-card);
  border-radius: 12px; padding: 18px;
}

.step-box:hover, .feature-box:hover { border-color: var(--red-border); }

figure.guide-figure { margin: 24px 0 12px; text-align: center; }
figure.guide-figure img {
  margin: 0 auto; border: 1px solid var(--red-border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
figcaption { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* Footer */
.site-global-footer {
  background: var(--bg-footer);
  color: var(--text-muted);
  padding: 50px 0 110px;
  border-top: 2px solid var(--red-primary);
  margin-top: 50px;
}

.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px; margin-bottom: 40px;
}

.footer-heading {
  font-size: 13px; font-weight: 800; color: #ffffff;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 16px; border-left: 3px solid var(--red-primary);
  padding-left: 10px;
}

.footer-links { list-style: none; line-height: 2.1; font-size: 13.5px; }
.footer-links a { color: var(--text-silver); }
.footer-links a:hover { color: var(--red-hover); }

/* Mobile Bottom Dock */
.rw-mobile-dock {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(10, 13, 20, 0.98);
  border-top: 1.5px solid var(--red-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; z-index: 9990;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.rw-dock-btn {
  flex: 1; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; font-weight: 700; color: #ffffff !important;
}

.rw-dock-login {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15);
}

.rw-dock-reg {
  flex: 1.35; background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
  font-weight: 800; box-shadow: 0 4px 14px var(--red-glow); position: relative;
}

.rw-dock-tg { background: linear-gradient(135deg, #229ed9 0%, #0088cc 100%); }

@media (min-width: 901px) {
  .rw-mobile-dock { display: none !important; }
  .site-global-footer { padding-bottom: 50px !important; }
}
