/**
 * JL55 Seat Map - Theme Stylesheet
 * All classes use w3421- prefix for namespace isolation
 * Color palette: #2D2D2D | #FF6347 | #FFB74D | #FFAA00 | #CD853F
 * @version 1.0.0
 */

/* CSS Variables */
:root {
  --w3421-primary: #FF6347;
  --w3421-secondary: #FFB74D;
  --w3421-accent: #FFAA00;
  --w3421-bg: #2D2D2D;
  --w3421-bg-light: #3A3A3A;
  --w3421-bg-card: #363636;
  --w3421-text: #FFFFFF;
  --w3421-text-muted: #B0B0B0;
  --w3421-warm: #CD853F;
  --w3421-gradient-start: #FF6347;
  --w3421-gradient-end: #FFB74D;
  --w3421-shadow: rgba(0, 0, 0, 0.3);
  --w3421-radius: 8px;
  --w3421-radius-lg: 14px;
  font-size: 62.5%;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--w3421-bg);
  color: var(--w3421-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--w3421-secondary); text-decoration: none; }
a:hover { color: var(--w3421-primary); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.w3421-container { max-width: 430px; margin: 0 auto; padding: 0 1.2rem; width: 100%; }
.w3421-wrapper { padding: 1rem 0; }

/* Header */
.w3421-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
  border-bottom: 2px solid var(--w3421-primary);
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.w3421-header-brand {
  display: flex; align-items: center; gap: 0.6rem;
}
.w3421-header-brand img { width: 28px; height: 28px; border-radius: 4px; }
.w3421-header-brand span {
  font-size: 1.5rem; font-weight: 700; color: var(--w3421-accent);
  letter-spacing: 0.5px;
}
.w3421-header-actions {
  display: flex; align-items: center; gap: 0.5rem;
}
.w3421-header-actions button {
  padding: 0.4rem 0.9rem; border-radius: 5px; border: none;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease;
}
.w3421-btn-register {
  background: linear-gradient(135deg, var(--w3421-primary), var(--w3421-warm));
  color: #fff;
}
.w3421-btn-register:hover { transform: scale(1.05); opacity: 0.9; }
.w3421-btn-login {
  background: transparent; color: var(--w3421-accent);
  border: 1px solid var(--w3421-accent) !important;
}
.w3421-btn-login:hover { background: var(--w3421-accent); color: #2D2D2D; }
.w3421-menu-toggle {
  background: none; border: none; color: var(--w3421-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
}

/* Mobile Menu Overlay */
.w3421-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
}
.w3421-overlay-active { display: block; }

/* Mobile Menu */
.w3421-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: #1A1A1A; z-index: 9999; transition: right 0.3s ease;
  padding: 5rem 1.5rem 2rem; overflow-y: auto;
}
.w3421-menu-active { right: 0; }
.w3421-mobile-menu a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0.8rem; color: var(--w3421-text);
  border-bottom: 1px solid #444; font-size: 1.4rem;
  transition: background 0.2s;
}
.w3421-mobile-menu a:hover {
  background: var(--w3421-bg-light); color: var(--w3421-primary);
}
.w3421-mobile-menu a i { font-size: 1.8rem; color: var(--w3421-accent); width: 24px; text-align: center; }

/* Carousel */
.w3421-carousel {
  position: relative; overflow: hidden; margin-top: 52px;
  border-radius: 0 0 var(--w3421-radius) var(--w3421-radius);
}
.w3421-slide {
  display: none; cursor: pointer; position: relative;
}
.w3421-slide img { width: 100%; height: auto; min-height: 180px; object-fit: cover; }
.w3421-slide-active { display: block; }
.w3421-carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.w3421-carousel-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.w3421-dot-active { background: var(--w3421-primary); transform: scale(1.2); }

/* Section Headings */
.w3421-section-title {
  font-size: 1.8rem; font-weight: 700; margin: 1.8rem 0 1rem;
  padding-left: 1rem; border-left: 4px solid var(--w3421-primary);
  color: var(--w3421-text); line-height: 1.3;
}
.w3421-section-title span { color: var(--w3421-accent); }

/* Game Grid */
.w3421-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem; padding: 0.5rem 0;
}
.w3421-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.w3421-game-item:hover { transform: translateY(-3px); }
.w3421-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: var(--w3421-radius);
  border: 2px solid #444; object-fit: cover;
}
.w3421-game-item p {
  font-size: 1rem; color: var(--w3421-text-muted);
  margin-top: 0.3rem; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Content Cards */
.w3421-card {
  background: var(--w3421-bg-card); border-radius: var(--w3421-radius-lg);
  padding: 1.5rem; margin: 1rem 0;
  border: 1px solid #444;
}
.w3421-card h3 {
  font-size: 1.6rem; color: var(--w3421-accent); margin-bottom: 0.8rem;
}
.w3421-card p { color: var(--w3421-text-muted); font-size: 1.3rem; line-height: 1.6; }

/* Promo Button */
.w3421-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--w3421-primary), var(--w3421-warm));
  color: #fff; padding: 0.8rem 1.8rem; border-radius: 25px;
  font-weight: 700; font-size: 1.4rem; border: none; cursor: pointer;
  transition: all 0.3s; text-align: center;
}
.w3421-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(255,99,71,0.4); }

/* Promo Link Text */
.w3421-promo-link {
  color: var(--w3421-primary); font-weight: 700; cursor: pointer;
  border-bottom: 1px dashed var(--w3421-primary);
}
.w3421-promo-link:hover { color: var(--w3421-accent); }

