/* Big Win Register - Main Stylesheet */
/* CSS Class Prefix: s610- */
/* Color Palette: #212F3D | #7FFF00 | #A0522D | #A9A9A9 | #DB7093 */

/* ===== CSS Reset & Root Variables ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #E8E8E8;
  background-color: #212F3D;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #7FFF00;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #DB7093;
}

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

ul, ol {
  list-style: none;
}

/* ===== Header Styles ===== */
.s610-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #212F3D 0%, #1a2530 100%);
  border-bottom: 2px solid #7FFF00;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(127, 255, 0, 0.15);
}

.s610-header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s610-header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.s610-header-logo span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #7FFF00;
  letter-spacing: -0.3px;
}

.s610-header-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.s610-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
  min-width: 72px;
}

.s610-btn-register {
  background: linear-gradient(135deg, #7FFF00 0%, #5CB300 100%);
  color: #212F3D;
  box-shadow: 0 2px 8px rgba(127, 255, 0, 0.35);
}

.s610-btn-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(127, 255, 0, 0.5);
}

.s610-btn-login {
  background: transparent;
  color: #7FFF00;
  border: 1.5px solid #7FFF00;
}

.s610-btn-login:hover {
  background: rgba(127, 255, 0, 0.12);
  transform: translateY(-1px);
}

.s610-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1.5px solid #A9A9A9;
  border-radius: 8px;
  color: #E8E8E8;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.2s ease;
}

.s610-menu-toggle:hover {
  border-color: #7FFF00;
  color: #7FFF00;
}

/* ===== Mobile Menu Overlay ===== */
.s610-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(33, 47, 61, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.s610-mobile-menu.s610-active {
  opacity: 1;
  visibility: visible;
}

.s610-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(169, 169, 169, 0.25);
}

.s610-mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #DB7093;
  border-radius: 8px;
  color: #DB7093;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.2s ease;
}

.s610-mobile-menu-close:hover {
  background: rgba(219, 112, 147, 0.15);
}

.s610-mobile-menu-nav {
  padding: 1.2rem;
}

.s610-mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0.8rem;
  border-bottom: 1px solid rgba(169, 169, 169, 0.15);
  color: #E8E8E8;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.s610-mobile-menu-nav a:hover,
.s610-mobile-menu-nav a:focus {
  color: #7FFF00;
  background: rgba(127, 255, 0, 0.06);
  border-left: 3px solid #7FFF00;
  padding-left: 1.2rem;
}

.s610-mobile-menu-nav a i {
  width: 24px;
  text-align: center;
  font-size: 1.6rem;
}

/* ===== Hero Section ===== */
.s610-hero {
  margin-top: 56px;
  padding: 2rem 1.2rem 2.5rem;
  background: linear-gradient(180deg, #212F3D 0%, #1a2836 60%, #212F3D 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.s610-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 50% 30%, rgba(127, 255, 0, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.s610-hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #7FFF00;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  position: relative;
}

.s610-hero-subtitle {
  font-size: 1.25rem;
  color: #A9A9A9;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.s610-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #7FFF00 0%, #5CB300 100%);
  color: #212F3D;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 28px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(127, 255, 0, 0.35);
  position: relative;
}

.s610-hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(127, 255, 0, 0.5);
}

/* ===== Section Common ===== */
.s610-section {
  padding: 2rem 1.2rem;
}

.s610-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #7FFF00;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s610-section-title i {
  font-size: 1.8rem;
  color: #DB7093;
}

/* ===== Game Categories ===== */
.s610-categories {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.s610-categories::-webkit-scrollbar {
  display: none;
}

.s610-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: rgba(160, 82, 45, 0.18);
  border: 1.5px solid #A0522D;
  border-radius: 20px;
  color: #E8E8E8;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
}

.s610-category-chip:hover,
.s610-category-chip.s610-active {
  background: #A0522D;
  color: #fff;
  border-color: #A0522D;
  transform: translateY(-1px);
}

.s610-category-chip i {
  font-size: 1.2rem;
}

/* ===== Game Grid ===== */
.s610-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.s610-game-card {
  background: linear-gradient(145deg, rgba(42, 58, 74, 0.85), rgba(33, 47, 61, 0.95));
  border: 1.5px solid rgba(169, 169, 169, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.s610-game-card:hover {
  transform: translateY(-3px);
  border-color: #7FFF00;
  box-shadow: 0 6px 20px rgba(127, 255, 0, 0.15);
}

.s610-game-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #1a2530;
}

.s610-game-card-name {
  padding: 0.5rem 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #E8E8E8;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

/* ===== Content Blocks ===== */
.s610-content-block {
  background: linear-gradient(145deg, rgba(42, 58, 74, 0.6), rgba(33, 47, 61, 0.8));
  border: 1px solid rgba(169, 169, 169, 0.18);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.s610-content-block h2 {
  font-size: 1.55rem;
  color: #7FFF00;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.s610-content-block h3 {
  font-size: 1.3rem;
  color: #DB7093;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.s610-content-block p {
  margin-bottom: 0.8rem;
  color: #C8C8C8;
  line-height: 1.65;
}

.s610-content-block ul {
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.s610-content-block ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  color: #C8C8C8;
  line-height: 1.55;
  font-size: 1.3rem;
}

.s610-content-block ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #7FFF00;
  font-weight: bold;
}

/* ===== Feature Cards ===== */
.s610-feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.s610-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(160, 82, 45, 0.08);
  border: 1px solid rgba(160, 82, 45, 0.25);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.s610-feature-item:hover {
  background: rgba(160, 82, 45, 0.14);
  border-color: #A0522D;
}

.s610-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7FFF00 0%, #5CB300 100%);
  border-radius: 11px;
  color: #212F3D;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.s610-feature-text h4 {
  font-size: 1.25rem;
  color: #7FFF00;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.s610-feature-text p {
  font-size: 1.15rem;
  color: #A9A9A9;
  line-height: 1.5;
  margin: 0;
}

/* ===== FAQ Accordion ===== */
.s610-faq-item {
  border: 1px solid rgba(169, 169, 169, 0.2);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  overflow: hidden;
  background: rgba(42, 58, 74, 0.4);
}

.s610-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.1rem;
  background: transparent;
  border: none;
  color: #E8E8E8;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.s610-faq-question:hover {
  color: #7FFF00;
  background: rgba(127, 255, 0, 0.04);
}

