/* SuperKing Casino CSS - v630 prefix - Rule Your Game • Claim Your Kingdom */

:root {
  --v630-primary: #8B4513;
  --v630-primary-light: #F5DEB3;
  --v630-secondary: #FAF0E6;
  --v630-accent: #FF4500;
  --v630-bg-dark: #1B263B;
  --v630-bg-light: #F8F9FA;
  --v630-text-dark: #1B263B;
  --v630-text-light: #F8F9FA;
  --v630-border: rgba(139, 69, 19, 0.2);
  --v630-shadow: rgba(27, 38, 59, 0.15);
  --v630-gradient: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
}

* {
  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.4rem;
  line-height: 1.6;
  color: var(--v630-text-dark);
  background-color: var(--v630-bg-light);
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

/* Header Styles */
.v630-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--v630-gradient);
  box-shadow: 0 0.2rem 0.8rem var(--v630-shadow);
  padding: 1.2rem 1.6rem;
}

.v630-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}

.v630-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v630-logo {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
}

.v630-site-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v630-text-light);
  text-shadow: 0.2rem 0.2rem 0.4rem rgba(0, 0, 0, 0.3);
}

.v630-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v630-btn-header {
  padding: 0.8rem 1.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.v630-btn-login {
  background: transparent;
  color: var(--v630-text-light);
  border: 0.2rem solid var(--v630-text-light);
}

.v630-btn-login:hover {
  background: var(--v630-text-light);
  color: var(--v630-primary);
}

.v630-btn-register {
  background: var(--v630-accent);
  color: var(--v630-text-light);
}

.v630-btn-register:hover {
  background: #FF6347;
  transform: translateY(-0.2rem);
}

.v630-menu-btn {
  background: transparent;
  color: var(--v630-text-light);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Navigation */
.v630-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.v630-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.v630-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 30rem;
  height: 100%;
  background: var(--v630-bg-light);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -0.4rem 0 1.6rem var(--v630-shadow);
}

.v630-mobile-nav.active {
  right: 0;
}

.v630-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;
  background: var(--v630-gradient);
  color: var(--v630-text-light);
}

.v630-nav-close {
  background: transparent;
  border: none;
  color: var(--v630-text-light);
  font-size: 2.4rem;
  cursor: pointer;
}

.v630-nav-list {
  list-style: none;
  padding: 1.6rem 0;
}

.v630-nav-item {
  border-bottom: 0.1rem solid var(--v630-border);
}

.v630-nav-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem;
  color: var(--v630-text-dark);
  text-decoration: none;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.v630-nav-link:hover {
  background: var(--v630-secondary);
}

.v630-nav-link i {
  font-size: 2rem;
  color: var(--v630-primary);
}

/* Main Content */
.v630-main {
  padding-bottom: 8rem;
  min-height: calc(100vh - 6rem);
}

.v630-container {
  padding: 1.6rem;
}

/* Carousel */
.v630-carousel {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 0.4rem 1.2rem var(--v630-shadow);
}

.v630-carousel-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.v630-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.v630-slide.active {
  opacity: 1;
}

.v630-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v630-carousel-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.v630-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v630-dot.active {
  background: var(--v630-accent);
  width: 2.4rem;
  border-radius: 0.5rem;
}

/* Card Styles */
.v630-card {
  background: white;
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 0.2rem 0.8rem var(--v630-shadow);
}

.v630-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v630-primary);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v630-card-title i {
  color: var(--v630-accent);
}

/* Section Styles */
.v630-section {
  margin-bottom: 2rem;
}

.v630-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--v630-primary);
  margin-bottom: 1.6rem;
  text-align: center;
  text-shadow: 0.1rem 0.1rem 0.2rem var(--v630-shadow);
}

.v630-category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v630-primary);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0.4rem;
}

.v630-category-title i {
  color: var(--v630-accent);
}

/* Game Grid */
.v630-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.v630-game-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.8rem var(--v630-shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.v630-game-card:hover {
  transform: translateY(-0.4rem);
  box-shadow: 0 0.6rem 1.6rem var(--v630-shadow);
}

.v630-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.v630-game-name {
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  color: var(--v630-text-dark);
  background: var(--v630-secondary);
}

/* List Styles */
.v630-list {
  list-style: none;
}

.v630-list-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 0.1rem solid var(--v630-border);
}

.v630-list-item:last-child {
  border-bottom: none;
}

.v630-list-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--v630-accent);
}

.v630-list-content {
  flex: 1;
}

.v630-list-title {
  font-weight: 700;
  color: var(--v630-primary);
  margin-bottom: 0.4rem;
}

.v630-list-text {
  font-size: 1.3rem;
  color: #666;
}

/* Button Styles */
.v630-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.4rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.v630-btn-primary {
  background: var(--v630-gradient);
  color: var(--v630-text-light);
}

.v630-btn-primary:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem var(--v630-shadow);
}

.v630-btn-outline {
  background: transparent;
  color: var(--v630-primary);
  border: 0.2rem solid var(--v630-primary);
}

.v630-btn-outline:hover {
  background: var(--v630-primary);
  color: var(--v630-text-light);
}

.v630-btn-block {
  width: 100%;
}

/* Promo Link */
.v630-promo-link {
  color: var(--v630-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.v630-promo-link:hover {
  color: var(--v630-accent);
}

/* FAQ Styles */
.v630-faq-item {
  background: white;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
  box-shadow: 0 0.2rem 0.8rem var(--v630-shadow);
}

.v630-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--v630-primary);
  transition: background 0.3s ease;
}

.v630-faq-question:hover {
  background: var(--v630-secondary);
}

.v630-faq-question i {
  transition: transform 0.3s ease;
}

.v630-faq-item.active .v630-faq-question i {
  transform: rotate(180deg);
}

.v630-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.v630-faq-item.active .v630-faq-answer {
  max-height: 50rem;
}

.v630-faq-answer-content {
  padding: 0 1.6rem 1.6rem;
  color: #666;
  line-height: 1.8;
}

/* Tab Styles */
.v630-tabs {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.v630-tab-btn {
  flex-shrink: 0;
  padding: 1rem 2rem;
  background: white;
  border: 0.2rem solid var(--v630-border);
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v630-text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v630-tab-btn.active {
  background: var(--v630-gradient);
  color: var(--v630-text-light);
  border-color: var(--v630-primary);
}

.v630-tab-content {
  display: none;
}

.v630-tab-content.active {
  display: block;
}

/* Utility Classes */
.v630-text-center {
  text-align: center;
}

.v630-mb-1 {
  margin-bottom: 1rem;
}

.v630-mb-2 {
  margin-bottom: 2rem;
}

.v630-mt-2 {
  margin-top: 2rem;
}

/* Footer */
.v630-footer {
  background: var(--v630-bg-dark);
  color: var(--v630-text-light);
  padding: 2rem 1.6rem;
  margin-top: 4rem;
}

.v630-footer-content {
  text-align: center;
}

.v630-copyright {
  font-size: 1.3rem;
  opacity: 0.8;
}

/* Bottom Navigation */
.v630-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: white;
  box-shadow: 0 -0.2rem 1.6rem var(--v630-shadow);
  z-index: 99;
}

.v630-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
}

.v630-bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: #999;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  padding: 0.4rem 1.6rem;
}

.v630-bottom-nav-link.active,
.v630-bottom-nav-link:hover {
  color: var(--v630-primary);
}

.v630-bottom-nav-icon {
  font-size: 2.2rem;
}

/* Game Category Styles */
.v630-game-category {
  background: var(--v630-secondary);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 360px) {
  .v630-game-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v630-btn-header {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
  }
}
