/* fc178 casino Design System - f46f */
/* All classes use g6f0- prefix to avoid conflicts */

/* CSS Variables */
:root {
  --g6f0-primary: #FFF8DC;
  --g6f0-secondary: #EEEEEE;
  --g6f0-accent: #FAFAD2;
  --g6f0-gold: #BDB76B;
  --g6f0-dark: #273746;
  --g6f0-highlight: #ADFF2F;
  --g6f0-bg: #273746;
  --g6f0-text: #FFF8DC;
  --g6f0-text-secondary: #EEEEEE;
  --g6f0-border: #BDB76B;
  --g6f0-shadow: rgba(0, 0, 0, 0.3);
  --g6f0-overlay: rgba(39, 55, 70, 0.9);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--g6f0-text);
  background-color: var(--g6f0-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.g6f0-mobile {
  -webkit-tap-highlight-color: transparent;
}

/* Layout Components */
.g6f0-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.6rem;
  width: 100%;
}

.g6f0-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.g6f0-main {
  flex: 1;
  padding-top: 6rem;
  padding-bottom: 7rem;
}

/* Header Styles */
.g6f0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--g6f0-dark) 0%, #2c3e50 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--g6f0-border);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.g6f0-header.g6f0-scrolled {
  background: var(--g6f0-overlay);
  box-shadow: 0 2px 20px var(--g6f0-shadow);
}

.g6f0-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
}

.g6f0-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--g6f0-text);
  font-weight: 700;
  font-size: 1.8rem;
}

.g6f0-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.4rem;
}

.g6f0-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g6f0-menu-btn {
  background: none;
  border: none;
  color: var(--g6f0-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.g6f0-menu-btn:hover {
  background: var(--g6f0-gold);
  color: var(--g6f0-dark);
  transform: scale(1.1);
}

.g6f0-menu-btn.g6f0-active {
  background: var(--g6f0-highlight);
  color: var(--g6f0-dark);
  transform: rotate(90deg);
}

/* Mobile Menu */
.g6f0-mobile-menu {
  position: fixed;
  top: 6.8rem;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--g6f0-dark) 0%, #1a252f 100%);
  border-bottom: 1px solid var(--g6f0-border);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  max-height: calc(100vh - 6.8rem);
  overflow-y: auto;
}

.g6f0-mobile-menu.g6f0-show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.g6f0-menu-list {
  list-style: none;
  padding: 2rem 0;
}

.g6f0-menu-item {
  margin: 0;
}

.g6f0-menu-link {
  display: flex;
  align-items: center;
  padding: 1.6rem 2.4rem;
  color: var(--g6f0-text);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(189, 183, 107, 0.1);
}

.g6f0-menu-link:hover,
.g6f0-menu-link:focus {
  background: linear-gradient(90deg, var(--g6f0-gold), transparent);
  color: var(--g6f0-dark);
  transform: translateX(0.8rem);
}

.g6f0-menu-link i {
  margin-right: 1.2rem;
  font-size: 1.8rem;
  width: 2.4rem;
}

/* Button Styles */
.g6f0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 4.4rem;
  min-width: 4.4rem;
  position: relative;
  overflow: hidden;
}

