/* 777 Angel Number - Core Stylesheet */
/* All classes use v385- prefix for namespace isolation */

/* CSS Variables */
:root {
  --v385-primary: #D2B48C;
  --v385-accent: #00BFFF;
  --v385-accent2: #87CEEB;
  --v385-bg: #141414;
  --v385-bg2: #1a1a1a;
  --v385-bg3: #222222;
  --v385-text: #FDF5E6;
  --v385-text2: #D2B48C;
  --v385-text3: #87CEEB;
  --v385-border: #333333;
  --v385-success: #4CAF50;
  --v385-warning: #FF9800;
  --v385-radius: 8px;
  --v385-radius2: 12px;
  --v385-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  --v385-header-h: 56px;
  --v385-bottom-h: 60px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--v385-bg);
  color: var(--v385-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--v385-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.v385-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
  border-bottom: 1px solid var(--v385-border);
  height: var(--v385-header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem;
  max-width: 430px; margin: 0 auto;
}
.v385-logo {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer;
}
.v385-logo img { width: 28px; height: 28px; border-radius: 6px; }
.v385-logo span { color: var(--v385-primary); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.v385-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.v385-btn-register {
  background: linear-gradient(135deg, #00BFFF, #87CEEB);
  color: #141414; font-weight: 700; font-size: 1.2rem;
  padding: 0.5rem 1.2rem; border-radius: 20px; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.v385-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(0, 191, 255, 0.5); }
.v385-btn-login {
  background: transparent; color: var(--v385-primary);
  font-weight: 600; font-size: 1.2rem;
  padding: 0.5rem 1rem; border-radius: 20px;
  border: 1px solid var(--v385-primary); cursor: pointer;
  transition: all 0.2s;
}
.v385-btn-login:hover { background: var(--v385-primary); color: #141414; }
.v385-menu-btn {
  background: none; border: none; color: var(--v385-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.v385-mobile-menu {
  display: none; position: fixed; top: var(--v385-header-h);
  left: 0; right: 0; z-index: 9999;
  background: var(--v385-bg2);
  border-bottom: 2px solid var(--v385-primary);
  max-width: 430px; margin: 0 auto;
  padding: 1rem 0;
}
.v385-mobile-menu a {
  display: block; padding: 1rem 1.6rem;
  color: var(--v385-text); font-size: 1.4rem;
  border-bottom: 1px solid var(--v385-border);
  transition: background 0.2s;
}
.v385-mobile-menu a:hover { background: var(--v385-bg3); color: var(--v385-primary); }

/* Main Content */
.v385-main {
  padding-top: calc(var(--v385-header-h) + 1rem);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .v385-main { padding-bottom: calc(var(--v385-bottom-h) + 1.5rem); }
}

/* Carousel */
.v385-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--v385-radius); margin-bottom: 1.5rem;
}
.v385-slide {
  display: none; cursor: pointer;
}
.v385-slide-active { display: block; }
.v385-slide img { width: 100%; border-radius: var(--v385-radius); }
.v385-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.v385-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(253, 245, 230, 0.4); cursor: pointer;
  transition: background 0.3s;
}
.v385-dot-active { background: var(--v385-primary); }

/* Sections */
.v385-section {
  padding: 1.5rem 1.2rem;
}
.v385-section-title {
  font-size: 1.8rem; font-weight: 700;
  color: var(--v385-primary); margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--v385-primary);
}
.v385-section-title span { color: var(--v385-accent); }

/* Game Grid */
.v385-game-category-title {
  font-size: 1.5rem; font-weight: 600;
  color: var(--v385-accent); margin: 1.5rem 0 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.v385-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.v385-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
  border-radius: var(--v385-radius);
  padding: 0.4rem;
}
.v385-game-item:hover { transform: translateY(-2px); }
.v385-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--v385-radius);
  object-fit: cover; border: 1px solid var(--v385-border);
}
.v385-game-item span {
  display: block; font-size: 1.1rem; color: var(--v385-text);
  margin-top: 0.3rem; line-height: 1.3rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Content Blocks */
.v385-card {
  background: var(--v385-bg2); border-radius: var(--v385-radius2);
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid var(--v385-border);
}
.v385-card h2, .v385-card h3 {
  color: var(--v385-primary); margin-bottom: 0.8rem;
}
.v385-card p {
  color: var(--v385-text); margin-bottom: 0.6rem; line-height: 1.6;
}

/* Promo Buttons / Links */
.v385-promo-link {
  display: inline-block;
  color: var(--v385-accent); font-weight: 700;
  cursor: pointer; text-decoration: underline;
  transition: color 0.2s;
}
.v385-promo-link:hover { color: var(--v385-primary); }
.v385-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--v385-primary), #c4a87c);
  color: #141414; font-weight: 700; font-size: 1.4rem;
  padding: 0.8rem 2rem; border-radius: 25px; cursor: pointer;
  border: none; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.v385-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(210, 180, 140, 0.5);
}
.v385-cta-center { text-align: center; margin: 1.5rem 0; }

