/*!
 * aa455.homes - Design stylesheet
 * Class prefix: vc31-  |  Color palette: #A0522D #FF0000 #1B263B #C71585 #CD5C5C
 * Dark tones (#1B263B, #A0522D) are used as backgrounds; lighter tones for text/accents.
 * Mobile-first HTML5 layout, max-width 430px shell, rem units (root 62.5%).
 */

:root {
  --vc31-primary: #C71585;
  --vc31-secondary: #A0522D;
  --vc31-accent: #FF0000;
  --vc31-rose: #CD5C5C;
  --vc31-bg: #1B263B;
  --vc31-bg-2: #243049;
  --vc31-bg-3: #0F1726;
  --vc31-text: #F4EFE9;
  --vc31-muted: #B8C0CF;
  --vc31-gold: #F2C14E;
  --vc31-line: rgba(244, 239, 233, 0.10);
  --vc31-radius: 14px;
  --vc31-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --vc31-header-h: 6rem;
  --vc31-bottom-h: 6.4rem;
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  background: linear-gradient(180deg, var(--vc31-bg-3) 0%, var(--vc31-bg) 60%, var(--vc31-bg-3) 100%);
  color: var(--vc31-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--vc31-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .4rem; line-height: 1.25; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

/* Layout shell */
.vc31-wrapper { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; position: relative; }
.vc31-container { padding-top: var(--vc31-header-h); padding-bottom: calc(var(--vc31-bottom-h) + 1rem); }
.vc31-section { padding: 2.6rem 0 1rem; }
.vc31-section-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.vc31-section-head .vc31-bar { width: 6px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--vc31-primary), var(--vc31-accent)); }
.vc31-section-head h2 { font-size: 2rem; color: var(--vc31-text); }
.vc31-section-head h2 span { color: var(--vc31-gold); }
.vc31-muted { color: var(--vc31-muted); }
.vc31-hidden { display: none !important; }
.vc31-no-scroll { overflow: hidden; }

/* Buttons */
.vc31-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 1rem 1.6rem; font-size: 1.4rem; font-weight: 700;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 44px; text-decoration: none;
}
.vc31-btn:hover { transform: translateY(-1px); text-decoration: none; }
.vc31-btn-primary { background: linear-gradient(135deg, var(--vc31-accent), var(--vc31-primary)); color: #fff; box-shadow: 0 6px 18px rgba(199, 21, 133, .35); }
.vc31-btn-gold { background: linear-gradient(135deg, var(--vc31-gold), #E89B27); color: #1B263B; }
.vc31-btn-ghost { background: rgba(244, 239, 233, .08); color: var(--vc31-text); border: 1px solid var(--vc31-line); }
.vc31-btn-block { display: flex; width: 100%; }

/* Header */
.vc31-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 23, 38, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vc31-line);
}
.vc31-header-inner {
  max-width: 430px; margin: 0 auto; padding: .8rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
}
.vc31-logo { display: flex; align-items: center; gap: .6rem; flex: 1; min-width: 0; }
.vc31-logo img { width: 30px; height: 30px; border-radius: 8px; }
.vc31-logo strong { font-size: 1.7rem; letter-spacing: .5px; color: var(--vc31-text); }
.vc31-logo strong span { color: var(--vc31-primary); }
.vc31-header-actions { display: flex; gap: .5rem; }
.vc31-header-actions .vc31-btn { padding: .7rem 1.1rem; font-size: 1.25rem; min-height: 38px; }
.vc31-hamburger { background: transparent; border: 0; color: var(--vc31-text); font-size: 2rem; cursor: pointer; padding: .4rem; min-width: 44px; min-height: 44px; }

/* Mobile menu */
.vc31-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: 80%; max-width: 320px;
  background: var(--vc31-bg-3); z-index: 9999; padding: 2rem 1.4rem;
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
  border-left: 1px solid var(--vc31-line);
}
.vc31-menu-open { transform: translateX(0); }
.vc31-menu h3 { font-size: 1.5rem; color: var(--vc31-gold); margin-bottom: 1rem; }
.vc31-menu a { display: block; padding: 1rem; border-radius: 10px; color: var(--vc31-text); font-size: 1.35rem; border-bottom: 1px solid var(--vc31-line); }
.vc31-menu a:hover { background: rgba(199, 21, 133, .12); text-decoration: none; }
.vc31-menu-overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity .25s ease;
}
.vc31-menu-open ~ .vc31-menu-overlay { opacity: 1; visibility: visible; }
.vc31-close { background: var(--vc31-primary); color: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem; }

