/**
 * ek44.click - Main Stylesheet
 * All classes use prefix "g0c9-"
 * Colors: #0F0F23 (dark bg), #F5F5F5 (light text), #36454F (charcoal), #34495E (slate), #F08080 (coral accent)
 */

:root {
  --g0c9-primary: #0F0F23;
  --g0c9-secondary: #34495E;
  --g0c9-accent: #F08080;
  --g0c9-text: #F5F5F5;
  --g0c9-charcoal: #36454F;
  --g0c9-bg-dark: #0F0F23;
  --g0c9-bg-card: #1a1a35;
  --g0c9-bg-section: #12122a;
  --g0c9-border: #2a2a4a;
  --g0c9-hover: #F08080;
  --g0c9-shadow: rgba(240, 128, 128, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--g0c9-bg-dark);
  color: var(--g0c9-text);
  line-height: 1.5rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== HEADER ==================== */
.g0c9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g0c9-primary) 0%, #1a1a40 100%);
  border-bottom: 1px solid var(--g0c9-border);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
}

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

.g0c9-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.g0c9-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g0c9-accent);
  letter-spacing: 1px;
}

.g0c9-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g0c9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 32px;
}

.g0c9-btn-register {
  background: var(--g0c9-accent);
  color: var(--g0c9-primary);
}

.g0c9-btn-register:hover {
  background: #e66a6a;
  transform: scale(1.03);
}

.g0c9-btn-login {
  background: transparent;
  color: var(--g0c9-text);
  border: 1px solid var(--g0c9-accent);
}

.g0c9-btn-login:hover {
  background: rgba(240, 128, 128, 0.1);
}

.g0c9-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--g0c9-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.4rem;
}

/* ==================== MOBILE MENU ==================== */
.g0c9-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

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

.g0c9-menu-active {
  right: 0;
}

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

.g0c9-mobile-menu ul {
  list-style: none;
  margin-top: 3rem;
}

.g0c9-mobile-menu li {
  margin-bottom: 0.3rem;
}

.g0c9-mobile-menu a {
  display: block;
  padding: 1rem 0.8rem;
  color: var(--g0c9-text);
  font-size: 1.4rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.g0c9-mobile-menu a:hover {
  background: rgba(240, 128, 128, 0.1);
  color: var(--g0c9-accent);
}

/* ==================== MAIN CONTENT ==================== */
.g0c9-main {
  margin-top: 56px;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .g0c9-main {
    padding-bottom: 80px;
  }
}

.g0c9-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.g0c9-wrapper {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ==================== CAROUSEL ==================== */
.g0c9-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 1rem 0;
}

.g0c9-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.g0c9-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.g0c9-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.g0c9-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.g0c9-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g0c9-charcoal);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.g0c9-dot-active {
  background: var(--g0c9-accent);
  transform: scale(1.2);
}

/* ==================== SECTIONS ==================== */
.g0c9-section {
  margin: 1.5rem 0;
}

.g0c9-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g0c9-accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g0c9-accent);
  display: inline-block;
}

.g0c9-section-subtitle {
  font-size: 1.3rem;
  color: var(--g0c9-text);
  margin-bottom: 0.8rem;
  opacity: 0.85;
}

/* ==================== GAME GRID ==================== */
.g0c9-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.g0c9-game-item {
  background: var(--g0c9-bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--g0c9-border);
}

.g0c9-game-item:hover {
  transform: translateY(-2px);
  border-color: var(--g0c9-accent);
  box-shadow: 0 4px 12px var(--g0c9-shadow);
}

.g0c9-game-item img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.g0c9-game-name {
  font-size: 1.1rem;
  padding: 0.4rem;
  text-align: center;
  color: var(--g0c9-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g0c9-category-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g0c9-text);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--g0c9-accent);
}

/* ==================== CARDS ==================== */
.g0c9-card {
  background: var(--g0c9-bg-card);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--g0c9-border);
}

.g0c9-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g0c9-accent);
  margin-bottom: 0.8rem;
}

.g0c9-card-text {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--g0c9-text);
  opacity: 0.9;
}

/* ==================== BUTTONS ==================== */
.g0c9-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--g0c9-accent), #d45d5d);
  color: var(--g0c9-primary);
  font-weight: 700;
  font-size: 1.4rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.g0c9-btn-promo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--g0c9-shadow);
}

.g0c9-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--g0c9-accent);
  font-weight: 600;
  font-size: 1.3rem;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  border: 2px solid var(--g0c9-accent);
  cursor: pointer;
  transition: all 0.2s ease;
}

