/* bwinph-click Theme CSS with v57c- prefix */
:root {
  --v57c-primary: #004D40;
  --v57c-secondary: #008B8B;
  --v57c-accent: #FF8C00;
  --v57c-dark: #0C0C0C;
  --v57c-light: #FFF8DC;
  --v57c-text: #FFFFFF;
  --v57c-text-secondary: #B0B0B0;
  --v57c-border: #333333;
  --v57c-shadow: rgba(0, 0, 0, 0.3);
  --v57c-gradient: linear-gradient(135deg, #004D40 0%, #008B8B 100%);
  --v57c-mobile-max: 430px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--v57c-dark);
  color: var(--v57c-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header Styles */
.v57c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--v57c-gradient);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.v57c-header.web0e5-scrolled {
  box-shadow: 0 4px 20px var(--v57c-shadow);
}

.v57c-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--v57c-mobile-max);
  margin: 0 auto;
}

.v57c-logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--v57c-text);
  text-decoration: none;
}

.v57c-header-buttons {
  display: flex;
  gap: 10px;
}

.v57c-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.v57c-btn-primary {
  background: var(--v57c-accent);
  color: var(--v57c-dark);
}

.v57c-btn-primary:hover {
  background: #FF7F00;
  transform: translateY(-2px);
}

.v57c-btn-secondary {
  background: transparent;
  color: var(--v57c-text);
  border: 2px solid var(--v57c-text);
}

.v57c-btn-secondary:hover {
  background: var(--v57c-text);
  color: var(--v57c-dark);
}

.v57c-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--v57c-text);
  font-size: 24px;
  cursor: pointer;
}

/* Navigation */
.v57c-nav {
  display: flex;
  gap: 20px;
}

.v57c-nav-link {
  color: var(--v57c-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.v57c-nav-link:hover {
  color: var(--v57c-accent);
}

/* Mobile Menu */
.v57c-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--v57c-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.v57c-mobile-menu.web0e5-active {
  right: 0;
}

.v57c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.v57c-menu-overlay.web0e5-active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.v57c-main {
  padding-top: 80px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .v57c-main {
    padding-bottom: 80px;
  }
}

/* Carousel */
.v57c-carousel {
  position: relative;
  width: 100%;
  max-width: var(--v57c-mobile-max);
  margin: 0 auto 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--v57c-shadow);
}

.v57c-carousel-container {
  position: relative;
  height: 200px;
}

.v57c-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.v57c-carousel-slide.web0e5-active {
  opacity: 1;
}

.v57c-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v57c-carousel-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 10px;
}

.v57c-carousel-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.v57c-carousel-desc {
  font-size: 14px;
  color: var(--v57c-text-secondary);
}

.v57c-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: var(--v57c-text);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
}

.v57c-carousel-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.v57c-carousel-prev {
  left: 10px;
}

.v57c-carousel-next {
  right: 10px;
}

.v57c-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.v57c-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v57c-carousel-dot.web0e5-active {
  background: var(--v57c-accent);
  width: 24px;
  border-radius: 4px;
}

/* Game Categories */
.v57c-games-section {
  max-width: var(--v57c-mobile-max);
  margin: 0 auto;
  padding: 0 20px;
}

.v57c-section-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--v57c-text);
}

.v57c-category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.v57c-category-btn {
  padding: 12px 24px;
  background: transparent;
  color: var(--v57c-text-secondary);
  border: 2px solid var(--v57c-border);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.v57c-category-btn.web0e5-active,
.v57c-category-btn:hover {
  background: var(--v57c-accent);
  color: var(--v57c-dark);
  border-color: var(--v57c-accent);
}

/* Game Grid */
.v57c-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.v57c-game-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.v57c-game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--v57c-shadow);
}

.v57c-game-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.v57c-game-item:hover .v57c-game-image {
  transform: scale(1.05);
}

.v57c-game-info {
  padding: 12px;
  text-align: center;
}

.v57c-game-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--v57c-text);
  margin-bottom: 5px;
}

.v57c-game-category {
  font-size: 12px;
  color: var(--v57c-text-secondary);
}

/* Content Modules */
.v57c-content-module {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  border: 1px solid var(--v57c-border);
}

.v57c-module-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--v57c-accent);
}

.v57c-module-content {
  color: var(--v57c-text-secondary);
  line-height: 1.7;
}

.v57c-module-content p {
  margin-bottom: 15px;
}

.v57c-module-content strong {
  color: var(--v57c-text);
}

/* Partners Section */
.v57c-partners {
  text-align: center;
  margin: 40px 0;
}

.v57c-partners-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--v57c-text-secondary);
}

.v57c-partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.v57c-partner-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(150%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.v57c-partner-logo:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
}

/* Footer */
.v57c-footer {
  background: var(--v57c-primary);
  padding: 30px 20px;
  text-align: center;
  margin-top: 40px;
}

.v57c-footer-content {
  max-width: var(--v57c-mobile-max);
  margin: 0 auto;
}

.v57c-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.v57c-footer-link {
  color: var(--v57c-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.v57c-footer-link:hover {
  color: var(--v57c-accent);
}

.v57c-footer-text {
  font-size: 12px;
  color: var(--v57c-text-secondary);
  margin-top: 15px;
}

/* Mobile Bottom Navigation */
.v57c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--v57c-primary), rgba(0, 77, 64, 0.95));
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 8px 0;
  display: none;
}

@media (max-width: 768px) {
  .v57c-bottom-nav {
    display: block;
  }

  .v57c-menu-toggle {
    display: block;
  }

  .v57c-header-buttons {
    display: none;
  }

  .v57c-nav {
    display: none;
  }
}

.v57c-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: var(--v57c-mobile-max);
  margin: 0 auto;
}

.v57c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v57c-text-secondary);
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.v57c-bottom-nav-item:hover,
.v57c-bottom-nav-item.web0e5-active {
  color: var(--v57c-accent);
  background: rgba(255, 140, 0, 0.1);
  transform: translateY(-2px);
}

.v57c-bottom-nav-icon {
  font-size: 24px;
  line-height: 1;
}

.v57c-bottom-nav-text {
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .v57c-header-container {
    padding: 15px;
  }

  .v57c-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .v57c-game-image {
    height: 100px;
  }

  .v57c-carousel-container {
    height: 180px;
  }

  .v57c-carousel-content {
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 12px;
  }

  .v57c-carousel-title {
    font-size: 16px;
  }

  .v57c-carousel-desc {
    font-size: 12px;
  }

  .v57c-partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .v57c-partner-logo {
    width: 50px;
    height: 50px;
  }
}

/* Utility Classes */
.v57c-text-center {
  text-align: center;
}

.v57c-text-primary {
  color: var(--v57c-accent);
}

.v57c-text-secondary {
  color: var(--v57c-text-secondary);
}

.v57c-mb-20 {
  margin-bottom: 20px;
}

.v57c-mb-30 {
  margin-bottom: 30px;
}

.v57c-mb-40 {
  margin-bottom: 40px;
}

.v57c-mt-20 {
  margin-top: 20px;
}

.v57c-mt-30 {
  margin-top: 30px;
}

.v57c-mt-40 {
  margin-top: 40px;
}

/* Loading States */
.v57c-loading {
  opacity: 0.6;
  pointer-events: none;
}

.v57c-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v57c-lazy.loaded {
  opacity: 1;
}

/* Animation Classes */
@keyframes v57c-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v57c-fade-in {
  animation: v57c-fadeIn 0.6s ease-out;
}

@keyframes v57c-slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v57c-slide-up {
  animation: v57c-slideUp 0.8s ease-out;
}