/**
 * SMJILI Mobile-First CSS Framework
 * Gold/Cream Color Scheme for Filipino Gaming Excellence
 * CSS Class Prefix: gc06
 */

/* === ROOT VARIABLES === */
:root {
  --gc06-primary: #FFD700;
  --gc06-secondary: #FFEFD5;
  --gc06-accent: #DEB887;
  --gc06-light: #FDF5E6;
  --gc06-dark: #262626;
  --gc06-text: #1a1a1a;
  --gc06-text-light: #666;
  --gc06-white: #ffffff;
  --gc06-shadow: rgba(0, 0, 0, 0.1);
  --gc06-gradient: linear-gradient(135deg, var(--gc06-primary) 0%, var(--gc06-accent) 100%);
  --gc06-vh: 1vh;
}

/* === BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--gc06-text);
  background: var(--gc06-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* === LAYOUT CONTAINER === */
.gc06-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.gc06-wrapper {
  min-height: 100vh;
  min-height: calc(var(--gc06-vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
}

/* === HEADER STYLES === */
.gc06-header {
  background: var(--gc06-white);
  box-shadow: 0 2px 12px var(--gc06-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
}

.gc06-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 20px;
}

.gc06-logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--gc06-primary);
  text-decoration: none;
}

.gc06-logo-icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 6px;
}

.gc06-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === HAMBURGER MENU === */
.gc06-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gc06-hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--gc06-text);
  margin: 2px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

.gc06-hamburger--active .gc06-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.gc06-hamburger--active .gc06-hamburger-line:nth-child(2) {
  opacity: 0;
}

.gc06-hamburger--active .gc06-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* === MOBILE MENU === */
.gc06-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gc06-menu-overlay--active {
  opacity: 1;
  visibility: visible;
}

.gc06-mobile-menu {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 280px;
  height: calc(100vh - 60px);
  height: calc(var(--gc06-vh, 1vh) * 100 - 60px);
  background: var(--gc06-white);
  z-index: 2000;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 2px 0 12px var(--gc06-shadow);
}

.gc06-mobile-menu--active {
  left: 0;
}

.gc06-nav-list {
  list-style: none;
  padding: 20px 0;
}

.gc06-nav-item {
  margin: 0;
}

.gc06-nav-link {
  display: block;
  padding: 12px 20px;
  color: var(--gc06-text);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.gc06-nav-link:hover,
.gc06-nav-link--active {
  background: var(--gc06-secondary);
  border-left-color: var(--gc06-primary);
  color: var(--gc06-text);
}

.gc06-no-scroll {
  overflow: hidden;
}

/* === MAIN CONTENT === */
.gc06-main {
  flex: 1;
  margin-top: 60px;
  margin-bottom: 70px;
  padding: 20px 0;
  background: var(--gc06-light);
}

/* === HERO SECTION === */
.gc06-hero {
  background: var(--gc06-gradient);
  color: var(--gc06-white);
  padding: 40px 0;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.gc06-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.gc06-hero-content {
  position: relative;
  z-index: 1;
}

.gc06-hero-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.gc06-hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 24px;
}

/* === SECTION STYLES === */
.gc06-section {
  margin-bottom: 40px;
}

.gc06-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gc06-text);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* === BUTTON STYLES === */
.gc06-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--gc06-primary);
  color: var(--gc06-white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--gc06-primary);
  cursor: pointer;
  min-height: 44px;
  gap: 8px;
}

.gc06-btn:hover {
  background: var(--gc06-accent);
  border-color: var(--gc06-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(222, 184, 135, 0.3);
}

.gc06-btn--large {
  padding: 16px 32px;
  font-size: 16px;
  min-height: 52px;
}

.gc06-btn--small {
  padding: 8px 16px;
  font-size: 12px;
  min-height: 36px;
}

.gc06-btn--secondary {
  background: transparent;
  color: var(--gc06-primary);
  border-color: var(--gc06-primary);
}

.gc06-btn--secondary:hover {
  background: var(--gc06-primary);
  color: var(--gc06-white);
}

/* === GAME CARDS === */
.gc06-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gc06-game-card,
.gc06-game-item {
  background: var(--gc06-white);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px var(--gc06-shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gc06-game-card:hover,
.gc06-game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}

.gc06-game-card--touched,
.gc06-game-item--touched {
  transform: scale(0.98);
}

.gc06-game-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

.gc06-game-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gc06-text);
  margin: 0;
}