.g0c9-btn-outline:hover {
  background: rgba(240, 128, 128, 0.1);
}

/* ==================== FOOTER ==================== */
.g0c9-footer {
  background: var(--g0c9-bg-section);
  border-top: 1px solid var(--g0c9-border);
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}

.g0c9-footer-brand {
  font-size: 1.3rem;
  color: var(--g0c9-text);
  opacity: 0.8;
  line-height: 2rem;
  margin-bottom: 1.5rem;
}

.g0c9-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.g0c9-footer-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--g0c9-bg-card);
  border: 1px solid var(--g0c9-border);
  border-radius: 6px;
  color: var(--g0c9-text);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.g0c9-footer-link:hover {
  border-color: var(--g0c9-accent);
  color: var(--g0c9-accent);
}

.g0c9-footer-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--g0c9-text);
  opacity: 0.5;
  padding-top: 1rem;
  border-top: 1px solid var(--g0c9-border);
}

/* ==================== BOTTOM NAV ==================== */
.g0c9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #141430 0%, var(--g0c9-primary) 100%);
  border-top: 1px solid var(--g0c9-border);
  height: 60px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 0.5rem;
}

.g0c9-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--g0c9-text);
  opacity: 0.7;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0.4rem;
  border-radius: 8px;
}

.g0c9-nav-btn:hover,
.g0c9-nav-btn:focus {
  opacity: 1;
  background: rgba(240, 128, 128, 0.08);
}

.g0c9-nav-btn-active {
  opacity: 1;
  color: var(--g0c9-accent);
}

.g0c9-nav-btn i,
.g0c9-nav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
}

.g0c9-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.g0c9-nav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .g0c9-bottom-nav {
    display: none;
  }
}

/* ==================== TEXT STYLES ==================== */
.g0c9-text-accent {
  color: var(--g0c9-accent);
}

.g0c9-text-bold {
  font-weight: 700;
}

.g0c9-link-text {
  color: var(--g0c9-accent);
  cursor: pointer;
  font-weight: 600;
  transition: opacity 0.2s;
}

.g0c9-link-text:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ==================== UTILITY ==================== */
.g0c9-text-center {
  text-align: center;
}

.g0c9-mt-1 { margin-top: 1rem; }
.g0c9-mt-2 { margin-top: 2rem; }
.g0c9-mb-1 { margin-bottom: 1rem; }
.g0c9-mb-2 { margin-bottom: 2rem; }

.g0c9-promo-banner {
  background: linear-gradient(135deg, rgba(240, 128, 128, 0.15), rgba(240, 128, 128, 0.05));
  border: 1px solid var(--g0c9-accent);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  margin: 1rem 0;
}

.g0c9-promo-banner h3 {
  font-size: 1.5rem;
  color: var(--g0c9-accent);
  margin-bottom: 0.5rem;
}

.g0c9-promo-banner p {
  font-size: 1.2rem;
  color: var(--g0c9-text);
  opacity: 0.9;
  margin-bottom: 0.8rem;
}

/* ==================== DESKTOP HIDDEN ITEMS ==================== */
.g0c9-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .g0c9-container,
  .g0c9-wrapper {
    max-width: 768px;
    padding: 0 2rem;
  }

  .g0c9-header-inner {
    max-width: 768px;
  }

  .g0c9-menu-toggle {
    display: none;
  }

  .g0c9-desktop-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .g0c9-desktop-nav a {
    color: var(--g0c9-text);
    font-size: 1.3rem;
    opacity: 0.85;
    transition: color 0.2s;
  }

  .g0c9-desktop-nav a:hover {
    color: var(--g0c9-accent);
  }

  .g0c9-carousel-slide img {
    height: 280px;
  }

  .g0c9-game-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .g0c9-game-item img {
    height: 100px;
  }
}

/* ==================== FAQ SECTION ==================== */
.g0c9-faq-item {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--g0c9-bg-card);
  border-radius: 8px;
  border: 1px solid var(--g0c9-border);
}

.g0c9-faq-q {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g0c9-accent);
  margin-bottom: 0.5rem;
}

.g0c9-faq-a {
  font-size: 1.2rem;
  color: var(--g0c9-text);
  opacity: 0.9;
  line-height: 1.8rem;
}

/* ==================== H TAGS ==================== */
h1.g0c9-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g0c9-text);
  margin-bottom: 1rem;
  line-height: 2.5rem;
}

h2.g0c9-h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--g0c9-accent);
  margin-bottom: 0.8rem;
}

h3.g0c9-h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--g0c9-text);
  margin-bottom: 0.6rem;
}
