/* FFF777 Main Stylesheet
 * All classes use g260- prefix for namespace isolation
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --g260-primary: #FF9800;
  --g260-primary-dark: #F57C00;
  --g260-primary-light: #FFB74D;
  --g260-secondary: #778899;
  --g260-bg-dark: #0D1117;
  --g260-bg-medium: #3C3C3C;
  --g260-bg-light: #BDC3C7;
  --g260-text-primary: #FFFFFF;
  --g260-text-secondary: #E0E0E0;
  --g260-text-muted: #B0B0B0;
  --g260-border: #4A4A4A;
  --g260-shadow: rgba(0, 0, 0, 0.3);
  --g260-gradient: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
  --g260-header-height: 60px;
  --g260-bottom-nav-height: 60px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  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(--g260-text-primary);
  background-color: var(--g260-bg-dark);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container */
.g260-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  background-color: var(--g260-bg-dark);
}

/* Header */
.g260-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--g260-header-height);
  background-color: var(--g260-bg-medium);
  box-shadow: 0 2px 10px var(--g260-shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.g260-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--g260-text-primary);
  font-size: 1.8rem;
  font-weight: 700;
}

.g260-logo-icon {
  width: 28px;
  height: 28px;
}

.g260-header-actions {
  display: flex;
  gap: 0.8rem;
}

.g260-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.g260-btn-primary {
  background: var(--g260-gradient);
  color: var(--g260-text-primary);
}

.g260-btn-primary:hover {
  background: var(--g260-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

.g260-btn-secondary {
  background-color: transparent;
  color: var(--g260-primary);
  border: 2px solid var(--g260-primary);
}

.g260-btn-secondary:hover {
  background-color: var(--g260-primary);
  color: var(--g260-text-primary);
}

.g260-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--g260-text-primary);
  font-size: 2rem;
}

/* Mobile Menu */
.g260-mobile-menu {
  position: fixed;
  top: var(--g260-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--g260-bg-dark);
  z-index: 9999;
  padding: 2rem 1rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.g260-mobile-menu.g260-menu-open {
  transform: translateX(0);
}

.g260-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g260-border);
}

.g260-menu-close {
  background: none;
  border: none;
  color: var(--g260-text-primary);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.g260-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.g260-menu-link {
  padding: 1.2rem 1.5rem;
  background-color: var(--g260-bg-medium);
  color: var(--g260-text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.g260-menu-link:hover {
  background-color: var(--g260-primary);
  transform: translateX(5px);
}

/* Main Content */
.g260-main {
  margin-top: var(--g260-header-height);
  min-height: calc(100vh - var(--g260-header-height) - var(--g260-bottom-nav-height));
  padding-bottom: 80px;
}

/* Slider */
.g260-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.g260-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.g260-slide.g260-slide-active {
  opacity: 1;
}

.g260-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g260-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.g260-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.g260-dot.g260-dot-active {
  background-color: var(--g260-primary);
  transform: scale(1.3);
}

/* Headings */
.g260-h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--g260-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.g260-h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--g260-text-primary);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--g260-primary);
}

.g260-h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--g260-text-secondary);
  margin: 1.5rem 0 0.8rem;
}

/* Content Sections */
.g260-section {
  padding: 1.5rem 0;
  margin-bottom: 1rem;
}

.g260-card {
  background-color: var(--g260-bg-medium);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px var(--g260-shadow);
}

.g260-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--g260-primary);
  margin-bottom: 1rem;
}

/* Game Grid */
.g260-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.g260-game-item {
  background-color: var(--g260-bg-medium);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.g260-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.3);
}

.g260-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.g260-game-name {
  padding: 0.6rem 0.4rem;
  font-size: 1.1rem;
  color: var(--g260-text-primary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

/* Category Title */
.g260-category-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--g260-primary);
  margin: 2rem 0 1rem;
}

.g260-category-icon {
  font-size: 2rem;
}

/* Text Links */
.g260-link {
  color: var(--g260-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.g260-link:hover {
  color: var(--g260-primary-light);
  text-decoration: underline;
}

/* Footer */
.g260-footer {
  background-color: var(--g260-bg-medium);
  padding: 2rem 1rem 8rem;
  margin-top: 3rem;
}

.g260-footer-text {
  color: var(--g260-text-secondary);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.g260-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.g260-footer-link {
  color: var(--g260-primary);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.g260-footer-link:hover {
  color: var(--g260-primary-light);
}

.g260-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.g260-partner-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.g260-partner-logo:hover {
  opacity: 1;
}

.g260-copyright {
  text-align: center;
  color: var(--g260-text-muted);
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--g260-border);
}

/* Bottom Navigation */
.g260-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--g260-bottom-nav-height);
  background: linear-gradient(180deg, rgba(61, 61, 61, 0.98) 0%, rgba(13, 17, 23, 0.98) 100%);
  border-top: 2px solid var(--g260-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.5rem;
  box-shadow: 0 -4px 12px rgba(255, 152, 0, 0.2);
}

.g260-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--g260-text-secondary);
  transition: all 0.3s ease;
  border-radius: 8px;
}

.g260-nav-item:hover {
  background-color: rgba(255, 152, 0, 0.1);
  color: var(--g260-primary);
  transform: scale(1.05);
}

.g260-nav-item.g260-nav-active {
  color: var(--g260-primary);
  background-color: rgba(255, 152, 0, 0.15);
}

.g260-nav-icon {
  font-size: 24px;
  margin-bottom: 0.3rem;
}

.g260-nav-text {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

/* Promo Button */
.g260-promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--g260-gradient);
  color: var(--g260-text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
  cursor: pointer;
  border: none;
  width: 100%;
  max-width: 300px;
}

.g260-promo-btn:hover {
  background: var(--g260-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.5);
}

/* Text Content */
.g260-text {
  color: var(--g260-text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.g260-text-muted {
  color: var(--g260-text-muted);
  font-size: 1.4rem;
}

/* List Styles */
.g260-list {
  list-style: none;
  padding-left: 0;
}

.g260-list-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--g260-border);
  color: var(--g260-text-secondary);
  font-size: 1.5rem;
}

.g260-list-item:last-child {
  border-bottom: none;
}

/* FAQ Styles */
.g260-faq-item {
  background-color: var(--g260-bg-medium);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.g260-faq-question {
  padding: 1.2rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--g260-text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.g260-faq-answer {
  padding: 0 1.5rem 1.2rem;
  font-size: 1.4rem;
  color: var(--g260-text-secondary);
  line-height: 1.6;
}

/* Responsive */
@media (min-width: 769px) {
  .g260-bottom-nav {
    display: none;
  }

  .g260-main {
    padding-bottom: 2rem;
  }

  .g260-menu-toggle {
    display: none;
  }
}

/* Utility Classes */
.g260-text-center {
  text-align: center;
}

.g260-mt-1 {
  margin-top: 1rem;
}

.g260-mt-2 {
  margin-top: 2rem;
}

.g260-mb-1 {
  margin-bottom: 1rem;
}

.g260-mb-2 {
  margin-bottom: 2rem;
}

.g260-p-1 {
  padding: 1rem;
}

.g260-p-2 {
  padding: 2rem;
}
