/**
 * ABC Link - Layout Stylesheet
 * File: css/layout-f1a7.css
 * All classes use prefix: v733-
 * Color palette: #2C2C2C, #778899, #FAFAFA, #808080, #95A5A6
 */

:root {
  --v733-primary: #778899;
  --v733-primary-dark: #5a6b7c;
  --v733-bg: #2C2C2C;
  --v733-bg-light: #3a3a3a;
  --v733-bg-card: #333333;
  --v733-text: #FAFAFA;
  --v733-text-muted: #95A5A6;
  --v733-accent: #e8b84b;
  --v733-accent-hover: #f0c960;
  --v733-border: #444444;
  --v733-gray: #808080;
  --v733-success: #4caf50;
  --v733-danger: #e74c3c;
  --v733-radius: 8px;
  --v733-radius-sm: 4px;
  --v733-radius-lg: 12px;
  --v733-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --v733-shadow-lg: 0 4px 16px rgba(0,0,0,0.4);
  --v733-transition: all 0.3s ease;
}

/* Reset and 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-color: var(--v733-bg);
  color: var(--v733-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(--v733-accent); text-decoration: none; transition: var(--v733-transition); }
a:hover { color: var(--v733-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.v733-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(135deg, var(--v733-bg-light) 0%, var(--v733-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  border-bottom: 1px solid var(--v733-border);
}
.v733-header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.v733-header-logo img { width: 28px; height: 28px; border-radius: 4px; }
.v733-header-logo span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v733-accent);
  letter-spacing: 0.5px;
}
.v733-header-actions { display: flex; align-items: center; gap: 8px; }
.v733-btn-register, .v733-btn-login {
  padding: 6px 14px;
  border-radius: var(--v733-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--v733-transition);
}
.v733-btn-register {
  background: linear-gradient(135deg, var(--v733-accent) 0%, #d4a03a 100%);
  color: var(--v733-bg);
}
.v733-btn-register:hover { background: var(--v733-accent-hover); transform: scale(1.05); }
.v733-btn-login {
  background: transparent;
  color: var(--v733-accent);
  border: 1px solid var(--v733-accent);
}
.v733-btn-login:hover { background: rgba(232,184,75,0.15); }
.v733-menu-toggle {
  background: none;
  border: none;
  color: var(--v733-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.v733-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.v733-overlay-active { opacity: 1; pointer-events: auto; }
.v733-mobile-menu {
  position: fixed;
  top: 0; right: -280px;
  width: 260px;
  height: 100%;
  background: var(--v733-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 60px 0 20px;
  overflow-y: auto;
}
.v733-menu-active { right: 0; }
.v733-mobile-menu a {
  display: block;
  padding: 14px 20px;
  color: var(--v733-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--v733-border);
  transition: var(--v733-transition);
}
.v733-mobile-menu a:hover { background: rgba(232,184,75,0.1); color: var(--v733-accent); }

/* Main Content */
.v733-main {
  padding-top: 56px;
  padding-bottom: 20px;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .v733-main { padding-bottom: 80px; }
}

/* Carousel */
.v733-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
}
.v733-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}
.v733-slide-active { opacity: 1; }
.v733-slide img { width: 100%; height: 100%; object-fit: cover; }
.v733-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.v733-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250,250,250,0.4);
  cursor: pointer;
  transition: var(--v733-transition);
}
.v733-dot-active { background: var(--v733-accent); transform: scale(1.3); }

/* Sections */
.v733-section {
  padding: 16px 12px;
}
.v733-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v733-accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--v733-primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.v733-section-title i, .v733-section-title .material-symbols-outlined {
  font-size: 2rem;
}

/* Game Grid */
.v733-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.v733-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--v733-transition);
  border-radius: var(--v733-radius);
  padding: 6px;
}
.v733-game-item:hover { transform: translateY(-2px); background: var(--v733-bg-light); }
.v733-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--v733-radius);
  margin-bottom: 4px;
  border: 2px solid var(--v733-border);
}
.v733-game-item span {
  font-size: 1.1rem;
  color: var(--v733-text-muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category Header */
.v733-cat-header {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--v733-primary);
  margin: 16px 0 8px;
  padding-left: 8px;
  border-left: 3px solid var(--v733-accent);
}

/* Content Cards */
.v733-card {
  background: var(--v733-bg-card);
  border-radius: var(--v733-radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--v733-border);
}
.v733-card h3 {
  font-size: 1.5rem;
  color: var(--v733-accent);
  margin-bottom: 8px;
}
.v733-card p {
  font-size: 1.3rem;
  color: var(--v733-text-muted);
  line-height: 1.8rem;
  margin-bottom: 8px;
}

/* Promo Button */
.v733-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--v733-accent) 0%, #d4a03a 100%);
  color: var(--v733-bg);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: var(--v733-radius);
  cursor: pointer;
  border: none;
  transition: var(--v733-transition);
  text-align: center;
}
.v733-promo-btn:hover { background: var(--v733-accent-hover); transform: scale(1.05); }

