/* CSS Variables for consistent theming */
:root {
  --v71f-primary: #80CBC4;
  --v71f-primary-dark: #4DB6AC;
  --v71f-secondary: #D3D3D3;
  --v71f-text: #FFFFFF;
  --v71f-text-muted: #B0BEC5;
  --v71f-bg: #141414;
  --v71f-bg-secondary: #1E1E1E;
  --v71f-bg-card: #2A2A2A;
  --v71f-border: #333333;
  --v71f-accent: #FF6B6B;
  --v71f-success: #4CAF50;
  --v71f-warning: #FFA726;
  --v71f-shadow: rgba(0, 0, 0, 0.3);
}

/* 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.6rem;
  line-height: 1.5;
  color: var(--v71f-text);
  background-color: var(--v71f-bg);
  overflow-x: hidden;
}

/* Container and layout */
.v71f-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.v71f-wrapper {
  min-height: 100vh;
  padding-top: 7rem;
  padding-bottom: 8rem;
}

/* Header styles */
.v71f-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v71f-bg) 0%, var(--v71f-bg-secondary) 100%);
  border-bottom: 1px solid var(--v71f-border);
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px var(--v71f-shadow);
}

.v71f-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  height: 6rem;
}

.v71f-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.v71f-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, var(--v71f-primary) 0%, var(--v71f-primary-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--v71f-bg);
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(128, 203, 196, 0.3);
}

.v71f-site-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v71f-text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.v71f-nav-buttons {
  display: flex;
  gap: 0.8rem;
}

.v71f-btn {
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.v71f-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.v71f-btn:hover::before {
  left: 100%;
}

.v71f-btn-primary {
  background: linear-gradient(135deg, var(--v71f-primary) 0%, var(--v71f-primary-dark) 100%);
  color: var(--v71f-bg);
  box-shadow: 0 4px 15px rgba(128, 203, 196, 0.4);
}

.v71f-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 203, 196, 0.5);
}

.v71f-btn-secondary {
  background: transparent;
  color: var(--v71f-text);
  border: 2px solid var(--v71f-primary);
  box-shadow: 0 4px 15px rgba(128, 203, 196, 0.2);
}

.v71f-btn-secondary:hover {
  background: var(--v71f-primary);
  color: var(--v71f-bg);
  transform: translateY(-2px);
}

.v71f-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--v71f-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.v71f-menu-toggle:hover {
  background: var(--v71f-bg-card);
}

/* Mobile menu */
.v71f-mobile-menu {
  position: fixed;
  top: 6rem;
  left: 0;
  right: 0;
  background: var(--v71f-bg-secondary);
  border-bottom: 1px solid var(--v71f-border);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 20px var(--v71f-shadow);
}

.v71f-mobile-menu.active {
  transform: translateY(0);
}

.v71f-menu-content {
  padding: 2rem 1.5rem;
}

.v71f-menu-item {
  display: block;
  padding: 1.2rem 1.6rem;
  color: var(--v71f-text);
  text-decoration: none;
  border-radius: 1.2rem;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  font-weight: 500;
  border-left: 4px solid transparent;
}

.v71f-menu-item:hover {
  background: var(--v71f-bg-card);
  border-left-color: var(--v71f-primary);
  transform: translateX(0.5rem);
}

.v71f-menu-item.active {
  background: var(--v71f-bg-card);
  border-left-color: var(--v71f-primary);
  color: var(--v71f-primary);
}

/* Main content styles */
.v71f-main {
  padding: 2rem 0;
}

.v71f-section {
  margin-bottom: 4rem;
}

.v71f-section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--v71f-text);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 1rem;
}

.v71f-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 3px;
  background: linear-gradient(90deg, var(--v71f-primary), var(--v71f-primary-dark));
  border-radius: 1.5px;
}

/* Carousel styles */
.v71f-carousel {
  position: relative;
  height: 20rem;
  margin-bottom: 3rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--v71f-shadow);
}

.v71f-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.v71f-carousel-item.active {
  opacity: 1;
}

.v71f-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v71f-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.v71f-carousel-indicator {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.v71f-carousel-indicator.active {
  background: var(--v71f-primary);
  transform: scale(1.2);
}

/* Game grid styles */
.v71f-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.v71f-game-item {
  background: var(--v71f-bg-card);
  border-radius: 1.2rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--v71f-border);
  position: relative;
  overflow: hidden;
}

.v71f-game-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--v71f-primary) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.v71f-game-item:hover::before {
  opacity: 0.1;
}

.v71f-game-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px var(--v71f-shadow);
  border-color: var(--v71f-primary);
}

.v71f-game-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 0.8rem;
  border-radius: 0.8rem;
  object-fit: cover;
  background: var(--v71f-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--v71f-text-muted);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.v71f-game-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--v71f-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card styles */
.v71f-card {
  background: var(--v71f-bg-card);
  border-radius: 1.6rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--v71f-border);
  box-shadow: 0 4px 20px var(--v71f-shadow);
  transition: all 0.3s ease;
}

