/**
 * Betso88 Main Stylesheet
 * All classes use prefix: gd82-
 * Color Scheme: #FFB6C1 | #273746 | #FFD700 | #FF6347 | #FF0000
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --gd82-primary: #FFB6C1;
  --gd82-secondary: #FFD700;
  --gd82-accent: #FF6347;
  --gd82-danger: #FF0000;
  --gd82-dark: #273746;
  --gd82-bg-dark: #1a1a2e;
  --gd82-bg-darker: #0f0f1e;
  --gd82-text-light: #ffffff;
  --gd82-text-muted: #b8b8c8;
  --gd82-border: rgba(255, 182, 193, 0.2);
  --gd82-shadow: rgba(0, 0, 0, 0.3);
  --gd82-transition: all 0.3s ease;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--gd82-text-light);
  background: linear-gradient(135deg, var(--gd82-bg-darker) 0%, var(--gd82-dark) 100%);
  min-height: 100vh;
}

/* Container */
.gd82-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gd82-wrapper {
  width: 100%;
  padding-bottom: 8rem;
}

/* Header */
.gd82-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(39, 55, 70, 0.98) 0%, rgba(39, 55, 70, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gd82-border);
  box-shadow: 0 2px 10px var(--gd82-shadow);
}

.gd82-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  height: 6rem;
}

.gd82-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--gd82-text-light);
}

.gd82-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
}

.gd82-logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gd82-primary);
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.gd82-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gd82-btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: var(--gd82-transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.gd82-btn-primary {
  background: linear-gradient(135deg, var(--gd82-primary) 0%, #ff9fb5 100%);
  color: var(--gd82-dark);
}

.gd82-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 182, 193, 0.4);
}

.gd82-btn-secondary {
  background: linear-gradient(135deg, var(--gd82-secondary) 0%, #ffd966 100%);
  color: var(--gd82-dark);
}

.gd82-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.gd82-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gd82-text-light);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.gd82-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 28rem;
  height: 100vh;
  background: var(--gd82-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 20px var(--gd82-shadow);
}

.gd82-menu-open {
  right: 0;
}

.gd82-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--gd82-transition);
}

.gd82-overlay-active {
  opacity: 1;
  visibility: visible;
}

.gd82-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid var(--gd82-border);
}

.gd82-menu-close {
  background: transparent;
  border: none;
  color: var(--gd82-text-light);
  font-size: 2.8rem;
  cursor: pointer;
}

.gd82-nav-list {
  list-style: none;
  padding: 1rem 0;
}

.gd82-nav-item {
  border-bottom: 1px solid var(--gd82-border);
}

.gd82-nav-link {
  display: block;
  padding: 1.5rem 2rem;
  color: var(--gd82-text-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: var(--gd82-transition);
}

.gd82-nav-link:hover,
.gd82-nav-active {
  background: rgba(255, 182, 193, 0.1);
  color: var(--gd82-primary);
  padding-left: 2.5rem;
}

/* Main Content */
.gd82-main {
  margin-top: 6rem;
  padding: 2rem 0 8rem;
}

/* Carousel */
.gd82-carousel {
  position: relative;
  width: 100%;
  height: 18rem;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 1rem;
}

.gd82-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gd82-slide-active {
  opacity: 1;
}

.gd82-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.gd82-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.gd82-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--gd82-transition);
}

.gd82-dot-active {
  background: var(--gd82-primary);
  width: 2.4rem;
  border-radius: 0.4rem;
}

/* Section */
.gd82-section {
  margin-bottom: 3rem;
}

.gd82-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
}

.gd82-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gd82-secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gd82-section-icon {
  font-size: 2.4rem;
}

/* Game Grid */
.gd82-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1.5rem;
}

.gd82-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--gd82-transition);
}

.gd82-game-item:hover {
  transform: translateY(-4px);
}

.gd82-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 8px var(--gd82-shadow);
  border: 2px solid var(--gd82-border);
  transition: var(--gd82-transition);
}

.gd82-game-item:hover .gd82-game-icon {
  border-color: var(--gd82-primary);
  box-shadow: 0 4px 16px rgba(255, 182, 193, 0.3);
}

.gd82-game-name {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: var(--gd82-text-muted);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Content Card */
.gd82-card {
  background: rgba(39, 55, 70, 0.6);
  border: 1px solid var(--gd82-border);
  border-radius: 1rem;
  padding: 2rem;
  margin: 0 1.5rem 2rem;
}

.gd82-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gd82-secondary);
  margin-bottom: 1.5rem;
}

.gd82-card-content {
  color: var(--gd82-text-muted);
  line-height: 1.6;
}

.gd82-card-content p {
  margin-bottom: 1rem;
}

.gd82-card-content ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.gd82-card-content li {
  margin-bottom: 0.5rem;
}

.gd82-card-content a {
  color: var(--gd82-primary);
  text-decoration: none;
  transition: var(--gd82-transition);
}

.gd82-card-content a:hover {
  color: var(--gd82-secondary);
  text-decoration: underline;
}

/* Footer */
.gd82-footer {
  background: var(--gd82-dark);
  border-top: 1px solid var(--gd82-border);
  padding: 3rem 0 8rem;
  margin-top: 4rem;
}

.gd82-footer-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

.gd82-partner-logo {
  width: 100%;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--gd82-transition);
}

.gd82-partner-logo:hover {
  opacity: 1;
}

.gd82-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}

.gd82-footer-link {
  color: var(--gd82-text-muted);
  text-decoration: none;
  font-size: 1.3rem;
  transition: var(--gd82-transition);
}

.gd82-footer-link:hover {
  color: var(--gd82-primary);
}

.gd82-footer-copyright {
  text-align: center;
  color: var(--gd82-text-muted);
  font-size: 1.2rem;
  padding: 0 1.5rem;
}

/* Bottom Navigation */
.gd82-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(39, 55, 70, 0.95) 0%, rgba(39, 55, 70, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gd82-border);
  box-shadow: 0 -2px 10px var(--gd82-shadow);
}

.gd82-bottom-nav-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6.4rem;
}

.gd82-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  color: var(--gd82-text-muted);
  cursor: pointer;
  transition: var(--gd82-transition);
  min-width: 6rem;
  padding: 0.5rem;
}

.gd82-nav-btn:hover,
.gd82-nav-btn-active {
  color: var(--gd82-primary);
  transform: translateY(-2px);
}

.gd82-nav-icon {
  font-size: 2.4rem;
}

.gd82-nav-label {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Utility Classes */
.gd82-text-center {
  text-align: center;
}

.gd82-text-primary {
  color: var(--gd82-primary);
}

.gd82-text-secondary {
  color: var(--gd82-secondary);
}

.gd82-text-accent {
  color: var(--gd82-accent);
}

.gd82-mt-1 { margin-top: 1rem; }
.gd82-mt-2 { margin-top: 2rem; }
.gd82-mt-3 { margin-top: 3rem; }
.gd82-mb-1 { margin-bottom: 1rem; }
.gd82-mb-2 { margin-bottom: 2rem; }
.gd82-mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (min-width: 769px) {
  .gd82-bottom-nav {
    display: none;
  }

  .gd82-main {
    padding-bottom: 2rem;
  }

  .gd82-footer {
    padding-bottom: 3rem;
  }
}

/* Animations */
@keyframes gd82FadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gd82-fade-in {
  animation: gd82FadeIn 0.5s ease;
}
