/* GogoJili Casino Styles - Mobile First Design */
/* All classes use g6ab- prefix */

/* Root Variables - Green, Purple, Dark Gray Theme */
:root {
  --g6ab-primary: #006400;
  --g6ab-secondary: #BA55D3;
  --g6ab-dark: #3A3A3A;
  --g6ab-light: #F5F5F5;
  --g6ab-accent: #FFD700;
  --g6ab-text: #E8E8E8;
  --g6ab-text-dark: #1A1A1A;
  --g6ab-border: rgba(186, 85, 211, 0.3);
  --g6ab-shadow: rgba(0, 100, 0, 0.3);
  font-size: 62.5%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--g6ab-text);
  background: linear-gradient(135deg, var(--g6ab-dark) 0%, #2A2A2A 100%);
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--g6ab-secondary);
  font-weight: 700;
  margin-bottom: 1.6rem;
}

h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

a {
  color: var(--g6ab-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--g6ab-accent);
}

/* Header Styles */
.g6ab-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--g6ab-primary) 0%, #008000 100%);
  padding: 1.2rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 8px var(--g6ab-shadow);
  transition: transform 0.3s ease;
}

.g6ab-logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g6ab-logo {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
}

.g6ab-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.g6ab-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g6ab-btn-header {
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g6ab-btn-register {
  background: var(--g6ab-secondary);
  color: #FFF;
}

.g6ab-btn-login {
  background: rgba(255, 255, 255, 0.2);
  color: #FFF;
}

.g6ab-btn-header:active {
  transform: scale(0.95);
}

/* Burger Menu */
.g6ab-burger-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.4rem;
}

.g6ab-burger-line {
  width: 24px;
  height: 2px;
  background: #FFF;
  transition: all 0.3s ease;
}

.g6ab-burger-menu.g6ab-active .g6ab-burger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.6rem, 0.6rem);
}

.g6ab-burger-menu.g6ab-active .g6ab-burger-line:nth-child(2) {
  opacity: 0;
}

.g6ab-burger-menu.g6ab-active .g6ab-burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.6rem, -0.6rem);
}

/* Mobile Navigation */
.g6ab-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--g6ab-primary) 0%, #005500 100%);
  padding: 8rem 0 2rem;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.g6ab-mobile-nav.g6ab-active {
  right: 0;
}

.g6ab-mobile-nav-list {
  list-style: none;
}

.g6ab-mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g6ab-mobile-nav-link {
  display: block;
  padding: 1.6rem 2rem;
  color: #FFF;
  font-size: 1.4rem;
  transition: background 0.3s ease;
}

.g6ab-mobile-nav-link:hover,
.g6ab-mobile-nav-link.g6ab-active {
  background: rgba(186, 85, 211, 0.3);
  color: var(--g6ab-accent);
}

.g6ab-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.g6ab-nav-overlay.g6ab-active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.g6ab-main {
  padding: 7rem 0 10rem;
  min-height: 100vh;
}

.g6ab-container {
  padding: 0 1.6rem;
}

/* Carousel */
.g6ab-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 1.2rem;
  margin-bottom: 2.4rem;
}

.g6ab-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.g6ab-carousel-slide.g6ab-active {
  opacity: 1;
}

.g6ab-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Styles */
.g6ab-section {
  margin-bottom: 3.2rem;
}

.g6ab-section-title {
  font-size: 2rem;
  color: var(--g6ab-secondary);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.g6ab-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--g6ab-secondary), var(--g6ab-accent));
}

/* Card Styles */
.g6ab-card {
  background: rgba(58, 58, 58, 0.6);
  border: 1px solid var(--g6ab-border);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 1.6rem;
  box-shadow: 0 4px 12px var(--g6ab-shadow);
}

.g6ab-card-title {
  font-size: 1.8rem;
  color: var(--g6ab-secondary);
  margin-bottom: 1.2rem;
}

.g6ab-card-content p {
  color: var(--g6ab-text);
  line-height: 1.8;
}

/* Button Styles */
.g6ab-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
}

