/* okebet168.click - Main Stylesheet */
/* All classes use 'g65c-' prefix to avoid conflicts */

/* CSS Variables for consistent theming */
:root {
  --g65c-primary: #006400;
  --g65c-secondary: #3CB371;
  --g65c-accent: #A0522D;
  --g65c-dark: #2C2C2C;
  --g65c-light: #ffffff;
  --g65c-gray: #f8f9fa;
  --g65c-border: #e9ecef;
  --g65c-shadow: rgba(0, 0, 0, 0.1);
  --g65c-transition: all 0.3s ease;
  --g65c-radius: 8px;
  --g65c-spacing: 1rem;
  --g65c-header-height: 64px;
  --g65c-bottom-nav-height: 60px;
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--g65c-dark);
  background-color: var(--g65c-light);
  overflow-x: hidden;
}

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

.g65c-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--g65c-spacing);
}

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

/* Header styles */
.g65c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--g65c-header-height);
  background: linear-gradient(135deg, var(--g65c-primary), var(--g65c-secondary));
  box-shadow: 0 2px 10px var(--g65c-shadow);
  z-index: 1000;
}

.g65c-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--g65c-spacing);
  max-width: 430px;
  margin: 0 auto;
}

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

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

/* Button styles */
.g65c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: var(--g65c-radius);
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--g65c-transition);
  min-height: 44px; /* Touch-friendly */
  gap: 0.5rem;
}

.g65c-btn-primary {
  background: var(--g65c-accent);
  color: var(--g65c-light);
}

.g65c-btn-primary:hover {
  background: #8B4513;
  transform: translateY(-1px);
}

.g65c-btn-secondary {
  background: var(--g65c-light);
  color: var(--g65c-primary);
  border: 2px solid var(--g65c-primary);
}

.g65c-btn-secondary:hover {
  background: var(--g65c-primary);
  color: var(--g65c-light);
}

.g65c-btn-accent {
  background: var(--g65c-secondary);
  color: var(--g65c-light);
}

.g65c-btn-accent:hover {
  background: #2E8B57;
  transform: translateY(-1px);
}

/* Navigation actions */
.g65c-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g65c-nav-actions .g65c-btn {
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
}

/* Mobile menu button */
.g65c-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.g65c-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--g65c-light);
  margin: 2px 0;
  transition: var(--g65c-transition);
  transform-origin: center;
}

.g65c-menu-btn.g65c-menu-open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

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

.g65c-menu-btn.g65c-menu-open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile navigation menu */
.g65c-nav-menu {
  position: fixed;
  top: var(--g65c-header-height);
  left: 0;
  right: 0;
  background: var(--g65c-light);
  box-shadow: 0 4px 20px var(--g65c-shadow);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  max-height: calc(100vh - var(--g65c-header-height));
  overflow-y: auto;
}

.g65c-nav-menu.g65c-menu-active {
  transform: translateY(0);
}

.g65c-nav-menu a {
  display: flex;
  align-items: center;
  padding: 1.5rem var(--g65c-spacing);
  color: var(--g65c-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--g65c-border);
  transition: var(--g65c-transition);
  font-size: 1.4rem;
  gap: 1rem;
}

.g65c-nav-menu a:hover,
.g65c-nav-menu a:focus {
  background: var(--g65c-gray);
  color: var(--g65c-primary);
}

.g65c-nav-menu i {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

/* Carousel styles */
.g65c-carousel-container {
  position: relative;
  margin-bottom: 2rem;
}

.g65c-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--g65c-radius);
}

.g65c-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.g65c-carousel-slide.g65c-active {
  opacity: 1;
}

.g65c-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g65c-carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
}

.g65c-carousel-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.g65c-carousel-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
}

.g65c-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.g65c-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--g65c-border);
  cursor: pointer;
  transition: var(--g65c-transition);
}

.g65c-carousel-dot.g65c-active,
.g65c-carousel-dot:hover {
  background: var(--g65c-primary);
}

/* Card styles */
.g65c-card {
  background: var(--g65c-light);
  border-radius: var(--g65c-radius);
  box-shadow: 0 2px 10px var(--g65c-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
}

.g65c-card-header {
  padding: 2rem var(--g65c-spacing) 1rem;
  background: linear-gradient(135deg, var(--g65c-primary), var(--g65c-secondary));
  color: var(--g65c-light);
}

.g65c-card-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.g65c-card-content {
  padding: var(--g65c-spacing);
}

.g65c-card-content p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.g65c-card-content p:last-child {
  margin-bottom: 0;
}

/* Game grid styles */
.g65c-games-section {
  margin-bottom: 3rem;
}

.g65c-section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--g65c-primary);
  margin-bottom: 1.5rem;
  padding: 0 var(--g65c-spacing);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g65c-section-title i {
  font-size: 2rem;
}

