/**
 * Super Ace 2026 - Main Stylesheet
 * Prefix: gac1-
 * All classes use this prefix to avoid conflicts
 */

/* CSS Variables with prefix */
:root {
  --gac1-primary: #00FF7F;
  --gac1-secondary: #7FFF00;
  --gac1-accent: #FA8072;
  --gac1-bg-dark: #1B263B;
  --gac1-bg-darker: #0d1420;
  --gac1-text-light: #C0C0C0;
  --gac1-text-white: #ffffff;
  --gac1-brown: #8B7355;
  --gac1-gradient: linear-gradient(135deg, #00FF7F 0%, #7FFF00 100%);
  --gac1-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
  --gac1-radius: 8px;
  --gac1-radius-lg: 12px;
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container with prefix */
.gac1-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gac1-wrapper {
  width: 100%;
  padding: 1rem;
}

/* Header Styles */
.gac1-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--gac1-bg-darker);
  padding: 1rem 1.5rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 255, 127, 0.2);
  backdrop-filter: blur(10px);
}

.gac1-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gac1-logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.gac1-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gac1-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gac1-header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.gac1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--gac1-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-height: 44px;
  min-width: 44px;
}

.gac1-btn-primary {
  background: var(--gac1-gradient);
  color: var(--gac1-bg-darker);
}

.gac1-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--gac1-shadow);
}

.gac1-btn-secondary {
  background: transparent;
  color: var(--gac1-primary);
  border: 2px solid var(--gac1-primary);
}

.gac1-btn-secondary:hover {
  background: var(--gac1-primary);
  color: var(--gac1-bg-darker);
}

/* Menu Toggle */
.gac1-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 1rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.gac1-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gac1-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.gac1-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gac1-bg-darker);
  z-index: 9999;
  padding: 8rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.gac1-mobile-menu.gac1-menu-active {
  transform: translateX(0);
}

.gac1-mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.8rem;
  color: var(--gac1-text-light);
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gac1-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gac1-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 255, 127, 0.1);
  border-radius: var(--gac1-radius);
  font-size: 1.6rem;
  color: var(--gac1-text-light);
  transition: all 0.3s ease;
}

.gac1-mobile-nav a:hover {
  background: rgba(0, 255, 127, 0.2);
  color: var(--gac1-primary);
}

.gac1-mobile-nav a i {
  font-size: 2rem;
  color: var(--gac1-primary);
}

/* Main Content */
main {
  padding-top: 7rem;
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

/* Carousel Styles */
.gac1-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gac1-radius-lg);
  margin-bottom: 2rem;
}

.gac1-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.gac1-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

.gac1-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

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

.gac1-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gac1-dot-active {
  background: var(--gac1-primary);
  transform: scale(1.2);
}

/* Section Styles */
.gac1-section {
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}

.gac1-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gac1-text-white);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gac1-section-title i {
  color: var(--gac1-primary);
}

/* Game Grid */
.gac1-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gac1-game-card {
  background: var(--gac1-bg-darker);
  border-radius: var(--gac1-radius);
  padding: 0.8rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 255, 127, 0.1);
}

.gac1-game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gac1-primary);
  box-shadow: var(--gac1-shadow);
}

.gac1-game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.gac1-game-card-name {
  font-size: 1.1rem;
  color: var(--gac1-text-light);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Category Tabs */
.gac1-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  padding-left: 1.5rem;
  color: var(--gac1-primary);
  border-left: 4px solid var(--gac1-primary);
}

/* Feature Cards */
.gac1-feature-card {
  background: linear-gradient(145deg, var(--gac1-bg-darker), var(--gac1-bg-dark));
  border-radius: var(--gac1-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 255, 127, 0.15);
}

.gac1-feature-card h3 {
  font-size: 1.8rem;
  color: var(--gac1-primary);
  margin-bottom: 1rem;
}

.gac1-feature-card p {
  color: var(--gac1-text-light);
  line-height: 1.6;
}

