/* layout-7a35.css - Casino Plus Owner
   Prefix: v5dc-
   Palette: #0C0C0C / #D4AF37 / #FFE135
   Mobile-first, max 430px content width */

:root {
  --v5dc-bg: #0C0C0C;
  --v5dc-bg-2: #161616;
  --v5dc-gold: #D4AF37;
  --v5dc-yellow: #FFE135;
  --v5dc-text: #F4E9C1;
  --v5dc-muted: #9b9079;
  --v5dc-line: rgba(212, 175, 55, 0.22);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--v5dc-bg);
  color: var(--v5dc-text);
  font-family: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--v5dc-yellow); text-decoration: none; }
a:hover { color: var(--v5dc-gold); text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Georgia", "Times New Roman", serif; color: var(--v5dc-yellow); margin: 0 0 1rem; line-height: 1.25; }
p { margin: 0 0 1.2rem; }

/* Layout container */
.v5dc-wrap {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
main.v5dc-main { padding-top: 6rem; padding-bottom: 8.5rem; }

/* ============ Header ============ */
.v5dc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 6rem;
  z-index: 1000;
  background: linear-gradient(180deg, #000 0%, #0C0C0C 100%);
  border-bottom: 1px solid var(--v5dc-line);
  display: flex;
  align-items: center;
}
.v5dc-header-row {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v5dc-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--v5dc-yellow);
  font-weight: 700;
  font-size: 1.6rem;
  font-family: Georgia, serif;
}
.v5dc-logo img { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid var(--v5dc-gold); }
.v5dc-spacer { flex: 1; }

.v5dc-btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 0.7rem 1.3rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.15s ease, filter 0.15s ease;
  min-height: 3.6rem;
}
.v5dc-btn:active { transform: scale(0.96); }
.v5dc-btn-login {
  background: transparent;
  color: var(--v5dc-yellow);
  border: 1px solid var(--v5dc-gold);
}
.v5dc-btn-register {
  background: linear-gradient(135deg, #FFE135 0%, #D4AF37 100%);
  color: #1a1500;
  box-shadow: 0 2px 8px rgba(255, 225, 53, 0.25);
}
.v5dc-menu-btn {
  background: transparent;
  border: none;
  color: var(--v5dc-gold);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
}

/* ============ Mobile menu ============ */
#v5dc-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
#v5dc-menu-backdrop.v5dc-backdrop-show { opacity: 1; pointer-events: auto; }

#v5dc-mobile-menu {
  position: fixed;
  top: 0; right: -82%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--v5dc-bg-2);
  z-index: 9999;
  padding: 2.2rem 1.4rem;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--v5dc-line);
}
#v5dc-mobile-menu.v5dc-menu-open { right: 0; }
.v5dc-menu-title {
  font-size: 1.5rem; color: var(--v5dc-yellow);
  margin-bottom: 1.2rem; letter-spacing: 0.05em;
}
.v5dc-menu-list { list-style: none; padding: 0; margin: 0; }
.v5dc-menu-list li { border-bottom: 1px solid var(--v5dc-line); }
.v5dc-menu-list a {
  display: block;
  padding: 1.25rem 0.5rem;
  color: var(--v5dc-text);
  font-size: 1.4rem;
  text-decoration: none;
}
.v5dc-menu-list a:hover { color: var(--v5dc-yellow); }
.v5dc-menu-close {
  background: transparent; border: 1px solid var(--v5dc-gold);
  color: var(--v5dc-yellow); font-size: 1.2rem;
  padding: 0.5rem 1rem; border-radius: 2rem; margin-bottom: 1rem;
  cursor: pointer;
}

/* ============ Hero carousel ============ */
.v5dc-hero {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin: 1rem 0;
  border: 1px solid var(--v5dc-line);
}
.v5dc-hero-track { position: relative; height: 18rem; }
.v5dc-hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  display: flex; align-items: flex-end;
}
.v5dc-hero-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 0; }
.v5dc-hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1;
}
.v5dc-hero-caption {
  position: relative; z-index: 2;
  padding: 1.4rem; width: 100%;
}
.v5dc-hero-caption h2 { font-size: 2rem; margin: 0 0 0.5rem; }
.v5dc-hero-caption p { font-size: 1.25rem; margin: 0 0 0.8rem; color: var(--v5dc-text); }
.v5dc-slide-active { opacity: 1; }
.v5dc-hero-dots {
  position: absolute; bottom: 0.8rem; right: 1rem; z-index: 3;
  display: flex; gap: 0.4rem;
}
.v5dc-hero-dot {
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: 0; padding: 0; cursor: pointer;
}
.v5dc-dot-active { background: var(--v5dc-yellow); }

