/* =============================================
   MrVictor9 Casino — Main Stylesheet
   ============================================= */

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

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

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background: #0a0a14;
  color: #e8e8e8;
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #c8a84b; text-decoration: none; }
a:hover { color: #f0cb6a; text-decoration: underline; }

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin: 2.5rem 0 1rem; color: #c8a84b; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin: 1.8rem 0 0.75rem; }
h4 { font-size: 1rem; margin: 1.2rem 0 0.5rem; }

p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }
strong { color: #f0cb6a; font-weight: 600; }

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3rem 0; }
.section + .section { border-top: 1px solid #1e1e2e; }

/* =============================================
   Header
   ============================================= */
#site-header {
  background: #07070f;
  border-bottom: 2px solid #c8a84b;
  position: sticky;
  top: 0;
  z-index: 900;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-link:hover { text-decoration: none; }

.logo-icon { width: 44px; height: 44px; object-fit: contain; }
.logo-text { height: 32px; object-fit: contain; }

/* =============================================
   Navigation
   ============================================= */
#main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

#main-nav a {
  color: #c0c0d0;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
#main-nav a:hover,
#main-nav a.active {
  color: #c8a84b;
  background: rgba(200,168,75,0.1);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #c8a84b;
  color: #c8a84b;
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* =============================================
   Buttons / CTAs
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.7rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(230,57,70,0.4);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #ff4a58 0%, #e63946 100%);
  color: #fff;
  box-shadow: 0 5px 18px rgba(230,57,70,0.55);
}

