/* ph646-click Philippines CSS Theme - Mobile First Design */
/* CSS Prefix: w3p1- | 4-Color Theme */

:root {
  --w3p1-primary: #4A90E2;
  --w3p1-secondary: #E74C3C;
  --w3p1-accent: #F39C12;
  --w3p1-dark: #2C3E50;
  --w3p1-light: #ECF0F1;
  --w3p1-white: #FFFFFF;
  --w3p1-text: #2C3E50;
  --w3p1-text-light: #7F8C8D;
  --w3p1-success: #27AE60;
  --w3p1-warning: #F39C12;
  --w3p1-danger: #E74C3C;
  --w3p1-radius: 0.8rem;
  --w3p1-shadow: 0 0.2rem 1rem rgba(0,0,0,0.1);
  --w3p1-shadow-hover: 0 0.4rem 2rem rgba(0,0,0,0.15);
  font-size: 62.5%;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--w3p1-text);
  background: var(--w3p1-light);
}

.w3p1-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.w3p1-header {
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, var(--w3p1-dark) 100%);
  box-shadow: var(--w3p1-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.w3p1-nav {
  padding: 1rem 0;
}

.w3p1-container {
  max-width: 43rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}

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

.w3p1-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.w3p1-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--w3p1-white);
  font-weight: bold;
  font-size: 1.8rem;
}

.w3p1-logo img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
}

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

.w3p1-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: var(--w3p1-radius);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.w3p1-nav-toggle span {
  width: 2.4rem;
  height: 0.3rem;
  background: var(--w3p1-white);
  border-radius: 0.2rem;
  transition: all 0.3s ease;
}

.w3p1-nav-menu {
  background: var(--w3p1-white);
  border-radius: 0 0 var(--w3p1-radius) var(--w3p1-radius);
  margin-top: 1rem;
  padding: 2rem 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.w3p1-nav-menu.w3p1-active {
  max-height: 40rem;
}

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

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

.w3p1-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  text-decoration: none;
  color: var(--w3p1-text);
  transition: all 0.3s ease;
  border-radius: var(--w3p1-radius);
  margin: 0 1.6rem;
}

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

/* Button Styles */
.w3p1-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.4rem;
  background: var(--w3p1-primary);
  color: var(--w3p1-white);
  text-decoration: none;
  border: none;
  border-radius: var(--w3p1-radius);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 4.8rem;
}

.w3p1-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: var(--w3p1-shadow-hover);
}

.w3p1-btn:active {
  transform: translateY(0);
}

.w3p1-btn-primary {
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, #3B82F6 100%);
}

.w3p1-btn-secondary {
  background: linear-gradient(135deg, var(--w3p1-secondary) 0%, #DC2626 100%);
}

.w3p1-btn-accent {
  background: linear-gradient(135deg, var(--w3p1-accent) 0%, #F59E0B 100%);
}

.w3p1-btn-outline {
  background: transparent;
  border: 0.2rem solid var(--w3p1-primary);
  color: var(--w3p1-primary);
}

.w3p1-btn-outline:hover {
  background: var(--w3p1-primary);
  color: var(--w3p1-white);
}

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

.w3p1-btn-large {
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
  min-height: 5.6rem;
}

/* Content Styles */
.w3p1-content {
  flex: 1;
  margin-top: 8rem;
  margin-bottom: 8rem;
  padding: 2rem 0;
}

.w3p1-section {
  margin-bottom: 3.2rem;
}

.w3p1-section-title {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--w3p1-dark);
  text-align: center;
  margin-bottom: 3.2rem;
  padding: 0 1.6rem;
}

.w3p1-card {
  background: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  box-shadow: var(--w3p1-shadow);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.w3p1-card:hover {
  box-shadow: var(--w3p1-shadow-hover);
  transform: translateY(-0.2rem);
}

.w3p1-card-title {
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, var(--w3p1-dark) 100%);
  color: var(--w3p1-white);
  padding: 1.6rem 2rem;
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.w3p1-card-content {
  padding: 2rem;
}

/* Grid System */
.w3p1-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.w3p1-grid-2 {
  grid-template-columns: 1fr;
}

.w3p1-grid-3 {
  grid-template-columns: 1fr;
}

/* Hero Section */
.w3p1-hero {
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, var(--w3p1-accent) 50%, var(--w3p1-secondary) 100%);
  color: var(--w3p1-white);
  padding: 4rem 0;
  margin-bottom: 3.2rem;
  border-radius: var(--w3p1-radius);
  overflow: hidden;
}

.w3p1-hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

.w3p1-hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 1.6rem;
  text-shadow: 0.2rem 0.2rem 0.4rem rgba(0,0,0,0.3);
}

.w3p1-hero-subtitle {
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
  opacity: 0.9;
  line-height: 1.6;
}

.w3p1-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  width: 100%;
}

.w3p1-hero-image {
  width: 100%;
  max-width: 32rem;
}

.w3p1-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--w3p1-radius);
  box-shadow: var(--w3p1-shadow);
}

