/* bb8 Website Styles
 * Color Palette: #A9A9A9 | #DCDCDC | #0A0A0A | #C0C0C0
 * CSS Class Prefix: v74c-
 */

/* CSS Variables */
:root {
  --v74c-primary: #A9A9A9;
  --v74c-secondary: #DCDCDC;
  --v74c-accent: #C0C0C0;
  --v74c-dark: #0A0A0A;
  --v74c-darker: #000000;
  --v74c-light: #FFFFFF;
  --v74c-bg: #0A0A0A;
  --v74c-card-bg: #1A1A1A;
  --v74c-border: #333333;
  --v74c-shadow: rgba(0, 0, 0, 0.5);
  --v74c-gradient: linear-gradient(135deg, #A9A9A9 0%, #DCDCDC 100%);
  --v74c-glow: 0 0 20px rgba(169, 169, 169, 0.6);
}

/* 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, Oxygen, Ubuntu, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--v74c-light);
  background-color: var(--v74c-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.v74c-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.v74c-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Header Styles */
.v74c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v74c-dark) 0%, #1A1A1A 100%);
  box-shadow: 0 2px 10px var(--v74c-shadow);
  z-index: 1000;
  padding: 0.8rem 0;
}

.v74c-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.v74c-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--v74c-light);
  font-weight: 700;
  font-size: 1.8rem;
}

.v74c-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.v74c-header-buttons {
  display: flex;
  gap: 0.8rem;
}

.v74c-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.v74c-btn-primary {
  background: var(--v74c-gradient);
  color: var(--v74c-dark);
  box-shadow: var(--v74c-glow);
}

.v74c-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(169, 169, 169, 0.8);
}

.v74c-btn-secondary {
  background: transparent;
  color: var(--v74c-secondary);
  border: 2px solid var(--v74c-secondary);
}

.v74c-btn-secondary:hover {
  background: var(--v74c-secondary);
  color: var(--v74c-dark);
}

.v74c-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.v74c-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--v74c-primary);
  transition: all 0.3s ease;
}

.v74c-menu-toggle:hover span {
  background: var(--v74c-secondary);
}

/* Mobile Menu */
.v74c-mobile-menu {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  right: 0;
  background: var(--v74c-dark);
  border-bottom: 2px solid var(--v74c-primary);
  transition: left 0.3s ease;
  z-index: 9999;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.v74c-mobile-menu.v74c-menu-open {
  left: 0;
}

.v74c-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.v74c-menu-item {
  border-bottom: 1px solid var(--v74c-border);
}

.v74c-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--v74c-light);
  text-decoration: none;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.v74c-menu-link:hover {
  background: var(--v74c-card-bg);
  color: var(--v74c-secondary);
  padding-left: 2rem;
}

.v74c-menu-icon {
  font-size: 1.8rem;
  color: var(--v74c-accent);
}

/* Main Content */
.v74c-main {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* Carousel */
.v74c-carousel-container {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--v74c-shadow);
}

.v74c-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.v74c-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.v74c-carousel-slide.v74c-active {
  opacity: 1;
}

.v74c-carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v74c-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}

.v74c-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v74c-carousel-indicator.v74c-active {
  background: var(--v74c-secondary);
  transform: scale(1.3);
}

/* Section Styles */
.v74c-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--v74c-card-bg);
  border-radius: 12px;
  border: 1px solid var(--v74c-border);
}

.v74c-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v74c-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v74c-section-title h1 {
  font-size: 2rem;
  color: var(--v74c-accent);
}

/* Games Grid */
.v74c-games-section {
  margin: 2rem 0;
}

.v74c-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 1rem;
  padding: 1rem;
  background: var(--v74c-gradient);
  border-radius: 10px;
}

.v74c-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v74c-dark);
  text-transform: uppercase;
}

.v74c-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.v74c-game-item {
  position: relative;
  background: var(--v74c-dark);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.v74c-game-item:hover {
  transform: scale(1.05);
  border-color: var(--v74c-secondary);
  box-shadow: var(--v74c-glow);
}

.v74c-game-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.v74c-game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: var(--v74c-light);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Content Cards */
.v74c-card {
  background: var(--v74c-card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--v74c-border);
}

.v74c-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v74c-accent);
  margin-bottom: 1rem;
}

.v74c-card-content {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--v74c-light);
}

.v74c-card-content p {
  margin-bottom: 1rem;
}

