/* Casino Plus APK - Main Stylesheet */
/* All classes use v5bc- prefix for namespace isolation */

/* CSS Variables */
:root {
  --v5bc-primary: #DDA0DD;
  --v5bc-secondary: #800080;
  --v5bc-accent: #6A5ACD;
  --v5bc-dark: #333333;
  --v5bc-gray: #A9A9A9;
  --v5bc-light: #FFFFFF;
  --v5bc-bg: #1a1a1a;
  --v5bc-text: #f0f0f0;
  --v5bc-border: #444444;
}

/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--v5bc-text);
  background-color: var(--v5bc-bg);
  min-height: 100vh;
}

/* Container */
.v5bc-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.v5bc-wrapper {
  padding-bottom: 8rem;
}

/* Header */
.v5bc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v5bc-secondary) 0%, var(--v5bc-dark) 100%);
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.v5bc-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 430px;
  margin: 0 auto;
}

.v5bc-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--v5bc-primary);
  font-size: 1.8rem;
  font-weight: bold;
}

.v5bc-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
}

.v5bc-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.v5bc-btn {
  padding: 0.6rem 1.2rem;
  background: var(--v5bc-accent);
  color: var(--v5bc-light);
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.v5bc-btn:hover {
  background: var(--v5bc-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(221, 160, 221, 0.4);
}

.v5bc-btn-outline {
  background: transparent;
  border: 2px solid var(--v5bc-primary);
  color: var(--v5bc-primary);
}

.v5bc-btn-outline:hover {
  background: var(--v5bc-primary);
  color: var(--v5bc-dark);
}

/* Mobile Menu Toggle */
.v5bc-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--v5bc-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 769px) {
  .v5bc-menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.v5bc-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--v5bc-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.v5bc-mobile-menu.v5bc-menu-open {
  right: 0;
}

.v5bc-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--v5bc-primary);
  font-size: 2rem;
  cursor: pointer;
}

.v5bc-menu-links {
  list-style: none;
}

.v5bc-menu-links li {
  margin-bottom: 1rem;
}

.v5bc-menu-links a {
  display: block;
  color: var(--v5bc-text);
  text-decoration: none;
  font-size: 1.6rem;
  padding: 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.v5bc-menu-links a:hover {
  background: var(--v5bc-secondary);
  color: var(--v5bc-primary);
}

/* Carousel */
.v5bc-carousel {
  margin-top: 8rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.v5bc-carousel-slide {
  display: block;
  width: 100%;
}

.v5bc-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Grid Layout */
.v5bc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.v5bc-grid-item {
  text-align: center;
  padding: 1rem;
  background: var(--v5bc-dark);
  border-radius: 8px;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: var(--v5bc-text);
  display: block;
}

.v5bc-grid-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(221, 160, 221, 0.3);
}

.v5bc-grid-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.v5bc-grid-item-name {
  font-size: 1.1rem;
  color: var(--v5bc-primary);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Section */
.v5bc-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--v5bc-dark);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.v5bc-section-title {
  font-size: 2rem;
  color: var(--v5bc-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: bold;
}

.v5bc-section-content {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--v5bc-text);
}

.v5bc-section-content p {
  margin-bottom: 1rem;
}

/* Card */
.v5bc-card {
  background: var(--v5bc-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--v5bc-border);
}

.v5bc-card-title {
  color: var(--v5bc-primary);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Promotional Link */
.v5bc-promo-link {
  color: var(--v5bc-primary);
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.v5bc-promo-link:hover {
  color: var(--v5bc-accent);
  text-decoration: underline;
}

/* Main Content */
main {
  padding-top: 8rem;
  min-height: calc(100vh - 16rem);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--v5bc-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.4rem;
  text-align: center;
  margin: 2rem 0;
}

h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

h3 {
  font-size: 1.8rem;
  margin: 1.5rem 0 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--v5bc-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--v5bc-primary);
}

/* Footer */
.v5bc-footer {
  background: var(--v5bc-dark);
  padding: 3rem 1rem 8rem;
  margin-top: 4rem;
  border-top: 3px solid var(--v5bc-secondary);
}

.v5bc-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.v5bc-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.v5bc-footer-links a {
  color: var(--v5bc-text);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  background: var(--v5bc-bg);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.v5bc-footer-links a:hover {
  background: var(--v5bc-secondary);
  color: var(--v5bc-primary);
}

.v5bc-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  padding: 1rem;
  background: var(--v5bc-bg);
  border-radius: 8px;
}

.v5bc-partners img {
  width: 4rem;
  height: 2.5rem;
  object-fit: contain;
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.v5bc-partners img:hover {
  filter: grayscale(0%);
}

.v5bc-copyright {
  text-align: center;
  color: var(--v5bc-gray);
  font-size: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--v5bc-border);
}

/* Mobile Bottom Navigation */
.v5bc-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v5bc-secondary) 0%, var(--v5bc-dark) 100%);
  height: 6.4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--v5bc-primary);
}

@media (min-width: 769px) {
  .v5bc-bottom-nav {
    display: none;
  }
}

.v5bc-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 6rem;
  text-decoration: none;
  color: var(--v5bc-text);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.v5bc-nav-item:hover {
  transform: scale(1.1);
}

.v5bc-nav-item.active {
  color: var(--v5bc-primary);
}

.v5bc-nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--v5bc-primary);
  transition: width 0.3s ease;
}

.v5bc-nav-item.active::after {
  width: 80%;
}

.v5bc-nav-icon {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.v5bc-nav-label {
  font-size: 1rem;
  font-weight: 600;
}

/* Utility Classes */
.v5bc-text-center {
  text-align: center;
}

.v5bc-mt-2 {
  margin-top: 2rem;
}

.v5bc-mb-2 {
  margin-bottom: 2rem;
}

.v5bc-highlight {
  color: var(--v5bc-primary);
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding-bottom: 8rem;
  }
}
