/* ============================================================
   airon.cfd - Core Base Stylesheet
   Prefix: v78d-
   Palette: #FF1493 / #2D2D2D / #AD1457 / #FFFFBA / #FF4500
   Mobile-first HTML5 casino layout (max 430px)
   ============================================================ */

:root {
  --v78d-primary: #FF1493;
  --v78d-bg: #2D2D2D;
  --v78d-bg-deep: #1a1a1a;
  --v78d-bg-card: #3a2a2f;
  --v78d-accent: #AD1457;
  --v78d-text: #FFFFBA;
  --v78d-text-soft: #f5e9b0;
  --v78d-flame: #FF4500;
  --v78d-white: #ffffff;
  --v78d-gray: #b8b8b8;
  --v78d-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  --v78d-radius: 10px;
  --v78d-radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background: var(--v78d-bg);
  color: var(--v78d-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: var(--v78d-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--v78d-primary);
}

/* ===================== Layout helpers ===================== */
.v78d-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.v78d-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.v78d-section {
  padding: 2rem 1.2rem;
}

.v78d-section-alt {
  background: linear-gradient(180deg, #1f1f1f 0%, #2D2D2D 100%);
}

.v78d-text-center {
  text-align: center;
}

.v78d-hidden {
  display: none !important;
}

/* ===================== Header ===================== */
.v78d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #1a1a1a 0%, #2D2D2D 60%, #3a1a25 100%);
  border-bottom: 2px solid var(--v78d-primary);
  box-shadow: var(--v78d-shadow);
}

.v78d-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  min-height: 52px;
}

.v78d-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v78d-brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--v78d-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--v78d-text);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 0 6px rgba(255, 20, 147, 0.6);
}

.v78d-brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--v78d-text);
  text-shadow: 0 1px 3px rgba(255, 20, 147, 0.5);
}

.v78d-brand-name span {
  color: var(--v78d-primary);
}

.v78d-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v78d-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  min-height: 34px;
  line-height: 1;
  font-family: inherit;
}

.v78d-btn:active {
  transform: scale(0.95);
}

.v78d-btn-register {
  background: linear-gradient(135deg, #FF4500 0%, #FF1493 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 69, 0, 0.45);
}

.v78d-btn-login {
  background: transparent;
  color: var(--v78d-text);
  border: 1.5px solid var(--v78d-text);
}

.v78d-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--v78d-text);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* ===================== Mobile slide menu ===================== */
.v78d-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.v78d-menu-overlay.v78d-open {
  opacity: 1;
  pointer-events: auto;
}

.v78d-side-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #1c1c1c;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 1.5rem 1.2rem;
  overflow-y: auto;
  border-left: 2px solid var(--v78d-primary);
}

.v78d-side-menu.v78d-open {
  right: 0;
}

.v78d-menu-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v78d-text);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v78d-menu-link {
  display: block;
  padding: 0.8rem 0.6rem;
  border-radius: 6px;
  color: var(--v78d-text-soft);
  font-size: 1.3rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.v78d-menu-link:hover,
.v78d-menu-link:focus {
  background: rgba(255, 20, 147, 0.12);
  color: var(--v78d-text);
  padding-left: 1rem;
}

.v78d-menu-cta {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* ===================== Hero / Carousel ===================== */
.v78d-hero {
  margin-top: 56px;
  padding: 1rem 0 0;
}

.v78d-carousel {
  position: relative;
  border-radius: var(--v78d-radius-lg);
  overflow: hidden;
  margin: 0 1.2rem;
  box-shadow: var(--v78d-shadow);
}

.v78d-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.v78d-slide {
  min-width: 100%;
  position: relative;
}

.v78d-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.v78d-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
}

.v78d-slide-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.v78d-slide-sub {
  font-size: 1.15rem;
  color: var(--v78d-text);
  opacity: 0.9;
}

.v78d-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.v78d-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
}

.v78d-dot.v78d-active {
  background: var(--v78d-primary);
  width: 18px;
  border-radius: 4px;
}

/* ===================== H1 / Section titles ===================== */
.v78d-h1 {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--v78d-text);
  margin: 1.4rem 0 0.4rem;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(255, 20, 147, 0.4);
}

