/**
 * super ph - Main CSS Stylesheet
 * All classes use 'vc9b-' prefix to avoid conflicts
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
  --vc9b-primary: #0000FF;
  --vc9b-secondary: #5D5D5D;
  --vc9b-dark: #3A3A3A;
  --vc9b-darker: #2C3E50;
  --vc9b-light: #95A5A6;
  --vc9b-white: #FFFFFF;
  --vc9b-bg: #1a1a1a;
  --vc9b-text: #e0e0e0;
  --vc9b-border: #333333;
  --vc9b-success: #00C851;
  --vc9b-warning: #FFBB33;
  --vc9b-danger: #FF4444;
  --vh: 1vh;
}

/* 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, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--vc9b-text);
  background-color: var(--vc9b-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.vc9b-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.vc9b-wrapper {
  padding-top: 60px;
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  .vc9b-wrapper {
    padding-bottom: 0;
  }
}

/* Header */
.vc9b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(135deg, var(--vc9b-darker) 0%, var(--vc9b-dark) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.vc9b-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--vc9b-white);
}

.vc9b-logo-icon {
  width: 28px;
  height: 28px;
  margin-right: 0.5rem;
}

.vc9b-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--vc9b-primary);
}

.vc9b-header-actions {
  display: flex;
  gap: 0.8rem;
}

.vc9b-btn {
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vc9b-btn-primary {
  background: linear-gradient(135deg, var(--vc9b-primary) 0%, #0044cc 100%);
  color: var(--vc9b-white);
}

.vc9b-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 255, 0.4);
}

.vc9b-btn-secondary {
  background: transparent;
  color: var(--vc9b-white);
  border: 2px solid var(--vc9b-primary);
}

.vc9b-btn-secondary:hover {
  background: var(--vc9b-primary);
  transform: translateY(-2px);
}

.vc9b-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}

.vc9b-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--vc9b-white);
  transition: all 0.3s ease;
}

.vc9b-menu-toggle:hover span {
  background-color: var(--vc9b-primary);
}

@media (min-width: 769px) {
  .vc9b-menu-toggle {
    display: none;
  }
}

/* Mobile Menu */
.vc9b-mobile-menu {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--vc9b-dark);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.vc9b-mobile-menu.vc9b-menu-open {
  transform: translateX(0);
}

.vc9b-mobile-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--vc9b-text);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--vc9b-border);
  transition: all 0.3s ease;
}

.vc9b-mobile-link:hover,
.vc9b-mobile-link.vc9b-active {
  background-color: var(--vc9b-primary);
  color: var(--vc9b-white);
  padding-left: 2.5rem;
}

/* Carousel */
.vc9b-carousel {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 8px;
}

.vc9b-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.vc9b-carousel-slide.vc9b-active {
  opacity: 1;
}

.vc9b-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.vc9b-carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.vc9b-carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vc9b-carousel-indicator.vc9b-active {
  background-color: var(--vc9b-primary);
  width: 24px;
  border-radius: 4px;
}

/* Headings */
.vc9b-h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--vc9b-white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.vc9b-h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vc9b-primary);
  margin: 2rem 0 1rem;
  border-left: 4px solid var(--vc9b-primary);
  padding-left: 1rem;
}

.vc9b-h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--vc9b-white);
  margin: 1.5rem 0 1rem;
}

/* Game Grid */
.vc9b-game-section {
  margin-bottom: 2.5rem;
}

.vc9b-section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vc9b-white);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vc9b-section-title i {
  color: var(--vc9b-primary);
}

.vc9b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.vc9b-game-item {
  position: relative;
  background-color: var(--vc9b-dark);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.vc9b-game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 255, 0.3);
}

.vc9b-game-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.vc9b-game-name {
  padding: 0.5rem;
  font-size: 1rem;
  color: var(--vc9b-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: var(--vc9b-darker);
}

/* Content Sections */
.vc9b-section {
  background-color: var(--vc9b-dark);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.vc9b-content {
  color: var(--vc9b-text);
  line-height: 1.8;
}

.vc9b-content p {
  margin-bottom: 1rem;
}

.vc9b-content a {
  color: var(--vc9b-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.vc9b-content a:hover {
  color: var(--vc9b-white);
  text-decoration: underline;
}

.vc9b-link-highlight {
  color: var(--vc9b-primary) !important;
  font-weight: 700 !important;
  text-decoration: underline !important;
}

/* Cards */
.vc9b-card {
  background-color: var(--vc9b-darker);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--vc9b-border);
}

.vc9b-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vc9b-primary);
  margin-bottom: 1rem;
}

/* Lists */
.vc9b-list {
  list-style: none;
  padding: 0;
}

.vc9b-list-item {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--vc9b-border);
  color: var(--vc9b-text);
}

.vc9b-list-item:last-child {
  border-bottom: none;
}

.vc9b-list-item:before {
  content: "•";
  color: var(--vc9b-primary);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.vc9b-list-item {
  padding-left: 1em;
}

/* Bottom Navigation */
.vc9b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--vc9b-darker) 0%, var(--vc9b-dark) 100%);
  border-top: 2px solid var(--vc9b-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .vc9b-bottom-nav {
    display: none;
  }
}

.vc9b-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--vc9b-light);
  min-width: 60px;
  min-height: 60px;
  padding: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.vc9b-nav-item i,
.vc9b-nav-item svg {
  font-size: 24px;
  margin-bottom: 4px;
  width: 24px;
  height: 24px;
}

.vc9b-nav-item span {
  font-size: 10px;
  text-align: center;
}

.vc9b-nav-item:hover {
  color: var(--vc9b-primary);
  transform: scale(1.1);
}

.vc9b-nav-item.vc9b-active {
  color: var(--vc9b-primary);
}

.vc9b-nav-item.vc9b-active i,
.vc9b-nav-item.vc9b-active svg {
  filter: drop-shadow(0 0 4px var(--vc9b-primary));
}

/* Footer */
.vc9b-footer {
  background-color: var(--vc9b-darker);
  padding: 2rem 0 1rem;
  margin-top: 3rem;
  text-align: center;
}

.vc9b-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.vc9b-footer-link {
  color: var(--vc9b-light);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.vc9b-footer-link:hover {
  color: var(--vc9b-primary);
}

.vc9b-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0 1rem;
}

.vc9b-partner-img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vc9b-partner-img:hover {
  opacity: 1;
}

.vc9b-copyright {
  color: var(--vc9b-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* Utility Classes */
.vc9b-text-center {
  text-align: center;
}

.vc9b-mt-1 { margin-top: 1rem; }
.vc9b-mt-2 { margin-top: 2rem; }
.vc9b-mb-1 { margin-bottom: 1rem; }
.vc9b-mb-2 { margin-bottom: 2rem; }

.vc9b-touch-active {
  transform: scale(0.95) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .vc9b-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 360px) {
  .vc9b-game-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
