/* Universal CSS for JILI APP Website */
/* All classes use gf06- prefix to avoid conflicts */

/* CSS Variables */
:root {
  --gf06-primary: #006400;
  --gf06-secondary: #00FF7F;
  --gf06-tertiary: #2E8B57;
  --gf06-bg: #0A0A0A;
  --gf06-text: #FFFFFF;
  --gf06-text-secondary: #00FF7F;
  --gf06-border: #2E8B57;
  --gf06-shadow: rgba(0, 255, 127, 0.2);
  --gf06-gradient: linear-gradient(135deg, #006400, #2E8B57);
  --gf06-font-size: 62.5%;
  --gf06-line-height: 1.5rem;
  --gf06-border-radius: 0.8rem;
  --gf06-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--gf06-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--gf06-bg);
  color: var(--gf06-text);
  line-height: var(--gf06-line-height);
  font-size: 1.6rem;
  overflow-x: hidden;
}

/* Layout Components */
.gf06-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.gf06-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gf06-grid {
  display: grid;
  gap: 1.6rem;
}

.gf06-flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gf06-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gf06-flex-column {
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.gf06-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--gf06-bg);
  border-bottom: 1px solid var(--gf06-border);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.gf06-header-content {
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem;
}

.gf06-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--gf06-text);
}

.gf06-logo-img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.gf06-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gf06-secondary);
}

.gf06-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gf06-menu-toggle {
  background: none;
  border: none;
  color: var(--gf06-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  transition: var(--gf06-transition);
}

.gf06-menu-toggle:hover {
  color: var(--gf06-secondary);
}

/* Navigation Styles */
.gf06-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 28rem;
  height: 100vh;
  background: var(--gf06-bg);
  border-left: 1px solid var(--gf06-border);
  z-index: 1001;
  transition: var(--gf06-transition);
  overflow-y: auto;
}

.gf06-nav-open {
  right: 0;
}

.gf06-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--gf06-transition);
}

.gf06-overlay-active {
  opacity: 1;
  visibility: visible;
}

.gf06-nav-header {
  padding: 2rem 1.6rem;
  border-bottom: 1px solid var(--gf06-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gf06-menu-close {
  background: none;
  border: none;
  color: var(--gf06-text);
  font-size: 2.4rem;
  cursor: pointer;
}

.gf06-nav-links {
  padding: 2rem 1.6rem;
}

.gf06-nav-link {
  display: block;
  padding: 1.2rem 0;
  color: var(--gf06-text);
  text-decoration: none;
  border-bottom: 1px solid var(--gf06-border);
  transition: var(--gf06-transition);
}

.gf06-nav-link:hover {
  color: var(--gf06-secondary);
  padding-left: 1rem;
}

/* Button Styles */
.gf06-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--gf06-border-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gf06-transition);
  text-decoration: none;
  min-height: 4.4rem;
  gap: 0.8rem;
}

.gf06-btn-primary {
  background: var(--gf06-gradient);
  color: var(--gf06-text);
  box-shadow: 0 4px 12px var(--gf06-shadow);
}

.gf06-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gf06-shadow);
}

.gf06-btn-secondary {
  background: transparent;
  color: var(--gf06-secondary);
  border: 1px solid var(--gf06-secondary);
}

.gf06-btn-secondary:hover {
  background: var(--gf06-secondary);
  color: var(--gf06-bg);
}

.gf06-promo-btn {
  background: var(--gf06-gradient);
  color: var(--gf06-text);
  padding: 1.2rem 2.4rem;
  border-radius: var(--gf06-border-radius);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: var(--gf06-transition);
  box-shadow: 0 4px 12px var(--gf06-shadow);
}

.gf06-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gf06-shadow);
}

.gf06-promo-link {
  color: var(--gf06-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--gf06-transition);
}

.gf06-promo-link:hover {
  color: var(--gf06-text);
  text-decoration: underline;
}

/* Carousel Styles */
.gf06-carousel {
  position: relative;
  width: 100%;
  height: 20rem;
  overflow: hidden;
  border-radius: var(--gf06-border-radius);
  margin-top: 6rem;
}

.gf06-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: var(--gf06-transition);
  cursor: pointer;
}

