/* =========================================================
 * Plus Casino (pluscasino.click) - design.css
 * All custom classes use the v414- prefix.
 * Palette: #FFB347 | #F4A460 | #EE82EE | #2E4057 | #F0F0F0 | #FFF8DC
 * ========================================================= */

:root {
  --v414-primary: #FFB347;
  --v414-secondary: #F4A460;
  --v414-accent: #EE82EE;
  --v414-bg: #2E4057;
  --v414-bg-deep: #24344a;
  --v414-bg-card: #2f425a;
  --v414-text: #F0F0F0;
  --v414-cream: #FFF8DC;
  --v414-muted: #b9c6d6;
  --v414-line: rgba(255, 248, 220, 0.12);
  --v414-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --v414-radius: 14px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;            /* 1rem = 10px per project spec */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(160deg, var(--v414-bg-deep) 0%, var(--v414-bg) 60%, var(--v414-bg-deep) 100%);
  color: var(--v414-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--v414-primary); text-decoration: none; }
a:hover { color: var(--v414-accent); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { color: var(--v414-cream); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.v414-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.v414-container { width: 100%; }
.v414-section { padding: 28px 0; }
.v414-section-alt { background: rgba(255, 248, 220, 0.04); }

/* ---------- Header ---------- */
.v414-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--v414-bg-deep), var(--v414-bg-card));
  border-bottom: 1px solid var(--v414-line);
  box-shadow: var(--v414-shadow);
}
.v414-header-row {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 8px;
}
.v414-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v414-cream);
  font-weight: 700;
  font-size: 1.7rem;
}
.v414-logo img { width: 30px; height: 30px; border-radius: 6px; }
.v414-logo span { color: var(--v414-primary); }

.v414-header-actions { display: flex; align-items: center; gap: 8px; }
.v414-menu-btn {
  background: transparent;
  border: 1px solid var(--v414-line);
  color: var(--v414-text);
  width: 38px; height: 38px;
  border-radius: 10px;
  font-size: 1.7rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.v414-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.v414-btn:active { transform: scale(0.96); }
.v414-btn-primary {
  background: linear-gradient(90deg, var(--v414-primary), var(--v414-secondary));
  color: #2a1d09;
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.4);
}
.v414-btn-ghost {
  background: transparent;
  color: var(--v414-cream);
  border: 1px solid var(--v414-primary);
}
.v414-btn-accent {
  background: linear-gradient(90deg, var(--v414-accent), #c766c7);
  color: #2a0f2a;
}
.v414-btn-block { width: 100%; }
.v414-btn-lg { min-height: 50px; font-size: 1.6rem; }

/* ---------- Mobile dropdown menu ---------- */
.v414-mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: var(--v414-bg-deep);
  transition: max-height .3s ease;
  border-top: 1px solid var(--v414-line);
}
.v414-mobile-menu.v414-menu-open { max-height: 560px; }
.v414-mobile-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.v414-mobile-menu-inner a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--v414-text);
  font-size: 1.35rem;
  border: 1px solid var(--v414-line);
}
.v414-mobile-menu-inner a:hover { background: rgba(255, 179, 71, 0.12); }

/* ---------- Hero / Carousel ---------- */
.v414-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--v414-radius);
  margin: 16px 0;
  box-shadow: var(--v414-shadow);
}
.v414-hero-track { position: relative; min-height: 220px; }
.v414-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, #3b3a52, #2E4057 55%, #1f2c3d);
}
.v414-hero-slide.v414-active { opacity: 1; position: relative; }
.v414-hero-slide.v414-slide-2 { background: linear-gradient(135deg, #5a3b52, #2E4057 60%, #1f2c3d); }
.v414-hero-slide.v414-slide-3 { background: linear-gradient(135deg, #52402a, #2E4057 60%, #1f2c3d); }
.v414-hero-eyebrow {
  display: inline-block;
  background: rgba(238, 130, 238, 0.18);
  color: var(--v414-accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  width: fit-content;
}
.v414-hero-title { font-size: 2.3rem; margin: 0 0 6px; color: var(--v414-cream); }
.v414-hero-desc { color: var(--v414-muted); font-size: 1.35rem; margin-bottom: 12px; }
.v414-hero-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.v414-dots {
  position: absolute;
  bottom: 10px;
  right: 14px;
  display: flex;
  gap: 6px;
}
.v414-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.35);
  cursor: pointer;
}
.v414-dot-active { background: var(--v414-primary); }

/* ---------- Stats strip ---------- */
.v414-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 4px;
}
.v414-stat {
  background: var(--v414-bg-card);
  border: 1px solid var(--v414-line);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
}
.v414-stat-num { font-size: 1.9rem; font-weight: 800; color: var(--v414-primary); }
.v414-stat-label { font-size: 1.15rem; color: var(--v414-muted); }

/* ---------- Section headings ---------- */
.v414-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.v414-section-title {
  font-size: 1.9rem;
  color: var(--v414-cream);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.v414-section-title i { color: var(--v414-primary); }
.v414-section-link { font-size: 1.25rem; color: var(--v414-accent); font-weight: 600; }

/* ---------- Category chips / filters ---------- */
.v414-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  margin: 0 -14px 8px;
  padding-left: 14px;
  padding-right: 14px;
  scrollbar-width: none;
}
.v414-filter-bar::-webkit-scrollbar { display: none; }
.v414-filter-btn {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--v414-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--v414-text);
  font-size: 1.25rem;
  cursor: pointer;
  white-space: nowrap;
}
.v414-filter-btn.v414-filter-active {
  background: linear-gradient(90deg, var(--v414-primary), var(--v414-secondary));
  color: #2a1d09;
  border-color: transparent;
  font-weight: 700;
}

/* ---------- Game grid & cards ---------- */
.v414-game-group { margin-bottom: 22px; }
.v414-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.v414-card {
  background: var(--v414-bg-card);
  border: 1px solid var(--v414-line);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.v414-card:hover { transform: translateY(-2px); border-color: var(--v414-primary); }
.v414-card:active { transform: scale(0.97); }
.v414-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1d2a3a;
}
.v414-card-name {
  padding: 6px 8px;
  font-size: 1.18rem;
  text-align: center;
  color: var(--v414-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v414-card-tag {
  display: inline-block;
  margin: 0 8px 6px;
  font-size: 1rem;
  color: var(--v414-accent);
  background: rgba(238, 130, 238, 0.12);
  border-radius: 999px;
  padding: 1px 8px;
  width: fit-content;
}

/* ---------- Featured / promo banner ---------- */
.v414-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 179, 71, 0.18), rgba(238, 130, 238, 0.12));
  border: 1px solid var(--v414-line);
  border-radius: var(--v414-radius);
  padding: 14px;
  margin-bottom: 18px;
  align-items: center;
}
.v414-feature-body h3 { font-size: 1.7rem; margin-bottom: 4px; }
.v414-feature-body p { font-size: 1.25rem; color: var(--v414-muted); margin-bottom: 10px; }
.v414-feature-img { border-radius: 10px; box-shadow: var(--v414-shadow); }

