/* peryagame.css - Stylesheet with vfae- prefix */
/* Green theme for Philippine gaming market */

:root {
  --vfae-primary: #00FF00;
  --vfae-secondary: #8FBC8F;
  --vfae-accent: #F08080;
  --vfae-bg: #0F0F23;
  --vfae-dark-bg: #0a0a15;
  --vfae-text: #CCCCCC;
  --vfae-text-light: #FFFFFF;
  --vfae-border: #1a1a2e;
  --vfae-success: #00FF00;
  --vfae-warning: #F08080;
  --vfae-spacing: 1rem;
  --vfae-radius: 8px;
  --vfae-shadow: 0 4px 12px rgba(0, 255, 0, 0.1);
  --vfae-transition: all 0.3s ease;
}

* {
  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-color: var(--vfae-bg);
  color: var(--vfae-text);
  font-size: 1.6rem;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--vfae-spacing);
  color: var(--vfae-text-light);
}

h1 {
  font-size: 3.2rem;
  text-shadow: 0 2px 8px rgba(0, 255, 0, 0.2);
}

h2 {
  font-size: 2.4rem;
  color: var(--vfae-primary);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: calc(var(--vfae-spacing) * 0.75);
  font-size: 1.5rem;
}

a {
  color: var(--vfae-primary);
  text-decoration: none;
  transition: var(--vfae-transition);
}

a:hover {
  color: var(--vfae-accent);
  text-decoration: underline;
}

/* Header */
.vfae-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--vfae-dark-bg);
  border-bottom: 2px solid var(--vfae-primary);
  padding: 1.2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--vfae-shadow);
}

.vfae-logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vfae-primary);
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.vfae-header-nav {
  display: none;
  gap: 1rem;
  align-items: center;
}

.vfae-menu-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--vfae-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--vfae-transition);
  z-index: 1001;
}

.vfae-menu-toggle:hover {
  color: var(--vfae-accent);
  transform: scale(1.1);
}

/* Mobile Menu */
#vfae-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--vfae-dark-bg);
  overflow-y: auto;
  z-index: 999;
  flex-direction: column;
  padding: 2rem 0;
  border-top: 2px solid var(--vfae-primary);
}

#vfae-mobile-menu.vfae-menu-open {
  display: flex;
}

.vfae-mobile-menu-link {
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--vfae-border);
  color: var(--vfae-text);
  font-size: 1.6rem;
  transition: var(--vfae-transition);
}

.vfae-mobile-menu-link:hover {
  background-color: rgba(0, 255, 0, 0.1);
  color: var(--vfae-primary);
  padding-left: 2.5rem;
}

/* Button */
.vfae-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: var(--vfae-primary);
  color: var(--vfae-dark-bg);
  border: none;
  border-radius: var(--vfae-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--vfae-transition);
  white-space: nowrap;
}

.vfae-btn:hover {
  background-color: var(--vfae-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(240, 128, 128, 0.3);
}

.vfae-btn-secondary {
  background-color: var(--vfae-secondary);
  color: var(--vfae-dark-bg);
}

.vfae-btn-secondary:hover {
  background-color: var(--vfae-primary);
}

.vfae-btn-outline {
  background-color: transparent;
  color: var(--vfae-primary);
  border: 2px solid var(--vfae-primary);
}

.vfae-btn-outline:hover {
  background-color: var(--vfae-primary);
  color: var(--vfae-dark-bg);
}

/* Main Content */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  padding-bottom: 80px;
}

/* Carousel */
.vfae-carousel {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--vfae-radius);
  margin-bottom: 2rem;
  box-shadow: var(--vfae-shadow);
}

.vfae-carousel-slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.vfae-carousel-slide.vfae-active {
  display: block;
  opacity: 1;
}

.vfae-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.vfae-carousel-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.vfae-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--vfae-transition);
}

.vfae-carousel-dot.vfae-active {
  background-color: var(--vfae-primary);
  box-shadow: 0 0 8px var(--vfae-primary);
}

/* Game Grid */
.vfae-games-section {
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.vfae-section-title {
  font-size: 2.2rem;
  color: var(--vfae-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 255, 0, 0.2);
}

.vfae-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.vfae-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: var(--vfae-border);
  border: 1px solid var(--vfae-primary);
  border-radius: var(--vfae-radius);
  cursor: pointer;
  transition: var(--vfae-transition);
  text-align: center;
}