/* Carousel Styles */
.w3p1-carousel {
  position: relative;
  margin-bottom: 2rem;
}

.w3p1-carousel-container {
  overflow: hidden;
  border-radius: var(--w3p1-radius);
}

.w3p1-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.w3p1-carousel-slide {
  min-width: 100%;
  padding: 2rem;
}

.w3p1-carousel-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  padding: 0 1rem;
  pointer-events: none;
}

.w3p1-carousel-btn {
  background: var(--w3p1-white);
  border: none;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--w3p1-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: var(--w3p1-shadow);
}

.w3p1-carousel-btn:hover {
  background: var(--w3p1-primary);
  color: var(--w3p1-white);
  transform: scale(1.1);
}

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

.w3p1-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--w3p1-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

/* Games Grid */
.w3p1-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.w3p1-game-item {
  background: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  padding: 1.6rem;
  text-decoration: none;
  color: var(--w3p1-text);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--w3p1-shadow);
}

.w3p1-game-item:hover {
  transform: translateY(-0.4rem);
  box-shadow: var(--w3p1-shadow-hover);
}

.w3p1-game-icon {
  width: 6rem;
  height: 6rem;
  border-radius: var(--w3p1-radius);
  margin-bottom: 1rem;
  object-fit: cover;
}

.w3p1-game-name {
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
}

/* Categories */
.w3p1-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.w3p1-category-item {
  background: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--w3p1-shadow);
}

.w3p1-category-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: var(--w3p1-shadow-hover);
}

.w3p1-category-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, var(--w3p1-accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.6rem;
  color: var(--w3p1-white);
  font-size: 2.4rem;
}

.w3p1-category-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--w3p1-dark);
}

.w3p1-category-item p {
  margin-bottom: 1.6rem;
  color: var(--w3p1-text-light);
}

.w3p1-category-games {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.w3p1-category-games span {
  background: var(--w3p1-light);
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  color: var(--w3p1-primary);
}

/* Promo Banner */
.w3p1-promo-banner {
  background: linear-gradient(135deg, var(--w3p1-accent) 0%, var(--w3p1-secondary) 100%);
  color: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  overflow: hidden;
  margin-bottom: 3.2rem;
}

.w3p1-promo-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  text-align: center;
}

.w3p1-promo-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  text-shadow: 0.2rem 0.2rem 0.4rem rgba(0,0,0,0.3);
}

.w3p1-promo-text p {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.w3p1-bonus-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.w3p1-bonus-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
}

.w3p1-bonus-feature i {
  color: var(--w3p1-success);
}

.w3p1-promo-image {
  max-width: 24rem;
  margin: 0 auto;
}

.w3p1-promo-img {
  width: 100%;
  height: auto;
  border-radius: var(--w3p1-radius);
}

/* Features Grid */
.w3p1-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.w3p1-feature-item {
  text-align: center;
  padding: 2rem;
}

.w3p1-feature-icon {
  font-size: 3.2rem;
  color: var(--w3p1-primary);
  margin-bottom: 1.6rem;
}

.w3p1-feature-item h4 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--w3p1-dark);
}

.w3p1-feature-item p {
  color: var(--w3p1-text-light);
}

/* Payment Grid */
.w3p1-payment-intro {
  text-align: center;
  margin-bottom: 2.4rem;
  color: var(--w3p1-text-light);
}

.w3p1-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.w3p1-payment-item {
  background: var(--w3p1-light);
  padding: 1.6rem;
  border-radius: var(--w3p1-radius);
  text-align: center;
  transition: all 0.3s ease;
}

.w3p1-payment-item:hover {
  background: var(--w3p1-primary);
  color: var(--w3p1-white);
  transform: translateY(-0.2rem);
}

.w3p1-payment-item i {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: block;
}

.w3p1-payment-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.w3p1-payment-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: var(--w3p1-light);
  border-radius: var(--w3p1-radius);
  font-size: 1.4rem;
}

.w3p1-payment-feature i {
  color: var(--w3p1-success);
  font-size: 1.6rem;
}

/* Mobile Section */
.w3p1-mobile-section {
  background: linear-gradient(135deg, var(--w3p1-dark) 0%, var(--w3p1-primary) 100%);
  color: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  overflow: hidden;
  margin-bottom: 3.2rem;
}

.w3p1-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  text-align: center;
}

.w3p1-mobile-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
}

.w3p1-mobile-text p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.w3p1-mobile-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.w3p1-mobile-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
}

.w3p1-mobile-feature i {
  color: var(--w3p1-accent);
  font-size: 1.6rem;
}

.w3p1-mobile-image {
  max-width: 24rem;
  margin: 0 auto;
}

.w3p1-mobile-img {
  width: 100%;
  height: auto;
  border-radius: var(--w3p1-radius);
}

/* Testimonials */
.w3p1-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.w3p1-testimonial {
  background: var(--w3p1-light);
  padding: 2rem;
  border-radius: var(--w3p1-radius);
  border-left: 0.4rem solid var(--w3p1-primary);
}

