/* PH888 Slot - Theme Stylesheet */
/* CSS prefix: vc5d- */

:root {
  --vc5d-primary: #880E4F;
  --vc5d-secondary: #FF5722;
  --vc5d-accent: #00FFFF;
  --vc5d-light: #FFCCCB;
  --vc5d-dark: #3A3A3A;
  --vc5d-bg: #1a1a1a;
  --vc5d-text: #ffffff;
  --vc5d-text-light: #e0e0e0;
  --vc5d-border: #404040;
  --vc5d-success: #4CAF50;
  --vc5d-warning: #FF9800;
  --vc5d-danger: #f44336;
  --vc5d-radius: 8px;
  --vc5d-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

* {
  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;
  background: var(--vc5d-bg);
  color: var(--vc5d-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  overflow-x: hidden;
  padding-bottom: 80px;
}

/* Container and Layout */
.vc5d-container {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.vc5d-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.vc5d-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Header Styles */
.vc5d-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--vc5d-primary);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem;
  max-width: 100%;
  box-shadow: var(--vc5d-shadow);
}

.vc5d-header-container {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem;
}

.vc5d-logo-section {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 0 0 auto;
}

.vc5d-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vc5d-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--vc5d-dark);
  font-size: 1.8rem;
}

.vc5d-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--vc5d-light);
}

.vc5d-nav-buttons {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}

.vc5d-btn {
  padding: 0.6rem 1rem;
  border: none;
  border-radius: var(--vc5d-radius);
  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;
  min-height: 44px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vc5d-btn-register {
  background: var(--vc5d-accent);
  color: var(--vc5d-dark);
}

.vc5d-btn-register:hover {
  background: #00e6e6;
  transform: scale(1.05);
}

.vc5d-btn-login {
  background: var(--vc5d-secondary);
  color: white;
}

.vc5d-btn-login:hover {
  background: #ff6f3d;
  transform: scale(1.05);
}

.vc5d-menu-toggle {
  background: var(--vc5d-accent);
  color: var(--vc5d-dark);
  padding: 0.5rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.vc5d-menu-toggle:hover {
  background: #00e6e6;
}

/* Mobile Menu */
.vc5d-mobile-menu {
  position: fixed;
  top: 70px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 70px);
  background: var(--vc5d-dark);
  transition: left 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.vc5d-mobile-menu.weba8c-menu-open {
  left: 0;
}

.vc5d-menu-item {
  display: block;
  padding: 1rem;
  color: var(--vc5d-light);
  text-decoration: none;
  border-bottom: 1px solid var(--vc5d-border);
  transition: all 0.2s ease;
  font-size: 1.5rem;
  font-weight: 500;
}

.vc5d-menu-item:hover,
.vc5d-menu-item.weba8c-active {
  background: var(--vc5d-primary);
  color: var(--vc5d-accent);
  padding-left: 1.5rem;
}

/* Main Content */
main {
  flex: 1;
  margin-top: 70px;
  padding-bottom: 20px;
}

.vc5d-section {
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--vc5d-border);
}

.vc5d-section:last-child {
  border-bottom: none;
}

/* Heading Styles */
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--vc5d-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.3;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--vc5d-secondary);
  text-transform: uppercase;
}

h3 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--vc5d-accent);
}

h4, h5, h6 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--vc5d-text-light);
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--vc5d-text-light);
}

/* Link Styles */
a {
  color: var(--vc5d-accent);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

a:hover {
  color: var(--vc5d-secondary);
  text-decoration: underline;
}

/* Button Variants */
.vc5d-btn-primary {
  background: var(--vc5d-primary);
  color: white;
  width: 100%;
  margin-bottom: 1rem;
}

.vc5d-btn-primary:hover {
  background: #b01b6f;
  transform: translateY(-2px);
  box-shadow: var(--vc5d-shadow);
}

.vc5d-btn-secondary {
  background: var(--vc5d-secondary);
  color: white;
  width: 100%;
}

.vc5d-btn-secondary:hover {
  background: #ff6f3d;
  transform: translateY(-2px);
  box-shadow: var(--vc5d-shadow);
}

.vc5d-btn-accent {
  background: var(--vc5d-accent);
  color: var(--vc5d-dark);
  width: 100%;
}

.vc5d-btn-accent:hover {
  background: #00e6e6;
  transform: translateY(-2px);
}

/* Carousel/Slider */
.vc5d-carousel {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--vc5d-radius);
  overflow: hidden;
  box-shadow: var(--vc5d-shadow);
}

