/* 9ph Website CSS - Mobile-First Design */
/* All classes use 'g06a-' prefix to avoid conflicts */

/* CSS Variables */
:root {
  --g06a-primary: #BAFFC9;
  --g06a-secondary: #880E4F;
  --g06a-dark: #2C2C2C;
  --g06a-accent: #AD1457;
  --g06a-light: #FFDEAD;
  --g06a-bg: #2C2C2C;
  --g06a-text: #BAFFC9;
  --g06a-text-dark: #880E4F;
  --g06a-border: #AD1457;
  --g06a-shadow: rgba(186, 255, 201, 0.3);
  --g06a-gradient: linear-gradient(135deg, #BAFFC9 0%, #FFDEAD 100%);
  --g06a-hover: #AD1457;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--g06a-text);
  background-color: var(--g06a-bg);
  overflow-x: hidden;
}

/* Container and layout */
.g06a-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

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

.g06a-grid {
  display: grid;
  gap: 1.5rem;
}

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

/* Header styles */
.g06a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--g06a-dark);
  border-bottom: 2px solid var(--g06a-border);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--g06a-shadow);
}

.g06a-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.g06a-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.g06a-nav-links {
  display: none;
}

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

.g06a-menu-toggle {
  background: none;
  border: none;
  color: var(--g06a-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.g06a-menu-toggle:hover {
  background: var(--g06a-hover);
  color: var(--g06a-light);
}

/* Mobile menu */
.g06a-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--g06a-dark);
  z-index: 1001;
  padding: 8rem 2rem 2rem;
  transition: right 0.3s ease;
  border-left: 2px solid var(--g06a-border);
}

.g06a-mobile-menu.g06a-menu-open {
  right: 0;
}

.g06a-mobile-menu .g06a-menu-item {
  display: block;
  color: var(--g06a-text);
  text-decoration: none;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--g06a-border);
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.g06a-mobile-menu .g06a-menu-item:hover {
  color: var(--g06a-primary);
}

.g06a-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 44, 44, 0.8);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.g06a-mobile-overlay.g06a-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Button styles */
.g06a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--g06a-gradient);
  color: var(--g06a-text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
}

.g06a-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--g06a-shadow);
}

.g06a-btn-primary {
  background: var(--g06a-primary);
  color: var(--g06a-text-dark);
}

.g06a-btn-secondary {
  background: var(--g06a-secondary);
  color: var(--g06a-light);
}

.g06a-btn-small {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
}

/* Main content */
.g06a-main {
  flex: 1;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Hero section */
.g06a-hero {
  padding: 2rem 0;
  text-align: center;
}

.g06a-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--g06a-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

/* Slider styles */
.g06a-slider {
  position: relative;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

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

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

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

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

.g06a-indicator.g06a-active {
  background: var(--g06a-primary);
}

/* Game sections */
.g06a-games-section {
  margin-bottom: 3rem;
}

.g06a-section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--g06a-primary);
  text-align: center;
}

.g06a-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.g06a-game-item {
  text-align: center;
  padding: 1rem;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border-radius: 12px;
  border: 1px solid var(--g06a-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.g06a-game-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--g06a-shadow);
  border-color: var(--g06a-primary);
}

.g06a-game-img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.g06a-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g06a-text);
  line-height: 1.3;
}

/* Content sections */
.g06a-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
  border-radius: 12px;
  border: 1px solid var(--g06a-border);
}

.g06a-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--g06a-primary);
}

.g06a-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--g06a-light);
}

.g06a-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.g06a-section ul {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.g06a-section li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

/* Link styles */
.g06a-link {
  color: var(--g06a-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.g06a-link:hover {
  color: var(--g06a-light);
  text-decoration: underline;
}

/* Footer styles */
.g06a-footer {
  background: var(--g06a-dark);
  border-top: 2px solid var(--g06a-border);
  padding: 3rem 0 8rem;
  margin-top: auto;
}

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

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

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

.g06a-footer-link:hover {
  color: var(--g06a-primary);
}

.g06a-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.g06a-partner-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.g06a-partner-img:hover {
  filter: grayscale(0%);
}

.g06a-copyright {
  font-size: 1.2rem;
  color: rgba(186, 255, 201, 0.7);
}

/* Mobile bottom navigation */
.g06a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--g06a-dark);
  border-top: 2px solid var(--g06a-border);
  z-index: 999;
  height: 60px;
}

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

.g06a-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--g06a-text);
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.g06a-nav-item:hover,
.g06a-nav-item.g06a-active {
  color: var(--g06a-primary);
  background: rgba(186, 255, 201, 0.1);
}

.g06a-nav-icon {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.g06a-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Animation classes */
.g06a-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.g06a-animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (min-width: 768px) {
  .g06a-container {
    max-width: 768px;
    padding: 0 2rem;
  }
  
  .g06a-nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .g06a-menu-toggle {
    display: none;
  }
  
  .g06a-games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .g06a-hero h1 {
    font-size: 3.2rem;
  }
  
  .g06a-bottom-nav {
    display: none;
  }
  
  .g06a-main {
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .g06a-container {
    max-width: 1024px;
  }
  
  .g06a-games-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

/* Utility classes */
.g06a-text-center { text-align: center; }
.g06a-text-left { text-align: left; }
.g06a-text-right { text-align: right; }
.g06a-hidden { display: none; }
.g06a-visible { display: block; }
.g06a-mb-1 { margin-bottom: 1rem; }
.g06a-mb-2 { margin-bottom: 2rem; }
.g06a-mb-3 { margin-bottom: 3rem; }
.g06a-mt-1 { margin-top: 1rem; }
.g06a-mt-2 { margin-top: 2rem; }
.g06a-mt-3 { margin-top: 3rem; }
.g06a-p-1 { padding: 1rem; }
.g06a-p-2 { padding: 2rem; }
.g06a-p-3 { padding: 3rem; }