/**
 * okebet.css - Core Stylesheet
 * All classes use g115- prefix for namespace isolation
 * Color Palette: #E0F2F1 | #00E5FF | #1C2833 | #40E0D0 | #00CED1
 * Website: okebet.cfd
 */

/* CSS Variables */
:root {
  --g115-primary: #00CED1;
  --g115-secondary: #40E0D0;
  --g115-accent: #00E5FF;
  --g115-bg-dark: #1C2833;
  --g115-bg-card: #1a2332;
  --g115-bg-section: #0f1923;
  --g115-text-light: #E0F2F1;
  --g115-text-muted: #8aa5b8;
  --g115-text-white: #ffffff;
  --g115-border: #2a3a4a;
  --g115-gradient-start: #00CED1;
  --g115-gradient-end: #00E5FF;
  --g115-shadow: 0 4px 15px rgba(0, 206, 209, 0.15);
  --g115-radius: 8px;
  --g115-radius-lg: 12px;
  --g115-header-height: 56px;
  --g115-bottom-nav-height: 60px;
  --g115-max-width: 430px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--g115-bg-dark);
  color: var(--g115-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: var(--g115-max-width);
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--g115-accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--g115-secondary); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.g115-container {
  width: 100%;
  max-width: var(--g115-max-width);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* Header */
.g115-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--g115-max-width);
  height: var(--g115-header-height);
  background: linear-gradient(135deg, #0d1520 0%, #1a2a3a 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 1px solid var(--g115-border);
  transition: background 0.3s, box-shadow 0.3s;
}

.g115-header-scrolled {
  box-shadow: 0 2px 20px rgba(0, 206, 209, 0.2);
  background: linear-gradient(135deg, #0a1018 0%, #15222e 100%);
}

.g115-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g115-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.g115-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g115-primary);
  letter-spacing: 0.5px;
}

.g115-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g115-btn-register {
  background: linear-gradient(135deg, var(--g115-primary), var(--g115-accent));
  color: #0a1520;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.g115-btn-register:hover { transform: scale(1.05); box-shadow: 0 2px 12px rgba(0, 206, 209, 0.4); }

.g115-btn-login {
  background: transparent;
  color: var(--g115-accent);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--g115-accent);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.g115-btn-login:hover { background: rgba(0, 229, 255, 0.1); }

/* Hamburger */
.g115-hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  z-index: 10001;
}

.g115-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--g115-text-light);
  border-radius: 2px;
  transition: all 0.3s;
}

.g115-hamburger-active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.g115-hamburger-active span:nth-child(2) { opacity: 0; }
.g115-hamburger-active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile Menu */
.g115-mobile-menu {
  display: none;
  position: fixed;
  top: var(--g115-header-height);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--g115-max-width);
  background: #0d1520;
  border-bottom: 2px solid var(--g115-primary);
  z-index: 9999;
  padding: 1rem 0;
}

.g115-mobile-menu a {
  display: block;
  padding: 1rem 1.6rem;
  color: var(--g115-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(42, 58, 74, 0.5);
  transition: background 0.2s, color 0.2s;
}

.g115-mobile-menu a:hover {
  background: rgba(0, 206, 209, 0.1);
  color: var(--g115-primary);
}

/* Main Content */
.g115-main {
  padding-top: var(--g115-header-height);
  min-height: 100vh;
}

@media (max-width: 768px) {
  .g115-main { padding-bottom: calc(var(--g115-bottom-nav-height) + 20px); }
}

/* Carousel */
.g115-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g115-radius-lg) var(--g115-radius-lg);
}

.g115-slides-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

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

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

.g115-slide-active { opacity: 1; }

.g115-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.g115-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.g115-dot-active { background: var(--g115-primary); transform: scale(1.3); }

/* Section titles */
.g115-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g115-text-white);
  margin: 2rem 0 1rem;
  padding-left: 1.2rem;
  border-left: 3px solid var(--g115-primary);
  line-height: 1.4;
}

.g115-section-subtitle {
  font-size: 1.3rem;
  color: var(--g115-text-muted);
  margin-bottom: 1.2rem;
  padding: 0 1.2rem;
}

/* Game Grid */
.g115-game-section {
  padding: 0.5rem 0;
}

.g115-game-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g115-accent);
  margin: 1.5rem 0 1rem;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g115-game-category-title i { font-size: 1.6rem; }

.g115-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 1rem;
}

.g115-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

.g115-game-item:hover { transform: translateY(-3px); }

.g115-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g115-radius);
  overflow: hidden;
  border: 1.5px solid var(--g115-border);
  transition: border-color 0.2s;
  background: var(--g115-bg-card);
}

.g115-game-item:hover .g115-game-icon { border-color: var(--g115-primary); }

.g115-game-icon img { width: 100%; height: 100%; object-fit: cover; }