/* FAQ */
.v385-faq-item {
  background: var(--v385-bg2); border-radius: var(--v385-radius);
  padding: 1rem 1.2rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--v385-primary);
}
.v385-faq-item strong { color: var(--v385-primary); display: block; margin-bottom: 0.4rem; }

/* Features List */
.v385-feature-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin-bottom: 0.8rem; padding: 0.6rem 0;
}
.v385-feature-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--v385-bg3); display: flex;
  align-items: center; justify-content: center;
  color: var(--v385-accent); font-size: 1.6rem; flex-shrink: 0;
}
.v385-feature-text h4 { color: var(--v385-primary); font-size: 1.3rem; margin-bottom: 0.2rem; }
.v385-feature-text p { color: var(--v385-text); font-size: 1.2rem; }

/* Testimonials */
.v385-testimonial {
  background: var(--v385-bg2); border-radius: var(--v385-radius);
  padding: 1rem 1.2rem; margin-bottom: 0.8rem;
  border: 1px solid var(--v385-border);
}
.v385-testimonial-name { color: var(--v385-primary); font-weight: 600; font-size: 1.3rem; }
.v385-testimonial-text { color: var(--v385-text); font-size: 1.2rem; margin-top: 0.4rem; }
.v385-testimonial-stars { color: #FFD700; margin: 0.3rem 0; }

/* Winners */
.v385-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--v385-border);
}
.v385-winner-name { color: var(--v385-primary); font-weight: 600; }
.v385-winner-game { color: var(--v385-accent2); font-size: 1.2rem; }
.v385-winner-amount { color: #4CAF50; font-weight: 700; }

/* Payment Icons */
.v385-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.v385-payment-item {
  background: var(--v385-bg3); border-radius: var(--v385-radius);
  padding: 0.6rem 1.2rem; font-size: 1.2rem; color: var(--v385-text);
  border: 1px solid var(--v385-border);
}

/* Footer */
.v385-footer {
  background: var(--v385-bg2); padding: 2rem 1.2rem 1rem;
  border-top: 1px solid var(--v385-border);
}
.v385-footer-desc {
  color: var(--v385-text); font-size: 1.2rem; line-height: 1.6; margin-bottom: 1.2rem;
}
.v385-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem;
}
.v385-footer-link {
  background: var(--v385-bg3); color: var(--v385-text); font-size: 1.1rem;
  padding: 0.4rem 0.8rem; border-radius: 4px;
  border: 1px solid var(--v385-border); cursor: pointer;
  transition: all 0.2s;
}
.v385-footer-link:hover { border-color: var(--v385-primary); color: var(--v385-primary); }
.v385-footer-copy {
  text-align: center; color: #888; font-size: 1.1rem;
  padding-top: 1rem; border-top: 1px solid var(--v385-border);
}
.v385-footer-nav-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 1rem 0;
}
.v385-footer-nav-links a {
  color: var(--v385-accent2); font-size: 1.2rem;
  transition: color 0.2s;
}
.v385-footer-nav-links a:hover { color: var(--v385-primary); }

/* Bottom Navigation */
.v385-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1a1a1a, #111111);
  border-top: 1px solid var(--v385-primary);
  height: var(--v385-bottom-h);
  display: flex; align-items: center; justify-content: space-around;
  max-width: 430px; margin: 0 auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
.v385-bottom-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 48px; cursor: pointer;
  background: none; border: none; color: var(--v385-text);
  transition: transform 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.v385-bottom-btn:active { transform: scale(0.92); }
.v385-bottom-btn:hover { color: var(--v385-primary); }
.v385-bottom-btn .v385-bnav-icon { font-size: 2.2rem; margin-bottom: 0.1rem; }
.v385-bottom-btn .v385-bnav-text { font-size: 1rem; }
.v385-bottom-btn.v385-active { color: var(--v385-primary); }

@media (min-width: 769px) {
  .v385-bottom-nav { display: none; }
}

/* Utility */
.v385-text-primary { color: var(--v385-primary); }
.v385-text-accent { color: var(--v385-accent); }
.v385-text-gold { color: #FFD700; }
.v385-text-green { color: #4CAF50; }
.v385-mt-1 { margin-top: 0.8rem; }
.v385-mt-2 { margin-top: 1.5rem; }
.v385-mb-1 { margin-bottom: 0.8rem; }
.v385-mb-2 { margin-bottom: 1.5rem; }
.v385-text-center { text-align: center; }
.v385-fw-bold { font-weight: 700; }

/* Responsive adjustments */
@media (max-width: 360px) {
  .v385-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .v385-section-title { font-size: 1.6rem; }
}
@media (min-width: 361px) and (max-width: 430px) {
  .v385-game-grid { grid-template-columns: repeat(4, 1fr); }
}
