/**
 * WildGate Website CSS Styles
 * All classes use 'g679-' prefix to avoid conflicts
 * Mobile-first responsive design
 * Version: 1.0.0
 */

/* CSS Variables - Color Palette */
:root {
  --g679-primary: #FFA500;
  --g679-secondary: #FF8C00;
  --g679-accent: #FF4500;
  --g679-dark: #2C3E50;
  --g679-light: #DEB887;
  --g679-bg: #1a1a2e;
  --g679-text: #f4f4f4;
  --g679-text-muted: #b0b0b0;
  --g679-border: #33334d;
  --g679-shadow: rgba(0, 0, 0, 0.5);
}

/* 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(--g679-text);
  background-color: var(--g679-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.g679-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.g679-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g679-dark) 0%, #1a1a2e 100%);
  box-shadow: 0 2px 10px var(--g679-shadow);
  padding: 0.8rem 1rem;
}

.g679-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g679-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--g679-primary);
  font-size: 1.8rem;
  font-weight: bold;
}

.g679-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.g679-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.g679-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;
}

.g679-btn-register {
  background: linear-gradient(135deg, var(--g679-primary) 0%, var(--g679-secondary) 100%);
  color: #fff;
}

.g679-btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

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

.g679-btn-login:hover {
  background: var(--g679-primary);
  color: #fff;
}

.g679-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--g679-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.g679-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.g679-menu-overlay.g679-overlay-show {
  opacity: 1;
  visibility: visible;
}

.g679-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--g679-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

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

.g679-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--g679-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.g679-menu-list {
  list-style: none;
  padding: 0;
}

.g679-menu-item {
  border-bottom: 1px solid var(--g679-border);
}

.g679-menu-link {
  display: block;
  padding: 1.2rem 2rem;
  color: var(--g679-text);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.g679-menu-link:hover {
  background: var(--g679-primary);
  color: #fff;
  padding-left: 2.5rem;
}

/* Main Content */
.g679-main {
  padding-top: 70px;
  padding-bottom: 80px;
}

/* Carousel */
.g679-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin: 1.5rem 0;
}

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

.g679-carousel-slide.g679-slide-active {
  opacity: 1;
}

.g679-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Styles */
.g679-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(42, 42, 66, 0.6);
  border-radius: 8px;
  border: 1px solid var(--g679-border);
}

.g679-section-title {
  font-size: 2rem;
  color: var(--g679-primary);
  margin-bottom: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.g679-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.g679-game-item:hover {
  transform: scale(1.05);
}

.g679-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--g679-border);
  transition: border-color 0.3s ease;
}

.g679-game-item:hover .g679-game-icon {
  border-color: var(--g679-primary);
}

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

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

.g679-link:hover {
  color: var(--g679-secondary);
  text-decoration: underline;
}

.g679-promo-link {
  display: inline-block;
  color: var(--g679-accent);
  font-weight: bold;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 69, 0, 0.1);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.g679-promo-link:hover {
  background: var(--g679-accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Card Styles */
.g679-card {
  background: rgba(42, 42, 66, 0.8);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--g679-border);
}

.g679-card-title {
  font-size: 1.6rem;
  color: var(--g679-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.g679-card-content {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--g679-text);
}

/* Bottom Navigation */
.g679-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g679-dark) 0%, #1a1a2e 100%);
  border-top: 2px solid var(--g679-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 10px var(--g679-shadow);
}

.g679-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--g679-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0.5rem;
}

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

.g679-bottom-nav-item.g679-nav-active {
  color: var(--g679-primary);
}

.g679-nav-icon {
  font-size: 24px;
}

.g679-nav-text {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Footer Styles */
.g679-footer {
  background: var(--g679-dark);
  padding: 2rem 0 100px 0;
  margin-top: 3rem;
  border-top: 3px solid var(--g679-primary);
}

.g679-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.g679-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

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

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

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

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

.g679-copyright {
  text-align: center;
  color: var(--g679-text-muted);
  font-size: 1.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--g679-border);
}

/* FAQ Styles */
.g679-faq-item {
  margin: 1rem 0;
  border-bottom: 1px solid var(--g679-border);
  padding-bottom: 1rem;
}

.g679-faq-question {
  font-size: 1.5rem;
  color: var(--g679-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.g679-faq-answer {
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--g679-text);
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .g679-bottom-nav {
    display: none;
  }

  .g679-main {
    padding-bottom: 2rem;
  }

  .g679-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .g679-menu-toggle {
    display: block;
  }

  .g679-main {
    padding-bottom: 80px;
  }
}

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

.g679-mt-1 {
  margin-top: 1rem;
}

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

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

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