/* Hero carousel */
.vc31-hero { position: relative; border-radius: var(--vc31-radius); overflow: hidden; margin: 1.2rem 0 0; box-shadow: var(--vc31-shadow); }
.vc31-slides { position: relative; height: 200px; }
.vc31-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.vc31-slide img { width: 100%; height: 100%; object-fit: cover; }
.vc31-slide-active { opacity: 1; }
.vc31-slide-cap { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; background: rgba(15, 23, 38, .7); padding: .8rem 1rem; border-radius: 10px; }
.vc31-slide-cap strong { color: var(--vc31-gold); font-size: 1.4rem; }
.vc31-slide-cap p { margin: 0; font-size: 1.2rem; color: var(--vc31-text); }
.vc31-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.vc31-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); cursor: pointer; }
.vc31-dot-active { background: var(--vc31-gold); width: 22px; border-radius: 6px; }

/* H1 title bar */
.vc31-h1bar { padding: 1.6rem 0 .4rem; }
.vc31-h1bar h1 { font-size: 2.2rem; line-height: 1.2; }
.vc31-h1bar h1 span { color: var(--vc31-primary); }
.vc31-h1bar p { color: var(--vc31-muted); font-size: 1.3rem; margin-top: .4rem; }

/* Filter chips */
.vc31-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.vc31-chip { white-space: nowrap; padding: .55rem 1.1rem; border-radius: 999px; background: rgba(244, 239, 233, .08); color: var(--vc31-text); font-size: 1.2rem; cursor: pointer; border: 1px solid var(--vc31-line); }
.vc31-chip-active { background: linear-gradient(135deg, var(--vc31-primary), var(--vc31-accent)); border-color: transparent; color: #fff; }

/* Game grid */
.vc31-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.vc31-card {
  background: var(--vc31-bg-2); border-radius: 12px; overflow: hidden; position: relative;
  border: 1px solid var(--vc31-line); cursor: pointer; transition: transform .15s ease, box-shadow .2s ease;
}
.vc31-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); border-color: rgba(199, 21, 133, .5); }
.vc31-card .vc31-thumb { aspect-ratio: 1 / 1; background: #0b1322; }
.vc31-card .vc31-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vc31-card .vc31-name { padding: .5rem .6rem; font-size: 1.1rem; text-align: center; color: var(--vc31-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc31-card .vc31-tag { position: absolute; top: 6px; left: 6px; background: var(--vc31-accent); color: #fff; font-size: 1rem; padding: 2px 6px; border-radius: 6px; }

/* Feature cards / info blocks */
.vc31-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.vc31-info { background: var(--vc31-bg-2); padding: 1.1rem; border-radius: 12px; border: 1px solid var(--vc31-line); }
.vc31-info i, .vc31-info .material-symbols-outlined, .vc31-info ion-icon, .vc31-info bi { color: var(--vc31-gold); font-size: 2.2rem; }
.vc31-info h3 { font-size: 1.35rem; margin-top: .5rem; }
.vc31-info p { font-size: 1.2rem; color: var(--vc31-muted); margin: 0; }

/* Testimonial */
.vc31-testi { background: var(--vc31-bg-2); padding: 1.1rem; border-radius: 12px; border-left: 3px solid var(--vc31-primary); margin-bottom: .7rem; }
.vc31-testi .vc31-stars { color: var(--vc31-gold); font-size: 1.2rem; margin-bottom: .3rem; }
.vc31-testi p { font-size: 1.25rem; margin: 0 0 .5rem; }
.vc31-testi small { color: var(--vc31-muted); }

/* Payment */
.vc31-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.vc31-pay span { background: var(--vc31-bg-2); padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--vc31-line); font-size: 1.15rem; color: var(--vc31-text); }

/* Winners ticker */
.vc31-winner { display: flex; align-items: center; gap: .7rem; background: var(--vc31-bg-2); padding: .7rem .9rem; border-radius: 10px; margin-bottom: .5rem; border: 1px solid var(--vc31-line); }
.vc31-winner .vc31-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--vc31-primary), var(--vc31-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.vc31-winner small { color: var(--vc31-muted); display: block; font-size: 1.1rem; }
.vc31-winner strong { color: var(--vc31-gold); }

/* Stats */
.vc31-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.vc31-stat { background: linear-gradient(135deg, rgba(199, 21, 133, .15), rgba(160, 82, 45, .15)); padding: 1rem; border-radius: 12px; border: 1px solid var(--vc31-line); text-align: center; }
.vc31-stat .vc31-num { font-size: 2.2rem; color: var(--vc31-gold); font-weight: 800; }
.vc31-stat small { color: var(--vc31-muted); display: block; font-size: 1.1rem; }

/* RTP table */
.vc31-rtp-table { width: 100%; border-collapse: collapse; background: var(--vc31-bg-2); border-radius: 12px; overflow: hidden; font-size: 1.2rem; }
.vc31-rtp-table th, .vc31-rtp-table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--vc31-line); }
.vc31-rtp-table th { background: rgba(199, 21, 133, .15); color: var(--vc31-gold); font-weight: 700; }
.vc31-rtp-table td .vc31-pill { background: var(--vc31-secondary); color: #fff; padding: 2px 8px; border-radius: 6px; font-size: 1.05rem; }

/* FAQ */
.vc31-faq-item { background: var(--vc31-bg-2); border-radius: 12px; margin-bottom: .7rem; overflow: hidden; border: 1px solid var(--vc31-line); }
.vc31-faq-q { padding: 1rem 1.1rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: 1.3rem; }
.vc31-faq-q .vc31-icon { color: var(--vc31-gold); transition: transform .25s ease; }
.vc31-faq-open .vc31-icon { transform: rotate(45deg); }
.vc31-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 1.1rem; color: var(--vc31-muted); font-size: 1.22rem; }
.vc31-faq-open .vc31-faq-a { max-height: 600px; padding: 0 1.1rem 1.1rem; }

/* App download CTA */
.vc31-app-cta { background: linear-gradient(135deg, var(--vc31-primary), var(--vc31-secondary)); border-radius: 16px; padding: 1.4rem; text-align: center; margin: 1rem 0; }
.vc31-app-cta h3 { color: #fff; font-size: 1.7rem; }
.vc31-app-cta p { color: rgba(255, 255, 255, .85); font-size: 1.2rem; }
.vc31-app-cta .vc31-btn { margin-top: .6rem; }

/* SEO long text */
.vc31-prose { background: var(--vc31-bg-2); border-radius: 12px; padding: 1.4rem 1.2rem; border: 1px solid var(--vc31-line); }
.vc31-prose h3 { color: var(--vc31-gold); font-size: 1.5rem; margin-top: 1rem; }
.vc31-prose h3:first-child { margin-top: 0; }
.vc31-prose p { color: var(--vc31-muted); font-size: 1.25rem; line-height: 1.55; }
.vc31-prose a { color: var(--vc31-primary); font-weight: 700; }

/* Category highlights */
.vc31-cat-row { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .6rem; }
.vc31-cat-tile { min-width: 160px; background: var(--vc31-bg-2); border-radius: 12px; padding: 1rem; border: 1px solid var(--vc31-line); }
.vc31-cat-tile i, .vc31-cat-tile .material-symbols-outlined { color: var(--vc31-gold); font-size: 2.4rem; }
.vc31-cat-tile h4 { margin: .4rem 0 .2rem; font-size: 1.35rem; color: var(--vc31-text); }
.vc31-cat-tile p { color: var(--vc31-muted); font-size: 1.15rem; margin: 0; }

/* Reveal animation */
.vc31-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.vc31-in { opacity: 1; transform: translateY(0); }

/* Footer */
.vc31-footer { background: var(--vc31-bg-3); border-top: 1px solid var(--vc31-line); padding: 2rem 1.2rem calc(var(--vc31-bottom-h) + 2rem); margin-top: 2rem; }
.vc31-footer-inner { max-width: 430px; margin: 0 auto; }
.vc31-footer h4 { color: var(--vc31-gold); font-size: 1.35rem; margin-bottom: .6rem; }
.vc31-footer p { color: var(--vc31-muted); font-size: 1.2rem; }
.vc31-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1rem 0; }
.vc31-footer-links a { color: var(--vc31-text); font-size: 1.2rem; }
.vc31-footer-promos { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1.2rem; }
.vc31-footer-promos .vc31-btn { padding: .7rem 1.1rem; font-size: 1.2rem; }
.vc31-copy { text-align: center; color: var(--vc31-muted); font-size: 1.15rem; border-top: 1px solid var(--vc31-line); padding-top: 1rem; }

/* Mobile bottom nav */
.vc31-bottom {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(36, 48, 73, .98), rgba(15, 23, 38, .98));
  border-top: 1px solid var(--vc31-line);
  display: flex; justify-content: space-around; align-items: stretch;
  height: var(--vc31-bottom-h);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .35);
}
.vc31-bottom-btn {
  flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; color: var(--vc31-muted);
  background: transparent; border: 0; cursor: pointer; text-decoration: none;
  transition: color .2s ease, transform .2s ease; padding: .4rem;
}
.vc31-bottom-btn:hover, .vc31-bottom-btn:focus { color: var(--vc31-gold); transform: translateY(-2px); text-decoration: none; }
.vc31-bottom-btn.vc31-active-page { color: var(--vc31-gold); }
.vc31-bottom-btn i, .vc31-bottom-btn .material-symbols-outlined, .vc31-bottom-btn ion-icon, .vc31-bottom-btn bi { font-size: 24px; }
.vc31-bottom-btn span { font-size: 11px; line-height: 1; }
.vc31-bottom-btn .vc31-badge { position: absolute; top: 4px; right: 18px; background: var(--vc31-accent); color: #fff; font-size: 9px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.vc31-bottom-btn { position: relative; }
.vc31-bottom-promo { background: linear-gradient(135deg, var(--vc31-primary), var(--vc31-accent)); color: #fff; margin: -10px 4px 0; border-radius: 14px 14px 0 0; height: calc(var(--vc31-bottom-h) + 10px); }
.vc31-bottom-promo span, .vc31-bottom-promo i { color: #fff; }

/* Utility */
.vc31-text-center { text-align: center; }
.vc31-mt-1 { margin-top: .6rem; }
.vc31-mt-2 { margin-top: 1.2rem; }
.vc31-row { display: flex; gap: .6rem; align-items: center; }
.vc31-divider { height: 1px; background: var(--vc31-line); margin: 1.4rem 0; }

/* Desktop: hide bottom nav, widen shell */
@media (min-width: 769px) {
  .vc31-bottom { display: none; }
  body { background: linear-gradient(180deg, var(--vc31-bg-3), var(--vc31-bg)); }
  .vc31-wrapper { max-width: 720px; }
  .vc31-header-inner { max-width: 720px; }
  .vc31-grid { grid-template-columns: repeat(5, 1fr); }
  .vc31-info-grid { grid-template-columns: repeat(3, 1fr); }
  .vc31-stats { grid-template-columns: repeat(4, 1fr); }
  .vc31-footer-inner { max-width: 720px; }
  .vc31-container { padding-bottom: 2rem; }
}

/* Larger mobile devices */
@media (min-width: 414px) and (max-width: 768px) {
  .vc31-slides { height: 230px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