.s610-faq-question i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: #DB7093;
}

.s610-faq-item.s610-open .s610-faq-question i {
  transform: rotate(45deg);
}

.s610-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.s610-faq-answer-inner {
  padding: 0 1.1rem 1rem;
  color: #B8B8B8;
  font-size: 1.2rem;
  line-height: 1.6;
}

.s610-faq-item.s610-open .s610-faq-answer {
  max-height: 400px;
}

/* ===== Tips / Steps List ===== */
.s610-step-list {
  counter-reset: step-counter;
}

.s610-step-item {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(169, 169, 169, 0.15);
}

.s610-step-item:last-child {
  border-bottom: none;
}

.s610-step-number {
  min-width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.s610-step-text h4 {
  font-size: 1.25rem;
  color: #7FFF00;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.s610-step-text p {
  font-size: 1.15rem;
  color: #A9A9A9;
  line-height: 1.5;
  margin: 0;
}

/* ===== CTA Banner ===== */
.s610-cta-banner {
  background: linear-gradient(135deg, rgba(127, 255, 0, 0.1) 0%, rgba(219, 112, 147, 0.1) 100%);
  border: 2px solid #7FFF00;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 1.5rem 0;
}

.s610-cta-banner h3 {
  font-size: 1.65rem;
  color: #7FFF00;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.s610-cta-banner p {
  font-size: 1.2rem;
  color: #C8C8C8;
  margin-bottom: 1.2rem;
}

.s610-cta-banner .s610-btn-register {
  font-size: 1.3rem;
  padding: 0.7rem 2.2rem;
}

/* ===== Footer ===== */
.s610-footer {
  background: linear-gradient(180deg, #1a2530 0%, #151f29 100%);
  border-top: 2px solid rgba(127, 255, 0, 0.3);
  padding: 2rem 1.2rem 7rem;
  margin-top: 2rem;
}

.s610-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.s610-footer-brand h3 {
  font-size: 1.5rem;
  color: #7FFF00;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.s610-footer-brand p {
  font-size: 1.1rem;
  color: #A9A9A9;
}

.s610-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
}

.s610-footer-links a {
  font-size: 1.1rem;
  color: #A9A9A9;
  transition: color 0.2s ease;
}

.s610-footer-links a:hover {
  color: #7FFF00;
}

.s610-footer-disclaimer {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
  padding: 1rem;
  border-top: 1px solid rgba(169, 169, 169, 0.15);
}

/* ===== Mobile Bottom Navigation ===== */
.s610-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a2530 0%, #151f29 100%);
  border-top: 2px solid rgba(127, 255, 0, 0.35);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  padding: 0.3rem 0.3rem 0.4rem;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.35);
}

.s610-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 58px;
  min-height: 54px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.35rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  position: relative;
}

.s610-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  background: #7FFF00;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.s610-nav-btn:hover,
.s610-nav-btn.s610-active {
  background: rgba(127, 255, 0, 0.08);
}

.s610-nav-btn:hover::after,
.s610-nav-btn.s610-active::after {
  transform: translateX(-50%) scaleX(1);
}

.s610-nav-btn i {
  font-size: 1.5rem;
  color: #A9A9A9;
  transition: all 0.25s ease;
  line-height: 1;
}

.s610-nav-btn span {
  font-size: 0.75rem;
  color: #A9A9A9;
  font-weight: 500;
  transition: color 0.25s ease;
  line-height: 1;
}

.s610-nav-btn:hover i,
.s610-nav-btn.s610-active i {
  color: #7FFF00;
}

.s610-nav-btn:hover span,
.s610-nav-btn.s610-active span {
  color: #7FFF00;
}

/* ===== Utility Classes ===== */
.s610-text-center { text-align: center; }
.s610-text-accent { color: #7FFF00; }
.s610-text-pink { color: #DB7093; }
.s610-text-brown { color: #A0522D; }
.s610-mt-1 { margin-top: 1rem; }
.s610-mb-1 { margin-bottom: 1rem; }
.s610-mt-2 { margin-top: 2rem; }
.s610-mb-2 { margin-bottom: 2rem; }

/* ===== Responsive: Desktop Hide Bottom Nav ===== */
@media (min-width: 769px) {
  .s610-bottom-nav {
    display: none;
  }

  .s610-footer {
    padding-bottom: 2rem;
  }

  .s610-game-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .s10-hero-title {
    font-size: 2.6rem;
  }
}

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

/* ===== Animation Keyframes ===== */
@keyframes s610-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes s610-pulse-glow {
  0%, 100% { box-shadow: 0 0 8px rgba(127, 255, 0, 0.2); }
  50% { box-shadow: 0 0 20px rgba(127, 255, 0, 0.4); }
}

.s610-animate-in {
  animation: s610-fadeInUp 0.5s ease forwards;
}