/* CTA Banner */
.v733-cta-banner {
  background: linear-gradient(135deg, var(--v733-primary-dark) 0%, var(--v733-bg-light) 100%);
  border-radius: var(--v733-radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin: 16px 12px;
  border: 1px solid var(--v733-accent);
}
.v733-cta-banner h2 {
  font-size: 2rem;
  color: var(--v733-accent);
  margin-bottom: 8px;
}

/* Testimonial */
.v733-testimonial {
  background: var(--v733-bg-card);
  border-radius: var(--v733-radius);
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--v733-accent);
}
.v733-testimonial p { font-size: 1.2rem; font-style: italic; color: var(--v733-text-muted); }
.v733-testimonial span { font-size: 1.1rem; color: var(--v733-primary); margin-top: 4px; display: block; }

/* Winner Item */
.v733-winner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--v733-bg-card);
  border-radius: var(--v733-radius-sm);
  margin-bottom: 6px;
}
.v733-winner-name { font-size: 1.2rem; color: var(--v733-text); }
.v733-winner-amount { font-size: 1.3rem; color: var(--v733-success); font-weight: 700; }

/* Footer */
.v733-footer {
  background: var(--v733-bg-light);
  padding: 20px 12px;
  border-top: 1px solid var(--v733-border);
  text-align: center;
}
.v733-footer-brand { font-size: 1.3rem; color: var(--v733-text-muted); margin-bottom: 12px; line-height: 1.8rem; }
.v733-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; }
.v733-footer-links a {
  padding: 6px 12px;
  background: var(--v733-bg-card);
  border-radius: var(--v733-radius-sm);
  color: var(--v733-text-muted);
  font-size: 1.1rem;
  border: 1px solid var(--v733-border);
  transition: var(--v733-transition);
}
.v733-footer-links a:hover { color: var(--v733-accent); border-color: var(--v733-accent); }
.v733-footer-copy { font-size: 1.1rem; color: var(--v733-gray); }

/* Bottom Navigation */
.v733-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--v733-bg-light) 0%, var(--v733-bg) 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--v733-border);
  padding: 0 4px;
}
.v733-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--v733-gray);
  cursor: pointer;
  transition: var(--v733-transition);
  gap: 2px;
  position: relative;
}
.v733-bottom-nav-btn i,
.v733-bottom-nav-btn .material-symbols-outlined,
.v733-bottom-nav-btn ion-icon {
  font-size: 22px;
}
.v733-bottom-nav-btn span {
  font-size: 1rem;
  font-weight: 500;
}
.v733-bottom-nav-btn:hover { color: var(--v733-accent); }
.v733-bottom-nav-active {
  color: var(--v733-accent) !important;
}
.v733-bottom-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--v733-accent);
  border-radius: 0 0 2px 2px;
}
@media (min-width: 769px) {
  .v733-bottom-nav { display: none; }
  .v733-main { padding-bottom: 20px; }
}

/* Utility Classes */
.v733-text-center { text-align: center; }
.v733-text-accent { color: var(--v733-accent); }
.v733-text-muted { color: var(--v733-text-muted); }
.v733-mt-8 { margin-top: 8px; }
.v733-mt-16 { margin-top: 16px; }
.v733-mb-8 { margin-bottom: 8px; }
.v733-mb-16 { margin-bottom: 16px; }
.v733-hidden { display: none !important; }
.v733-divider {
  height: 1px;
  background: var(--v733-border);
  margin: 16px 0;
}

/* FAQ Accordion */
.v733-faq-item { margin-bottom: 8px; }
.v733-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--v733-accent);
  margin-bottom: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--v733-primary);
}
.v733-faq-a {
  font-size: 1.2rem;
  color: var(--v733-text-muted);
  padding-left: 12px;
  line-height: 1.6rem;
}

/* Winner Marquee Animation */
.v733-marquee-container { overflow: hidden; }
@keyframes v733marquee {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.v733-marquee-content { animation: v733marquee 12s linear infinite; }

/* Payment Icons Row */
.v733-payment-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.v733-payment-item {
  background: var(--v733-bg-card);
  border-radius: var(--v733-radius);
  padding: 8px 16px;
  font-size: 1.2rem;
  color: var(--v733-text-muted);
  border: 1px solid var(--v733-border);
}