.v78d-h1 span,
.v78d-h2 span,
.v78d-h3 span {
  color: var(--v78d-primary);
}

.v78d-h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--v78d-text);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--v78d-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v78d-h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v78d-text);
  margin: 1rem 0 0.5rem;
}

.v78d-lead {
  font-size: 1.3rem;
  color: var(--v78d-text-soft);
  text-align: center;
  margin: 0 1rem 1.4rem;
  opacity: 0.9;
}

/* ===================== Game grid ===================== */
.v78d-game-block {
  padding: 1.5rem 1.2rem;
}

.v78d-game-block + .v78d-game-block {
  border-top: 1px dashed rgba(255, 20, 147, 0.25);
}

.v78d-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.v78d-game-card {
  background: var(--v78d-bg-card);
  border-radius: var(--v78d-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 20, 147, 0.18);
}

.v78d-game-card:active {
  transform: scale(0.96);
}

.v78d-game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.v78d-game-name {
  display: block;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.4rem 0.3rem 0.5rem;
  color: var(--v78d-text);
  background: #252025;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v78d-game-card:hover .v78d-game-name {
  color: var(--v78d-primary);
}

.v78d-badge-hot {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--v78d-flame);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  z-index: 1;
}

/* ===================== Prominent promo link ===================== */
.v78d-promo-link {
  color: var(--v78d-primary);
  font-weight: 800;
  border-bottom: 1px dotted var(--v78d-primary);
}

.v78d-promo-link:hover {
  color: var(--v78d-flame);
  border-bottom-color: var(--v78d-flame);
}

.v78d-cta-row {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin: 1.2rem 0;
  flex-wrap: wrap;
}

.v78d-cta-big {
  background: linear-gradient(135deg, #FF1493 0%, #FF4500 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 20, 147, 0.45);
}

.v78d-cta-ghost {
  background: transparent;
  color: var(--v78d-text);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--v78d-primary);
  cursor: pointer;
}

/* ===================== Cards / feature blocks ===================== */
.v78d-card {
  background: var(--v78d-bg-card);
  border-radius: var(--v78d-radius);
  padding: 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(255, 20, 147, 0.15);
  box-shadow: var(--v78d-shadow);
}

.v78d-card h3 {
  color: var(--v78d-text);
  margin-bottom: 0.4rem;
}

.v78d-card p {
  color: var(--v78d-text-soft);
  font-size: 1.2rem;
  line-height: 1.55;
}

.v78d-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.v78d-feature {
  background: linear-gradient(160deg, #3a1a25 0%, #2D2D2D 100%);
  border-radius: var(--v78d-radius);
  padding: 1rem 0.8rem;
  text-align: center;
  border: 1px solid rgba(255, 20, 147, 0.2);
}

.v78d-feature .v78d-icon {
  font-size: 2.2rem;
  color: var(--v78d-primary);
  margin-bottom: 0.4rem;
  display: block;
}

.v78d-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--v78d-text);
  margin-bottom: 0.2rem;
}

.v78d-feature-desc {
  font-size: 1.1rem;
  color: var(--v78d-text-soft);
  line-height: 1.4;
}

/* ===================== Steps ===================== */
.v78d-steps {
  list-style: none;
  counter-reset: step;
}

.v78d-steps li {
  counter-increment: step;
  position: relative;
  padding: 0.5rem 0 0.5rem 2.6rem;
  font-size: 1.2rem;
  color: var(--v78d-text-soft);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.v78d-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 22px;
  height: 22px;
  background: var(--v78d-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== RTP table ===================== */
.v78d-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.v78d-table th,
.v78d-table td {
  padding: 0.55rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v78d-table th {
  background: rgba(255, 20, 147, 0.18);
  color: var(--v78d-text);
  font-weight: 700;
}

.v78d-table td {
  color: var(--v78d-text-soft);
}

.v78d-table tr:hover td {
  background: rgba(255, 20, 147, 0.06);
}

/* ===================== Testimonials ===================== */
.v78d-testi {
  background: var(--v78d-bg-card);
  padding: 0.9rem;
  border-radius: var(--v78d-radius);
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--v78d-primary);
}

.v78d-testi-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--v78d-primary);
  margin-bottom: 0.2rem;
}