.g65c-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 var(--g65c-spacing);
}

.g65c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--g65c-dark);
  transition: var(--g65c-transition);
  padding: 1rem 0.5rem;
  border-radius: var(--g65c-radius);
  background: var(--g65c-light);
  box-shadow: 0 2px 8px var(--g65c-shadow);
  min-height: 100px;
}

.g65c-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--g65c-shadow);
  color: var(--g65c-primary);
}

.g65c-game-img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  margin-bottom: 0.8rem;
  object-fit: cover;
}

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

/* Feature sections */
.g65c-features-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.g65c-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--g65c-gray);
  border-radius: var(--g65c-radius);
  border-left: 4px solid var(--g65c-primary);
}

.g65c-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--g65c-primary);
  color: var(--g65c-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.g65c-feature-content h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--g65c-primary);
  margin-bottom: 0.8rem;
}

.g65c-feature-content p {
  line-height: 1.5;
  margin-bottom: 0;
}

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

.g65c-stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--g65c-primary), var(--g65c-secondary));
  color: var(--g65c-light);
  border-radius: var(--g65c-radius);
}

.g65c-stat-number {
  font-size: 2.4rem;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.g65c-stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer styles */
.g65c-footer {
  background: var(--g65c-dark);
  color: var(--g65c-light);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

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

.g65c-footer-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--g65c-secondary);
}

.g65c-footer-desc {
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.8;
}

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

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

.g65c-footer-links a:hover,
.g65c-footer-links button:hover {
  background: var(--g65c-secondary);
  color: var(--g65c-dark);
}

.g65c-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  opacity: 0.6;
}

.g65c-partners img {
  width: 40px;
  height: 40px;
  filter: grayscale(100%);
  transition: var(--g65c-transition);
}

.g65c-partners img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.g65c-copyright {
  font-size: 1.2rem;
  opacity: 0.6;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Bottom navigation */
.g65c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--g65c-bottom-nav-height);
  background: var(--g65c-light);
  border-top: 1px solid var(--g65c-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--g65c-shadow);
}

.g65c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #666;
  font-size: 1rem;
  padding: 0.5rem;
  transition: var(--g65c-transition);
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}

.g65c-bottom-nav-item:hover,
.g65c-bottom-nav-item.g65c-active {
  color: var(--g65c-primary);
  background: rgba(0, 100, 0, 0.1);
  transform: scale(1.05);
}

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

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

/* Utility classes */
.g65c-text-center { text-align: center; }
.g65c-text-left { text-align: left; }
.g65c-text-right { text-align: right; }

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

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

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

/* Loading states */
.g65c-loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

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

@keyframes g65c-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Toast notifications */
.g65c-toast {
  position: fixed;
  top: calc(var(--g65c-header-height) + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--g65c-dark);
  color: var(--g65c-light);
  padding: 1rem 2rem;
  border-radius: var(--g65c-radius);
  font-size: 1.4rem;
  z-index: 2000;
  transition: transform 0.3s ease;
  max-width: 90%;
}

.g65c-toast.g65c-toast-show {
  transform: translateX(-50%) translateY(0);
}

.g65c-toast-success {
  background: var(--g65c-secondary);
}

.g65c-toast-error {
  background: #dc3545;
}

.g65c-toast-warning {
  background: var(--g65c-accent);
}

/* Form styles */
.g65c-form-group {
  margin-bottom: 1.5rem;
}

.g65c-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--g65c-dark);
}

.g65c-form-input {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid var(--g65c-border);
  border-radius: var(--g65c-radius);
  font-size: 1.4rem;
  transition: var(--g65c-transition);
}

.g65c-form-input:focus {
  outline: none;
  border-color: var(--g65c-primary);
  box-shadow: 0 0 0 3px rgba(0, 100, 0, 0.1);
}

.g65c-form-input.g65c-error {
  border-color: #dc3545;
}

/* Responsive design */
@media (max-width: 480px) {
  .g65c-container {
    padding: 0 1rem;
  }
  
  .g65c-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .g65c-game-img {
    width: 40px;
    height: 40px;
  }
  
  .g65c-nav-actions .g65c-btn {
    padding: 0.5rem 0.8rem;
    font-size: 1.1rem;
  }
  
  .g65c-carousel {
    height: 160px;
  }
  
  .g65c-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 58%; /* Slightly smaller on very small screens */
  }
  
  .g65c-games-grid {
    gap: 0.6rem;
  }
  
  .g65c-game-item {
    padding: 0.8rem 0.3rem;
  }
}

/* Print styles */
@media print {
  .g65c-header,
  .g65c-bottom-nav,
  .g65c-carousel,
  .g65c-toast {
    display: none;
  }
  
  .g65c-main {
    padding-top: 0;
    padding-bottom: 0;
  }
}