/* 30jili ph - Core CSS Stylesheet */
/* All classes use vcb0- prefix for namespace isolation */

/* CSS Variables */
:root {
  --vcb0-primary: #E65100;
  --vcb0-secondary: #FFA500;
  --vcb0-accent: #FF9800;
  --vcb0-dark: #333333;
  --vcb0-light: #EEEEEE;
  --vcb0-sky: #B0E0E6;
  --vcb0-white: #FFFFFF;
  --vcb0-text-dark: #333333;
  --vcb0-text-light: #EEEEEE;
  --vcb0-shadow: rgba(0, 0, 0, 0.15);
  --vcb0-gradient: linear-gradient(135deg, #E65100 0%, #FF9800 100%);
}

/* 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(--vcb0-text-dark);
  background-color: var(--vcb0-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.vcb0-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.vcb0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--vcb0-gradient);
  box-shadow: 0 2px 10px var(--vcb0-shadow);
  transition: transform 0.3s ease;
}

.vcb0-header-hidden {
  transform: translateY(-100%);
}

.vcb0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.vcb0-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--vcb0-white);
}

.vcb0-logo-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 0.8rem;
}

.vcb0-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vcb0-white);
}

.vcb0-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.vcb0-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.vcb0-btn-primary {
  background: var(--vcb0-white);
  color: var(--vcb0-primary);
}

.vcb0-btn-secondary {
  background: transparent;
  color: var(--vcb0-white);
  border: 0.2rem solid var(--vcb0-white);
}

.vcb0-btn:hover,
.vcb0-btn:active {
  transform: scale(1.05);
  box-shadow: 0 4px 15px var(--vcb0-shadow);
}

.vcb0-touch-active {
  transform: scale(0.95) !important;
}

.vcb0-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--vcb0-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.vcb0-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--vcb0-dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.vcb0-menu-open {
  transform: translateX(0);
}

.vcb0-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--vcb0-gradient);
}

.vcb0-menu-close {
  background: none;
  border: none;
  color: var(--vcb0-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.vcb0-menu-nav {
  padding: 1rem;
}

.vcb0-menu-link {
  display: block;
  padding: 1rem;
  color: var(--vcb0-white);
  text-decoration: none;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  transition: background 0.3s ease;
}

.vcb0-menu-link:hover,
.vcb0-menu-link:active {
  background: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.vcb0-main {
  margin-top: 6rem;
  padding-bottom: 8rem;
  min-height: 100vh;
}

/* Carousel */
.vcb0-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  height: 18rem;
  overflow: hidden;
}

.vcb0-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.vcb0-carousel-slide.vcb0-active {
  opacity: 1;
}

.vcb0-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcb0-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.vcb0-carousel-indicator {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vcb0-carousel-indicator.vcb0-active {
  background: var(--vcb0-white);
  width: 2rem;
  border-radius: 0.4rem;
}

/* Section */
.vcb0-section {
  padding: 2rem 0;
}

.vcb0-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vcb0-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.vcb0-section-content {
  color: var(--vcb0-text-dark);
  line-height: 1.8;
}

/* Game Grid */
.vcb0-game-category {
  margin-bottom: 2rem;
}

.vcb0-category-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vcb0-primary);
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: var(--vcb0-white);
  border-radius: 0.4rem;
  border-left: 0.4rem solid var(--vcb0-secondary);
}

.vcb0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vcb0-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.vcb0-game-item:hover {
  transform: scale(1.05);
}

.vcb0-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.4rem;
  margin-bottom: 0.4rem;
}

.vcb0-game-name {
  font-size: 0.9rem;
  color: var(--vcb0-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  min-height: 2.2rem;
}

/* Card */
.vcb0-card {
  background: var(--vcb0-white);
  border-radius: 0.8rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px var(--vcb0-shadow);
}

.vcb0-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vcb0-primary);
  margin-bottom: 1rem;
}

/* Footer */
.vcb0-footer {
  background: var(--vcb0-dark);
  color: var(--vcb0-text-light);
  padding: 2rem 0 8rem;
}

.vcb0-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.vcb0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vcb0-footer-link {
  color: var(--vcb0-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.vcb0-footer-link:hover {
  color: var(--vcb0-accent);
}

.vcb0-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.vcb0-partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.vcb0-partner-logo:hover {
  opacity: 1;
}

.vcb0-copyright {
  text-align: center;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Bottom Navigation */
.vcb0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--vcb0-dark);
  box-shadow: 0 -2px 10px var(--vcb0-shadow);
  z-index: 1000;
  height: 6rem;
}

.vcb0-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.vcb0-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--vcb0-text-light);
  min-width: 6rem;
  min-height: 6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: none;
  padding: 0;
}

.vcb0-nav-btn:hover,
.vcb0-nav-btn:active {
  transform: scale(1.1);
  color: var(--vcb0-secondary);
}

.vcb0-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.2rem;
  transition: transform 0.3s ease;
}

.vcb0-nav-btn:hover .vcb0-nav-icon {
  transform: scale(1.1);
}

.vcb0-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

.vcb0-nav-btn.active {
  color: var(--vcb0-secondary);
}

.vcb0-nav-btn.active .vcb0-nav-icon {
  transform: scale(1.2);
}

/* FAQ Accordion */
.vcb0-accordion {
  margin-bottom: 1rem;
}

.vcb0-accordion-item {
  background: var(--vcb0-white);
  border-radius: 0.8rem;
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--vcb0-shadow);
}

.vcb0-accordion-header {
  padding: 1.2rem;
  font-weight: 600;
  color: var(--vcb0-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.vcb0-accordion-header:hover {
  background: var(--vcb0-light);
}

.vcb0-accordion-content {
  padding: 0 1.2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vcb0-accordion-content.vcb0-open {
  padding: 1.2rem;
  max-height: 500px;
}

/* Link */
.vcb0-link {
  color: var(--vcb0-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.vcb0-link:hover {
  color: var(--vcb0-secondary);
  text-decoration: underline;
}

/* Utility */
.vcb0-text-center {
  text-align: center;
}

.vcb0-mt-1 { margin-top: 1rem; }
.vcb0-mt-2 { margin-top: 2rem; }
.vcb0-mb-1 { margin-bottom: 1rem; }
.vcb0-mb-2 { margin-bottom: 2rem; }

/* Responsive */
@media (min-width: 769px) {
  .vcb0-bottom-nav {
    display: none;
  }

  .vcb0-main {
    padding-bottom: 2rem;
  }

  .vcb0-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .vcb0-menu-toggle {
    display: block;
  }
}

/* Animations */
@keyframes vcb0-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vcb0-loaded .vcb0-section {
  animation: vcb0-fadeIn 0.5s ease forwards;
}

/* H1 Title Styles */
.vcb0-h1-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vcb0-primary);
  text-align: center;
  margin: 1.5rem 0;
  padding: 0 1rem;
  line-height: 1.3;
}