.btn-gold {
  background: linear-gradient(135deg, #c8a84b 0%, #a8882b 100%);
  color: #07070f;
  box-shadow: 0 3px 12px rgba(200,168,75,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #dfc060 0%, #c8a84b 100%);
  color: #07070f;
  box-shadow: 0 5px 18px rgba(200,168,75,0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid #c8a84b;
  color: #c8a84b;
}
.btn-outline:hover {
  background: rgba(200,168,75,0.1);
  color: #f0cb6a;
}

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 2.25rem; font-size: 1.05rem; }

/* Header CTA */
.header-cta { flex-shrink: 0; }

/* =============================================
   Hero Section
   ============================================= */
.hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #151528 60%, #1a0a0f 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,168,75,0.08) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(230,57,70,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-content h1 { margin-bottom: 1rem; }
.hero-content p { font-size: 1.05rem; color: #c0c0d0; margin-bottom: 1.5rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.badge {
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.3);
  color: #c8a84b;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.hero-img img { width: 100%; border-radius: 12px; }

/* =============================================
   Bonus Banner (inline)
   ============================================= */
.bonus-banner {
  background: linear-gradient(135deg, #1a0e04 0%, #2a1a06 50%, #1a0e04 100%);
  border: 1px solid #c8a84b;
  border-radius: 10px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.bonus-banner-text h3 { color: #c8a84b; margin: 0 0 0.3rem; font-size: 1.2rem; }
.bonus-banner-text p { margin: 0; color: #c0c0d0; font-size: 0.9rem; }

/* =============================================
   Feature Cards / Grid
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: #12121e;
  border: 1px solid #1e1e2e;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: rgba(200,168,75,0.4);
  transform: translateY(-3px);
}
.feature-card h4 { color: #c8a84b; margin-bottom: 0.4rem; font-size: 0.95rem; }
.feature-card p { color: #9999aa; font-size: 0.88rem; margin: 0; }
.feature-card ul { color: #9999aa; font-size: 0.88rem; margin: 0; padding-left: 1.2rem; }
.feature-card li { margin-bottom: 0.2rem; }

/* =============================================
   Tables
   ============================================= */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: 8px;
  border: 1px solid #1e1e2e;
}

table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead tr { background: #1a1a2e; }
thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  color: #c8a84b;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

tbody tr { border-bottom: 1px solid #1e1e2e; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.03); }

tbody td {
  padding: 0.8rem 1rem;
  color: #c8c8d8;
  vertical-align: top;
}
tbody td:first-child { color: #ffffff; font-weight: 500; }

/* =============================================
   Steps / How-to
   ============================================= */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  padding: 1rem 1rem 1rem 3.5rem;
  background: #12121e;
  border: 1px solid #1e1e2e;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  position: relative;
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #e63946, #c1121f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  line-height: 28px;
  text-align: center;
}
.steps-list li strong { display: block; color: #c8a84b; margin-bottom: 0.2rem; font-size: 0.95rem; }
.steps-list li span { color: #9999aa; font-size: 0.88rem; }

/* =============================================
   FAQ Section
   ============================================= */
.faq-list { margin: 1.5rem 0; }

.faq-item {
  border-bottom: 1px solid #1e1e2e;
  padding: 1.1rem 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  font-weight: 600;
  color: #e8e8e8;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-family: inherit;
}
.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: #c8a84b;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  color: #9999aa;
  font-size: 0.9rem;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding-top: 0;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding-top: 0.65rem;
}

/* =============================================
   Testimonials
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.testimonial-card {
  background: #12121e;
  border: 1px solid #1e1e2e;
  border-left: 3px solid #c8a84b;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}
.testimonial-card p { font-style: italic; color: #c0c0d0; font-size: 0.9rem; margin-bottom: 0.5rem; }
.testimonial-author { font-size: 0.8rem; color: #c8a84b; font-weight: 600; }

/* =============================================
   Promo Banners
   ============================================= */
.promo-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.promo-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #1e1e2e;
  transition: transform 0.2s, box-shadow 0.2s;
}
.promo-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(200,168,75,0.2);
}
.promo-img img { width: 100%; border-radius: 8px; }

/* =============================================
   VIP Section
   ============================================= */
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.vip-tier {
  background: #12121e;
  border: 1px solid #1e1e2e;
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.vip-tier.gold-tier { border-color: #c8a84b; }
.vip-tier.platinum-tier { border-color: #a0c4e0; background: linear-gradient(135deg, #12121e, #161824); }
.vip-tier-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #c8a84b; }
.vip-tier.platinum-tier .vip-tier-name { color: #a0c4e0; }
.vip-tier-perk { font-size: 0.88rem; color: #9999aa; }

/* =============================================
   Info Boxes
   ============================================= */
.info-box {
  background: #12121e;
  border: 1px solid #1e1e2e;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.info-box.highlight { border-left: 4px solid #c8a84b; }
.info-box.warning { border-left: 4px solid #e63946; }

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #12071a 0%, #1a0e04 100%);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 12px;
  text-align: center;
  padding: 3rem 2rem;
  margin: 2.5rem 0;
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { color: #c0c0d0; margin-bottom: 1.75rem; }
.cta-btn-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Footer
   ============================================= */
#site-footer {
  background: #07070f;
  border-top: 1px solid #1e1e2e;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  border-bottom: 1px solid #1e1e2e;
}

.footer-brand .logo-link { margin-bottom: 0.75rem; }
.footer-brand p { color: #666680; font-size: 0.85rem; line-height: 1.5; }

.footer-col h4 { color: #c8a84b; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #666680; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: #c8a84b; text-decoration: none; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.footer-payments { margin-bottom: 1.25rem; text-align: center; }
.footer-payments img { max-width: 100%; width: 520px; margin: 0 auto; opacity: 0.8; }

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal p { font-size: 0.78rem; color: #44445a; margin: 0; }
.footer-responsible {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #44445a;
}
.age-badge {
  background: #e63946;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
  flex-shrink: 0;
}

/* =============================================
   Fixed Bottom Popup Banner
   ============================================= */
#popup-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #0d0d1f 0%, #1a0e04 50%, #0d0d1f 100%);
  border-top: 2px solid #c8a84b;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.7);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
#popup-banner.hidden { transform: translateY(110%); }

.popup-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.popup-icon { font-size: 1.4rem; flex-shrink: 0; }
.popup-text strong { color: #c8a84b; font-size: 1rem; white-space: nowrap; }
.popup-text span { color: #c0c0d0; font-size: 0.85rem; white-space: nowrap; }

.popup-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.popup-close {
  background: none;
  border: none;
  color: #666680;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  transition: color 0.2s;
}
.popup-close:hover { color: #e8e8e8; }

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: #666680;
}
.breadcrumb a { color: #666680; }
.breadcrumb a:hover { color: #c8a84b; text-decoration: none; }
.breadcrumb span { margin: 0 0.4rem; }

/* =============================================
   Page Intro (non-homepage)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, #0d0d1f 0%, #151528 100%);
  border-bottom: 1px solid #1e1e2e;
  padding: 2.5rem 0 2rem;
}
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: #9999aa; max-width: 680px; }

/* =============================================
   Highlight list (checkmarks)
   ============================================= */
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; color: #c0c0d0; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: #c8a84b; font-weight: 700; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-img { order: 1; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }

  #main-nav { display: none; width: 100%; }
  #main-nav.open { display: block; }
  #main-nav ul {
    flex-direction: column;
    padding: 0.75rem 0;
    gap: 0;
  }
  #main-nav a { display: block; padding: 0.55rem 0.75rem; }

  .nav-toggle { display: block; }

  .header-inner { flex-wrap: wrap; }
  .header-cta { order: 1; }
  .nav-toggle { order: 2; }
  #main-nav { order: 3; width: 100%; }

  .bonus-banner { flex-direction: column; text-align: center; }

  #popup-banner {
    padding: 0.6rem 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .popup-text {
    flex: 1 1 100%;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
  .popup-text strong { font-size: 0.82rem; white-space: normal; }
  .popup-text span { display: none; }
  .popup-icon { font-size: 1.1rem; }

  .popup-actions {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .popup-actions .btn { flex: 1; text-align: center; font-size: 0.82rem; padding: 0.45rem 0.75rem; }

  .footer-legal { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { text-align: center; }
  .cta-btn-group { flex-direction: column; align-items: center; }
}
