/**
 * cc6 casino apk - Main Stylesheet
 * All classes use s61e- prefix to avoid naming conflicts
 * Color Palette: #87CEEB (Sky Blue) | #F5DEB3 (Wheat) | #1A1A2E (Dark Navy) | #A0522D (Sienna) | #CD853F (Peru)
 * Mobile-first responsive design, max-width: 430px
 */

/* CSS Variables with s61e prefix */
:root {
  --s61e-primary: #87CEEB;
  --s61e-secondary: #F5DEB3;
  --s61e-dark: #1A1A2E;
  --s61e-accent: #A0522D;
  --s61e-accent2: #CD853F;
  --s61e-bg-main: #1A1A2E;
  --s61e-bg-secondary: #0F0F1E;
  --s61e-text-light: #F5DEB3;
  --s61e-text-white: #FFFFFF;
  --s61e-border: #A0522D;
  --s61e-gradient: linear-gradient(135deg, #1A1A2E, #A0522D);
  --s61e-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --s61e-transition: all 0.3s ease;
  --s61e-radius: 12px;
}

/* Base styles with s61e prefix */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--s61e-text-light);
  background: var(--s61e-bg-main);
  overflow-x: hidden;
}

.s61e-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s61e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
}

/* Header styles with s61e prefix */
.s61e-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--s61e-gradient);
  border-bottom: 2px solid var(--s61e-accent);
  z-index: 1000;
  box-shadow: var(--s61e-shadow);
}

.s61e-header-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s61e-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s61e-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--s61e-primary);
}

.s61e-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s61e-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s61e-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s61e-btn-register,
.s61e-btn-login {
  padding: 0.6rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--s61e-transition);
  white-space: nowrap;
}

.s61e-btn-register {
  background: var(--s61e-accent);
  color: var(--s61e-text-white);
  box-shadow: 0 2px 8px rgba(165, 82, 45, 0.4);
}

.s61e-btn-register:hover {
  background: var(--s61e-accent2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(165, 82, 45, 0.6);
}

.s61e-btn-login {
  background: transparent;
  color: var(--s61e-secondary);
  border: 2px solid var(--s61e-secondary);
}

.s61e-btn-login:hover {
  background: var(--s61e-secondary);
  color: var(--s61e-dark);
}

.s61e-hamburger {
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 4px 0;
}

.s61e-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--s61e-primary);
  border-radius: 2px;
  transition: var(--s61e-transition);
}

/* Mobile menu styles */
.s61e-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  display: none;
}

.s61e-menu-overlay.s61e-overlay-active {
  display: block;
}

.s61e-mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--s61e-bg-secondary);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.6);
  border-left: 2px solid var(--s61e-accent);
}

.s61e-mobile-menu.s61e-menu-active {
  right: 0;
}

.s61e-menu-header {
  padding: 2rem 1.5rem;
  background: var(--s61e-gradient);
  border-bottom: 2px solid var(--s61e-accent);
}

.s61e-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s61e-primary);
}

.s61e-nav-list {
  list-style: none;
  padding: 1rem 0;
}

.s61e-nav-item {
  border-bottom: 1px solid rgba(135, 206, 235, 0.1);
}

.s61e-nav-link {
  display: block;
  padding: 1.2rem 1.5rem;
  color: var(--s61e-text-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--s61e-transition);
}

.s61e-nav-link:hover,
.s61e-nav-active {
  background: rgba(135, 206, 235, 0.1);
  color: var(--s61e-primary);
  padding-left: 2rem;
}

/* Main content area */
.s61e-main {
  margin-top: 60px;
  padding-bottom: 80px;
  min-height: calc(100vh - 140px);
}

/* Carousel styles */
.s61e-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 0 2rem 0;
  overflow: hidden;
  border-radius: var(--s61e-radius);
}

.s61e-carousel-container {
  position: relative;
  width: 100%;
  height: 180px;
  background: var(--s61e-bg-secondary);
}

.s61e-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  cursor: pointer;
}

.s61e-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s61e-carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.s61e-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 222, 179, 0.5);
  border: 2px solid var(--s61e-secondary);
  cursor: pointer;
  transition: var(--s61e-transition);
}

.s61e-carousel-indicator.s61e-indicator-active {
  background: var(--s61e-accent);
  transform: scale(1.3);
}

/* Title styles */
.s61e-page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--s61e-primary);
  margin: 2rem 0 1.5rem;
  text-align: center;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.s61e-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s61e-accent2);
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--s61e-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.s61e-section-title i {
  color: var(--s61e-primary);
}

/* Game grid styles */
.s61e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.s61e-game-card {
  background: var(--s61e-bg-secondary);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--s61e-transition);
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.s61e-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--s61e-primary);
  box-shadow: 0 6px 16px rgba(135, 206, 235, 0.4);
}

.s61e-game-card.s61e-card-touch {
  transform: scale(0.95);
}

.s61e-game-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #0A0A15;
}