.g115-game-name {
  font-size: 1rem;
  color: var(--g115-text-muted);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Content Sections */
.g115-content-section {
  padding: 1.5rem 1.2rem;
  background: var(--g115-bg-section);
  margin: 1rem 0;
  border-radius: var(--g115-radius-lg);
}

.g115-content-section h2 {
  font-size: 1.7rem;
  color: var(--g115-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.g115-content-section h3 {
  font-size: 1.4rem;
  color: var(--g115-accent);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.g115-content-section p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--g115-text-light);
  margin-bottom: 0.8rem;
}

/* CTA / Promo Buttons */
.g115-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g115-primary), var(--g115-accent));
  color: #0a1520;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.g115-cta-btn:hover { transform: scale(1.05); box-shadow: 0 4px 20px rgba(0, 206, 209, 0.4); color: #0a1520; }

.g115-text-link {
  color: var(--g115-accent);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.g115-text-link:hover { color: var(--g115-primary); }

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

.g115-stat-card {
  background: var(--g115-bg-card);
  border: 1px solid var(--g115-border);
  border-radius: var(--g115-radius);
  padding: 1rem;
  text-align: center;
}

.g115-stat-card .g115-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g115-primary);
}

.g115-stat-card .g115-stat-label {
  font-size: 1.1rem;
  color: var(--g115-text-muted);
  margin-top: 0.3rem;
}

/* Testimonials */
.g115-testimonial {
  background: var(--g115-bg-card);
  border: 1px solid var(--g115-border);
  border-radius: var(--g115-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
}

.g115-testimonial-author {
  font-weight: 700;
  color: var(--g115-accent);
  font-size: 1.2rem;
}

.g115-testimonial-text {
  font-size: 1.2rem;
  color: var(--g115-text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.g115-testimonial-stars { color: #FFD700; font-size: 1.2rem; margin-bottom: 0.3rem; }

/* Payment Methods */
.g115-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.g115-payment-item {
  background: var(--g115-bg-card);
  border: 1px solid var(--g115-border);
  border-radius: var(--g115-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--g115-text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Winners */
.g115-winners-list {
  background: var(--g115-bg-card);
  border: 1px solid var(--g115-border);
  border-radius: var(--g115-radius);
  overflow: hidden;
}

.g115-winner-row {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--g115-border);
  font-size: 1.2rem;
}

.g115-winner-row:last-child { border-bottom: none; }

.g115-winner-name { color: var(--g115-accent); font-weight: 600; }
.g115-winner-game { color: var(--g115-text-muted); }
.g115-winner-amount { color: #FFD700; font-weight: 700; }

/* Footer */
.g115-footer {
  background: #0a1018;
  padding: 2rem 1.2rem 3rem;
  border-top: 1px solid var(--g115-border);
}

.g115-footer-brand {
  font-size: 1.3rem;
  color: var(--g115-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.g115-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.g115-footer-links a {
  background: var(--g115-bg-card);
  border: 1px solid var(--g115-border);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.1rem;
  color: var(--g115-text-light);
  transition: border-color 0.2s, color 0.2s;
}

.g115-footer-links a:hover { border-color: var(--g115-primary); color: var(--g115-primary); }

.g115-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.g115-footer-partners img {
  height: 24px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.g115-footer-partners img:hover { opacity: 1; }

.g115-footer-copyright {
  font-size: 1.1rem;
  color: var(--g115-text-muted);
  text-align: center;
  border-top: 1px solid var(--g115-border);
  padding-top: 1rem;
}

/* Bottom Navigation */
.g115-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--g115-max-width);
  height: var(--g115-bottom-nav-height);
  background: linear-gradient(180deg, #0f1923 0%, #0a1018 100%);
  border-top: 1.5px solid var(--g115-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

.g115-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 52px;
  cursor: pointer;
  color: var(--g115-text-muted);
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  gap: 2px;
}

.g115-bottom-nav-item:hover,
.g115-bottom-nav-item-active {
  color: var(--g115-primary);
  transform: scale(1.08);
}

.g115-bottom-nav-item i,
.g115-bottom-nav-item .material-icons,
.g115-bottom-nav-item ion-icon,
.g115-bottom-nav-item bi {
  font-size: 22px;
}

.g115-bottom-nav-item .material-icons { font-size: 24px; }

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

@media (min-width: 769px) {
  .g115-bottom-nav { display: none; }
  .g115-main { padding-bottom: 0; }
  .g115-hamburger { display: none; }
}

/* Utility */
.g115-text-center { text-align: center; }
.g115-mt-1 { margin-top: 1rem; }
.g115-mt-2 { margin-top: 2rem; }
.g115-mb-1 { margin-bottom: 1rem; }
.g115-mb-2 { margin-bottom: 2rem; }
.g115-p-1 { padding: 1rem; }
.g115-p-2 { padding: 2rem; }
.g115-hidden { display: none; }
.g115-flex-center { display: flex; align-items: center; justify-content: center; }

/* Animations */
@keyframes g115-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.g115-fade-in { animation: g115-fadeIn 0.5s ease forwards; }

/* Back to top */
.g115-back-top {
  position: fixed;
  bottom: 75px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: var(--g115-primary);
  color: #0a1520;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  font-size: 1.6rem;
  box-shadow: 0 2px 10px rgba(0, 206, 209, 0.3);
  transition: transform 0.2s;
}

.g115-back-top:hover { transform: scale(1.1); }

@media (min-width: 769px) {
  .g115-back-top { bottom: 20px; }
}