.v78d-testi-text {
  font-size: 1.15rem;
  color: var(--v78d-text-soft);
  line-height: 1.5;
}

.v78d-stars {
  color: var(--v78d-flame);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* ===================== Payment chips ===================== */
.v78d-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.v78d-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 20, 147, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 1.1rem;
  color: var(--v78d-text);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===================== Winners ===================== */
.v78d-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  background: var(--v78d-bg-card);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.v78d-winner-name {
  color: var(--v78d-text);
  font-weight: 600;
}

.v78d-winner-game {
  color: var(--v78d-text-soft);
  font-size: 1.05rem;
}

.v78d-winner-amount {
  color: var(--v78d-flame);
  font-weight: 800;
}

/* ===================== FAQ ===================== */
.v78d-faq {
  border: 1px solid rgba(255, 20, 147, 0.2);
  border-radius: var(--v78d-radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
  background: var(--v78d-bg-card);
}

.v78d-faq-q {
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: var(--v78d-text);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v78d-faq-q .v78d-faq-ico {
  color: var(--v78d-primary);
  font-weight: 700;
}

.v78d-faq-a {
  padding: 0 1rem 0.9rem;
  font-size: 1.15rem;
  color: var(--v78d-text-soft);
  line-height: 1.55;
  display: block;
}

/* ===================== SEO long text ===================== */
.v78d-prose {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--v78d-text-soft);
}

.v78d-prose p {
  margin-bottom: 0.7rem;
}

.v78d-prose strong {
  color: var(--v78d-text);
}

/* ===================== Footer ===================== */
.v78d-footer {
  background: #1a1a1a;
  border-top: 2px solid var(--v78d-primary);
  padding: 2rem 1.2rem 5.5rem;
  margin-top: 2rem;
}

.v78d-footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--v78d-text);
  margin-bottom: 0.5rem;
}

.v78d-footer-desc {
  font-size: 1.15rem;
  color: var(--v78d-text-soft);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.v78d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 1rem;
}

.v78d-footer-links a {
  font-size: 1.15rem;
  color: var(--v78d-text-soft);
}

.v78d-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.v78d-footer-promos button,
.v78d-footer-promos a {
  background: rgba(255, 20, 147, 0.12);
  border: 1px solid var(--v78d-primary);
  color: var(--v78d-text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.v78d-footer-copy {
  font-size: 1.05rem;
  color: var(--v78d-gray);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ===================== Mobile bottom nav ===================== */
.v78d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  background: linear-gradient(180deg, #2D2D2D 0%, #1a1a1a 100%);
  border-top: 2px solid var(--v78d-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.v78d-bottom-btn {
  flex: 1;
  min-width: 60px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: var(--v78d-text-soft);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  transition: color 0.2s ease, transform 0.15s ease;
}

.v78d-bottom-btn:active {
  transform: scale(0.92);
}

.v78d-bottom-btn .v78d-bn-icon {
  font-size: 2rem;
  line-height: 1;
}

.v78d-bottom-btn .v78d-bn-label {
  font-size: 1rem;
  line-height: 1;
}

.v78d-bottom-btn.v78d-active {
  color: var(--v78d-primary);
}

.v78d-bottom-btn.v78d-active::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--v78d-primary);
}

.v78d-bottom-btn.v78d-promo .v78d-bn-icon {
  color: var(--v78d-flame);
}

.v78d-bn-badge {
  position: absolute;
  top: 4px;
  right: 18px;
  background: var(--v78d-flame);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================== Desktop handling ===================== */
@media (min-width: 769px) {
  .v78d-bottom-nav {
    display: none;
  }
  .v78d-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* ===================== Utilities ===================== */
.v78d-mt-1 { margin-top: 0.6rem; }
.v78d-mt-2 { margin-top: 1.2rem; }
.v78d-mb-1 { margin-bottom: 0.6rem; }
.v78d-mb-2 { margin-bottom: 1.2rem; }
.v78d-row { display: flex; gap: 0.6rem; align-items: center; }
.v78d-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 20, 147, 0.5), transparent);
  margin: 1.2rem 0;
}
