/* Root variables for ph799 app download apk theme */
:root {
  --gc2c-primary: #ADD8E6;
  --gc2c-secondary: #DEB887;
  --gc2c-dark: #141414;
  --gc2c-light: #B0E0E6;
  --gc2c-accent: #D4AF37;
  --gc2c-bg: #141414;
  --gc2c-text: #B0E0E6;
  --gc2c-text-light: #ADD8E6;
  --gc2c-border: rgba(173, 216, 230, 0.2);
  --gc2c-shadow: rgba(0, 0, 0, 0.3);
  --gc2c-transition: all 0.3s ease;
  --gc2c-border-radius: 8px;
  --gc2c-font-size-base: 62.5%;
  --vh: 1vh;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--gc2c-font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--gc2c-text);
  background-color: var(--gc2c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout containers */
.gc2c-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.gc2c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.gc2c-main {
  flex: 1;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

/* Header and Navigation */
.gc2c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--gc2c-dark), rgba(20, 20, 20, 0.95));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gc2c-border);
}

.gc2c-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  height: 5.6rem;
}

.gc2c-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--gc2c-primary);
  font-weight: 700;
  font-size: 1.6rem;
}

.gc2c-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
}

.gc2c-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gc2c-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.gc2c-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--gc2c-primary);
  margin: 2px 0;
  transition: var(--gc2c-transition);
  border-radius: 1px;
}

.gc2c-menu-btn.gc2c-menu-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.gc2c-menu-btn.gc2c-menu-active span:nth-child(2) {
  opacity: 0;
}

.gc2c-menu-btn.gc2c-menu-active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Menu */
.gc2c-nav-menu {
  position: fixed;
  top: 5.6rem;
  left: 0;
  right: 0;
  background: var(--gc2c-dark);
  border-bottom: 1px solid var(--gc2c-border);
  transform: translateY(-100%);
  transition: var(--gc2c-transition);
  opacity: 0;
  z-index: 999;
}

.gc2c-nav-menu.gc2c-nav-active {
  transform: translateY(0);
  opacity: 1;
}

.gc2c-nav-menu a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  color: var(--gc2c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--gc2c-border);
  transition: var(--gc2c-transition);
}

.gc2c-nav-menu a:hover {
  background: rgba(173, 216, 230, 0.1);
  color: var(--gc2c-primary);
}

.gc2c-nav-menu i {
  font-size: 1.6rem;
  width: 2rem;
}

/* Buttons */
.gc2c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: var(--gc2c-border-radius);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--gc2c-transition);
  min-height: 4.4rem;
  text-align: center;
  line-height: 1;
}

.gc2c-btn-primary {
  background: linear-gradient(135deg, var(--gc2c-primary), var(--gc2c-light));
  color: var(--gc2c-dark);
  box-shadow: 0 2px 8px rgba(173, 216, 230, 0.3);
}

.gc2c-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(173, 216, 230, 0.4);
}

.gc2c-btn-secondary {
  background: linear-gradient(135deg, var(--gc2c-secondary), var(--gc2c-accent));
  color: var(--gc2c-dark);
  box-shadow: 0 2px 8px rgba(222, 184, 135, 0.3);
}

.gc2c-btn-accent {
  background: linear-gradient(135deg, var(--gc2c-accent), #FFD700);
  color: var(--gc2c-dark);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.gc2c-btn:active {
  transform: scale(0.98);
}

/* Cards */
.gc2c-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(173, 216, 230, 0.05));
  border: 1px solid var(--gc2c-border);
  border-radius: var(--gc2c-border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

.gc2c-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gc2c-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.gc2c-card-content {
  line-height: 1.6;
}

/* Carousel */
.gc2c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gc2c-border-radius);
  margin-bottom: 2rem;
}

.gc2c-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.gc2c-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.gc2c-slide img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}

.gc2c-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.gc2c-slide-content h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gc2c-slide-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

/* Game Grid */
.gc2c-games-section {
  margin-bottom: 3rem;
}

.gc2c-games-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gc2c-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gc2c-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gc2c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gc2c-text);
  transition: var(--gc2c-transition);
  padding: 1rem;
  border-radius: var(--gc2c-border-radius);
  background: rgba(173, 216, 230, 0.05);
  border: 1px solid var(--gc2c-border);
}

.gc2c-game-item:hover {
  transform: translateY(-3px);
  background: rgba(173, 216, 230, 0.1);
  box-shadow: 0 4px 15px var(--gc2c-shadow);
}

.gc2c-game-item.gc2c-touched {
  transform: scale(0.95);
  background: rgba(173, 216, 230, 0.15);
}

