/* ============================================================
   Arina Plus - style.css
   All custom classes use prefix: vd45-
   Palette: #9966CC | #EE82EE | #2C3E50 | #FFA500 | #FFEBCD | #FAFAFA
   ============================================================ */

:root {
  --vd45-primary: #9966CC;
  --vd45-secondary: #EE82EE;
  --vd45-bg: #2C3E50;
  --vd45-accent: #FFA500;
  --vd45-cream: #FFEBCD;
  --vd45-light: #FAFAFA;
  --vd45-dark: #1f2d3a;
  --vd45-gray: #6b7a89;
  --vd45-radius: 14px;
  --vd45-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--vd45-bg);
  color: var(--vd45-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--vd45-secondary); text-decoration: none; }
a:hover { color: var(--vd45-accent); }

/* ---------- Layout ---------- */
.vd45-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--vd45-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.vd45-container {
  width: 100%;
  padding: 0 1.4rem;
}

main { padding-bottom: 90px; }

/* ---------- Header / Top Nav ---------- */
.vd45-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #2C3E50 0%, #9966CC 100%);
  border-bottom: 2px solid var(--vd45-accent);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.vd45-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  max-width: 430px;
  margin: 0 auto;
}

.vd45-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--vd45-light);
  font-weight: 700;
  font-size: 1.7rem;
  flex: 1;
}

.vd45-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--vd45-accent);
}

.vd45-brand-name {
  background: linear-gradient(90deg, #EE82EE, #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.3px;
}

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

.vd45-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 36px;
}
.vd45-btn:active { transform: scale(0.96); }

.vd45-btn-login {
  background: transparent;
  color: var(--vd45-light);
  border: 1px solid var(--vd45-secondary);
}
.vd45-btn-login:hover { background: rgba(238, 130, 238, 0.15); }

.vd45-btn-register {
  background: linear-gradient(90deg, #FFA500, #EE82EE);
  color: var(--vd45-dark);
  box-shadow: 0 3px 10px rgba(255, 165, 0, 0.4);
}
.vd45-btn-register:hover { color: var(--vd45-dark); }

.vd45-menu-toggle {
  background: transparent;
  border: none;
  color: var(--vd45-light);
  font-size: 2rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* ---------- Mobile expandable menu ---------- */
.vd45-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: var(--vd45-dark);
  border-top: 1px solid rgba(238, 130, 238, 0.2);
}
.vd45-mobile-menu.vd45-menu-open { max-height: 520px; }

.vd45-mobile-menu ul { list-style: none; padding: 0.6rem 1.2rem; }
.vd45-mobile-menu li { border-bottom: 1px dashed rgba(250, 250, 250, 0.08); }
.vd45-mobile-menu li:last-child { border-bottom: none; }
.vd45-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.4rem;
  color: var(--vd45-cream);
  font-size: 1.4rem;
}
.vd45-mobile-menu a:hover { color: var(--vd45-accent); padding-left: 0.8rem; }

/* ---------- Hero carousel ---------- */
.vd45-hero {
  position: relative;
  overflow: hidden;
  margin: 1rem 0;
  border-radius: var(--vd45-radius);
  box-shadow: var(--vd45-shadow);
}
.vd45-hero-viewport { overflow: hidden; border-radius: var(--vd45-radius); }
.vd45-hero-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}
.vd45-hero-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}
.vd45-hero-slide img { width: 100%; height: 200px; object-fit: cover; }
.vd45-hero-cap {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(44, 62, 80, 0.78);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--vd45-accent);
}
.vd45-hero-cap strong { color: var(--vd45-accent); font-size: 1.5rem; }
.vd45-hero-cap span { color: var(--vd45-light); display: block; font-size: 1.2rem; }

.vd45-hero-dots {
  position: absolute;
  width: 100%;
  bottom: 0.6rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.vd45-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(250, 250, 250, 0.4);
  border: none; cursor: pointer; padding: 0;
}
.vd45-hero-dot.vd45-active { background: var(--vd45-accent); width: 18px; border-radius: 6px; }

/* ---------- Section / Headings ---------- */
.vd45-section {
  padding: 1.6rem 1.4rem;
}
.vd45-section-alt { background: var(--vd45-dark); }

