/**
 * PBA Odds Bet365 - Universal Stylesheet
 * All classes use prefix: g0ce-
 * Color Scheme: #2C3E50 (primary), #0D1117 (dark), #ECF0F1 (light)
 */

/* CSS Variables */
:root {
  --g0ce-primary: #2C3E50;
  --g0ce-dark: #0D1117;
  --g0ce-light: #ECF0F1;
  --g0ce-accent: #3498DB;
  --g0ce-success: #27AE60;
  --g0ce-warning: #F39C12;
  --g0ce-danger: #E74C3C;
  --g0ce-text-primary: #ECF0F1;
  --g0ce-text-secondary: #BDC3C7;
  --g0ce-border: rgba(236, 240, 241, 0.1);
  --g0ce-shadow: rgba(0, 0, 0, 0.3);
  --g0ce-header-height: 60px;
  --g0ce-bottom-nav-height: 60px;
}

/* Reset & 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, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--g0ce-text-primary);
  background: linear-gradient(135deg, var(--g0ce-dark) 0%, var(--g0ce-primary) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container & Layout */
.g0ce-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.g0ce-wrapper {
  padding-top: var(--g0ce-header-height);
  padding-bottom: calc(var(--g0ce-bottom-nav-height) + 2rem);
  min-height: 100vh;
}

/* Header Styles */
.g0ce-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--g0ce-header-height);
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--g0ce-border);
  transition: box-shadow 0.3s ease;
}

.g0ce-header-scrolled {
  box-shadow: 0 2px 10px var(--g0ce-shadow);
}

.g0ce-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.g0ce-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--g0ce-text-primary);
}

.g0ce-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.g0ce-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g0ce-accent);
}

.g0ce-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g0ce-btn-header {
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.g0ce-btn-register {
  background: linear-gradient(135deg, var(--g0ce-success) 0%, #229954 100%);
  color: white;
}

.g0ce-btn-login {
  background: linear-gradient(135deg, var(--g0ce-accent) 0%, #2874A6 100%);
  color: white;
}

.g0ce-btn-header:active {
  transform: scale(0.95);
}

.g0ce-menu-toggle {
  background: none;
  border: none;
  color: var(--g0ce-text-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}

/* Mobile Navigation Menu */
.g0ce-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--g0ce-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid var(--g0ce-border);
}

.proce2-menu-active {
  right: 0;
}

.g0ce-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--g0ce-border);
}

.g0ce-menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g0ce-accent);
}

.g0ce-menu-close {
  background: none;
  border: none;
  color: var(--g0ce-text-primary);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
}

.g0ce-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.g0ce-menu-item {
  border-bottom: 1px solid var(--g0ce-border);
}

.g0ce-menu-link {
  display: block;
  padding: 1.4rem 1.5rem;
  color: var(--g0ce-text-primary);
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1.5rem;
}

.g0ce-menu-link:active {
  background: rgba(52, 152, 219, 0.1);
}

.g0ce-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.proce2-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Bottom Navigation */
.g0ce-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--g0ce-bottom-nav-height);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98) 0%, rgba(44, 62, 80, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--g0ce-border);
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--g0ce-shadow);
}

.g0ce-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 430px;
  margin: 0 auto;
}

.g0ce-bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--g0ce-text-secondary);
  transition: all 0.3s ease;
  padding: 0.8rem 0;
  position: relative;
}

.g0ce-bottom-nav-item i {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
  transition: all 0.3s ease;
}

.g0ce-bottom-nav-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

.g0ce-bottom-nav-item:active i {
  transform: scale(1.2);
}

.g0ce-nav-active {
  color: var(--g0ce-accent);
}

.g0ce-nav-active i {
  color: var(--g0ce-accent);
}

@media (min-width: 769px) {
  .g0ce-bottom-nav {
    display: none;
  }

  .g0ce-wrapper {
    padding-bottom: 2rem;
  }
}

/* Carousel/Slider */
.g0ce-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px var(--g0ce-shadow);
}