.gf06-slide-active {
  opacity: 1;
}

.gf06-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gf06-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.gf06-carousel-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--gf06-transition);
}

.gf06-indicator-active {
  background: var(--gf06-secondary);
}

/* Game Grid Styles */
.gf06-games-section {
  padding: 2rem 0;
}

.gf06-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
  color: var(--gf06-secondary);
  text-align: center;
}

.gf06-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gf06-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gf06-text);
  transition: var(--gf06-transition);
}

.gf06-game-item:hover {
  transform: translateY(-4px);
}

.gf06-game-icon {
  width: 6rem;
  height: 6rem;
  border-radius: var(--gf06-border-radius);
  object-fit: cover;
  border: 2px solid var(--gf06-border);
  transition: var(--gf06-transition);
}

.gf06-game-item:hover .gf06-game-icon {
  border-color: var(--gf06-secondary);
  box-shadow: 0 4px 12px var(--gf06-shadow);
}

.gf06-game-name {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.8rem;
  text-align: center;
  line-height: 1.3;
}

/* Content Sections */
.gf06-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gf06-border);
}

.gf06-section:last-child {
  border-bottom: none;
}

.gf06-section-content {
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.gf06-section-content h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--gf06-secondary);
}

.gf06-section-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--gf06-text);
}

.gf06-section-content p {
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.gf06-section-content ul {
  margin-left: 2rem;
  margin-bottom: 1.2rem;
}

.gf06-section-content li {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Card Styles */
.gf06-card {
  background: rgba(46, 139, 87, 0.1);
  border: 1px solid var(--gf06-border);
  border-radius: var(--gf06-border-radius);
  padding: 2rem;
  margin-bottom: 1.6rem;
  transition: var(--gf06-transition);
}

.gf06-card:hover {
  border-color: var(--gf06-secondary);
  box-shadow: 0 4px 12px var(--gf06-shadow);
}

/* Bottom Navigation */
.gf06-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gf06-bg);
  border-top: 1px solid var(--gf06-border);
  z-index: 999;
  height: 6rem;
}

.gf06-bottom-nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.gf06-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gf06-text);
  transition: var(--gf06-transition);
  padding: 0.8rem;
  min-width: 4.4rem;
}

.gf06-bottom-nav-item:hover,
.gf06-nav-active {
  color: var(--gf06-secondary);
  transform: scale(1.1);
}

.gf06-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.4rem;
}

.gf06-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer Styles */
.gf06-footer {
  background: var(--gf06-bg);
  border-top: 1px solid var(--gf06-border);
  padding: 2rem 0 8rem;
  margin-top: auto;
}

.gf06-footer-content {
  text-align: center;
}

.gf06-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.gf06-footer-link {
  color: var(--gf06-text);
  text-decoration: none;
  transition: var(--gf06-transition);
}

.gf06-footer-link:hover {
  color: var(--gf06-secondary);
}

.gf06-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gf06-partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--gf06-transition);
}

.gf06-partner-logo:hover {
  opacity: 1;
}

.gf06-copyright {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Animation Classes */
.gf06-animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--gf06-transition);
}

.gf06-animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (min-width: 768px) {
  .gf06-container {
    max-width: 768px;
  }
  
  .gf06-games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .gf06-carousel {
    height: 24rem;
  }
  
  .gf06-bottom-nav {
    display: none;
  }
}

@media (max-width: 374px) {
  .gf06-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gf06-game-icon {
    width: 5rem;
    height: 5rem;
  }
}

/* Utility Classes */
.gf06-text-center {
  text-align: center;
}

.gf06-text-left {
  text-align: left;
}

.gf06-text-right {
  text-align: right;
}

.gf06-mb-1 {
  margin-bottom: 1rem;
}

.gf06-mb-2 {
  margin-bottom: 2rem;
}

.gf06-mt-1 {
  margin-top: 1rem;
}

.gf06-mt-2 {
  margin-top: 2rem;
}

.gf06-hidden {
  display: none;
}

.gf06-visible {
  display: block;
}

/* Responsive Typography */
@media (max-width: 374px) {
  .gf06-section-title {
    font-size: 2rem;
  }
  
  .gf06-game-name {
    font-size: 1.1rem;
  }
} 