/* ============ CTA ============ */
.v5dc-cta {
  background: linear-gradient(135deg, rgba(212,175,55,0.18), rgba(255,225,53,0.05));
  border: 1px solid var(--v5dc-gold);
  border-radius: 1rem;
  padding: 1.3rem;
  text-align: center;
  margin: 1.2rem 0;
}
.v5dc-cta h2 { font-size: 1.8rem; }
.v5dc-cta p { color: var(--v5dc-text); margin-bottom: 1rem; }

/* ============ Game sections ============ */
.v5dc-section { margin: 2rem 0; }
.v5dc-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.v5dc-section-head h2 { font-size: 1.7rem; margin: 0; }
.v5dc-section-head .v5dc-link-more { font-size: 1.2rem; color: var(--v5dc-yellow); }
.v5dc-cats { display: flex; gap: 0.6rem; overflow-x: auto; padding: 0.4rem 0 0.8rem; }
.v5dc-cat-tab {
  background: var(--v5dc-bg-2);
  border: 1px solid var(--v5dc-line);
  color: var(--v5dc-text);
  padding: 0.55rem 1.1rem;
  border-radius: 1.6rem;
  font-size: 1.2rem;
  cursor: pointer;
  white-space: nowrap;
}
.v5dc-cat-active {
  background: var(--v5dc-gold); color: #1a1500; border-color: var(--v5dc-gold);
  font-weight: 700;
}

.v5dc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.v5dc-card {
  background: var(--v5dc-bg-2);
  border: 1px solid var(--v5dc-line);
  border-radius: 0.8rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: block;
  text-align: center;
}
.v5dc-card:hover { transform: translateY(-2px); border-color: var(--v5dc-gold); }
.v5dc-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  background: #000;
}
.v5dc-card-name {
  font-size: 1.05rem;
  color: var(--v5dc-text);
  padding: 0.4rem 0.3rem 0.55rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============ SEO content ============ */
.v5dc-content {
  background: var(--v5dc-bg-2);
  border: 1px solid var(--v5dc-line);
  border-radius: 1rem;
  padding: 1.3rem;
  margin: 1.4rem 0;
}
.v5dc-content h2 { font-size: 1.7rem; }
.v5dc-content h3 { font-size: 1.4rem; color: var(--v5dc-gold); margin-top: 1.2rem; }
.v5dc-content p { font-size: 1.35rem; color: var(--v5dc-text); }
.v5dc-content ul { padding-left: 1.6rem; }
.v5dc-content li { margin-bottom: 0.5rem; }
.v5dc-content strong { color: var(--v5dc-yellow); }

/* ============ Footer ============ */
.v5dc-footer {
  background: #050505;
  border-top: 1px solid var(--v5dc-line);
  padding: 2rem 0 7.5rem;
  margin-top: 2rem;
}
.v5dc-foot-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
}
.v5dc-foot-cols h4 {
  font-size: 1.3rem; color: var(--v5dc-yellow); margin: 0 0 0.7rem;
}
.v5dc-foot-cols ul { list-style: none; padding: 0; margin: 0; }
.v5dc-foot-cols li { margin-bottom: 0.55rem; }
.v5dc-foot-cols a { color: var(--v5dc-text); font-size: 1.25rem; }
.v5dc-foot-cols a:hover { color: var(--v5dc-yellow); }
.v5dc-foot-bottom {
  text-align: center; margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid var(--v5dc-line);
  color: var(--v5dc-muted); font-size: 1.15rem;
}

/* ============ Mobile bottom nav ============ */
.v5dc-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6.2rem;
  background: linear-gradient(180deg, #0C0C0C 0%, #000 100%);
  border-top: 1px solid var(--v5dc-line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.v5dc-bottomnav button,
.v5dc-bottomnav a {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--v5dc-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 1rem;
  min-height: 5.6rem;
  min-width: 5.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}
.v5dc-bottomnav button:active,
.v5dc-bottomnav a:active { transform: scale(0.92); }
.v5dc-bottomnav .material-icons,
.v5dc-bottomnav .fas,
.v5dc-bottomnav .bi { font-size: 2.2rem; }
.v5dc-bottomnav .ion-icon { font-size: 2.3rem; }
.v5dc-bottomnav .v5dc-bn-active { color: var(--v5dc-yellow); }
.v5dc-bottomnav .v5dc-bn-promo { color: var(--v5dc-gold); }

/* ============ Desktop: hide bottom nav, widen layout ============ */
@media (min-width: 769px) {
  .v5dc-bottomnav { display: none; }
  main.v5dc-main { padding-bottom: 3rem; }
  .v5dc-footer { padding-bottom: 2rem; }
  .v5dc-wrap { max-width: 760px; }
  .v5dc-header-row { max-width: 760px; }
}
@media (max-width: 360px) {
  .v5dc-grid { grid-template-columns: repeat(2, 1fr); }
  .v5dc-hero-track { height: 15rem; }
}