/* Promo Links */
.gac1-promo-text {
  color: var(--gac1-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gac1-promo-text:hover {
  color: var(--gac1-secondary);
  text-decoration: underline;
}

/* Footer Styles */
.gac1-footer {
  background: var(--gac1-bg-darker);
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 255, 127, 0.2);
}

.gac1-footer-brand {
  margin-bottom: 2rem;
}

.gac1-footer-brand p {
  color: var(--gac1-text-light);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.gac1-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gac1-footer-link {
  padding: 0.8rem 1.5rem;
  background: rgba(0, 255, 127, 0.1);
  border-radius: var(--gac1-radius);
  font-size: 1.3rem;
  color: var(--gac1-text-light);
  transition: all 0.3s ease;
}

.gac1-footer-link:hover {
  background: var(--gac1-primary);
  color: var(--gac1-bg-darker);
}

.gac1-footer-copyright {
  text-align: center;
  font-size: 1.3rem;
  color: var(--gac1-brown);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(139, 115, 85, 0.3);
}

/* Bottom Navigation - Fixed Mobile Nav */
.gac1-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gac1-bg-darker);
  border-top: 1px solid rgba(0, 255, 127, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  padding: 0 0.5rem;
}

@media (min-width: 769px) {
  .gac1-bottom-nav {
    display: none;
  }
}

.gac1-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 0.5rem;
}

.gac1-nav-item:hover {
  background: rgba(0, 255, 127, 0.1);
  transform: scale(1.05);
}

.gac1-nav-item.active {
  background: rgba(0, 255, 127, 0.15);
}

.gac1-nav-item.active .gac1-nav-icon {
  color: var(--gac1-primary);
}

.gac1-nav-item.active .gac1-nav-text {
  color: var(--gac1-primary);
}

.gac1-nav-icon {
  font-size: 24px;
  color: var(--gac1-text-light);
  margin-bottom: 0.3rem;
  transition: all 0.3s ease;
}

.gac1-nav-item:hover .gac1-nav-icon {
  color: var(--gac1-primary);
  transform: scale(1.1);
}

.gac1-nav-text {
  font-size: 1rem;
  color: var(--gac1-text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

.gac1-nav-item:hover .gac1-nav-text {
  color: var(--gac1-primary);
}

/* Partner Logos */
.gac1-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.gac1-partner-logo {
  width: 60px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.gac1-partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Testimonials */
.gac1-testimonial {
  background: rgba(0, 255, 127, 0.05);
  border-radius: var(--gac1-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--gac1-primary);
}

.gac1-testimonial-text {
  font-style: italic;
  color: var(--gac1-text-light);
  margin-bottom: 1rem;
}

.gac1-testimonial-author {
  font-size: 1.3rem;
  color: var(--gac1-primary);
  font-weight: 600;
}

/* Payment Methods */
.gac1-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gac1-payment-item {
  background: var(--gac1-bg-darker);
  padding: 1.5rem;
  border-radius: var(--gac1-radius);
  text-align: center;
  border: 1px solid rgba(0, 255, 127, 0.1);
}

.gac1-payment-item i {
  font-size: 2.8rem;
  color: var(--gac1-primary);
  margin-bottom: 0.5rem;
}

.gac1-payment-item span {
  display: block;
  font-size: 1.2rem;
  color: var(--gac1-text-light);
}

/* Winner Showcase */
.gac1-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0, 255, 127, 0.05);
  padding: 1rem;
  border-radius: var(--gac1-radius);
  margin-bottom: 0.8rem;
}

.gac1-winner-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gac1-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gac1-bg-darker);
}

.gac1-winner-info {
  flex: 1;
}

.gac1-winner-name {
  font-size: 1.4rem;
  color: var(--gac1-text-white);
}

.gac1-winner-amount {
  font-size: 1.6rem;
  color: var(--gac1-primary);
  font-weight: 700;
}

/* Utility Classes */
.gac1-text-center {
  text-align: center;
}

.gac1-mb-1 {
  margin-bottom: 1rem;
}

.gac1-mb-2 {
  margin-bottom: 2rem;
}

.gac1-mt-2 {
  margin-top: 2rem;
}

.gac1-hidden-desktop {
  display: block;
}

@media (min-width: 769px) {
  .gac1-hidden-desktop {
    display: none;
  }
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .gac1-desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .gac1-desktop-nav a {
    color: var(--gac1-text-light);
    font-size: 1.4rem;
    transition: color 0.3s ease;
  }

  .gac1-desktop-nav a:hover {
    color: var(--gac1-primary);
  }

  .gac1-menu-toggle {
    display: none;
  }

  .gac1-header {
    padding: 1rem 3rem;
  }

  .gac1-container {
    max-width: 1200px;
  }

  .gac1-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  main {
    padding-top: 8rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gac1-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--gac1-bg-darker);
}

::-webkit-scrollbar-thumb {
  background: var(--gac1-primary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gac1-secondary);
}
