/**
 * PHdream Casino - Main Stylesheet
 * Class prefix: v701-
 * Color palette: #006400 | #1B263B | #DEB887 | #ADB5BD | #FFDEAD
 * Mobile-first design, max-width 430px
 */

/* CSS Variables */
:root {
  --v701-primary: #006400;
  --v701-primary-dark: #004d00;
  --v701-secondary: #1B263B;
  --v701-accent: #DEB887;
  --v701-accent-light: #FFDEAD;
  --v701-gray: #ADB5BD;
  --v701-bg-dark: #0d1a0d;
  --v701-bg-card: #142814;
  --v701-bg-section: #111e11;
  --v701-text-light: #f0f0f0;
  --v701-text-muted: #c0c8c0;
  --v701-gold: #DEB887;
  --v701-gold-bright: #f0d080;
  --v701-radius: 10px;
  --v701-radius-sm: 6px;
  --v701-shadow: 0 2px 12px rgba(0,0,0,0.35);
  --v701-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--v701-bg-dark);
  color: var(--v701-text-light);
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--v701-accent); text-decoration: none; transition: var(--v701-transition); }
a:hover { color: var(--v701-accent-light); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.v701-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--v701-primary-dark) 0%, var(--v701-secondary) 100%);
  z-index: 1000;
  padding: 0 12px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--v701-gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.v701-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.v701-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}
.v701-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v701-gold);
  white-space: nowrap;
}
.v701-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.v701-btn-register {
  background: linear-gradient(135deg, var(--v701-gold) 0%, #c9a84c 100%);
  color: var(--v701-secondary);
  border: none;
  padding: 6px 14px;
  border-radius: var(--v701-radius-sm);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--v701-transition);
}
.v701-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 8px rgba(222,184,135,0.5); }
.v701-btn-login {
  background: transparent;
  color: var(--v701-gold);
  border: 1.5px solid var(--v701-gold);
  padding: 5px 12px;
  border-radius: var(--v701-radius-sm);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--v701-transition);
}
.v701-btn-login:hover { background: rgba(222,184,135,0.15); }
.v701-menu-toggle {
  background: none;
  border: none;
  color: var(--v701-gold);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* Mobile Menu */
.v701-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v701-transition);
}
.v701-overlay-active { opacity: 1; visibility: visible; }
.v701-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--v701-secondary) 0%, var(--v701-bg-dark) 100%);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 20px;
  overflow-y: auto;
}
.v701-menu-active { right: 0; }
.v701-mobile-menu .v701-menu-close {
  background: none;
  border: none;
  color: var(--v701-gold);
  font-size: 2.4rem;
  cursor: pointer;
  float: right;
  margin-bottom: 16px;
}
.v701-mobile-menu ul {
  list-style: none;
  clear: both;
  padding-top: 10px;
}
.v701-mobile-menu li {
  border-bottom: 1px solid rgba(222,184,135,0.15);
}
.v701-mobile-menu a {
  display: block;
  padding: 14px 8px;
  color: var(--v701-text-light);
  font-size: 1.5rem;
  transition: var(--v701-transition);
}
.v701-mobile-menu a:hover {
  color: var(--v701-gold);
  padding-left: 16px;
}

/* Bottom Navigation */
.v701-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, var(--v701-secondary) 0%, #0f1729 100%);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  border-top: 1.5px solid rgba(222,184,135,0.3);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
}
.v701-bottom-nav button {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 58px;
  cursor: pointer;
  transition: var(--v701-transition);
  color: var(--v701-gray);
  padding: 4px 0;
}
.v701-bottom-nav button:hover,
.v701-bottom-nav button:focus {
  color: var(--v701-gold);
  transform: scale(1.1);
}
.v701-bottom-nav button .v701-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.v701-bottom-nav button .v701-nav-label {
  font-size: 1rem;
  font-weight: 500;
}
.v701-bottom-nav .v701-nav-active {
  color: var(--v701-gold);
}
.v701-bottom-nav .v701-nav-active .v701-nav-icon {
  text-shadow: 0 0 8px rgba(222,184,135,0.6);
}

/* Main Content */
.v701-main {
  padding-top: 56px;
  padding-bottom: 20px;
}

/* Carousel */
.v701-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v701-radius) var(--v701-radius);
}
.v701-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.v701-slide-active { display: block; }
.v701-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.v701-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.v701-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--v701-transition);
  border: none;
}
.v701-dot-active { background: var(--v701-gold); transform: scale(1.3); }

/* Sections */
.v701-section {
  padding: 20px 14px;
}
.v701-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v701-gold);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--v701-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.v701-section-title i { font-size: 2rem; }
.v701-section h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--v701-gold);
  line-height: 1.3;
  margin-bottom: 12px;
}
.v701-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--v701-accent-light);
  margin-bottom: 10px;
}
.v701-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--v701-accent);
  margin-bottom: 8px;
}