/* ---------- Promo link text ---------- */
.v414-text-link {
  color: var(--v414-primary);
  font-weight: 700;
  cursor: pointer;
}
.v414-text-link:hover { text-decoration: underline; color: var(--v414-accent); }

/* ---------- SEO content blocks ---------- */
.v414-prose { color: var(--v414-text); }
.v414-prose h2 { color: var(--v414-cream); margin-top: 18px; }
.v414-prose h3 { color: var(--v414-primary); margin-top: 14px; }
.v414-prose p, .v414-prose li { font-size: 1.4rem; color: var(--v414-muted); }
.v414-prose ul { padding-left: 18px; }
.v414-prose strong { color: var(--v414-cream); }

/* ---------- FAQ ---------- */
.v414-faq-list { display: flex; flex-direction: column; gap: 8px; }
.v414-faq-item {
  background: var(--v414-bg-card);
  border: 1px solid var(--v414-line);
  border-radius: 10px;
  overflow: hidden;
}
.v414-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 600;
  color: var(--v414-cream);
  font-size: 1.35rem;
}
.v414-faq-q i { color: var(--v414-primary); transition: transform .2s ease; }
.v414-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 14px;
  color: var(--v414-muted);
  font-size: 1.3rem;
}
.v414-faq-open .v414-faq-a { max-height: 320px; padding: 0 14px 12px; }
.v414-faq-open .v414-faq-q i { transform: rotate(45deg); }

/* ---------- Footer ---------- */
.v414-footer {
  background: var(--v414-bg-deep);
  border-top: 1px solid var(--v414-line);
  padding: 26px 0 110px;
  margin-top: 20px;
}
.v414-footer h4 { color: var(--v414-primary); margin-bottom: 8px; font-size: 1.4rem; }
.v414-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.v414-footer ul { list-style: none; padding: 0; margin: 0; }
.v414-footer li { margin-bottom: 6px; }
.v414-footer a { color: var(--v414-muted); font-size: 1.25rem; }
.v414-footer a:hover { color: var(--v414-primary); }
.v414-footer-bottom {
  text-align: center;
  font-size: 1.15rem;
  color: var(--v414-muted);
  border-top: 1px solid var(--v414-line);
  padding-top: 14px;
}
.v414-18plus { font-weight: 700; color: var(--v414-accent); }

/* ---------- Mobile bottom navigation ---------- */
.v414-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--v414-bg-card), var(--v414-bg-deep));
  border-top: 1px solid var(--v414-line);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  height: 62px;
  padding: 4px 0 6px;
}
.v414-bottom-nav a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--v414-muted);
  font-size: 1rem;
  min-width: 60px;
  min-height: 52px;
  text-decoration: none;
  border-top: 3px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.v414-bottom-nav a i { font-size: 2rem; }
.v414-bottom-nav a:hover,
.v414-bottom-nav a.v414-nav-current {
  color: var(--v414-primary);
  border-top-color: var(--v414-primary);
}
.v414-bottom-nav a:hover { transform: translateY(-1px); }

/* ---------- Utilities ---------- */
.v414-hide-desktop { display: block; }
.v414-hide-mobile { display: none; }
.v414-text-center { text-align: center; }
.v414-mt-8 { margin-top: 8px; }
.v414-mt-16 { margin-top: 16px; }

/* ---------- Desktop overrides ---------- */
@media (min-width: 769px) {
  body { background: var(--v414-bg-deep); }
  .v414-wrapper { max-width: 1100px; padding: 0 24px; }
  .v414-header-row { max-width: 1100px; }
  .v414-grid { grid-template-columns: repeat(6, 1fr); }
  .v414-bottom-nav { display: none; }
  .v414-footer { padding-bottom: 30px; }
  .v414-hide-desktop { display: none; }
  .v414-hide-mobile { display: block; }
  .v414-footer-cols { grid-template-columns: repeat(4, 1fr); }
  .v414-mobile-menu { display: none; }
  .v414-menu-btn { display: none; }
}

/* ---------- Mobile bottom padding ---------- */
@media (max-width: 768px) {
  main { padding-bottom: 84px; }
  .v414-feature { grid-template-columns: 1fr; }
}
