/* JILITT 2026 - Premium CSS Stylesheet
   All classes use prefix: g2cc-
   Mobile-first responsive design with professional gaming aesthetics */

:root {
  --g2cc-primary: #0097A7;
  --g2cc-primary-dark: #006064;
  --g2cc-primary-light: #00BCD4;
  --g2cc-secondary: #273746;
  --g2cc-success: #4CAF50;
  --g2cc-warning: #FF9800;
  --g2cc-danger: #F44336;
  --g2cc-bg-light: #E5E5E5;
  --g2cc-bg-dark: #1A1A1A;
  --g2cc-text-light: #E0FFFF;
  --g2cc-text-primary: #FFFFFF;
  --g2cc-text-secondary: #B0BEC5;
  --g2cc-accent-rose: #FFCCCB;
  --g2cc-accent-mint: #E0F2F1;
  --g2cc-border: #37474F;
  --g2cc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --g2cc-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --g2cc-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  background-color: var(--g2cc-secondary);
  color: var(--g2cc-text-primary);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
}

/* Header Navigation Styles */
.g2cc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--g2cc-primary-dark) 0%, var(--g2cc-primary) 100%);
  padding: 1.2rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: var(--g2cc-shadow);
}

.g2cc-header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--g2cc-text-primary);
  font-weight: bold;
  font-size: 1.6rem;
  min-width: 120px;
}

.g2cc-header-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.g2cc-header-title {
  display: none;
}

@media (min-width: 500px) {
  .g2cc-header-title {
    display: inline;
  }
}

.g2cc-header-buttons {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.g2cc-btn {
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--g2cc-transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.g2cc-btn-primary {
  background-color: var(--g2cc-accent-rose);
  color: var(--g2cc-secondary);
  box-shadow: var(--g2cc-shadow-sm);
}

.g2cc-btn-primary:hover {
  background-color: #FF9999;
  transform: translateY(-2px);
  box-shadow: var(--g2cc-shadow);
}

.g2cc-btn-secondary {
  background-color: var(--g2cc-accent-mint);
  color: var(--g2cc-secondary);
  box-shadow: var(--g2cc-shadow-sm);
}

.g2cc-btn-secondary:hover {
  background-color: #C0ECEC;
  transform: translateY(-2px);
  box-shadow: var(--g2cc-shadow);
}

.g2cc-menu-toggle {
  background: none;
  border: none;
  color: var(--g2cc-text-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

/* Mobile Navigation Menu */
.g2cc-mobile-nav-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--g2cc-primary);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 999;
  display: none;
  padding: 1rem 0;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.g2cc-menu-item {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.g2cc-menu-item a {
  display: block;
  padding: 1.2rem 2rem;
  color: var(--g2cc-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: background-color var(--g2cc-transition);
}

.g2cc-menu-item a:hover,
.g2cc-menu-item.g2cc-active a {
  background-color: var(--g2cc-primary-dark);
  padding-left: 2.4rem;
}

/* Main Content */
main {
  margin-top: 70px;
  padding: 0 1rem 80px 1rem;
  min-height: calc(100vh - 70px);
}

@media (min-width: 769px) {
  main {
    padding: 0 2rem 2rem 2rem;
    margin-top: 70px;
  }

  .g2cc-mobile-nav-menu {
    display: none !important;
  }
}

/* Container and Layout */
.g2cc-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.g2cc-wrapper {
  display: flex;
  flex-direction: column;
}

.g2cc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

/* Hero Section */
.g2cc-hero {
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--g2cc-shadow);
}

.g2cc-hero-content {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, var(--g2cc-primary) 0%, var(--g2cc-primary-light) 100%);
  text-align: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.g2cc-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--g2cc-text-primary);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.g2cc-hero p {
  font-size: 1.2rem;
  color: var(--g2cc-accent-mint);
  margin-bottom: 1rem;
}

/* Carousel Styles */
.g2cc-carousel-container {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--g2cc-shadow);
  height: 200px;
  background-color: var(--g2cc-border);
}

.g2cc-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.g2cc-carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.g2cc-carousel-slide.g2cc-slide-active {
  opacity: 1;
}

.g2cc-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g2cc-carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.g2cc-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color var(--g2cc-transition);
}

.g2cc-carousel-dot.g2cc-active {
  background-color: var(--g2cc-accent-rose);
}

.g2cc-carousel-prev,
.g2cc-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: background-color var(--g2cc-transition);
  z-index: 10;
}

.g2cc-carousel-prev:hover,
.g2cc-carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.g2cc-carousel-prev {
  left: 1rem;
}

.g2cc-carousel-next {
  right: 1rem;
}

/* Card Styles */
.g2cc-card {
  background-color: var(--g2cc-border);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--g2cc-shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--g2cc-transition), box-shadow var(--g2cc-transition);
}

