/* VIP777 Link Website Styles */
/* All classes use g76a- prefix to avoid conflicts */

/* CSS Custom Properties */
:root {
  --g76a-primary: #FFC0CB;
  --g76a-bg: #0F0F23;
  --g76a-text: #ECF0F1;
  --g76a-text-dark: #3C3C3C;
  --g76a-accent: #95A5A6;
  --g76a-border: rgba(236, 240, 241, 0.2);
  --g76a-shadow: rgba(255, 192, 203, 0.3);
  --g76a-gradient: linear-gradient(135deg, #FFC0CB, #95A5A6);
  --g76a-success: #4CAF50;
  --g76a-warning: #FF9800;
  --g76a-error: #F44336;
  --g76a-header-height: 60px;
  --g76a-bottom-nav-height: 60px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px base */
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--g76a-text);
  background: var(--g76a-bg);
  overflow-x: hidden;
}

/* Container and Layout */
.g76a-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.g76a-main {
  flex: 1;
  padding-top: var(--g76a-header-height);
  padding-bottom: calc(var(--g76a-bottom-nav-height) + 2rem);
}

/* Header Styles */
.g76a-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--g76a-bg);
  border-bottom: 2px solid var(--g76a-primary);
  height: var(--g76a-header-height);
}

.g76a-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.g76a-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--g76a-text);
  font-weight: bold;
  font-size: 1.8rem;
}

.g76a-logo img {
  width: 28px;
  height: 28px;
  margin-right: 0.8rem;
  border-radius: 4px;
}

.g76a-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu */
.g76a-hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 24px;
  height: 18px;
  justify-content: space-between;
}

.g76a-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--g76a-text);
  transition: all 0.3s ease;
}

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

.g76a-hamburger.g76a-active span:nth-child(2) {
  opacity: 0;
}

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

.g76a-mobile-menu {
  position: fixed;
  top: var(--g76a-header-height);
  left: 0;
  right: 0;
  background: var(--g76a-bg);
  border-bottom: 2px solid var(--g76a-primary);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.g76a-mobile-menu.g76a-show {
  transform: translateY(0);
}

.g76a-nav-menu {
  list-style: none;
  padding: 2rem 0;
}

.g76a-nav-item {
  border-bottom: 1px solid var(--g76a-border);
}

.g76a-nav-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--g76a-text);
  text-decoration: none;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.g76a-nav-link:hover {
  background: var(--g76a-primary);
  color: var(--g76a-text-dark);
}

.g76a-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 35, 0.8);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Button Styles */
.g76a-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  min-width: 44px;
  background: none;
  position: relative;
  overflow: hidden;
}

.g76a-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.g76a-btn:hover::before {
  left: 100%;
}

.g76a-btn-primary {
  background: var(--g76a-gradient);
  color: var(--g76a-text-dark);
  border: 1px solid var(--g76a-primary);
}

.g76a-btn-primary:hover {
  background: var(--g76a-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--g76a-shadow);
}

.g76a-btn-outline {
  background: transparent;
  color: var(--g76a-text);
  border: 2px solid var(--g76a-primary);
}

.g76a-btn-outline:hover {
  background: var(--g76a-primary);
  color: var(--g76a-text-dark);
}

.g76a-btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.6rem;
  border-radius: 12px;
}

.g76a-btn-small {
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
}

/* Card Styles */
.g76a-card {
  background: rgba(255, 192, 203, 0.1);
  border: 1px solid var(--g76a-border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.g76a-section {
  margin-bottom: 3rem;
}

.g76a-section h2 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--g76a-primary);
  text-align: center;
}

.g76a-section h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--g76a-text);
}

.g76a-section p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Hero Section */
.g76a-hero {
  text-align: center;
  padding: 4rem 0;
  background: var(--g76a-gradient);
  margin: -1.5rem -1.5rem 3rem;
  border-radius: 0 0 20px 20px;
  color: var(--g76a-text-dark);
}

.g76a-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.g76a-hero p {
  font-size: 1.6rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* Carousel Styles */
.g76a-carousel {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
}

.g76a-carousel-slide {
  display: none;
  cursor: pointer;
  transition: all 0.5s ease;
}

.g76a-carousel-slide.g76a-active {
  display: block;
}

.g76a-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.g76a-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.g76a-carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--g76a-primary);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g76a-carousel-indicator.g76a-active,
.g76a-carousel-indicator:hover {
  background: var(--g76a-primary);
}

/* Game Grid */
.g76a-game-category {
  margin-bottom: 3rem;
}