.vd45-section-title {
  font-size: 1.9rem;
  color: var(--vd45-light);
  margin-bottom: 0.8rem;
  padding-left: 0.9rem;
  border-left: 4px solid var(--vd45-accent);
  font-weight: 700;
}
.vd45-section-title em { color: var(--vd45-secondary); font-style: normal; }
.vd45-section-sub {
  color: var(--vd45-cream);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.vd45-h1 {
  font-size: 2.2rem;
  line-height: 1.35;
  color: var(--vd45-light);
  margin: 1rem 0;
  font-weight: 800;
}
.vd45-h1 b { color: var(--vd45-accent); }

/* ---------- Game grid ---------- */
.vd45-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 1.4rem 0 0.8rem;
}
.vd45-cat-head h2 {
  font-size: 1.7rem; color: var(--vd45-secondary);
  display: flex; align-items: center; gap: 0.6rem;
}
.vd45-cat-tag {
  font-size: 1.1rem; color: var(--vd45-cream); background: rgba(255, 165, 0, 0.15);
  padding: 0.2rem 0.7rem; border-radius: 20px;
}

.vd45-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.vd45-grid-4 { grid-template-columns: repeat(4, 1fr); }

.vd45-game {
  background: var(--vd45-dark);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(238, 130, 238, 0.12);
}
.vd45-game:hover {
  transform: translateY(-3px);
  border-color: var(--vd45-accent);
  box-shadow: 0 6px 14px rgba(255, 165, 0, 0.25);
}
.vd45-game img {
  width: 100%; height: 76px; object-fit: cover;
  border-radius: 8px; margin-bottom: 0.4rem;
}
.vd45-game-name {
  font-size: 1.1rem; color: var(--vd45-cream);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Card ---------- */
.vd45-card {
  background: var(--vd45-dark);
  border-radius: var(--vd45-radius);
  padding: 1.4rem;
  box-shadow: var(--vd45-shadow);
  border-top: 3px solid var(--vd45-primary);
  margin-bottom: 1rem;
}
.vd45-card h3 {
  color: var(--vd45-secondary); font-size: 1.6rem; margin-bottom: 0.6rem;
}
.vd45-card p { color: var(--vd45-cream); font-size: 1.3rem; margin-bottom: 0.6rem; }

/* ---------- Promo CTA ---------- */
.vd45-cta {
  background: linear-gradient(135deg, #9966CC 0%, #EE82EE 60%, #FFA500 100%);
  border-radius: var(--vd45-radius);
  padding: 1.6rem;
  color: var(--vd45-dark);
  text-align: center;
  margin: 1.4rem 0;
  box-shadow: 0 8px 20px rgba(153, 102, 204, 0.4);
}
.vd45-cta h3 { color: var(--vd45-dark); font-size: 1.8rem; margin-bottom: 0.5rem; }
.vd45-cta p { color: var(--vd45-dark); font-weight: 600; margin-bottom: 0.8rem; }
.vd45-cta .vd45-btn { background: var(--vd45-dark); color: var(--vd45-accent); }

.vd45-promo-link {
  color: var(--vd45-accent);
  font-weight: 700;
  border-bottom: 1px dashed var(--vd45-accent);
}
.vd45-promo-link:hover { color: var(--vd45-secondary); }

/* ---------- RTP table ---------- */
.vd45-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 1.2rem;
}
.vd45-rtp-table th, .vd45-rtp-table td {
  padding: 0.7rem 0.5rem; text-align: left;
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
}
.vd45-rtp-table th { color: var(--vd45-accent); }
.vd45-rtp-table td { color: var(--vd45-cream); }
.vd45-rtp-bar {
  height: 6px; background: rgba(255, 165, 0, 0.15); border-radius: 4px; overflow: hidden; width: 70px;
}
.vd45-rtp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FFA500, #EE82EE); }

/* ---------- Testimonials ---------- */
.vd45-testi {
  background: var(--vd45-dark);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vd45-secondary);
}
.vd45-testi .vd45-stars { color: var(--vd45-accent); font-size: 1.2rem; }
.vd45-testi p { color: var(--vd45-cream); font-size: 1.25rem; margin: 0.3rem 0; }
.vd45-testi small { color: var(--vd45-gray); }