.g2cc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--g2cc-shadow);
}

.g2cc-card-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g2cc-primary-light);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--g2cc-primary);
  padding-bottom: 0.8rem;
}

.g2cc-card-content {
  font-size: 1.3rem;
  line-height: 1.6rem;
  color: var(--g2cc-text-secondary);
}

.g2cc-card-list {
  list-style: none;
  padding: 0;
}

.g2cc-card-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.g2cc-card-list li:last-child {
  border-bottom: none;
}

.g2cc-card-list li:before {
  content: '✓';
  color: var(--g2cc-success);
  font-weight: bold;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Game Grid */
.g2cc-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.g2cc-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform var(--g2cc-transition);
}

.g2cc-game-card:hover {
  transform: scale(1.05);
}

.g2cc-game-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: var(--g2cc-shadow-sm);
  margin-bottom: 0.5rem;
}

.g2cc-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--g2cc-transition);
}

.g2cc-game-card:hover .g2cc-game-image img {
  transform: scale(1.1);
}

.g2cc-game-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g2cc-primary-light);
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.3rem;
}

/* Category Section */
.g2cc-category-section {
  margin: 2rem 0;
}

.g2cc-category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g2cc-primary-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--g2cc-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g2cc-category-icon {
  font-size: 2rem;
}

/* Footer */
.g2cc-footer {
  background-color: var(--g2cc-primary-dark);
  padding: 2rem 1rem;
  margin-top: 3rem;
  border-top: 2px solid var(--g2cc-primary);
}

.g2cc-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.g2cc-footer-section {
  margin-bottom: 1.5rem;
}

.g2cc-footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g2cc-accent-mint);
  margin-bottom: 1rem;
}

.g2cc-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.g2cc-footer-link {
  color: var(--g2cc-text-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color var(--g2cc-transition);
}

.g2cc-footer-link:hover {
  color: var(--g2cc-accent-rose);
}

.g2cc-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.g2cc-partner-icon {
  width: 100%;
  aspect-ratio: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
}

.g2cc-partner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g2cc-footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--g2cc-text-secondary);
  font-size: 1.1rem;
}

/* Bottom Navigation */
.g2cc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--g2cc-primary-dark), var(--g2cc-primary));
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0.5rem 0 0.8rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--g2cc-primary-light);
  height: 64px;
}

.g2cc-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  color: var(--g2cc-text-secondary);
  font-size: 1rem;
  padding: 0.4rem 0;
  transition: all var(--g2cc-transition);
  position: relative;
  min-height: 60px;
  cursor: pointer;
  border: none;
  background: none;
}

.g2cc-bottom-nav-btn:hover,
.g2cc-bottom-nav-btn.g2cc-active {
  color: var(--g2cc-accent-rose);
  transform: scale(1.1);
}

.g2cc-bottom-nav-btn.g2cc-active::before {
  content: '';
  position: absolute;
  top: -2px;
  width: 30px;
  height: 3px;
  background: var(--g2cc-accent-rose);
  border-radius: 1.5px;
}

.g2cc-bottom-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.g2cc-bottom-nav-label {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .g2cc-bottom-nav {
    display: none;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--g2cc-text-primary);
}

h1 {
  font-size: 2.4rem;
  text-align: center;
  color: var(--g2cc-primary-light);
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--g2cc-primary-light);
  border-bottom: 2px solid var(--g2cc-primary);
  padding-bottom: 0.8rem;
}

h3 {
  font-size: 1.6rem;
  color: var(--g2cc-text-primary);
}

p {
  margin-bottom: 1rem;
  line-height: 1.6rem;
}

a {
  color: var(--g2cc-primary-light);
  text-decoration: none;
  transition: color var(--g2cc-transition);
}

a:hover {
  color: var(--g2cc-accent-rose);
  text-decoration: underline;
}

/* Utility Classes */
.g2cc-text-center {
  text-align: center;
}

.g2cc-text-bold {
  font-weight: 700;
}

.g2cc-text-primary {
  color: var(--g2cc-primary-light);
}

.g2cc-text-accent {
  color: var(--g2cc-accent-rose);
}

.g2cc-mt-2 {
  margin-top: 2rem;
}

.g2cc-mb-2 {
  margin-bottom: 2rem;
}

.g2cc-hidden {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 430px) {
  html {
    font-size: 60%;
  }

  .g2cc-header {
    padding: 1rem 0.8rem;
  }

  .g2cc-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.8rem;
  }

  main {
    padding: 0 0.8rem 80px 0.8rem;
  }
}

@media (min-width: 431px) and (max-width: 768px) {
  .g2cc-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }

  .g2cc-container {
    max-width: 100%;
  }
}