.w3p1-testimonial-content {
  margin-bottom: 1.6rem;
}

.w3p1-testimonial-content p {
  font-style: italic;
  color: var(--w3p1-text-light);
}

.w3p1-testimonial-author strong {
  color: var(--w3p1-dark);
  font-size: 1.4rem;
}

.w3p1-testimonial-author span {
  color: var(--w3p1-text-light);
  font-size: 1.2rem;
}

/* CTA Banner */
.w3p1-cta-banner {
  background: linear-gradient(135deg, var(--w3p1-primary) 0%, var(--w3p1-secondary) 100%);
  color: var(--w3p1-white);
  border-radius: var(--w3p1-radius);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3.2rem;
}

.w3p1-cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1.6rem;
  text-shadow: 0.2rem 0.2rem 0.4rem rgba(0,0,0,0.3);
}

.w3p1-cta-content p {
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
  opacity: 0.9;
}

.w3p1-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
}

/* Footer */
.w3p1-footer {
  background: var(--w3p1-dark);
  color: var(--w3p1-white);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.w3p1-footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.w3p1-footer-section h4 {
  margin-bottom: 1.6rem;
  color: var(--w3p1-accent);
  font-size: 1.6rem;
}

.w3p1-footer-section p {
  color: var(--w3p1-text-light);
  margin-bottom: 1rem;
}

.w3p1-footer-links {
  list-style: none;
}

.w3p1-footer-links li {
  margin-bottom: 0.8rem;
}

.w3p1-footer-link {
  color: var(--w3p1-text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.w3p1-footer-link:hover {
  color: var(--w3p1-accent);
}

.w3p1-social-links {
  display: flex;
  gap: 1.6rem;
}

.w3p1-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--w3p1-primary);
  color: var(--w3p1-white);
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.w3p1-social-link:hover {
  background: var(--w3p1-accent);
  transform: translateY(-0.2rem);
}

.w3p1-footer-bottom {
  border-top: 0.1rem solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
}

.w3p1-copyright {
  color: var(--w3p1-text-light);
  font-size: 1.4rem;
}

/* Mobile Bottom Navigation */
.w3p1-mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--w3p1-white);
  box-shadow: 0 -0.2rem 1rem rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  z-index: 1000;
}

.w3p1-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--w3p1-text-light);
  transition: all 0.3s ease;
  padding: 0.8rem;
  border-radius: var(--w3p1-radius);
  min-width: 6rem;
}

.w3p1-mobile-nav-item:hover,
.w3p1-mobile-nav-item.w3p1-mobile-nav-active {
  color: var(--w3p1-primary);
  background: rgba(74, 144, 226, 0.1);
}

.w3p1-mobile-nav-icon {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

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

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

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

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

.w3p1-mt-1 {
  margin-top: 1rem;
}

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

.w3p1-mb-1 {
  margin-bottom: 1rem;
}

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

.w3p1-hidden {
  display: none;
}

.w3p1-visible {
  display: block;
}

/* Responsive Design - Tablet and Desktop */
@media screen and (min-width: 768px) {
  .w3p1-container {
    max-width: 72rem;
  }
  
  .w3p1-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .w3p1-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .w3p1-hero-content {
    flex-direction: row;
    text-align: left;
  }
  
  .w3p1-hero-actions {
    flex-direction: row;
    width: auto;
  }
  
  .w3p1-promo-content {
    flex-direction: row;
    text-align: left;
  }
  
  .w3p1-mobile-content {
    flex-direction: row;
    text-align: left;
  }
  
  .w3p1-cta-actions {
    flex-direction: row;
  }
  
  .w3p1-footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .w3p1-games-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .w3p1-payment-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .w3p1-mobile-nav {
    display: none;
  }
  
  .w3p1-nav-toggle {
    display: none;
  }
  
  .w3p1-nav-menu {
    display: flex;
    max-height: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  
  .w3p1-nav-list {
    display: flex;
    gap: 2rem;
  }
  
  .w3p1-nav-item {
    margin: 0;
  }
  
  .w3p1-nav-link {
    margin: 0;
    color: var(--w3p1-white);
  }
  
  .w3p1-nav-link:hover {
    background: rgba(255,255,255,0.1);
    transform: none;
  }
}

@media screen and (min-width: 1024px) {
  .w3p1-container {
    max-width: 120rem;
  }
  
  .w3p1-footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .w3p1-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .w3p1-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .w3p1-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Loading Animation */
.w3p1-loading {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.3rem solid var(--w3p1-light);
  border-radius: 50%;
  border-top-color: var(--w3p1-primary);
  animation: w3p1-spin 1s ease-in-out infinite;
}

@keyframes w3p1-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Print Styles */
@media print {
  .w3p1-header,
  .w3p1-mobile-nav,
  .w3p1-carousel-nav,
  .w3p1-carousel-dots {
    display: none;
  }
  
  .w3p1-content {
    margin-top: 0;
  }
}