/* CRVBET - Main Styles */

:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --secondary: #1e40af;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --success: #22c55e;
  --danger: #ef4444;
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #000;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #000;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Header */
.header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    gap: 2rem;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  font-size: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23f59e0b" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero h1 span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Section */
.section {
  padding: 4rem 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.section-link {
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Game Cards Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.game-card {
  background: var(--bg-card);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-image {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-rtp {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--success);
  color: #000;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.game-info {
  padding: 0.75rem;
}

.game-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
  opacity: 1;
}

/* Providers */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .providers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .providers-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.provider-card {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.provider-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.provider-logo {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.provider-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.provider-count {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Promotions */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  background: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.promo-content {
  padding: 1.5rem;
}

.promo-badge {
  display: inline-block;
  background: var(--primary);
  color: #000;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.promo-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.promo-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Winners Ticker */
.winners {
  background: var(--bg-card);
  padding: 1rem;
  overflow: hidden;
}

.winners-track {
  display: flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
}

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

.winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  background: var(--bg-dark);
  border-radius: 0.5rem;
}

.winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.winner-info {
  display: flex;
  flex-direction: column;
}

.winner-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.winner-game {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.winner-amount {
  color: var(--success);
  font-weight: 700;
}

/* Payment Methods */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .payments-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .payments-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.payment-item {
  background: var(--bg-card);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.payment-item:hover {
  transform: translateY(-3px);
}

.payment-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.payment-name {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 4rem 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: #000;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
  padding: 0.5rem 0;
}

@media (min-width: 1024px) {
  .bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  min-height: 44px;
  justify-content: center;
}

.bottom-nav-item.active {
  color: var(--primary);
}

.bottom-nav-item span:first-child {
  font-size: 1.25rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem;
  background: var(--bg-dark);
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumbs-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: '/';
  color: var(--text-secondary);
}

.breadcrumbs-list a {
  color: var(--text-secondary);
}

.breadcrumbs-list a:hover {
  color: var(--primary);
}

.breadcrumbs-list li:last-child {
  color: var(--primary);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  min-height: 44px;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  padding: 3rem 1rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--text-secondary); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* Skip to Content (Accessibility) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #000;
  padding: 8px;
  z-index: 10000;
}

.skip-link:focus {
  top: 0;
}

/* Print Styles */
@media print {
  .header, .footer, .bottom-nav {
    display: none;
  }
}

/* Contact Page Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

.contact-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.contact-icon { font-size: 3rem; margin-bottom: 1rem; }
.contact-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.contact-desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.contact-value { color: var(--primary); font-weight: 600; }

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-form-container { grid-template-columns: 1fr 1fr; }
}

/* About Page Styles */
.about-hero {
  text-align: center;
  padding: 3rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.value-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.value-icon { font-size: 3rem; margin-bottom: 1rem; }
.value-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); }
.value-desc { color: var(--text-secondary); font-size: 0.875rem; }

/* Help Page Styles */
.help-search {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .help-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .help-grid { grid-template-columns: repeat(3, 1fr); }
}

.help-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
  border: 1px solid var(--primary);
}

.help-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.help-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.help-desc { color: var(--text-secondary); font-size: 0.875rem; }

/* Section with dark background */
.section-dark {
  background: var(--bg-dark);
}

/* Response time list */
.response-list {
  padding-left: 1.5rem;
}

.response-list li {
  margin-bottom: 0.5rem;
}

/* Textarea resize */
.form-input-textarea {
  resize: vertical;
}

/* Responsible Gaming Section */
.responsible-gaming {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.responsible-gaming h4 {
  color: #ef4444;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.responsible-gaming p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.responsible-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.responsible-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.responsible-links a:hover {
  color: var(--primary-dark);
}

/* Guide Content Styles */
.guide-content {
  max-width: 800px;
  margin: 0 auto;
}

.guide-content h2 {
  text-align: center;
}

.guide-content h3 {
  font-size: 1.25rem;
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

.guide-content ul {
  list-style-type: disc;
}

.guide-content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* Author Bio Box */
.author-box {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.05) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.author-avatar {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.author-info {
  flex: 1;
}

.author-name {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.author-title {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.author-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem;
  }

  .author-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.25rem;
  }

  .author-name {
    font-size: 1rem;
  }

  .author-bio {
    font-size: 0.85rem;
  }
}

/* Info Popup Modal */
.info-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.info-modal.active {
  display: flex;
}

.info-modal-content {
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.info-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-modal-header h3 {
  color: var(--primary);
  font-size: 1.25rem;
  margin: 0;
}

.info-modal-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.info-modal-close:hover {
  color: var(--primary);
}

.info-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.info-modal-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

/* Promo Detail Styles */
.promo-detail h4 {
  color: var(--primary);
  font-size: 1rem;
  margin: 1.5rem 0 0.75rem 0;
}

.promo-detail h4:first-child {
  margin-top: 0;
}

.promo-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promo-detail ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

.promo-detail ul li strong {
  color: var(--text-primary);
}

.promo-detail p {
  color: var(--text-secondary);
  margin: 0.5rem 0;
  line-height: 1.6;
}

.promo-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem !important;
  color: var(--primary) !important;
  font-size: 0.875rem;
}

/* VIP Table */
.vip-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
}

.vip-table th,
.vip-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.vip-table th {
  background: var(--bg-dark);
  color: var(--primary);
  font-weight: 600;
}

.vip-table td {
  color: var(--text-secondary);
}

.vip-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

@media (max-width: 768px) {
  .info-modal-content {
    max-height: 95vh;
  }

  .info-modal-header {
    padding: 1rem;
  }

  .info-modal-header h3 {
    font-size: 1.1rem;
  }

  .info-modal-body {
    padding: 1rem;
  }

  .info-modal-footer {
    padding: 1rem;
  }

  .vip-table th,
  .vip-table td {
    padding: 0.5rem;
    font-size: 0.875rem;
  }
}
