/* ===================================================
   Virgin Casino UK – Mobile-First Stylesheet
   =================================================== */

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

:root {
  --red:        #C8102E;
  --red-dark:   #9e0b22;
  --red-light:  #f5d0d6;
  --red-bg:     #fff5f6;
  --black:      #111111;
  --dark:       #1a1a1a;
  --grey-dark:  #333333;
  --grey:       #555555;
  --grey-mid:   #777777;
  --grey-light: #e8e8e8;
  --grey-bg:    #f7f7f7;
  --white:      #ffffff;
  --green:      #1a7a4a;
  --green-bg:   #f0faf5;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.16);
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --font-main:  'Georgia', 'Times New Roman', serif;
  --font-body:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: 0.22s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--grey-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--red-dark); }

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

/* ============================================================
   TYPOGRAPHY – mobile base, scale up
   ============================================================ */
h2 {
  font-family: var(--font-main);
  font-size: 1.45rem;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.25;
}
h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
p {
  font-size: 0.95rem;
  line-height: 1.72;
}
.section__lead {
  font-size: 0.97rem;
  color: var(--grey);
  margin-bottom: 24px;
  line-height: 1.78;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:active,
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn--ghost:active,
.btn--ghost:hover {
  background: var(--red);
  color: var(--white);
}
.btn--white-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--white-outline:active,
.btn--white-outline:hover {
  background: var(--white);
  color: var(--red);
}
.btn--large {
  padding: 14px 28px;
  font-size: 0.95rem;
}
.btn--full {
  width: 100%;
}

/* ============================================================
   BONUS BAR TOP
   ============================================================ */
.bonus-bar-top {
  background: var(--red);
  padding: 10px 16px;
  position: relative;
  z-index: 200;
}
.bonus-bar-top__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}
.bonus-bar-top__text {
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--grey-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  gap: 10px;
  flex-wrap: wrap;
}
.logo__svg {
  width: 120px;
  height: auto;
  display: block;
}
.site-nav {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  order: 3;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav__list {
  display: flex;
  list-style: none;
  gap: 2px;
  min-width: max-content;
  padding-bottom: 2px;
}
.site-nav__link {
  display: block;
  padding: 6px 10px;
  color: var(--grey-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.site-nav__link:hover { background: var(--red-bg); color: var(--red); }
.header__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: auto;
}
.header__actions .btn {
  padding: 8px 16px;
  font-size: 0.78rem;
}
.header__actions .btn--ghost { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(160deg, #1a0005 0%, #2d0010 50%, #C8102E 100%);
  padding: 40px 0 44px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  font-family: var(--font-main);
  font-size: 2rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 0.93rem;
  line-height: 1.72;
  margin-bottom: 24px;
}
.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.hero__cta-row .btn {
  width: 100%;
  justify-content: center;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.78);
  font-size: 0.75rem;
  font-weight: 600;
}
.trust-item__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- Casino Card ---- */
.casino-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.casino-card__header {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.casino-card__logo-mini svg { width: 110px; height: auto; }
.rating-badge { text-align: right; }
.rating-badge__stars {
  display: block;
  color: #fbbf24;
  font-size: 0.9rem;
}
.rating-badge__score {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.casino-card__body { padding: 20px; }
.casino-card__bonus-highlight {
  text-align: center;
  background: var(--red-bg);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  border: 2px solid var(--red-light);
}
.bonus-amount {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.bonus-label {
  font-size: 0.78rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.casino-card__features {
  list-style: none;
  margin-bottom: 18px;
}
.casino-card__features li {
  padding: 6px 0;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.casino-card__features li:last-child { border-bottom: none; }
.checkmark { color: var(--green); font-weight: 700; }

/* ============================================================
   SECTIONS BASE
   ============================================================ */
.section { padding: 48px 0; }
.section--alt { background: var(--grey-bg); }

/* ============================================================
   OVERVIEW TABLE
   ============================================================ */
.table-wrap,
.overview-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-light);
  margin-top: 16px;
  margin-bottom: 24px;
  display: block;
  width: 100%;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  font-size: 0.87rem;
}
.data-table thead tr { background: var(--red); color: var(--white); }
.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--grey-light);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--grey-bg); }

/* ============================================================
   STEPS GRID (register)
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-card__number {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 900;
}
.step-card__body h3 { font-size: 0.97rem; margin-bottom: 6px; }
.step-card__body p { font-size: 0.86rem; color: var(--grey); line-height: 1.6; }

/* ============================================================
   GAMES GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 28px;
}
.game-category-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.game-category-card__icon { margin-bottom: 12px; }
.game-category-card__icon svg { width: 44px; height: 44px; }
.game-category-card h3 { margin-bottom: 8px; font-size: 1rem; }
.game-category-card p { font-size: 0.87rem; color: var(--grey); margin-bottom: 16px; }

/* ============================================================
   BONUS STRIP
   ============================================================ */
.bonus-strip {
  background: linear-gradient(90deg, #9e0b22, #C8102E, #9e0b22);
  padding: 20px 16px;
}
.bonus-strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.bonus-strip__text { color: var(--white); }
.bonus-strip__text strong { font-size: 1rem; display: block; margin-bottom: 4px; }
.bonus-strip__text span { font-size: 0.87rem; opacity: 0.9; }

/* ============================================================
   PAYMENTS
   ============================================================ */
.payments-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}
.payments-content__block h3 { font-size: 1.05rem; margin-bottom: 8px; }
.payments-content__block p { font-size: 0.87rem; color: var(--grey); }

.steps-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.mini-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mini-step__num {
  display: inline-flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.mini-step p { font-size: 0.85rem; color: var(--grey); padding-top: 6px; }

/* ============================================================
   MOBILE SECTION (app cards)
   ============================================================ */
.mobile-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}
.mobile-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  box-shadow: var(--shadow-sm);
}
.mobile-card__icon { margin-bottom: 16px; }
.mobile-card__icon svg { width: 44px; height: 44px; }
.mobile-card h3 { margin-bottom: 10px; }
.mobile-card p { font-size: 0.87rem; color: var(--grey); margin-bottom: 20px; }

/* ============================================================
   PROMOS GRID
   ============================================================ */
.promos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}
.promo-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.promo-card__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.promo-card h3 { font-size: 0.97rem; margin-bottom: 8px; }
.promo-card p { font-size: 0.86rem; color: var(--grey); margin-bottom: 16px; }

