/**
 * SlotVIP PH - Theme Stylesheet
 * All classes use prefix: g65c-
 * Color Palette: #AFEEEE, #95A5A6, #FFB3BA, #0F0F23
 */

/* CSS Variables */
:root {
  --g65c-primary: #AFEEEE;
  --g65c-secondary: #95A5A6;
  --g65c-accent: #FFB3BA;
  --g65c-bg-dark: #0F0F23;
  --g65c-bg-darker: #0a0a1a;
  --g65c-text-light: #f5f5f5;
  --g65c-text-muted: #95A5A6;
  --g65c-border: rgba(175, 238, 238, 0.2);
  --g65c-shadow: rgba(15, 15, 35, 0.5);
}

/* 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, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--g65c-text-light);
  background-color: var(--g65c-bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.g65c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.g65c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g65c-bg-dark) 0%, var(--g65c-bg-darker) 100%);
  border-bottom: 2px solid var(--g65c-primary);
  box-shadow: 0 4px 20px var(--g65c-shadow);
}

.g65c-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.g65c-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g65c-primary);
}

.g65c-logo img {
  width: 32px;
  height: 32px;
}

.g65c-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.g65c-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.g65c-btn-primary {
  background: linear-gradient(135deg, var(--g65c-primary) 0%, #8edede 100%);
  color: var(--g65c-bg-dark);
}

.g65c-btn-secondary {
  background: transparent;
  color: var(--g65c-primary);
  border: 2px solid var(--g65c-primary);
}

.g65c-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(175, 238, 238, 0.3);
}

.g65c-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--g65c-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.g65c-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--g65c-bg-darker);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.g65c-mobile-menu.g65c-menu-open {
  transform: translateX(0);
}

.g65c-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--g65c-primary);
  font-size: 2.8rem;
  cursor: pointer;
}

.g65c-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.g65c-menu-link {
  display: block;
  padding: 1.2rem;
  font-size: 1.6rem;
  color: var(--g65c-text-light);
  border-bottom: 1px solid var(--g65c-border);
  transition: all 0.3s ease;
}

.g65c-menu-link:hover {
  background: rgba(175, 238, 238, 0.1);
  color: var(--g65c-primary);
  padding-left: 2rem;
}

.g65c-menu-link.g65c-active {
  color: var(--g65c-primary);
  border-left: 4px solid var(--g65c-primary);
}

/* Main Content */
main {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* Carousel */
.g65c-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 2rem;
  aspect-ratio: 16 / 9;
}

.g65c-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.g65c-carousel-slide.g65c-active {
  display: block;
}

.g65c-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g65c-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 15, 35, 0.8);
  color: var(--g65c-primary);
  border: 2px solid var(--g65c-primary);
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g65c-carousel-btn:hover {
  background: var(--g65c-primary);
  color: var(--g65c-bg-dark);
}

.g65c-carousel-prev {
  left: 1rem;
}

.g65c-carousel-next {
  right: 1rem;
}

/* Section */
.g65c-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(175, 238, 238, 0.05) 0%, rgba(15, 15, 35, 0.1) 100%);
  border-radius: 12px;
  border: 1px solid var(--g65c-border);
}

.g65c-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--g65c-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.g65c-section-content {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--g65c-text-light);
}

/* Game Grid */
.g65c-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.g65c-game-item {
  background: rgba(175, 238, 238, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--g65c-border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.g65c-game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(175, 238, 238, 0.2);
  border-color: var(--g65c-primary);
}

.g65c-game-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.g65c-game-name {
  padding: 0.8rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g65c-text-light);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Section */
.g65c-category {
  margin-bottom: 3rem;
}

.g65c-category-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g65c-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g65c-category-title i {
  font-size: 2rem;
}

/* FAQ */
.g65c-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--g65c-border);
  border-radius: 8px;
  overflow: hidden;
}

.g65c-faq-question {
  padding: 1.5rem;
  background: rgba(175, 238, 238, 0.05);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.g65c-faq-question:hover {
  background: rgba(175, 238, 238, 0.1);
}

.g65c-faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--g65c-text-light);
  line-height: 1.7;
}

.g65c-faq-item.g65c-active .g65c-faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}

.g65c-faq-icon {
  transition: transform 0.3s ease;
}

.g65c-faq-item.g65c-active .g65c-faq-icon {
  transform: rotate(180deg);
}

/* Features */
.g65c-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.g65c-feature-card {
  background: rgba(175, 238, 238, 0.05);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--g65c-border);
  text-align: center;
  transition: all 0.3s ease;
}

.g65c-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(175, 238, 238, 0.15);
  border-color: var(--g65c-primary);
}

.g65c-feature-icon {
  font-size: 3rem;
  color: var(--g65c-primary);
  margin-bottom: 1rem;
}

.g65c-feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g65c-text-light);
  margin-bottom: 0.8rem;
}

.g65c-feature-desc {
  font-size: 1.2rem;
  color: var(--g65c-text-muted);
  line-height: 1.5;
}

/* Promo Link */
.g65c-promo-link {
  color: var(--g65c-primary);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g65c-promo-link:hover {
  color: var(--g65c-accent);
}

/* Footer */
.g65c-footer {
  background: linear-gradient(135deg, var(--g65c-bg-darker) 0%, var(--g65c-bg-dark) 100%);
  padding: 3rem 1rem 8rem;
  border-top: 2px solid var(--g65c-primary);
}

.g65c-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.g65c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.g65c-footer-link {
  padding: 0.6rem 1.2rem;
  background: rgba(175, 238, 238, 0.1);
  border-radius: 6px;
  font-size: 1.2rem;
  color: var(--g65c-primary);
  transition: all 0.3s ease;
}

.g65c-footer-link:hover {
  background: var(--g65c-primary);
  color: var(--g65c-bg-dark);
}

.g65c-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.g65c-partner-logo {
  width: 5rem;
  height: 3rem;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.g65c-partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.g65c-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--g65c-text-muted);
  padding: 1rem 0;
  border-top: 1px solid var(--g65c-border);
}

/* Bottom Navigation */
.g65c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g65c-bg-darker) 0%, var(--g65c-bg-dark) 100%);
  border-top: 2px solid var(--g65c-primary);
  box-shadow: 0 -4px 20px var(--g65c-shadow);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.g65c-bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  padding: 0.5rem;
  color: var(--g65c-text-muted);
  transition: all 0.3s ease;
  position: relative;
}

.g65c-bottom-nav-link:hover {
  color: var(--g65c-primary);
  transform: scale(1.1);
}

.g65c-bottom-nav-link.g65c-active {
  color: var(--g65c-primary);
}

.g65c-bottom-nav-link.g65c-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--g65c-primary);
  border-radius: 50%;
}

.g65c-bottom-nav-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.g65c-bottom-nav-text {
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

/* Desktop Responsive */
@media (min-width: 769px) {
  .g65c-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 2rem;
  }

  .g65c-footer {
    padding-bottom: 3rem;
  }

  .g65c-menu-toggle {
    display: block;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .g65c-menu-toggle {
    display: block;
  }

  .g65c-mobile-menu {
    display: block;
  }
}