.vc5d-carousel-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.vc5d-carousel-img:hover {
  transform: scale(1.02);
}

/* Games Grid */
.vc5d-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.vc5d-game-card {
  aspect-ratio: 1;
  border-radius: var(--vc5d-radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--vc5d-border);
  position: relative;
}

.vc5d-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
  border: 1px solid var(--vc5d-accent);
}

.vc5d-game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vc5d-game-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  word-break: break-word;
}

/* Cards and Components */
.vc5d-card {
  background: var(--vc5d-dark);
  border: 1px solid var(--vc5d-border);
  border-radius: var(--vc5d-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.vc5d-card:hover {
  border-color: var(--vc5d-accent);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.vc5d-card-title {
  color: var(--vc5d-accent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.vc5d-card-content {
  color: var(--vc5d-text-light);
  line-height: 1.6;
}

/* Features Grid */
.vc5d-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 500px) {
  .vc5d-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.vc5d-feature-item {
  background: var(--vc5d-dark);
  border-left: 4px solid var(--vc5d-secondary);
  padding: 1rem;
  border-radius: 4px;
}

.vc5d-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.vc5d-feature-title {
  color: var(--vc5d-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.vc5d-feature-text {
  color: var(--vc5d-text-light);
  font-size: 1.4rem;
}

/* Footer */
footer {
  background: var(--vc5d-primary);
  padding: 2rem 1rem 8rem;
  margin-top: 2rem;
  border-top: 2px solid var(--vc5d-accent);
}

.vc5d-footer-container {
  max-width: 430px;
  margin: 0 auto;
}

.vc5d-footer-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vc5d-footer-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vc5d-footer-title {
  color: var(--vc5d-accent);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.vc5d-footer-text {
  color: var(--vc5d-light);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.vc5d-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1.3rem;
}

.vc5d-footer-links a {
  color: var(--vc5d-light);
  display: inline-block;
}

.vc5d-footer-links a:hover {
  color: var(--vc5d-accent);
}

.vc5d-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.vc5d-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vc5d-partner-logo:hover {
  opacity: 1;
}

.vc5d-copyright {
  text-align: center;
  color: var(--vc5d-light);
  font-size: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.vc5d-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to right, var(--vc5d-dark), var(--vc5d-primary), var(--vc5d-dark));
  border-top: 2px solid var(--vc5d-accent);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 64px;
  max-width: 100%;
  box-shadow: 0 -4px 12px rgba(0, 255, 255, 0.2);
}

.vc5d-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-width: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  color: var(--vc5d-text-light);
  text-decoration: none;
  padding: 0.4rem;
}

.vc5d-nav-btn:hover,
.vc5d-nav-btn.vc5d-active {
  color: var(--vc5d-accent);
  transform: scale(1.15);
}

.vc5d-nav-icon {
  font-size: 24px;
  margin-bottom: 0.2rem;
}

.vc5d-nav-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Desktop Styles */
@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }

  .vc5d-bottom-nav {
    display: none;
  }

  .vc5d-menu-toggle {
    display: none;
  }

  .vc5d-mobile-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    border: none;
    left: auto;
    top: auto;
  }

  .vc5d-mobile-menu.weba8c-menu-open {
    left: 0;
  }

  .vc5d-menu-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--vc5d-light);
    font-size: 1.4rem;
  }

  .vc5d-menu-item:hover,
  .vc5d-menu-item.weba8c-active {
    background: transparent;
    border-bottom-color: var(--vc5d-accent);
    color: var(--vc5d-accent);
    padding-left: 1rem;
  }

  .vc5d-games-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  h1 {
    font-size: 3rem;
  }

  .vc5d-section {
    padding: 3rem 2rem;
  }
}

/* Utility Classes */
.vc5d-text-center {
  text-align: center;
}

.vc5d-mt-1 { margin-top: 1rem; }
.vc5d-mt-2 { margin-top: 2rem; }
.vc5d-mb-1 { margin-bottom: 1rem; }
.vc5d-mb-2 { margin-bottom: 2rem; }

.vc5d-hidden {
  display: none !important;
}

.vc5d-visible {
  display: block !important;
}

/* Animations */
@keyframes vc5d-fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc5d-fade-in {
  animation: vc5d-fadeIn 0.5s ease;
}

@keyframes vc5d-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.vc5d-pulse {
  animation: vc5d-pulse 2s infinite;
}
