/* OKBET Login - Design Stylesheet
   All classes use prefix: v55b-
   Color Palette: #CD853F (Peru), #F0F0F0 (Light Gray), #1A1A1A (Almost Black), #FFC0CB (Pink)
*/

/* CSS Variables */
:root {
  --v55b-primary: #CD853F;
  --v55b-primary-dark: #B87333;
  --v55b-bg: #1A1A1A;
  --v55b-bg-light: #2A2A2A;
  --v55b-bg-lighter: #3A3A3A;
  --v55b-text: #F0F0F0;
  --v55b-text-muted: #B0B0B0;
  --v55b-accent: #FFC0CB;
  --v55b-border: #3A3A3A;
  --v55b-shadow: rgba(0, 0, 0, 0.5);
  --v55b-gradient: linear-gradient(135deg, #CD853F 0%, #B87333 100%);
  --v55b-spacing-sm: 0.5rem;
  --v55b-spacing-md: 1rem;
  --v55b-spacing-lg: 1.5rem;
  --v55b-spacing-xl: 2rem;
}

/* Reset and 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(--v55b-text);
  background-color: var(--v55b-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.v55b-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--v55b-spacing-md);
}

.v55b-wrapper {
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  .v55b-wrapper {
    padding-bottom: var(--v55b-spacing-xl);
  }
}

/* Header Styles */
.v55b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--v55b-bg-light);
  border-bottom: 1px solid var(--v55b-border);
  z-index: 1000;
  box-shadow: 0 2px 10px var(--v55b-shadow);
}

.v55b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 var(--v55b-spacing-md);
  max-width: 430px;
  margin: 0 auto;
}

.v55b-logo {
  display: flex;
  align-items: center;
  gap: var(--v55b-spacing-sm);
  text-decoration: none;
  color: var(--v55b-text);
  font-weight: 600;
  font-size: 1.6rem;
}

.v55b-logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.v55b-header-buttons {
  display: flex;
  gap: var(--v55b-spacing-sm);
}

.v55b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.v55b-btn-primary {
  background: var(--v55b-gradient);
  color: #FFFFFF;
}

.v55b-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.v55b-btn-secondary {
  background-color: transparent;
  color: var(--v55b-primary);
  border: 2px solid var(--v55b-primary);
}

.v55b-btn-secondary:hover {
  background-color: var(--v55b-primary);
  color: #FFFFFF;
}

.v55b-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.v55b-menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--v55b-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.v55b-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: var(--v55b-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: var(--v55b-spacing-lg);
  box-shadow: -2px 0 10px var(--v55b-shadow);
}

.v55b-mobile-menu.v55b-menu-active {
  right: 0;
}

.v55b-menu-close {
  position: absolute;
  top: var(--v55b-spacing-md);
  right: var(--v55b-spacing-md);
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--v55b-text);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.v55b-menu-nav {
  margin-top: var(--v55b-spacing-xl);
}

.v55b-menu-nav a {
  display: block;
  padding: var(--v55b-spacing-md) 0;
  color: var(--v55b-text);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--v55b-border);
  transition: color 0.3s ease;
}

.v55b-menu-nav a:hover {
  color: var(--v55b-primary);
}

.v55b-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.v55b-menu-overlay.v55b-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Hero Slider */
.v55b-hero {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.v55b-hero-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.v55b-hero-slide {
  min-width: 100%;
  position: relative;
}

.v55b-hero-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Game Grid */
.v55b-section {
  padding: var(--v55b-spacing-lg) 0;
}

.v55b-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v55b-primary);
  margin-bottom: var(--v55b-spacing-lg);
  text-align: center;
}

.v55b-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--v55b-spacing-md);
  margin-bottom: var(--v55b-spacing-lg);
}

.v55b-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--v55b-text);
  transition: transform 0.3s ease;
}

.v55b-game-item:hover {
  transform: scale(1.05);
}