.gc2c-game-img {
  width: 5rem;
  height: 5rem;
  border-radius: var(--gc2c-border-radius);
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.gc2c-game-name {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Statistics Grid */
.gc2c-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.gc2c-stat-item {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.1), rgba(212, 175, 55, 0.1));
  border: 1px solid var(--gc2c-border);
  border-radius: var(--gc2c-border-radius);
  padding: 1.5rem;
  text-align: center;
}

.gc2c-stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gc2c-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gc2c-stat-label {
  font-size: 1.2rem;
  color: var(--gc2c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features List */
.gc2c-features-list {
  list-style: none;
  margin: 2rem 0;
}

.gc2c-features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gc2c-border);
}

.gc2c-features-list li:last-child {
  border-bottom: none;
}

.gc2c-features-list i {
  font-size: 1.8rem;
  color: var(--gc2c-accent);
  width: 2.5rem;
  text-align: center;
}

/* FAQ Section */
.gc2c-faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--gc2c-border);
  border-radius: var(--gc2c-border-radius);
  overflow: hidden;
}

.gc2c-faq-question {
  background: rgba(173, 216, 230, 0.1);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--gc2c-primary);
  cursor: pointer;
  position: relative;
}

.gc2c-faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  transition: var(--gc2c-transition);
}

.gc2c-faq-answer {
  padding: 1.5rem;
  background: rgba(20, 20, 20, 0.5);
  line-height: 1.6;
}

/* Partners */
.gc2c-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.gc2c-partner-logo {
  width: 6rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--gc2c-transition);
  filter: grayscale(100%);
}

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

/* Footer */
.gc2c-footer {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), var(--gc2c-dark));
  border-top: 1px solid var(--gc2c-border);
  padding: 3rem 0 8rem;
  margin-top: auto;
}

.gc2c-footer-content {
  text-align: center;
}

.gc2c-footer-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gc2c-primary);
  margin-bottom: 1rem;
}

.gc2c-footer-desc {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.gc2c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gc2c-footer-links a, .gc2c-footer-links button {
  font-size: 1.2rem;
  color: var(--gc2c-text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gc2c-border);
  border-radius: var(--gc2c-border-radius);
  background: transparent;
  cursor: pointer;
  transition: var(--gc2c-transition);
}

.gc2c-footer-links a:hover, .gc2c-footer-links button:hover {
  background: rgba(173, 216, 230, 0.1);
  color: var(--gc2c-primary);
}

.gc2c-copyright {
  font-size: 1.1rem;
  opacity: 0.7;
  margin-top: 2rem;
}

/* Bottom Navigation */
.gc2c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gc2c-dark), rgba(20, 20, 20, 0.98));
  border-top: 1px solid var(--gc2c-border);
  display: flex;
  justify-content: space-around;
  padding: 0.8rem 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.gc2c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gc2c-text);
  transition: var(--gc2c-transition);
  padding: 0.5rem;
  border-radius: var(--gc2c-border-radius);
  min-width: 4.4rem;
}

.gc2c-bottom-nav-item i {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.gc2c-bottom-nav-item span {
  font-size: 1rem;
  font-weight: 500;
}

.gc2c-bottom-nav-item:hover,
.gc2c-nav-active {
  color: var(--gc2c-primary);
  transform: translateY(-2px);
}

/* Utility Classes */
.gc2c-text-center { text-align: center; }
.gc2c-text-left { text-align: left; }
.gc2c-text-right { text-align: right; }

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

.gc2c-p-1 { padding: 1rem; }
.gc2c-p-2 { padding: 2rem; }

.gc2c-hidden { display: none; }
.gc2c-visible { display: block; }

/* Animations */
@keyframes gc2c-fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gc2c-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.gc2c-fade-in {
  animation: gc2c-fadeIn 0.6s ease forwards;
}

.gc2c-pulse {
  animation: gc2c-pulse 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 380px) {
  .gc2c-container {
    padding: 0 0.8rem;
  }
  
  .gc2c-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .gc2c-game-img {
    width: 4rem;
    height: 4rem;
  }
  
  .gc2c-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
  }
}

@media (min-width: 431px) {
  .gc2c-container {
    max-width: 100%;
    padding: 0 2rem;
  }
  
  .gc2c-main {
    padding-top: 8rem;
  }
  
  .gc2c-games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .gc2c-bottom-nav {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gc2c-border: rgba(173, 216, 230, 0.8);
    --gc2c-shadow: rgba(0, 0, 0, 0.8);
  }
  
  .gc2c-btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  
  .gc2c-carousel .gc2c-slides {
    transition: none;
  }
}