.g0ce-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.g0ce-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.g0ce-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.g0ce-carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.g0ce-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(236, 240, 241, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g0ce-dot-active {
  width: 24px;
  border-radius: 4px;
  background: var(--g0ce-accent);
}

/* Buttons */
.g0ce-btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.g0ce-btn-primary {
  background: linear-gradient(135deg, var(--g0ce-accent) 0%, #2874A6 100%);
  color: white;
}

.g0ce-btn-success {
  background: linear-gradient(135deg, var(--g0ce-success) 0%, #229954 100%);
  color: white;
}

.g0ce-btn-warning {
  background: linear-gradient(135deg, var(--g0ce-warning) 0%, #D68910 100%);
  color: white;
}

.g0ce-btn:active {
  transform: translateY(2px);
}

/* Game Grid */
.g0ce-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.g0ce-game-card {
  background: rgba(44, 62, 80, 0.6);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--g0ce-border);
}

.g0ce-game-card:active {
  transform: scale(0.95);
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.g0ce-game-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.g0ce-game-name {
  padding: 0.8rem;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  color: var(--g0ce-text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Section Styles */
.g0ce-section {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(44, 62, 80, 0.4);
  border-radius: 12px;
  border: 1px solid var(--g0ce-border);
}

.g0ce-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--g0ce-accent);
  border-bottom: 2px solid var(--g0ce-accent);
  padding-bottom: 1rem;
}

.g0ce-section-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: var(--g0ce-text-primary);
}

.g0ce-section-content {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--g0ce-text-secondary);
}

.g0ce-section-content p {
  margin-bottom: 1.5rem;
}

.g0ce-section-content strong {
  color: var(--g0ce-text-primary);
  font-weight: 600;
}

.g0ce-section-content a {
  color: var(--g0ce-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.g0ce-section-content a:hover {
  border-bottom-color: var(--g0ce-accent);
}

/* Hero Section */
.g0ce-hero {
  text-align: center;
  padding: 3rem 0;
}

.g0ce-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--g0ce-accent), var(--g0ce-success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.g0ce-hero-description {
  font-size: 1.6rem;
  color: var(--g0ce-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* List Styles */
.g0ce-list {
  list-style: none;
  margin: 2rem 0;
}

.g0ce-list-item {
  padding: 1.2rem;
  margin-bottom: 1rem;
  background: rgba(13, 17, 23, 0.5);
  border-radius: 8px;
  border-left: 3px solid var(--g0ce-accent);
  font-size: 1.5rem;
}

.g0ce-list-item i {
  margin-right: 1rem;
  color: var(--g0ce-accent);
}

/* Accordion */
.g0ce-accordion {
  margin: 2rem 0;
}

.g0ce-accordion-item {
  background: rgba(44, 62, 80, 0.4);
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--g0ce-border);
  overflow: hidden;
}

.g0ce-accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--g0ce-text-primary);
  transition: background 0.3s ease;
}

.g0ce-accordion-header:active {
  background: rgba(52, 152, 219, 0.1);
}

.g0ce-accordion-icon {
  transition: transform 0.3s ease;
}

.g0ce-accordion-active .g0ce-accordion-icon {
  transform: rotate(180deg);
}

.g0ce-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.g0ce-accordion-body {
  padding: 1.5rem;
  font-size: 1.5rem;
  color: var(--g0ce-text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--g0ce-border);
}

/* Footer */
.g0ce-footer {
  background: rgba(13, 17, 23, 0.9);
  padding: 3rem 0 calc(var(--g0ce-bottom-nav-height) + 2rem);
  border-top: 1px solid var(--g0ce-border);
}

.g0ce-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.g0ce-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.g0ce-footer-link {
  color: var(--g0ce-text-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.g0ce-footer-link:active {
  color: var(--g0ce-accent);
}

.g0ce-footer-partners {
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--g0ce-border);
  border-bottom: 1px solid var(--g0ce-border);
}

.g0ce-partners-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--g0ce-text-primary);
  text-align: center;
}

.g0ce-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: center;
}

.g0ce-partner-logo {
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.g0ce-partner-logo:active {
  opacity: 1;
  filter: grayscale(0%);
}

.g0ce-footer-copyright {
  text-align: center;
  color: var(--g0ce-text-secondary);
  font-size: 1.3rem;
  margin-top: 2rem;
}

/* Back to Top Button */
.g0ce-back-to-top {
  position: fixed;
  bottom: calc(var(--g0ce-bottom-nav-height) + 1.5rem);
  right: 1.5rem;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--g0ce-accent) 0%, #2874A6 100%);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px var(--g0ce-shadow);
}

.g0ce-back-to-top.g0ce-show {
  opacity: 1;
  visibility: visible;
}

.g0ce-back-to-top:active {
  transform: scale(0.9);
}

/* Utility Classes */
.g0ce-text-center {
  text-align: center;
}

.g0ce-text-bold {
  font-weight: 700;
  color: var(--g0ce-text-primary);
}

.g0ce-mt-1 { margin-top: 1rem; }
.g0ce-mt-2 { margin-top: 2rem; }
.g0ce-mt-3 { margin-top: 3rem; }
.g0ce-mb-1 { margin-bottom: 1rem; }
.g0ce-mb-2 { margin-bottom: 2rem; }
.g0ce-mb-3 { margin-bottom: 3rem; }

/* Responsive Design */
@media (max-width: 768px) {
  .g0ce-wrapper {
    padding-bottom: calc(var(--g0ce-bottom-nav-height) + 2rem);
  }
}

@media (min-width: 430px) {
  .g0ce-container,
  .g0ce-header-content,
  .g0ce-bottom-nav-container,
  .g0ce-footer-content {
    max-width: 430px;
  }
}
