/**
 * Rich Queen Casino - Main Stylesheet
 * All classes use vff0- prefix for namespace isolation
 * Color palette: #0A0A0A, #228B22, #00FF00, #008000
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --vff0-bg-dark: #0A0A0A;
  --vff0-bg-card: #111111;
  --vff0-bg-section: #0D0D0D;
  --vff0-green-primary: #228B22;
  --vff0-green-light: #00FF00;
  --vff0-green-dark: #008000;
  --vff0-text-light: #E8E8E8;
  --vff0-text-dim: #999999;
  --vff0-text-green: #00FF00;
  --vff0-border-color: #1A3A1A;
  --vff0-header-height: 56px;
  --vff0-bottom-nav-height: 60px;
  --vff0-max-width: 430px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Segoe UI', Roboto, -apple-system, Arial, sans-serif;
  background-color: var(--vff0-bg-dark);
  color: var(--vff0-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a:hover {
  color: var(--vff0-green-primary);
  text-decoration: underline;
}

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

/* Container */
.vff0-container {
  width: 100%;
  max-width: var(--vff0-max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
}

.vff0-wrapper {
  width: 100%;
  overflow-x: hidden;
}

/* Header */
.vff0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--vff0-header-height);
  background: linear-gradient(180deg, #0D1A0D 0%, var(--vff0-bg-dark) 100%);
  border-bottom: 1px solid var(--vff0-border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.vff0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--vff0-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.vff0-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.vff0-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.vff0-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vff0-green-light);
  letter-spacing: 0.5px;
}

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

.vff0-btn-register, .vff0-btn-login {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.vff0-btn-register {
  background: linear-gradient(135deg, var(--vff0-green-primary), var(--vff0-green-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 128, 0, 0.4);
}

.vff0-btn-register:hover {
  background: linear-gradient(135deg, var(--vff0-green-dark), var(--vff0-green-primary));
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0, 128, 0, 0.6);
}

.vff0-btn-login {
  background: transparent;
  color: var(--vff0-green-light);
  border: 1px solid var(--vff0-green-primary);
}

.vff0-btn-login:hover {
  background: rgba(34, 139, 34, 0.15);
}

.vff0-menu-toggle {
  background: none;
  border: none;
  color: var(--vff0-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* Mobile Menu */
.vff0-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: #0D0D0D;
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  border-left: 1px solid var(--vff0-border-color);
}

.vff0-mobile-menu.vff0-menu-active {
  right: 0;
}

.vff0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  display: none;
}

.vff0-menu-overlay.vff0-overlay-active {
  display: block;
}

.vff0-menu-close {
  background: none;
  border: none;
  color: var(--vff0-text-light);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  line-height: 1;
}

.vff0-menu-title {
  font-size: 1.6rem;
  color: var(--vff0-green-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vff0-border-color);
}

.vff0-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--vff0-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease;
}

.vff0-menu-link:hover {
  color: var(--vff0-green-light);
  text-decoration: none;
}

/* Bottom Navigation */
.vff0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--vff0-bottom-nav-height);
  background: linear-gradient(180deg, #0D1A0D, #060A06);
  border-top: 1px solid var(--vff0-border-color);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.3rem;
}

.vff0-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--vff0-text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 0.3rem;
}

.vff0-bottom-nav-btn:hover,
.vff0-bottom-nav-btn.vff0-nav-active {
  color: var(--vff0-green-light);
  background: rgba(0, 255, 0, 0.08);
}

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

.vff0-bottom-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.vff0-bottom-nav-label {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

/* Main Content */
.vff0-main {
  padding-top: var(--vff0-header-height);
  min-height: 100vh;
}

/* Carousel */
.vff0-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.vff0-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.vff0-slide.vff0-slide-active {
  display: block;
}

.vff0-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 430/200;
  object-fit: cover;
}

.vff0-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.vff0-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s ease;
}

.vff0-dot.vff0-dot-active {
  background: var(--vff0-green-light);
  width: 20px;
  border-radius: 4px;
}

/* Section */
.vff0-section {
  padding: 1.5rem 0;
  margin-bottom: 1rem;
}

