/* style-836c.css - PHSpin CSS Framework */
/* All classes use vcf4- prefix for namespace isolation */

/* CSS Variables */
:root {
  --vcf4-primary: #2D2D2D;
  --vcf4-secondary: #BC8F8F;
  --vcf4-accent: #E91E63;
  --vcf4-success: #BAFFC9;
  --vcf4-warning: #FFA500;
  --vcf4-bg: #fafafa;
  --vcf4-text: #333333;
  --vcf4-text-light: #666666;
  --vcf4-border: #e0e0e0;
  --vcf4-shadow: 0 2px 8px rgba(0,0,0,0.1);
  --vcf4-radius: 8px;
  --vcf4-transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--vcf4-text);
  background-color: var(--vcf4-bg);
  overflow-x: hidden;
}

/* Layout Components */
.vcf4-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.vcf4-container {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.vcf4-grid {
  display: grid;
  gap: 1.6rem;
}

.vcf4-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.vcf4-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.vcf4-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.vcf4-flex {
  display: flex;
}

.vcf4-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcf4-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header and Navigation */
.vcf4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--vcf4-primary), var(--vcf4-secondary));
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--vcf4-shadow);
}

.vcf4-nav {
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem;
}

.vcf4-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.8rem;
}

.vcf4-logo-img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: var(--vcf4-radius);
}

.vcf4-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vcf4-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: var(--vcf4-radius);
  transition: var(--vcf4-transition);
}

.vcf4-hamburger:hover {
  background: rgba(255,255,255,0.1);
}

.vcf4-hamburger-line {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: white;
  margin: 0.3rem 0;
  transition: var(--vcf4-transition);
}

.vcf4-hamburger-active .vcf4-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.vcf4-hamburger-active .vcf4-hamburger-line:nth-child(2) {
  opacity: 0;
}

.vcf4-hamburger-active .vcf4-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* Mobile Menu */
.vcf4-mobile-menu {
  position: fixed;
  top: 5.6rem;
  left: -100%;
  width: 80%;
  height: calc(100vh - 5.6rem);
  background: white;
  transition: left 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.vcf4-menu-open {
  left: 0;
}

.vcf4-menu-overlay {
  position: fixed;
  top: 5.6rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 5.6rem);
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--vcf4-transition);
  z-index: 998;
}

.vcf4-overlay-active {
  opacity: 1;
  visibility: visible;
}

.vcf4-menu-list {
  list-style: none;
  padding: 2rem 0;
}

.vcf4-menu-item {
  border-bottom: 1px solid var(--vcf4-border);
}

.vcf4-menu-link {
  display: block;
  padding: 1.6rem 2rem;
  color: var(--vcf4-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--vcf4-transition);
}

.vcf4-menu-link:hover {
  background: var(--vcf4-accent);
  color: white;
}

.vcf4-menu-link i {
  margin-right: 1rem;
  width: 2rem;
  color: var(--vcf4-secondary);
}

/* Button Components */
.vcf4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--vcf4-radius);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--vcf4-transition);
  min-height: 4.4rem;
  position: relative;
  overflow: hidden;
}

.vcf4-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.vcf4-btn:active::before {
  width: 200px;
  height: 200px;
}

.vcf4-btn-primary {
  background: linear-gradient(135deg, var(--vcf4-accent), #ff4081);
  color: white;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.vcf4-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(233, 30, 99, 0.4);
}

.vcf4-btn-secondary {
  background: linear-gradient(135deg, var(--vcf4-secondary), #d4a5a5);
  color: white;
  box-shadow: 0 4px 12px rgba(188, 143, 143, 0.3);
}

.vcf4-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(188, 143, 143, 0.4);
}

.vcf4-btn-outline {
  background: transparent;
  color: var(--vcf4-accent);
  border: 2px solid var(--vcf4-accent);
}

.vcf4-btn-outline:hover {
  background: var(--vcf4-accent);
  color: white;
}

.vcf4-btn-small {
  padding: 0.8rem 1.6rem;
  font-size: 1.2rem;
  min-height: 3.6rem;
}

.vcf4-btn-large {
  padding: 1.4rem 2.8rem;
  font-size: 1.6rem;
  min-height: 5.2rem;
}

.vcf4-btn-pressed {
  transform: scale(0.95);
}

.vcf4-btn-pulse {
  animation: vcf4-pulse 2s infinite;
}

@keyframes vcf4-pulse {
  0% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(233, 30, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

/* Main Content */
.vcf4-main {
  flex: 1;
  padding-top: 5.6rem;
  padding-bottom: 6.4rem; /* Space for bottom nav */
}

.vcf4-section {
  padding: 2rem 0;
}

.vcf4-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--vcf4-primary);
  text-align: center;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.vcf4-section-subtitle {
  font-size: 1.6rem;
  color: var(--vcf4-text-light);
  text-align: center;
  margin-bottom: 2.4rem;
  line-height: 1.4;
}

.vcf4-text-center {
  text-align: center;
}

.vcf4-text-left {
  text-align: left;
}

.vcf4-text-right {
  text-align: right;
}

/* Hero Slider */
.vcf4-hero-slider {
  position: relative;
  height: 24rem;
  border-radius: var(--vcf4-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.vcf4-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vcf4-slide-active {
  opacity: 1;
}

.vcf4-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vcf4-slider-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.vcf4-slider-indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--vcf4-transition);
}

.vcf4-indicator-active {
  background: white;
}

/* Game Grid */
.vcf4-games-section {
  margin: 2.4rem 0;
}

.vcf4-games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.vcf4-games-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vcf4-primary);
}