.v55b-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: var(--v55b-spacing-sm);
  border: 2px solid var(--v55b-border);
}

.v55b-game-name {
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Content Modules */
.v55b-content {
  background-color: var(--v55b-bg-light);
  border-radius: 12px;
  padding: var(--v55b-spacing-lg);
  margin-bottom: var(--v55b-spacing-lg);
}

.v55b-content h2 {
  font-size: 1.8rem;
  color: var(--v55b-primary);
  margin-bottom: var(--v55b-spacing-md);
}

.v55b-content h3 {
  font-size: 1.5rem;
  color: var(--v55b-text);
  margin: var(--v55b-spacing-md) 0 var(--v55b-spacing-sm);
}

.v55b-content p {
  margin-bottom: var(--v55b-spacing-md);
  color: var(--v55b-text-muted);
  line-height: 1.7;
}

.v55b-content ul, .v55b-content ol {
  margin-left: var(--v55b-spacing-lg);
  margin-bottom: var(--v55b-spacing-md);
}

.v55b-content li {
  margin-bottom: var(--v55b-spacing-sm);
  color: var(--v55b-text-muted);
}

.v55b-content a {
  color: var(--v55b-primary);
  text-decoration: none;
  font-weight: 600;
}

.v55b-content a:hover {
  text-decoration: underline;
  color: var(--v55b-accent);
}

/* Promotional Links */
.v55b-promo-link {
  display: inline-block;
  color: var(--v55b-primary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.v55b-promo-link:hover {
  color: var(--v55b-accent);
  text-decoration: underline;
}

/* Bottom Navigation (Mobile) */
.v55b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, var(--v55b-bg-light) 0%, var(--v55b-bg) 100%);
  border-top: 2px solid var(--v55b-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--v55b-shadow);
}

.v55b-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--v55b-text-muted);
  transition: all 0.3s ease;
  padding: var(--v55b-spacing-sm);
}

.v55b-bottom-nav a:hover {
  color: var(--v55b-primary);
  transform: scale(1.1);
}

.v55b-bottom-nav a.v55b-nav-active {
  color: var(--v55b-primary);
}

.v55b-bottom-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.v55b-bottom-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 769px) {
  .v55b-bottom-nav {
    display: none;
  }
}

/* Footer */
.v55b-footer {
  background-color: var(--v55b-bg-light);
  padding: var(--v55b-spacing-xl) var(--v55b-spacing-md);
  margin-top: var(--v55b-spacing-xl);
  border-top: 1px solid var(--v55b-border);
}

.v55b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--v55b-spacing-sm);
  margin-bottom: var(--v55b-spacing-lg);
  justify-content: center;
}

.v55b-footer-links a {
  color: var(--v55b-primary);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.v55b-footer-links a:hover {
  color: var(--v55b-accent);
}

.v55b-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--v55b-spacing-sm);
  margin-bottom: var(--v55b-spacing-lg);
}

.v55b-partner-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.v55b-footer-text {
  text-align: center;
  color: var(--v55b-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
}

.v55b-copyright {
  margin-top: var(--v55b-spacing-md);
  padding-top: var(--v55b-spacing-md);
  border-top: 1px solid var(--v55b-border);
  text-align: center;
  color: var(--v55b-text-muted);
  font-size: 1.1rem;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .v55b-container {
    max-width: 1200px;
  }

  .v55b-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .v55b-header-buttons {
    display: flex;
  }

  .v55b-menu-toggle {
    display: none;
  }
}

/* Utility Classes */
.v55b-text-center {
  text-align: center;
}

.v55b-mb-lg {
  margin-bottom: var(--v55b-spacing-lg);
}

.v55b-mb-xl {
  margin-bottom: var(--v55b-spacing-xl);
}

.v55b-highlight {
  color: var(--v55b-primary);
  font-weight: 600;
}

/* Animation Keyframes */
@keyframes v55b-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v55b-animate-fadeIn {
  animation: v55b-fadeIn 0.6s ease-out;
}
