/* Pinoy Time Casino Theme CSS - All classes prefixed with vfd9- */
:root {
  --vfd9-primary: #00BFFF;
  --vfd9-secondary: #BDC3C7;
  --vfd9-accent: #40E0D0;
  --vfd9-bg: #3A3A3A;
  --vfd9-text: #ECF0F1;
  --vfd9-text-muted: #BDC3C7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  background: var(--vfd9-bg);
  color: var(--vfd9-text);
  max-width: 430px;
  margin: 0 auto;
}

/* Container & Layout */
.vfd9-container {
  width: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.vfd9-wrapper {
  padding-bottom: 7rem;
}

/* Header */
.vfd9-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--vfd9-primary), var(--vfd9-accent));
  padding: 1rem 1.5rem;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 191, 255, 0.3);
}

.vfd9-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vfd9-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--vfd9-text);
}

.vfd9-logo {
  width: 28px;
  height: 28px;
  border-radius: 0.4rem;
}

.vfd9-site-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.vfd9-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Hamburger Menu */
.vfd9-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vfd9-hamburger span {
  width: 2.4rem;
  height: 0.3rem;
  background: #fff;
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.vfd9-mobile-menu {
  position: fixed;
  top: 6rem;
  right: -100%;
  width: 28rem;
  max-width: 85%;
  height: calc(100vh - 6rem);
  background: var(--vfd9-bg);
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.vfd9-menu-active {
  right: 0;
}

.vfd9-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

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

.vfd9-nav-list {
  list-style: none;
}

.vfd9-nav-item {
  margin-bottom: 0.5rem;
}

.vfd9-nav-link {
  display: block;
  padding: 1.2rem;
  color: var(--vfd9-text);
  text-decoration: none;
  border-radius: 0.8rem;
  transition: all 0.3s ease;
}

.vfd9-nav-link:hover {
  background: var(--vfd9-primary);
  transform: translateX(0.5rem);
}

/* Buttons */
.vfd9-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  text-align: center;
}

.vfd9-btn-primary {
  background: linear-gradient(135deg, var(--vfd9-primary), var(--vfd9-accent));
  color: #fff;
}

.vfd9-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.vfd9-btn-secondary {
  background: var(--vfd9-accent);
  color: #fff;
}

.vfd9-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(64, 224, 208, 0.4);
}

.vfd9-btn-sm {
  padding: 0.8rem 1.5rem;
  font-size: 1.3rem;
}

/* Carousel */
.vfd9-carousel {
  position: relative;
  width: 100%;
  margin: 7rem 0 2rem 0;
  overflow: hidden;
  border-radius: 1.2rem;
}

.vfd9-carousel-item {
  display: none;
  width: 100%;
}

.vfd9-carousel-item.vfd9-active {
  display: block;
}

.vfd9-carousel-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.vfd9-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1rem;
}

.vfd9-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--vfd9-text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vfd9-carousel-dot.vfd9-active {
  background: var(--vfd9-primary);
  transform: scale(1.2);
}

/* Sections */
.vfd9-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--vfd9-accent);
  margin: 2rem 0 1.5rem 0;
  text-align: center;
}

.vfd9-content-section {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(64, 224, 208, 0.1);
  border-radius: 1.2rem;
  border: 1px solid rgba(0, 191, 255, 0.2);
}

.vfd9-content-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--vfd9-primary);
  margin-bottom: 1.5rem;
}

.vfd9-content-text {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--vfd9-text);
}

/* Game Grid */
.vfd9-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.vfd9-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: rgba(0, 191, 255, 0.1);
  transition: all 0.3s ease;
}

.vfd9-game-item:hover {
  background: rgba(0, 191, 255, 0.3);
  transform: translateY(-3px);
}

.vfd9-game-icon {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 0.8rem;
  object-fit: cover;
}

.vfd9-game-name {
  font-size: 1.2rem;
  color: var(--vfd9-text);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* Lists */
.vfd9-list {
  list-style: none;
  margin: 1.5rem 0;
}

.vfd9-list-item {
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: rgba(0, 191, 255, 0.1);
  border-left: 3px solid var(--vfd9-accent);
  border-radius: 0.5rem;
  font-size: 1.5rem;
}

/* Footer */
.vfd9-footer {
  background: var(--vfd9-bg);
  padding: 3rem 0 8rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 191, 255, 0.2);
}

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

.vfd9-footer-link {
  color: var(--vfd9-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.vfd9-footer-link:hover {
  color: var(--vfd9-primary);
}

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

.vfd9-partner-icon {
  width: 4rem;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vfd9-partner-icon:hover {
  opacity: 1;
}

.vfd9-copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--vfd9-text-muted);
}

/* Bottom Navigation */
.vfd9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--vfd9-bg), #2A2A2A);
  box-shadow: 0 -2px 10px rgba(0, 191, 255, 0.3);
  z-index: 999;
}

.vfd9-bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
}

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

.vfd9-bottom-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--vfd9-text-muted);
  text-decoration: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
  min-height: 44px;
}

.vfd9-bottom-nav-item a:hover,
.vfd9-bottom-nav-item a.vfd9-active {
  color: var(--vfd9-primary);
  transform: scale(1.1);
}

.vfd9-bottom-nav-item i {
  font-size: 2.4rem;
  margin-bottom: 0.3rem;
}

.vfd9-bottom-nav-item span {
  font-size: 1.1rem;
}

/* Animations */
.vfd9-animate {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.6s ease;
}

.vfd9-animate.vfd9-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.vfd9-text-center {
  text-align: center;
}

.vfd9-mt-2 {
  margin-top: 2rem;
}

.vfd9-mb-2 {
  margin-bottom: 2rem;
}

/* Table */
.vfd9-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.vfd9-table th,
.vfd9-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 191, 255, 0.2);
}

.vfd9-table th {
  background: rgba(0, 191, 255, 0.2);
  color: var(--vfd9-accent);
  font-weight: 600;
}

.vfd9-table td {
  color: var(--vfd9-text);
}

/* Responsive */
@media (max-width: 375px) {
  html {
    font-size: 58%;
  }
  
  .vfd9-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  }
}