.g6f0-btn-primary {
  background: linear-gradient(135deg, var(--g6f0-highlight), #7FFF00);
  color: var(--g6f0-dark);
  box-shadow: 0 4px 15px rgba(173, 255, 47, 0.3);
}

.g6f0-btn-primary:hover {
  background: linear-gradient(135deg, #7FFF00, var(--g6f0-highlight));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(173, 255, 47, 0.4);
}

.g6f0-btn-secondary {
  background: linear-gradient(135deg, var(--g6f0-gold), #D4AF37);
  color: var(--g6f0-dark);
  box-shadow: 0 4px 15px rgba(189, 183, 107, 0.3);
}

.g6f0-btn-secondary:hover {
  background: linear-gradient(135deg, #D4AF37, var(--g6f0-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(189, 183, 107, 0.4);
}

.g6f0-btn-outline {
  background: transparent;
  color: var(--g6f0-text);
  border: 2px solid var(--g6f0-border);
}

.g6f0-btn-outline:hover {
  background: var(--g6f0-border);
  color: var(--g6f0-dark);
  transform: translateY(-2px);
}

.g6f0-btn:disabled,
.g6f0-btn.g6f0-loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.g6f0-btn i {
  margin-right: 0.8rem;
  font-size: 1.6rem;
}

/* Promo Button Specific */
.g6f0-promo-btn,
.g6f0-play-btn {
  background: linear-gradient(135deg, var(--g6f0-highlight), #32CD32);
  color: var(--g6f0-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  animation: g6f0-pulse 2s infinite;
}

.g6f0-promo-btn:hover,
.g6f0-play-btn:hover {
  background: linear-gradient(135deg, #32CD32, var(--g6f0-highlight));
  box-shadow: 0 10px 30px rgba(173, 255, 47, 0.5);
}

@keyframes g6f0-pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(173, 255, 47, 0.6);
  }
}

/* Card Components */
.g6f0-card {
  background: linear-gradient(135deg, #2c3e50 0%, var(--g6f0-dark) 100%);
  border: 1px solid var(--g6f0-border);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px var(--g6f0-shadow);
  transition: all 0.3s ease;
}

.g6f0-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--g6f0-highlight);
}

.g6f0-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.6rem;
  gap: 1.2rem;
}

.g6f0-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g6f0-highlight);
  margin: 0;
}

.g6f0-card-icon {
  font-size: 2.4rem;
  color: var(--g6f0-gold);
}

.g6f0-card-content {
  color: var(--g6f0-text-secondary);
  line-height: 1.6;
}

/* Carousel Styles */
.g6f0-carousel {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  margin-bottom: 3rem;
  height: 20rem;
}

.g6f0-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  cursor: pointer;
}

.g6f0-slide.g6f0-active {
  opacity: 1;
}

.g6f0-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g6f0-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 2rem;
  color: white;
}

.g6f0-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.g6f0-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.g6f0-indicator.g6f0-active {
  background: var(--g6f0-highlight);
  transform: scale(1.2);
}

/* Game Grid */
.g6f0-game-section {
  margin-bottom: 3rem;
}

.g6f0-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--g6f0-highlight);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.g6f0-section-title::after {
  content: '';
  position: absolute;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 0.3rem;
  background: linear-gradient(90deg, var(--g6f0-gold), var(--g6f0-highlight));
  border-radius: 0.2rem;
}

.g6f0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.g6f0-game-item {
  background: linear-gradient(135deg, #2c3e50 0%, var(--g6f0-dark) 100%);
  border: 1px solid var(--g6f0-border);
  border-radius: 0.8rem;
  padding: 1.2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.g6f0-game-item:hover {
  transform: scale(1.05);
  border-color: var(--g6f0-highlight);
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.g6f0-game-item img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.4rem;
  object-fit: cover;
}

.g6f0-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g6f0-text);
  line-height: 1.2;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Bottom Navigation */
.g6f0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--g6f0-dark) 0%, #1a252f 100%);
  border-top: 1px solid var(--g6f0-border);
  padding: 0.8rem 0;
  z-index: 1000;
  height: 6.4rem;
}

.g6f0-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
}

.g6f0-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  text-decoration: none;
  color: var(--g6f0-text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0.8rem;
  min-width: 4.4rem;
  position: relative;
}

.g6f0-nav-item:hover,
.g6f0-nav-item.g6f0-active {
  color: var(--g6f0-highlight);
  background: rgba(173, 255, 47, 0.1);
  transform: translateY(-2px);
}

.g6f0-nav-item i {
  font-size: 2.2rem;
  transition: all 0.3s ease;
}