/* Game Grid */
.v701-game-category-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--v701-accent-light);
  margin: 16px 0 10px;
  padding-left: 4px;
  border-left: 3px solid var(--v701-gold);
  padding-left: 10px;
}
.v701-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.v701-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--v701-transition);
  background: var(--v701-bg-card);
  border-radius: var(--v701-radius-sm);
  padding: 6px 3px;
  border: 1px solid rgba(222,184,135,0.1);
}
.v701-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,100,0,0.3);
  border-color: var(--v701-gold);
}
.v701-game-item img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 4px;
}
.v701-game-item span {
  font-size: 1rem;
  color: var(--v701-text-muted);
  text-align: center;
  line-height: 1.2;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.v701-card {
  background: var(--v701-bg-card);
  border-radius: var(--v701-radius);
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(222,184,135,0.12);
}
.v701-card h3 {
  color: var(--v701-gold);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.v701-card p {
  color: var(--v701-text-muted);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Promo Buttons */
.v701-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v701-primary) 0%, var(--v701-primary-dark) 100%);
  color: var(--v701-gold);
  padding: 10px 20px;
  border-radius: var(--v701-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--v701-gold);
  transition: var(--v701-transition);
  text-align: center;
}
.v701-promo-btn:hover {
  background: linear-gradient(135deg, var(--v701-gold) 0%, #c9a84c 100%);
  color: var(--v701-secondary);
  transform: scale(1.03);
}

/* Text content */
.v701-content p {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--v701-text-muted);
  margin-bottom: 10px;
}
.v701-content strong { color: var(--v701-accent); }
.v701-content ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.v701-content li {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--v701-text-muted);
  margin-bottom: 4px;
}
.v701-promo-text {
  font-size: 1.35rem;
  color: var(--v701-gold);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--v701-transition);
}
.v701-promo-text:hover { color: var(--v701-accent-light); }

/* Footer */
.v701-footer {
  background: linear-gradient(180deg, var(--v701-bg-section) 0%, var(--v701-secondary) 100%);
  padding: 24px 14px 20px;
  border-top: 2px solid var(--v701-primary);
  margin-top: 20px;
}
.v701-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}
.v701-footer-brand p {
  font-size: 1.25rem;
  color: var(--v701-text-muted);
  line-height: 1.5;
}
.v701-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.v701-footer-promos .v701-promo-btn {
  font-size: 1.2rem;
  padding: 7px 14px;
}
.v701-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-bottom: 16px;
}
.v701-footer-links a {
  font-size: 1.2rem;
  color: var(--v701-gray);
}
.v701-footer-links a:hover { color: var(--v701-gold); }
.v701-copyright {
  text-align: center;
  font-size: 1.15rem;
  color: var(--v701-gray);
  padding-top: 12px;
  border-top: 1px solid rgba(222,184,135,0.1);
}

/* FAQ / Accordion */
.v701-faq-item {
  background: var(--v701-bg-card);
  border-radius: var(--v701-radius-sm);
  margin-bottom: 8px;
  border: 1px solid rgba(222,184,135,0.1);
  overflow: hidden;
}
.v701-faq-q {
  padding: 12px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v701-accent);
  cursor: default;
}
.v701-faq-a {
  padding: 0 12px 12px;
  font-size: 1.3rem;
  color: var(--v701-text-muted);
  line-height: 1.5;
}

/* Winners Table */
.v701-winners-list {
  list-style: none;
}
.v701-winners-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(222,184,135,0.08);
  font-size: 1.3rem;
}
.v701-winners-list .v701-winner-name { color: var(--v701-accent); }
.v701-winners-list .v701-winner-amount { color: var(--v701-gold-bright); font-weight: 700; }

/* Testimonials */
.v701-testimonial {
  background: var(--v701-bg-card);
  border-radius: var(--v701-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 3px solid var(--v701-gold);
}
.v701-testimonial p { font-size: 1.3rem; color: var(--v701-text-muted); font-style: italic; margin-bottom: 6px; }
.v701-testimonial cite { font-size: 1.15rem; color: var(--v701-gold); font-style: normal; }

/* Payment Methods */
.v701-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.v701-payment-item {
  background: var(--v701-bg-card);
  border: 1px solid rgba(222,184,135,0.15);
  border-radius: var(--v701-radius-sm);
  padding: 10px 14px;
  font-size: 1.2rem;
  color: var(--v701-text-muted);
  text-align: center;
}

/* Responsive: desktop hides bottom nav */
@media (min-width: 769px) {
  .v701-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .v701-main { padding-bottom: 80px; }
}

/* Utility classes */
.v701-text-center { text-align: center; }
.v701-mt-sm { margin-top: 8px; }
.v701-mb-sm { margin-bottom: 8px; }
.v701-hidden { display: none; }