/* === FEATURES GRID === */
.gc06-features-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.gc06-feature-card {
  background: var(--gc06-white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px var(--gc06-shadow);
  text-align: center;
}

.gc06-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gc06-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gc06-white);
  font-size: 20px;
}

.gc06-feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gc06-text);
  margin-bottom: 8px;
}

.gc06-feature-text {
  font-size: 14px;
  color: var(--gc06-text-light);
  line-height: 1.5;
}

/* === STATS GRID === */
.gc06-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.gc06-stat-card {
  background: var(--gc06-white);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px var(--gc06-shadow);
  border-top: 3px solid var(--gc06-primary);
}

.gc06-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--gc06-primary);
  margin-bottom: 8px;
}

.gc06-stat-label {
  font-size: 12px;
  color: var(--gc06-text-light);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === CAROUSEL === */
.gc06-carousel {
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gc06-white);
  box-shadow: 0 2px 8px var(--gc06-shadow);
}

.gc06-carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  height: 200px;
}

.gc06-carousel-slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
}

.gc06-carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.1) 0%, rgba(222, 184, 135, 0.1) 100%);
}

.gc06-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: var(--gc06-white);
}

.gc06-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gc06-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gc06-carousel-dot--active {
  background: var(--gc06-primary);
  transform: scale(1.2);
}

/* === CONTENT TEXT === */
.gc06-content-text {
  background: var(--gc06-white);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px var(--gc06-shadow);
  margin-bottom: 24px;
}

.gc06-content-text p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gc06-text);
  margin-bottom: 16px;
}

.gc06-content-text p:last-child {
  margin-bottom: 0;
}

.gc06-content-text a {
  color: var(--gc06-primary);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.3s ease;
}

.gc06-content-text a:hover {
  text-decoration-color: var(--gc06-primary);
}

/* === UTILITY CLASSES === */
.gc06-text-center {
  text-align: center;
}

.gc06-mt-1 { margin-top: 8px; }
.gc06-mt-2 { margin-top: 16px; }
.gc06-mt-3 { margin-top: 24px; }

.gc06-mb-1 { margin-bottom: 8px; }
.gc06-mb-2 { margin-bottom: 16px; }
.gc06-mb-3 { margin-bottom: 24px; }

/* === BOTTOM NAVIGATION === */
.gc06-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gc06-white);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.gc06-bottom-nav-container {
  display: flex;
  max-width: 430px;
  margin: 0 auto;
}

.gc06-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  text-decoration: none;
  color: var(--gc06-text-light);
  transition: all 0.3s ease;
  min-height: 60px;
}

.gc06-bottom-nav-item:hover,
.gc06-bottom-nav-item--active {
  color: var(--gc06-primary);
  background: rgba(255, 215, 0, 0.1);
}

.gc06-nav-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.gc06-nav-text {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === FOOTER === */
.gc06-footer {
  background: var(--gc06-dark);
  color: var(--gc06-white);
  padding: 40px 0 20px;
  margin-top: auto;
}

.gc06-footer-content {
  text-align: center;
}

.gc06-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.gc06-footer-link {
  color: var(--gc06-white);
  font-size: 12px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.gc06-footer-link:hover {
  opacity: 1;
}

.gc06-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.gc06-partner-logo {
  height: 24px;
  opacity: 0.7;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s ease;
}

.gc06-partner-logo:hover {
  opacity: 1;
}

.gc06-copyright {
  font-size: 11px;
  opacity: 0.6;
  line-height: 1.4;
  margin: 0;
}

/* === ANIMATIONS === */
@keyframes gc06-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.gc06-animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.gc06-animated {
  opacity: 1;
  transform: translateY(0);
}

/* === LAZY LOADING === */
.gc06-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gc06-loaded {
  opacity: 1;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 375px) {
  .gc06-container {
    padding: 0 12px;
  }

  .gc06-hero-title {
    font-size: 20px;
  }

  .gc06-games-grid {
    grid-template-columns: 1fr;
  }

  .gc06-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .gc06-nav-actions {
    gap: 4px;
  }

  .gc06-btn--small {
    padding: 6px 12px;
    font-size: 11px;
  }
}