.v71f-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--v71f-shadow);
  border-color: var(--v71f-primary);
}

.v71f-card-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--v71f-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.v71f-card-content {
  color: var(--v71f-secondary);
  line-height: 1.6;
}

.v71f-card-icon {
  font-size: 2.4rem;
}

/* Feature list styles */
.v71f-feature-list {
  list-style: none;
  padding: 0;
}

.v71f-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--v71f-bg-secondary);
  border-radius: 1.2rem;
  transition: all 0.3s ease;
}

.v71f-feature-item:hover {
  background: var(--v71f-bg-card);
  transform: translateX(0.5rem);
}

.v71f-feature-icon {
  color: var(--v71f-primary);
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.v71f-feature-text {
  color: var(--v71f-secondary);
  line-height: 1.5;
}

.v71f-feature-title {
  font-weight: 600;
  color: var(--v71f-text);
  margin-bottom: 0.4rem;
  font-size: 1.6rem;
}

/* Link styles */
.v71f-link {
  color: var(--v71f-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.v71f-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--v71f-primary);
  transition: width 0.3s ease;
}

.v71f-link:hover::after {
  width: 100%;
}

.v71f-link:hover {
  color: var(--v71f-primary-dark);
}

/* Footer styles */
.v71f-footer {
  background: linear-gradient(135deg, var(--v71f-bg-secondary) 0%, var(--v71f-bg) 100%);
  border-top: 1px solid var(--v71f-border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.v71f-footer-content {
  text-align: center;
}

.v71f-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.v71f-footer-link {
  color: var(--v71f-text-muted);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background: var(--v71f-bg-card);
  border: 1px solid var(--v71f-border);
}

.v71f-footer-link:hover {
  color: var(--v71f-primary);
  border-color: var(--v71f-primary);
  transform: translateY(-2px);
}

.v71f-partners {
  margin: 2rem 0;
}

.v71f-partners-title {
  font-size: 1.6rem;
  color: var(--v71f-text-muted);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v71f-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.v71f-partner-item {
  background: var(--v71f-bg-card);
  border-radius: 0.8rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  border: 1px solid var(--v71f-border);
  transition: all 0.3s ease;
}

.v71f-partner-item:hover {
  border-color: var(--v71f-primary);
  transform: translateY(-2px);
}

.v71f-partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.v71f-partner-item:hover img {
  filter: grayscale(0%);
}

.v71f-copyright {
  color: var(--v71f-text-muted);
  font-size: 1.2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--v71f-border);
}

/* Bottom navigation for mobile */
.v71f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--v71f-bg) 0%, var(--v71f-bg-secondary) 100%);
  border-top: 1px solid var(--v71f-border);
  z-index: 1000;
  box-shadow: 0 -2px 20px var(--v71f-shadow);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6.4rem;
  padding: 0.5rem 0;
}

.v71f-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 6rem;
  min-height: 5.6rem;
  border-radius: 1.2rem;
  background: transparent;
  border: none;
  color: var(--v71f-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.8rem 1rem;
}

.v71f-nav-item:hover {
  background: var(--v71f-bg-card);
  color: var(--v71f-primary);
  transform: translateY(-2px);
}

.v71f-nav-item.active {
  background: var(--v71f-bg-card);
  color: var(--v71f-primary);
}

.v71f-nav-icon {
  font-size: 2.4rem;
  transition: all 0.3s ease;
}

.v71f-nav-item:hover .v71f-nav-icon {
  transform: scale(1.1);
}

.v71f-nav-text {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive styles */
@media (min-width: 769px) {
  .v71f-bottom-nav {
    display: none;
  }

  .v71f-wrapper {
    padding-bottom: 2rem;
  }

  .v71f-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .v71f-nav-buttons {
    display: none;
  }

  .v71f-menu-toggle {
    display: block;
  }

  .v71f-site-name {
    font-size: 1.6rem;
  }

  .v71f-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 1rem;
  }

  .v71f-section-title {
    font-size: 2.2rem;
  }

  .v71f-card {
    padding: 1.5rem;
  }

  .v71f-card-title {
    font-size: 1.8rem;
  }
}

/* Animation classes */
.v71f-fade-in {
  animation: fadeIn 0.5s ease-in;
}

.v71f-slide-up {
  animation: slideUp 0.5s ease-out;
}

.v71f-pulse {
  animation: pulse 2s infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Utility classes */
.v71f-text-center {
  text-align: center;
}

.v71f-text-primary {
  color: var(--v71f-primary);
}

.v71f-text-muted {
  color: var(--v71f-text-muted);
}

.v71f-mt-2 {
  margin-top: 2rem;
}

.v71f-mb-2 {
  margin-bottom: 2rem;
}

.v71f-py-4 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.v71f-highlight {
  background: linear-gradient(90deg, var(--v71f-primary), var(--v71f-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}