.s61e-game-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s61e-game-name {
  padding: 0.8rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--s61e-secondary);
  text-align: center;
  line-height: 1.3;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, var(--s61e-bg-secondary), #0A0A15);
}

/* Content modules */
.s61e-content-module {
  background: var(--s61e-bg-secondary);
  border-radius: var(--s61e-radius);
  padding: 2rem 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(135, 206, 235, 0.2);
  box-shadow: var(--s61e-shadow);
}

.s61e-module-text {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--s61e-text-light);
  margin-bottom: 1.5rem;
}

.s61e-module-text strong {
  color: var(--s61e-primary);
  font-weight: 700;
}

.s61e-promo-link {
  display: inline-block;
  color: var(--s61e-accent);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid var(--s61e-accent);
  transition: var(--s61e-transition);
}

.s61e-promo-link:hover {
  color: var(--s61e-accent2);
  border-bottom-color: var(--s61e-accent2);
  text-shadow: 0 0 8px rgba(205, 133, 63, 0.6);
}

.s61e-btn-promo {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--s61e-accent);
  color: var(--s61e-text-white);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.5rem;
  transition: var(--s61e-transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(165, 82, 45, 0.4);
  margin: 0.5rem;
}

.s61e-btn-promo:hover {
  background: var(--s61e-accent2);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(205, 133, 63, 0.6);
}

/* FAQ styles */
.s61e-faq-list {
  list-style: none;
}

.s61e-faq-item {
  background: var(--s61e-bg-secondary);
  border-radius: 10px;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(135, 206, 235, 0.2);
}

.s61e-faq-question {
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s61e-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--s61e-transition);
}

.s61e-faq-question:hover {
  background: rgba(135, 206, 235, 0.1);
}

.s61e-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #0F0F1E;
}

.s61e-faq-answer.s61e-faq-open {
  padding: 1.5rem;
  border-top: 1px solid rgba(135, 206, 235, 0.2);
}

.s61e-faq-answer p {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--s61e-text-light);
}

/* Footer styles */
.s61e-footer {
  background: var(--s61e-gradient);
  border-top: 3px solid var(--s61e-accent);
  padding: 2.5rem 0 8rem;
  margin-top: 3rem;
}

.s61e-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.s61e-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.s61e-footer-link {
  color: var(--s61e-secondary);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.8rem;
  transition: var(--s61e-transition);
  text-align: center;
  border-radius: 8px;
}

.s61e-footer-link:hover {
  background: rgba(245, 222, 179, 0.1);
  color: var(--s61e-primary);
}

.s61e-partners-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s61e-accent2);
  margin: 2rem 0 1.2rem;
  text-align: center;
}

.s61e-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.s61e-partner-logo {
  width: 100%;
  height: 45px;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--s61e-transition);
  filter: brightness(1.2);
}

.s61e-partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.s61e-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(245, 222, 179, 0.7);
  padding-top: 2rem;
  border-top: 1px solid rgba(135, 206, 235, 0.2);
}

/* Bottom navigation - Mobile only */
.s61e-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #1A1A2E, #0F0F1E);
  border-top: 2px solid var(--s61e-accent);
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
}

.s61e-bottom-nav-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
  padding: 0 0.5rem;
}

.s61e-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 65px;
  min-height: 60px;
  color: var(--s61e-secondary);
  text-decoration: none;
  transition: var(--s61e-transition);
  cursor: pointer;
  border-radius: 10px;
  padding: 0.5rem;
}

.s61e-bottom-nav-btn:hover,
.s61e-bottom-nav-active {
  background: rgba(135, 206, 235, 0.15);
  color: var(--s61e-primary);
  transform: translateY(-3px);
}

.s61e-bottom-nav-btn i {
  font-size: 2.4rem;
}

.s61e-bottom-nav-btn span {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Scroll to top button */
#app61e-scroll-top {
  position: fixed;
  bottom: 80px;
  right: 15px;
  width: 45px;
  height: 45px;
  background: var(--s61e-accent);
  color: var(--s61e-text-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--s61e-shadow);
  z-index: 999;
  transition: var(--s61e-transition);
}

#app61e-scroll-top:hover {
  background: var(--s61e-accent2);
  transform: translateY(-4px);
}

/* Desktop responsive styles */
@media (min-width: 769px) {
  .s61e-bottom-nav {
    display: none;
  }

  .s61e-main {
    padding-bottom: 2rem;
  }

  .s61e-footer {
    padding: 2.5rem 0 2rem;
  }
}

/* Utility classes */
.s61e-text-center {
  text-align: center;
}

.s61e-mt-1 {
  margin-top: 1rem;
}

.s61e-mt-2 {
  margin-top: 2rem;
}

.s61e-mb-1 {
  margin-bottom: 1rem;
}

.s61e-mb-2 {
  margin-bottom: 2rem;
}

.s61e-mobile {
  -webkit-tap-highlight-color: transparent;
}

.s61e-hidden {
  display: none;
}