.vcf4-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.vcf4-game-item {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: var(--vcf4-radius);
  padding: 1rem;
  box-shadow: var(--vcf4-shadow);
  transition: var(--vcf4-transition);
  text-align: center;
}

.vcf4-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.vcf4-game-img {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: calc(var(--vcf4-radius) - 2px);
  margin-bottom: 0.8rem;
}

.vcf4-game-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--vcf4-text);
  line-height: 1.3;
}

/* Card Components */
.vcf4-card {
  background: white;
  border-radius: var(--vcf4-radius);
  padding: 2rem;
  box-shadow: var(--vcf4-shadow);
  margin-bottom: 1.6rem;
}

.vcf4-card-header {
  border-bottom: 1px solid var(--vcf4-border);
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
}

.vcf4-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vcf4-primary);
  margin-bottom: 0.8rem;
}

.vcf4-card-text {
  color: var(--vcf4-text-light);
  line-height: 1.6;
}

/* Feature Lists */
.vcf4-feature-list {
  list-style: none;
}

.vcf4-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--vcf4-border);
}

.vcf4-feature-item:last-child {
  border-bottom: none;
}

.vcf4-feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vcf4-accent), #ff4081);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.vcf4-feature-content {
  flex: 1;
}

.vcf4-feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vcf4-primary);
  margin-bottom: 0.8rem;
}

.vcf4-feature-desc {
  color: var(--vcf4-text-light);
  line-height: 1.5;
}

/* Bottom Navigation */
.vcf4-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--vcf4-border);
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.vcf4-bottom-nav-container {
  display: flex;
  max-width: 430px;
  margin: 0 auto;
}

.vcf4-nav-item {
  flex: 1;
  text-align: center;
}

.vcf4-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.4rem;
  color: var(--vcf4-text-light);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--vcf4-transition);
  min-height: 4.4rem;
}

.vcf4-nav-link:hover,
.vcf4-nav-active .vcf4-nav-link {
  color: var(--vcf4-accent);
}

.vcf4-nav-icon {
  font-size: 2rem;
}

.vcf4-nav-text {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.vcf4-footer {
  background: var(--vcf4-primary);
  color: white;
  padding: 3rem 0 1.6rem;
  margin-bottom: 6.4rem; /* Space for bottom nav */
}

.vcf4-footer-content {
  text-align: center;
}

.vcf4-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.vcf4-footer-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1.3rem;
  transition: var(--vcf4-transition);
}

.vcf4-footer-link:hover {
  color: white;
}

.vcf4-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
  margin: 2rem 0;
}

.vcf4-partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--vcf4-transition);
}

.vcf4-partner-logo:hover {
  opacity: 1;
}

.vcf4-copyright {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2rem;
}

/* Notifications */
.vcf4-notification {
  position: fixed;
  top: 7rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: white;
  color: var(--vcf4-text);
  padding: 1.2rem 2rem;
  border-radius: var(--vcf4-radius);
  box-shadow: var(--vcf4-shadow);
  z-index: 1001;
  transition: transform 0.3s ease;
  max-width: 90%;
}

.vcf4-notification-show {
  transform: translateX(-50%) translateY(0);
}

.vcf4-notification-success {
  background: var(--vcf4-success);
  color: var(--vcf4-primary);
}

.vcf4-notification-error {
  background: var(--vcf4-accent);
  color: white;
}

.vcf4-notification-warning {
  background: var(--vcf4-warning);
  color: white;
}

/* Utility Classes */
.vcf4-mt-1 { margin-top: 1rem; }
.vcf4-mt-2 { margin-top: 2rem; }
.vcf4-mb-1 { margin-bottom: 1rem; }
.vcf4-mb-2 { margin-bottom: 2rem; }
.vcf4-p-1 { padding: 1rem; }
.vcf4-p-2 { padding: 2rem; }

.vcf4-hidden { display: none; }
.vcf4-visible { display: block; }

.vcf4-font-bold { font-weight: 700; }
.vcf4-font-semibold { font-weight: 600; }

.vcf4-color-primary { color: var(--vcf4-primary); }
.vcf4-color-secondary { color: var(--vcf4-secondary); }
.vcf4-color-accent { color: var(--vcf4-accent); }

/* Responsive Design */
@media (max-width: 360px) {
  .vcf4-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vcf4-game-img {
    height: 5rem;
  }
  
  .vcf4-game-name {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .vcf4-container {
    max-width: 430px;
  }
  
  .vcf4-hero-slider {
    height: 32rem;
  }
  
  .vcf4-games-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}