.g6ab-btn-primary {
  background: linear-gradient(135deg, var(--g6ab-secondary) 0%, #9932CC 100%);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(186, 85, 211, 0.4);
}

.g6ab-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(186, 85, 211, 0.6);
}

.g6ab-btn-primary:active {
  transform: translateY(0);
}

/* Game Grid */
.g6ab-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}

.g6ab-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem;
  background: rgba(58, 58, 58, 0.4);
  border: 1px solid var(--g6ab-border);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g6ab-game-item:hover {
  background: rgba(186, 85, 211, 0.2);
  transform: translateY(-2px);
}

.g6ab-game-icon {
  width: 60px;
  height: 60px;
  border-radius: 0.8rem;
  object-fit: cover;
}

.g6ab-game-name {
  font-size: 1.1rem;
  color: var(--g6ab-text);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.g6ab-footer {
  background: linear-gradient(180deg, #2A2A2A 0%, var(--g6ab-dark) 100%);
  padding: 3.2rem 1.6rem 10rem;
  border-top: 2px solid var(--g6ab-border);
}

.g6ab-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
  justify-content: center;
}

.g6ab-footer-link {
  font-size: 1.3rem;
  color: var(--g6ab-text);
  padding: 0.4rem 0.8rem;
}

.g6ab-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 2.4rem;
}

.g6ab-partner-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.g6ab-partner-icon:hover {
  opacity: 1;
}

.g6ab-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
}

/* Bottom Navigation */
.g6ab-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  background: linear-gradient(90deg, var(--g6ab-primary) 0%, #008000 100%);
  padding: 0.8rem 0;
  box-shadow: 0 -2px 8px var(--g6ab-shadow);
  z-index: 999;
}

.g6ab-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 44px;
  min-height: 44px;
}

.g6ab-bottom-nav-item:hover,
.g6ab-bottom-nav-item.g6ab-active {
  color: var(--g6ab-accent);
  transform: translateY(-2px);
}

.g6ab-bottom-nav-icon {
  font-size: 2rem;
}

.g6ab-bottom-nav-label {
  font-size: 1rem;
}

/* Utility Classes */
.g6ab-text-center {
  text-align: center;
}

.g6ab-mt-sm { margin-top: 0.8rem; }
.g6ab-mt-md { margin-top: 1.6rem; }
.g6ab-mt-lg { margin-top: 2.4rem; }
.g6ab-mb-sm { margin-bottom: 0.8rem; }
.g6ab-mb-md { margin-bottom: 1.6rem; }
.g6ab-mb-lg { margin-bottom: 2.4rem; }

/* Accordion */
.g6ab-accordion-item {
  background: rgba(58, 58, 58, 0.4);
  border: 1px solid var(--g6ab-border);
  border-radius: 0.8rem;
  margin-bottom: 1.2rem;
  overflow: hidden;
}

.g6ab-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;
  cursor: pointer;
  color: var(--g6ab-text);
  font-weight: 600;
  transition: background 0.3s ease;
}

.g6ab-accordion-header:hover {
  background: rgba(186, 85, 211, 0.2);
}

.g6ab-accordion-content {
  padding: 0 1.6rem 1.6rem;
  color: var(--g6ab-text);
  line-height: 1.8;
}

.g6ab-accordion-icon {
  transition: transform 0.3s ease;
}

.g6ab-accordion-item.g6ab-active .g6ab-accordion-icon {
  transform: rotate(180deg);
}

/* Text Link */
.g6ab-text-link {
  color: var(--g6ab-secondary);
  text-decoration: underline;
  font-weight: 500;
}

.g6ab-text-link:hover {
  color: var(--g6ab-accent);
}

/* Feature List */
.g6ab-feature-list {
  list-style: none;
}

.g6ab-feature-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  padding: 1.2rem;
  background: rgba(58, 58, 58, 0.3);
  border-radius: 0.8rem;
}

.g6ab-feature-icon {
  font-size: 2.4rem;
  color: var(--g6ab-secondary);
  flex-shrink: 0;
}

.g6ab-feature-text {
  color: var(--g6ab-text);
  line-height: 1.6;
}