.g6f0-nav-item.g6f0-active i {
  color: var(--g6f0-highlight);
  transform: scale(1.1);
}

.g6f0-nav-text {
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

/* Content Sections */
.g6f0-section {
  margin-bottom: 4rem;
}

.g6f0-intro {
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(173, 255, 47, 0.1), rgba(189, 183, 107, 0.1));
  border-radius: 1.6rem;
  border: 1px solid var(--g6f0-border);
}

.g6f0-main-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--g6f0-highlight);
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.g6f0-subtitle {
  font-size: 1.8rem;
  color: var(--g6f0-text-secondary);
  margin-bottom: 2.4rem;
  line-height: 1.4;
}

/* Footer */
.g6f0-footer {
  background: linear-gradient(135deg, #1a252f 0%, var(--g6f0-dark) 100%);
  border-top: 1px solid var(--g6f0-border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.g6f0-footer-content {
  text-align: center;
}

.g6f0-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.g6f0-footer-link {
  color: var(--g6f0-text-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.g6f0-footer-link:hover {
  color: var(--g6f0-highlight);
}

.g6f0-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
}

.g6f0-partner-icon {
  width: 4rem;
  height: 4rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  border-radius: 0.4rem;
}

.g6f0-partner-icon:hover {
  opacity: 1;
}

.g6f0-copyright {
  color: var(--g6f0-text-secondary);
  font-size: 1.3rem;
  margin-top: 2rem;
  opacity: 0.8;
}

/* Utility Classes */
.g6f0-text-center { text-align: center; }
.g6f0-text-left { text-align: left; }
.g6f0-text-right { text-align: right; }

.g6f0-mb-1 { margin-bottom: 1rem; }
.g6f0-mb-2 { margin-bottom: 2rem; }
.g6f0-mb-3 { margin-bottom: 3rem; }

.g6f0-mt-1 { margin-top: 1rem; }
.g6f0-mt-2 { margin-top: 2rem; }
.g6f0-mt-3 { margin-top: 3rem; }

.g6f0-p-1 { padding: 1rem; }
.g6f0-p-2 { padding: 2rem; }
.g6f0-p-3 { padding: 3rem; }

.g6f0-hidden { display: none; }
.g6f0-visible { display: block; }

.g6f0-flex { display: flex; }
.g6f0-flex-center { display: flex; align-items: center; justify-content: center; }
.g6f0-flex-between { display: flex; align-items: center; justify-content: space-between; }

.g6f0-text-highlight { color: var(--g6f0-highlight); }
.g6f0-text-gold { color: var(--g6f0-gold); }
.g6f0-text-secondary { color: var(--g6f0-text-secondary); }

/* Loading States */
.g6f0-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--g6f0-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.g6f0-spinner {
  width: 4rem;
  height: 4rem;
  border: 0.4rem solid rgba(173, 255, 47, 0.3);
  border-top: 0.4rem solid var(--g6f0-highlight);
  border-radius: 50%;
  animation: g6f0-spin 1s linear infinite;
}

@keyframes g6f0-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Lazy Loading */
.g6f0-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g6f0-lazy.g6f0-loaded {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 375px) {
  .g6f0-container {
    padding: 0 1.2rem;
  }
  
  .g6f0-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .g6f0-main-title {
    font-size: 2.4rem;
  }
  
  .g6f0-subtitle {
    font-size: 1.6rem;
  }
}

@media (max-width: 320px) {
  .g6f0-game-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .g6f0-game-item {
    padding: 0.8rem;
  }
  
  .g6f0-game-item img {
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* Animation Classes */
.g6f0-fade-in {
  animation: g6f0-fadeIn 0.5s ease-in-out;
}

@keyframes g6f0-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.g6f0-slide-up {
  animation: g6f0-slideUp 0.4s ease-out;
}

@keyframes g6f0-slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --g6f0-text: #FFFFFF;
    --g6f0-bg: #000000;
    --g6f0-border: #FFFFFF;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}