/* ============================================================
   PROS & CONS
   ============================================================ */
.pros-cons-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.pros-block, .cons-block {
  border-radius: var(--radius-md);
  padding: 22px 18px;
}
.pros-block { background: var(--green-bg); border: 1px solid #c3e8d5; }
.cons-block { background: #fff5f5; border: 1px solid #f5c0c6; }
.pros-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  margin-bottom: 14px;
  font-size: 1rem;
}
.cons-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b01c1c;
  margin-bottom: 14px;
  font-size: 1rem;
}
.pros-cons-list { list-style: none; }
.pros-cons-list li {
  padding: 6px 0;
  font-size: 0.87rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.5;
}
.pros-cons-list li:last-child { border-bottom: none; }
.pros-cons-list--pros li::before { content: '✔ '; color: var(--green); font-weight: 700; }
.pros-cons-list--cons li::before { content: '✘ '; color: #b01c1c; font-weight: 700; }

/* ============================================================
   SUPPORT GRID
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}
.support-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
.support-card__icon { margin-bottom: 12px; }
.support-card__icon svg { width: 44px; height: 44px; }
.support-card h3 { margin-bottom: 8px; font-size: 1rem; }
.support-card p { font-size: 0.86rem; color: var(--grey); margin-bottom: 16px; }

/* ============================================================
   VIP TABLE
   ============================================================ */
.vip .overview-table-wrap { margin-top: 28px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  transition: background var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  line-height: 1.45;
}
.faq-item__question:active,
.faq-item--open .faq-item__question {
  background: var(--red-bg);
  color: var(--red);
}
.faq-item__arrow {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--grey);
  margin-top: 1px;
}
.faq-item--open .faq-item__arrow {
  transform: rotate(180deg);
  color: var(--red);
}
.faq-item__answer {
  display: none;
  padding: 0 16px 16px;
}
.faq-item--open .faq-item__answer { display: block; }
.faq-item__answer p { font-size: 0.88rem; color: var(--grey); line-height: 1.72; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0 0;
}
.site-footer__top {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand .logo { margin-bottom: 12px; display: inline-block; }
.site-footer__tagline { font-size: 0.85rem; line-height: 1.6; }
.footer-nav h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.footer-nav a { color: rgba(255,255,255,0.65); font-size: 0.85rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.site-footer__responsible { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer__responsible h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.site-footer__responsible p { font-size: 0.8rem; line-height: 1.6; margin-bottom: 16px; }
.responsible-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.resp-badge {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.site-footer__bottom { padding: 18px 0; text-align: center; }
.site-footer__bottom p { font-size: 0.75rem; opacity: 0.5; line-height: 1.6; }

/* ============================================================
   TABLET: ≥ 600px
   ============================================================ */
@media (min-width: 600px) {
  .container { padding: 0 24px; }

  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.15rem; }

  .bonus-bar-top__inner { flex-direction: row; gap: 18px; }

  .hero h1 { font-size: 2.6rem; }
  .hero__cta-row { flex-direction: row; flex-wrap: wrap; }
  .hero__cta-row .btn { width: auto; }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .step-card { flex-direction: column; }
  .step-card__body h3 { font-size: 1rem; }

  .games-grid { grid-template-columns: 1fr 1fr; }

  .promos-grid { grid-template-columns: 1fr 1fr; }

  .support-grid { grid-template-columns: 1fr 1fr; }

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

  .mobile-grid { flex-direction: row; }
  .mobile-card { flex: 1; }

  .steps-row { flex-direction: row; flex-wrap: wrap; }
  .mini-step { flex: 1 1 40%; }
  .mini-step p { padding-top: 6px; }
}

/* ============================================================
   DESKTOP: ≥ 900px
   ============================================================ */
@media (min-width: 900px) {
  .container { padding: 0 32px; }

  h2 { font-size: 2rem; margin-bottom: 18px; }
  .section { padding: 72px 0; }
  .section__lead { font-size: 1.05rem; }

  .logo__svg { width: 140px; }
  .header__actions .btn--ghost { display: inline-flex; }
  .site-nav { width: auto; order: 0; overflow: visible; }
  .site-nav__list { flex-wrap: nowrap; min-width: auto; }
  .site-nav__link { font-size: 0.82rem; padding: 6px 12px; }
  .header__inner { flex-wrap: nowrap; padding: 14px 32px; }
  .header__actions .btn { padding: 9px 20px; font-size: 0.85rem; }

  .hero { padding: 80px 0 72px; }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .hero__content { flex: 1; }
  .hero__visual { flex-shrink: 0; width: 380px; }
  .hero h1 { font-size: 3.4rem; }
  .hero__subtitle { font-size: 1.03rem; }
  .casino-card { max-width: 380px; margin: 0; }
  .bonus-amount { font-size: 2.6rem; }

  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step-card { flex-direction: column; }

  .games-grid { grid-template-columns: repeat(3, 1fr); }

  .payments-content { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

  .steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }
  .mini-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: auto;
    padding: 0 8px;
  }
  .mini-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 7px;
    color: var(--grey-mid);
    font-size: 1rem;
  }
  .mini-step__num { margin-bottom: 8px; }
  .mini-step p { padding-top: 0; font-size: 0.78rem; }

  .mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

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

  .pros-cons-grid { flex-direction: row; gap: 32px; }
  .pros-block, .cons-block { flex: 1; }

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

  .site-footer__top { flex-direction: row; justify-content: space-between; gap: 48px; }
  .site-footer__brand { flex: 1; }
}

/* ============================================================
   WIDE: ≥ 1100px
   ============================================================ */
@media (min-width: 1100px) {
  h2 { font-size: 2.2rem; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 3.8rem; }
}