.g76a-game-category h3 {
  font-size: 2rem;
  color: var(--g76a-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.g76a-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.g76a-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 192, 203, 0.05);
  border: 1px solid var(--g76a-border);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 44px;
}

.g76a-game-item:hover {
  background: var(--g76a-primary);
  color: var(--g76a-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--g76a-shadow);
}

.g76a-game-item img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  object-fit: cover;
}

.g76a-game-name {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  color: inherit;
  line-height: 1.2;
}

/* Statistics Grid */
.g76a-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.g76a-stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 192, 203, 0.1);
  border-radius: 12px;
  border: 1px solid var(--g76a-border);
}

.g76a-stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--g76a-primary);
  margin-bottom: 0.5rem;
}

.g76a-stat-label {
  font-size: 1.2rem;
  color: var(--g76a-text);
  opacity: 0.8;
}

/* Feature List */
.g76a-feature-list {
  list-style: none;
  margin: 2rem 0;
}

.g76a-feature-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(255, 192, 203, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--g76a-primary);
}

.g76a-feature-icon {
  font-size: 2rem;
  color: var(--g76a-primary);
  margin-right: 1.5rem;
  min-width: 24px;
}

.g76a-feature-content h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--g76a-text);
}

.g76a-feature-content p {
  margin: 0;
  opacity: 0.9;
}

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

.g76a-faq-question {
  background: rgba(255, 192, 203, 0.1);
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--g76a-text);
  font-size: 1.4rem;
}

.g76a-faq-question:hover {
  background: rgba(255, 192, 203, 0.2);
}

.g76a-faq-answer {
  padding: 1.5rem;
  background: rgba(255, 192, 203, 0.05);
  border-top: 1px solid var(--g76a-border);
}

/* Utility Classes */
.g76a-text-center {
  text-align: center;
}

.g76a-text-left {
  text-align: left;
}

.g76a-text-right {
  text-align: right;
}

.g76a-mt-sm { margin-top: 1rem; }
.g76a-mt-md { margin-top: 2rem; }
.g76a-mt-lg { margin-top: 3rem; }
.g76a-mb-sm { margin-bottom: 1rem; }
.g76a-mb-md { margin-bottom: 2rem; }
.g76a-mb-lg { margin-bottom: 3rem; }

.g76a-p-sm { padding: 1rem; }
.g76a-p-md { padding: 2rem; }
.g76a-p-lg { padding: 3rem; }

.g76a-hidden {
  display: none !important;
}

.g76a-visible {
  display: block !important;
}

/* Footer */
.g76a-footer {
  background: var(--g76a-bg);
  border-top: 2px solid var(--g76a-primary);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

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

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

.g76a-footer-link {
  color: var(--g76a-text);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.g76a-footer-link:hover {
  color: var(--g76a-primary);
}

.g76a-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--g76a-border);
  border-bottom: 1px solid var(--g76a-border);
}

.g76a-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.g76a-partner-logo:hover {
  opacity: 1;
}

.g76a-copyright {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-top: 2rem;
}

.g76a-copyright p {
  margin-bottom: 0.5rem;
}

/* Bottom Navigation */
.g76a-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--g76a-bg);
  border-top: 2px solid var(--g76a-primary);
  z-index: 1000;
  height: var(--g76a-bottom-nav-height);
}

.g76a-bottom-nav-container {
  display: flex;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.g76a-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--g76a-text);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
}

.g76a-bottom-nav-item:hover,
.g76a-bottom-nav-item.g76a-active {
  color: var(--g76a-primary);
  background: rgba(255, 192, 203, 0.1);
}

.g76a-nav-icon {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.g76a-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Image Loading */
.g76a-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g76a-loaded {
  opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 430px) {
  .g76a-container {
    padding: 0 1rem;
  }
  
  .g76a-hero h1 {
    font-size: 2.4rem;
  }
  
  .g76a-hero p {
    font-size: 1.4rem;
  }
  
  .g76a-game-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.8rem;
  }
  
  .g76a-game-item {
    padding: 0.8rem;
  }
  
  .g76a-game-item img {
    width: 40px;
    height: 40px;
  }
  
  .g76a-game-name {
    font-size: 1rem;
  }
  
  .g76a-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .g76a-stat-item {
    padding: 1.5rem 1rem;
  }
  
  .g76a-footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Animation Classes */
.g76a-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.g76a-animate.g76a-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading States */
.g76a-loading {
  position: relative;
  pointer-events: none;
}

.g76a-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--g76a-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: g76a-spin 1s linear infinite;
}

@keyframes g76a-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --g76a-primary: #FF69B4;
    --g76a-border: rgba(236, 240, 241, 0.5);
    --g76a-text: #FFFFFF;
  }
}