/* ---------- Payment / features list ---------- */
.vd45-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vd45-chip {
  background: rgba(238, 130, 238, 0.12);
  color: var(--vd45-cream);
  padding: 0.5rem 0.9rem;
  border-radius: 20px;
  font-size: 1.15rem;
  border: 1px solid rgba(238, 130, 238, 0.3);
}
.vd45-chip i { color: var(--vd45-accent); margin-right: 0.3rem; }

/* ---------- Steps ---------- */
.vd45-steps { counter-reset: step; padding-left: 0; list-style: none; }
.vd45-steps li {
  position: relative; padding: 0.6rem 0 0.6rem 3rem; color: var(--vd45-cream); font-size: 1.3rem;
  border-left: 2px solid rgba(153, 102, 204, 0.3); margin-left: 1rem;
}
.vd45-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -1.2rem; top: 0.4rem;
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #FFA500, #EE82EE);
  color: var(--vd45-dark); font-weight: 700; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Winners ---------- */
.vd45-winner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--vd45-dark); padding: 0.7rem 1rem; border-radius: 10px; margin-bottom: 0.5rem;
}
.vd45-winner b { color: var(--vd45-accent); }

/* ---------- Footer ---------- */
.vd45-footer {
  background: var(--vd45-dark);
  color: var(--vd45-cream);
  padding: 2rem 1.4rem 2.5rem;
  border-top: 2px solid var(--vd45-primary);
}
.vd45-footer p { font-size: 1.2rem; margin-bottom: 0.8rem; color: var(--vd45-cream); }
.vd45-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.8rem; margin: 0.6rem 0 1rem;
}
.vd45-footer-links a {
  color: var(--vd45-secondary); font-size: 1.15rem;
  background: rgba(238, 130, 238, 0.08);
  padding: 0.3rem 0.7rem; border-radius: 14px;
}
.vd45-footer-links a:hover { color: var(--vd45-accent); background: rgba(255, 165, 0, 0.12); }
.vd45-copy { font-size: 1.1rem; color: var(--vd45-gray); border-top: 1px dashed rgba(250, 250, 250, 0.1); padding-top: 0.8rem; }

/* ---------- Bottom Nav ---------- */
.vd45-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  height: 62px;
  background: linear-gradient(180deg, #9966CC 0%, #2C3E50 100%);
  border-top: 2px solid var(--vd45-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -3px 14px rgba(0, 0, 0, 0.35);
}
.vd45-bottomnav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--vd45-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  min-width: 60px;
  min-height: 60px;
  position: relative;
  transition: background 0.15s ease, transform 0.15s ease;
}
.vd45-bottomnav-btn .material-icons,
.vd45-bottomnav-btn i { font-size: 22px; }
.vd45-bottomnav-btn:active { transform: scale(0.92); }
.vd45-bottomnav-btn:hover { color: var(--vd45-accent); }
.vd45-bottomnav-btn.vd45-current { color: var(--vd45-accent); }
.vd45-bottomnav-btn.vd45-current::after {
  content: ''; position: absolute; top: 0; width: 28px; height: 3px;
  background: var(--vd45-accent); border-radius: 0 0 4px 4px;
}
.vd45-bottomnav-btn span { font-size: 1rem; }

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

/* ---------- Desktop: hide bottom nav, widen wrapper ---------- */
@media (min-width: 769px) {
  .vd45-bottomnav { display: none; }
  main { padding-bottom: 30px; }
  .vd45-wrapper { max-width: 800px; box-shadow: 0 0 40px rgba(0, 0, 0, 0.4); }
  .vd45-grid { grid-template-columns: repeat(6, 1fr); }
  .vd45-grid-4 { grid-template-columns: repeat(8, 1fr); }
}

/* ---------- Mobile bottom padding within main wrapper ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .vd45-hero-slide img { height: 180px; }
}

/* Utility */
.vd45-text-center { text-align: center; }
.vd45-mt-1 { margin-top: 0.6rem; }
.vd45-mb-1 { margin-bottom: 0.6rem; }
.vd45-hidden { display: none; }