.v74c-card-content a {
  color: var(--v74c-accent);
  text-decoration: none;
  font-weight: 600;
}

.v74c-card-content a:hover {
  text-decoration: underline;
}

/* Feature Lists */
.v74c-feature-list {
  list-style: none;
  padding: 0;
}

.v74c-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--v74c-border);
}

.v74c-feature-item:last-child {
  border-bottom: none;
}

.v74c-feature-icon {
  font-size: 2rem;
  color: var(--v74c-secondary);
  flex-shrink: 0;
}

.v74c-feature-content {
  flex: 1;
}

.v74c-feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--v74c-primary);
  margin-bottom: 0.5rem;
}

.v74c-feature-text {
  font-size: 1.4rem;
  color: var(--v74c-light);
  line-height: 1.5;
}

/* Promotional Buttons */
.v74c-promo-btn {
  display: inline-block;
  background: var(--v74c-gradient);
  color: var(--v74c-dark);
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 1rem 0.5rem 1rem 0;
  box-shadow: var(--v74c-glow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.v74c-promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(169, 169, 169, 0.8);
}

.v74c-promo-btn-large {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
}

/* Footer */
.v74c-footer {
  background: var(--v74c-dark);
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 3px solid var(--v74c-primary);
}

.v74c-footer-content {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.v74c-footer-description {
  font-size: 1.4rem;
  color: var(--v74c-light);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.v74c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.v74c-footer-link {
  color: var(--v74c-accent);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--v74c-border);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.v74c-footer-link:hover {
  background: var(--v74c-primary);
  color: var(--v74c-dark);
}

.v74c-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.v74c-partner-logo {
  width: 50px;
  height: 30px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.v74c-partner-logo:hover {
  opacity: 1;
}

.v74c-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--v74c-light);
  padding-top: 1rem;
  border-top: 1px solid var(--v74c-border);
}

/* Mobile Bottom Navigation */
.v74c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v74c-dark) 0%, #000000 100%);
  border-top: 2px solid var(--v74c-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--v74c-shadow);
}

.v74c-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  padding: 0.5rem;
  text-decoration: none;
  color: var(--v74c-light);
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.v74c-nav-item:hover {
  color: var(--v74c-secondary);
}

.v74c-nav-item.v74c-active {
  color: var(--v74c-accent);
}

.v74c-nav-item.v74c-active .v74c-nav-icon {
  transform: scale(1.2);
}

.v74c-nav-icon {
  font-size: 24px;
  margin-bottom: 3px;
  transition: transform 0.3s ease;
}

.v74c-nav-text {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .v74c-bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .v74c-main {
    padding-bottom: 80px;
  }
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .v74c-menu-toggle {
    display: none;
  }

  .v74c-desktop-nav {
    display: flex;
    gap: 1.5rem;
  }

  .v74c-desktop-nav-link {
    color: var(--v74c-light);
    text-decoration: none;
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
  }

  .v74c-desktop-nav-link:hover {
    background: var(--v74c-primary);
    color: var(--v74c-dark);
  }
}

@media (max-width: 768px) {
  .v74c-desktop-nav {
    display: none;
  }
}

/* FAQ Accordion */
.v74c-faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--v74c-border);
  border-radius: 10px;
  overflow: hidden;
}

.v74c-faq-question {
  background: var(--v74c-dark);
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--v74c-accent);
  transition: all 0.3s ease;
}

.v74c-faq-question:hover {
  background: var(--v74c-card-bg);
}

.v74c-faq-answer {
  padding: 1.5rem;
  background: var(--v74c-card-bg);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--v74c-light);
}

/* Steps */
.v74c-steps {
  counter-reset: step;
}

.v74c-step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  counter-increment: step;
}

.v74c-step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--v74c-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--v74c-dark);
}

.v74c-step-content {
  flex: 1;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--v74c-light);
}

.v74c-step-title {
  font-weight: 600;
  color: var(--v74c-accent);
  margin-bottom: 0.5rem;
}

/* Text Highlights */
.v74c-highlight {
  color: var(--v74c-primary);
  font-weight: 700;
}

.v74c-accent-text {
  color: var(--v74c-accent);
  font-weight: 600;
}

/* Responsive Utilities */
@media (max-width: 380px) {
  .v74c-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v74c-header-content {
    padding: 0 0.5rem;
  }

  .v74c-btn {
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
  }
}