/* Footer */
.w3421-footer {
  background: #1A1A1A; padding: 2rem 1rem 1rem; margin-top: 2rem;
  border-top: 2px solid var(--w3421-primary);
}
.w3421-footer-brand {
  font-size: 1.3rem; color: var(--w3421-text-muted); line-height: 1.6;
  margin-bottom: 1.2rem;
}
.w3421-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.w3421-footer-links a {
  background: var(--w3421-bg-light); color: var(--w3421-text);
  padding: 0.5rem 1rem; border-radius: 20px; font-size: 1.1rem;
  transition: all 0.2s;
}
.w3421-footer-links a:hover { background: var(--w3421-primary); color: #fff; }
.w3421-footer-copy {
  text-align: center; color: #666; font-size: 1.1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #333;
}

/* Bottom Navigation */
.w3421-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, #1E1E1E 0%, #141414 100%);
  border-top: 2px solid var(--w3421-warm);
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}
.w3421-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(--w3421-text-muted);
  cursor: pointer; transition: all 0.2s; border-radius: 8px;
  padding: 0.3rem;
}
.w3421-bottom-nav-btn i,
.w3421-bottom-nav-btn span.material-symbols-outlined {
  font-size: 24px; margin-bottom: 2px; transition: all 0.2s;
}
.w3421-bottom-nav-btn ion-icon { font-size: 24px; margin-bottom: 2px; }
.w3421-bottom-nav-btn span.w3421-nav-label {
  font-size: 1rem; line-height: 1.1;
}
.w3421-bottom-nav-btn:hover,
.w3421-btn-active {
  color: var(--w3421-accent); background: rgba(255,170,0,0.1);
}
.w3421-btn-active i,
.w3421-btn-active span.material-symbols-outlined { transform: scale(1.15); }

/* Main Content Padding for fixed navs */
@media (max-width: 768px) {
  main { padding-bottom: 80px; }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .w3421-bottom-nav { display: none; }
}

/* Utility Classes */
.w3421-text-center { text-align: center; }
.w3421-mt-1 { margin-top: 1rem; }
.w3421-mt-2 { margin-top: 2rem; }
.w3421-mb-1 { margin-bottom: 1rem; }
.w3421-mb-2 { margin-bottom: 2rem; }
.w3421-p-1 { padding: 1rem; }
.w3421-hidden { display: none; }

/* Content Paragraphs */
.w3421-content p {
  color: var(--w3421-text-muted); font-size: 1.3rem; line-height: 1.6;
  margin-bottom: 1rem;
}

/* Testimonial */
.w3421-testimonial {
  background: var(--w3421-bg-card); border-left: 3px solid var(--w3421-primary);
  padding: 1rem 1.2rem; margin: 0.8rem 0; border-radius: 0 var(--w3421-radius) var(--w3421-radius) 0;
}
.w3421-testimonial p { font-size: 1.2rem; color: var(--w3421-text-muted); font-style: italic; }
.w3421-testimonial strong { color: var(--w3421-accent); font-style: normal; }

/* Winner Badge */
.w3421-winner {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.6rem 1rem; background: var(--w3421-bg-card);
  border-radius: var(--w3421-radius); margin: 0.5rem 0;
}
.w3421-winner-badge {
  background: linear-gradient(135deg, var(--w3421-primary), var(--w3421-warm));
  color: #fff; padding: 0.3rem 0.7rem; border-radius: 12px;
  font-size: 1rem; font-weight: 700;
}
.w3421-winner span { color: var(--w3421-text-muted); font-size: 1.2rem; }

/* Payment Icons */
.w3421-payment-row {
  display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center;
  margin: 1rem 0;
}
.w3421-payment-item {
  background: var(--w3421-bg-card); padding: 0.6rem 1.2rem;
  border-radius: var(--w3421-radius); font-size: 1.2rem;
  color: var(--w3421-secondary); border: 1px solid #444;
}

/* FAQ Accordion */
.w3421-faq-item {
  border-bottom: 1px solid #444; padding: 1rem 0;
}
.w3421-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--w3421-accent);
  margin-bottom: 0.5rem;
}
.w3421-faq-a { font-size: 1.2rem; color: var(--w3421-text-muted); line-height: 1.5; }

/* CTA Section */
.w3421-cta-section {
  background: linear-gradient(135deg, var(--w3421-bg-light) 0%, #2D2D2D 100%);
  border-radius: var(--w3421-radius-lg); padding: 2rem 1.5rem;
  text-align: center; margin: 1.5rem 0;
  border: 2px solid var(--w3421-primary);
}
.w3421-cta-section h2 { color: var(--w3421-accent); margin-bottom: 1rem; }

/* Page Content Styles */
.w3421-page-content { padding-top: 60px; }
.w3421-page-content h1 {
  font-size: 1.8rem; color: var(--w3421-accent); margin: 1rem 0;
  padding-bottom: 0.5rem; border-bottom: 2px solid var(--w3421-primary);
}
.w3421-page-content h2 {
  font-size: 1.6rem; color: var(--w3421-secondary); margin: 1.5rem 0 0.8rem;
}
.w3421-page-content h3 {
  font-size: 1.4rem; color: var(--w3421-accent); margin: 1rem 0 0.5rem;
}

/* Internal Link Style */
.w3421-internal-link {
  color: var(--w3421-secondary); text-decoration: underline;
  text-decoration-style: dotted;
}
.w3421-internal-link:hover { color: var(--w3421-primary); }