.vff0-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vff0-green-light);
  margin-bottom: 1rem;
  padding-left: 0.8rem;
  border-left: 3px solid var(--vff0-green-primary);
}

.vff0-section-subtitle {
  font-size: 1.4rem;
  color: var(--vff0-text-dim);
  margin-bottom: 1rem;
}

/* Game Grid */
.vff0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vff0-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  overflow: hidden;
  background: var(--vff0-bg-card);
  padding: 0.5rem;
}

.vff0-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
}

.vff0-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}

.vff0-game-name {
  font-size: 1.05rem;
  color: var(--vff0-text-light);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  max-height: 2.4rem;
}

/* Category Title */
.vff0-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vff0-text-light);
  margin: 1.5rem 0 0.8rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, rgba(34, 139, 34, 0.2), transparent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Promo Buttons */
.vff0-promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--vff0-green-primary), var(--vff0-green-dark));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 128, 0, 0.4);
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto;
}

.vff0-promo-btn:hover {
  background: linear-gradient(135deg, var(--vff0-green-dark), #006600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 128, 0, 0.5);
  color: #fff;
  text-decoration: none;
}

.vff0-promo-text {
  color: var(--vff0-green-light);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.vff0-promo-text:hover {
  color: var(--vff0-green-primary);
  text-decoration: underline;
}

/* Content Styles */
.vff0-content-block {
  padding: 1.2rem;
  background: var(--vff0-bg-card);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--vff0-border-color);
}

.vff0-content-block p {
  margin-bottom: 0.8rem;
  color: var(--vff0-text-light);
  line-height: 1.6;
}

.vff0-content-block h3 {
  color: var(--vff0-green-light);
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.vff0-content-block ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.vff0-content-block li {
  margin-bottom: 0.4rem;
  color: var(--vff0-text-light);
  line-height: 1.5;
}

/* Footer */
.vff0-footer {
  background: #060A06;
  padding: 2rem 0;
  border-top: 1px solid var(--vff0-border-color);
}

.vff0-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vff0-border-color);
}

.vff0-footer-brand p {
  font-size: 1.2rem;
  color: var(--vff0-text-dim);
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
}

.vff0-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.vff0-footer-link {
  padding: 0.4rem 1rem;
  background: rgba(34, 139, 34, 0.15);
  color: var(--vff0-green-light);
  border-radius: 4px;
  font-size: 1.1rem;
  transition: background 0.2s ease;
}

.vff0-footer-link:hover {
  background: rgba(34, 139, 34, 0.3);
  text-decoration: none;
}

.vff0-footer-promo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.vff0-footer-promo-btn {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--vff0-green-primary), var(--vff0-green-dark));
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vff0-footer-promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 128, 0, 0.4);
}

.vff0-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--vff0-text-dim);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* H1 styling */
.vff0-h1-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vff0-green-light);
  text-align: center;
  padding: 1rem 0;
  line-height: 1.3;
}

/* FAQ */
.vff0-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vff0-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vff0-green-light);
  margin-bottom: 0.4rem;
}

.vff0-faq-a {
  font-size: 1.3rem;
  color: var(--vff0-text-dim);
  line-height: 1.5;
}

/* Testimonials */
.vff0-testimonial {
  background: var(--vff0-bg-card);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--vff0-green-primary);
}

.vff0-testimonial-text {
  font-size: 1.3rem;
  color: var(--vff0-text-light);
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.vff0-testimonial-author {
  font-size: 1.1rem;
  color: var(--vff0-green-light);
  font-weight: 600;
}

/* Winner showcase */
.vff0-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vff0-winner-name {
  font-size: 1.2rem;
  color: var(--vff0-text-light);
}

.vff0-winner-amount {
  font-size: 1.3rem;
  color: var(--vff0-green-light);
  font-weight: 700;
}

.vff0-winner-game {
  font-size: 1.1rem;
  color: var(--vff0-text-dim);
}

/* Payment icons */
.vff0-payment-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.vff0-payment-item {
  text-align: center;
  font-size: 1.1rem;
  color: var(--vff0-text-dim);
}

/* Responsive */
@media (min-width: 769px) {
  .vff0-bottom-nav {
    display: none;
  }
  .vff0-container {
    max-width: 768px;
  }
}

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