.vfae-game-item:hover {
  background-color: rgba(0, 255, 0, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.2);
}

.vfae-game-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 0.8rem;
  border-radius: 4px;
  object-fit: cover;
}

.vfae-game-name {
  font-size: 1.2rem;
  color: var(--vfae-text);
  font-weight: 600;
  line-height: 1.3;
}

/* Info Section */
.vfae-info-section {
  padding: 2rem 1rem;
  background-color: var(--vfae-border);
  border-left: 4px solid var(--vfae-primary);
  margin-bottom: 2rem;
  border-radius: 4px;
}

.vfae-info-section h3 {
  color: var(--vfae-primary);
  margin-bottom: 1rem;
}

.vfae-info-section ul {
  list-style: none;
  padding-left: 1rem;
}

.vfae-info-section li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.4rem;
}

.vfae-info-section li:before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--vfae-primary);
}

/* Footer */
.vfae-footer {
  background-color: var(--vfae-dark-bg);
  border-top: 2px solid var(--vfae-primary);
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 1.3rem;
}

.vfae-footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.vfae-footer-section h4 {
  color: var(--vfae-primary);
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.vfae-footer-links {
  list-style: none;
}

.vfae-footer-links li {
  margin-bottom: 0.6rem;
}

.vfae-footer-links a {
  color: var(--vfae-text);
  transition: var(--vfae-transition);
}

.vfae-footer-links a:hover {
  color: var(--vfae-primary);
}

.vfae-partner-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.vfae-partner-logo {
  width: 100%;
  height: 60px;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--vfae-transition);
}

.vfae-partner-logo:hover {
  opacity: 1;
}

.vfae-footer-bottom {
  border-top: 1px solid var(--vfae-border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--vfae-text);
  font-size: 1.2rem;
}

/* Bottom Navigation */
.vfae-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--vfae-dark-bg);
  border-top: 2px solid var(--vfae-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 255, 0, 0.1);
}

.vfae-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--vfae-text);
  cursor: pointer;
  transition: var(--vfae-transition);
  font-size: 2rem;
  position: relative;
}

.vfae-bottom-nav-btn:hover,
.vfae-bottom-nav-btn.vfae-active {
  color: var(--vfae-primary);
  transform: scale(1.1);
}

.vfae-bottom-nav-btn span {
  font-size: 1rem;
  margin-top: 0.2rem;
  display: block;
}

/* Responsive Design */
@media (min-width: 430px) {
  html {
    font-size: 65%;
  }

  .vfae-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  h1 {
    font-size: 3.6rem;
  }
}

@media (min-width: 600px) {
  html {
    font-size: 70%;
  }

  .vfae-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1.2rem;
  }

  .vfae-carousel {
    height: 350px;
  }

  .vfae-header {
    padding: 1.5rem 2rem;
  }

  .vfae-games-section {
    padding: 0 2rem;
  }

  .vfae-footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  html {
    font-size: 75%;
  }

  .vfae-bottom-nav {
    display: none;
  }

  main {
    padding-bottom: 0;
  }

  .vfae-header-nav {
    display: flex;
  }

  .vfae-menu-toggle {
    display: none;
  }

  #vfae-mobile-menu {
    position: static;
    display: flex !important;
    top: auto;
    background: none;
    border: none;
    padding: 0;
    flex-direction: row;
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .vfae-mobile-menu-link {
    padding: 0.8rem 1rem;
    border: none;
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .vfae-mobile-menu-link:hover {
    background: none;
    padding-left: 1rem;
  }

  .vfae-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
  }

  .vfae-games-section {
    padding: 0 3rem;
  }

  .vfae-carousel {
    height: 400px;
  }

  .vfae-carousel {
    margin-bottom: 3rem;
  }

  .vfae-footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 85%;
  }

  .vfae-game-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .vfae-games-section {
    padding: 0 4rem;
  }

  .vfae-carousel {
    height: 450px;
  }
}

/* Animations */
@keyframes vfaeFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vfae-game-item {
  animation: vfaeFadeIn 0.4s ease-out forwards;
}

/* Print Styles */
@media print {
  .vfae-header,
  .vfae-bottom-nav,
  .vfae-menu-toggle {
    display: none;
  }

  main {
    margin-top: 0;
    padding-bottom: 0;
  }
}
