/*
Theme Name: Bass Hybrid Fast
Author: Slots-Funs
Description: Lightweight WordPress hybrid theme for Big Bass slot series. Deep Water & Neon design. Optimized for Yandex & Google. No React, pure CSS speed.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: bass-hybrid-fast
*/

/* ========================================
   CSS VARIABLES — Deep Water & Neon
   ======================================== */
:root {
  --ocean-deep: #0A0F1A;
  --ocean-mid: #0F1A2E;
  --ocean-light: #152238;
  --neon-green: #39FF14;
  --neon-green-dim: rgba(57, 255, 20, 0.3);
  --coral-orange: #FF6F00;
  --coral-orange-hover: #FF8F00;
  --white: #E8ECF1;
  --white-dim: #9BA8B9;
  --card-bg: rgba(15, 26, 46, 0.85);
  --card-border: rgba(57, 255, 20, 0.15);
  --shadow-neon: 0 0 20px rgba(57, 255, 20, 0.2), 0 0 40px rgba(57, 255, 20, 0.05);
  --shadow-coral: 0 0 15px rgba(255, 111, 0, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background-color: var(--ocean-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ocean depth background layers */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(57, 255, 20, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 111, 0, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 0%, rgba(15, 26, 46, 1) 0%, var(--ocean-deep) 100%);
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--neon-green);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus {
  color: var(--coral-orange);
}

ul, ol {
  list-style: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-shadow: 0 0 30px rgba(57, 255, 20, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--white-dim);
}

strong, b {
  color: var(--white);
  font-weight: 700;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 48px 0;
}

.section--alt {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 26, 46, 0.5) 50%, transparent 100%);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* Desktop nav */
.nav-list {
  display: none;
  gap: 4px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-dim);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  min-height: 48px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.08);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* Burger button */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.burger:hover {
  border-color: var(--neon-green);
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white-dim);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition);
  min-height: 48px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--neon-green);
  border-color: var(--neon-green-dim);
  background: rgba(57, 255, 20, 0.06);
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: 60px 0 48px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-green-dim), transparent);
}

.hero-emoji {
  font-size: clamp(3rem, 8vw, 5rem);
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.3));
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--white-dim);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* ========================================
   CTA BUTTONS
   ======================================== */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 36px;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ocean-deep);
  background: linear-gradient(135deg, var(--coral-orange), var(--coral-orange-hover));
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-coral);
  -webkit-tap-highlight-color: transparent;
}

.cta:hover {
  background: linear-gradient(135deg, var(--coral-orange-hover), #FFA726);
  color: var(--ocean-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 111, 0, 0.5), 0 8px 25px rgba(255, 111, 0, 0.2);
}

.cta--neon {
  background: linear-gradient(135deg, var(--neon-green), #2BD10E);
  box-shadow: var(--shadow-neon);
}

.cta--neon:hover {
  background: linear-gradient(135deg, #4FFF24, var(--neon-green));
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.5), 0 8px 25px rgba(57, 255, 20, 0.2);
}

.cta--sm {
  min-height: 48px;
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* ========================================
   CARDS
   ======================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--coral-orange));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: var(--shadow-neon);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.3));
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--white-dim);
  margin-bottom: 0;
}

/* Slot cards for all-slots page */
.slot-card {
  text-align: center;
  padding: 32px 20px;
}

.slot-card .card-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.slot-card .rtp-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-green);
  border: 1px solid var(--neon-green-dim);
  border-radius: 20px;
  background: rgba(57, 255, 20, 0.08);
  margin: 12px 0 16px;
  letter-spacing: 0.5px;
}

.slot-card .slot-features {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-bottom: 16px;
}

/* Casino cards for play-now page */
.casino-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
}

.casino-card .casino-rank {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral-orange), #FF8F00);
  color: var(--ocean-deep);
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  box-shadow: var(--shadow-coral);
}

.casino-card .casino-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.casino-card .casino-bonus {
  font-size: 0.9rem;
  color: var(--neon-green);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

.casino-card .casino-detail {
  font-size: 0.8rem;
  color: var(--white-dim);
}

/* ========================================
   FEATURE LIST (Mechanics page)
   ======================================== */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: rgba(57, 255, 20, 0.3);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid var(--neon-green-dim);
  border-radius: var(--radius-sm);
}

.feature-content h3 {
  color: var(--neon-green);
  font-size: 1.05rem;
  text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}

.feature-content p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ========================================
   RISK WARNING
   ======================================== */
.risk-warning {
  margin: 40px 0 0;
  padding: 20px 24px;
  background: rgba(255, 111, 0, 0.08);
  border: 1px solid rgba(255, 111, 0, 0.3);
  border-radius: var(--radius);
  text-align: center;
}

.risk-warning h3 {
  color: var(--coral-orange);
  font-size: 1rem;
  text-shadow: 0 0 10px rgba(255, 111, 0, 0.3);
  margin-bottom: 8px;
}

.risk-warning p {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-bottom: 0;
}

/* ========================================
   STATS ROW
   ======================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat-box {
  text-align: center;
  padding: 20px 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.stat-box .stat-value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--neon-green);
  text-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  display: block;
}

.stat-box .stat-label {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-top: 4px;
  display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--card-border);
  text-align: center;
  margin-top: 24px;
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-bottom: 4px;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.site-footer .footer-links a {
  font-size: 0.8rem;
  color: var(--white-dim);
}

.site-footer .footer-links a:hover {
  color: var(--neon-green);
}

/* ========================================
   CONTENT HELPERS
   ======================================== */
.text-center { text-align: center; }
.text-neon { color: var(--neon-green); text-shadow: 0 0 10px rgba(57, 255, 20, 0.3); }
.text-coral { color: var(--coral-orange); text-shadow: 0 0 10px rgba(255, 111, 0, 0.3); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.highlight-box {
  padding: 24px;
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.06), rgba(255, 111, 0, 0.04));
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin: 24px 0;
}

.highlight-box p {
  margin-bottom: 0;
}

/* ========================================
   BUBBLE ANIMATION (pure CSS)
   ======================================== */
.bubbles {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(57, 255, 20, 0.08), rgba(57, 255, 20, 0.02));
  border: 1px solid rgba(57, 255, 20, 0.06);
  animation: bubble-rise linear infinite;
}

.bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 18s; animation-delay: 0s; }
.bubble:nth-child(2) { width: 25px; height: 25px; left: 25%; animation-duration: 22s; animation-delay: 3s; }
.bubble:nth-child(3) { width: 55px; height: 55px; left: 45%; animation-duration: 16s; animation-delay: 1s; }
.bubble:nth-child(4) { width: 30px; height: 30px; left: 65%; animation-duration: 20s; animation-delay: 5s; }
.bubble:nth-child(5) { width: 20px; height: 20px; left: 80%; animation-duration: 24s; animation-delay: 2s; }
.bubble:nth-child(6) { width: 35px; height: 35px; left: 90%; animation-duration: 19s; animation-delay: 7s; }

@keyframes bubble-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-110vh) scale(0.4);
    opacity: 0;
  }
}

/* ========================================
   RESPONSIVE: TABLET (640px+)
   ======================================== */
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   RESPONSIVE: DESKTOP (960px+)
   ======================================== */
@media (min-width: 960px) {
  .burger {
    display: none;
  }

  .nav-list {
    display: flex;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 80px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .casino-card {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

/* ========================================
   RESPONSIVE: WIDE (1200px+)
   ======================================== */
@media (min-width: 1200px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bubbles { display: none; }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .bubbles, .cta { display: none; }
}
