/*
Theme Name: PP-PRONOS
Description: WordPress theme for PP-PRONOS betting predictions service with WooCommerce integration
\g<1>1.3.7b
Author: PP-PRONOS Team
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-green: #10b981;
  --primary-blue: #0067BA;
  --dark-bg: #0a101d;
  --slate-900: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-gray-300: #d1d5db;
  --text-gray-400: #9ca3af;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass Effect */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

/* Neon Glow */
.neon-glow {
  box-shadow: 0 0 20px rgba(0, 103, 186, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
}

/* Background Pattern */
.bg-pattern {
  background-color: #020617;
  background-image: 
    radial-gradient(circle at 1% 1%, rgba(16, 185, 129, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 99% 99%, rgba(0, 103, 186, 0.15) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 20%);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 2.5rem;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-green);
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
}

.mobile-menu.active {
  display: block;
  animation: fadeInDown 0.3s ease-out;
}

.mobile-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary-green);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--slate-900), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 0.9;
  letter-spacing: -0.02em;
  animation: heroTitleFade 1s ease-out;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: heroSubtitleFade 0.8s ease-out 0.3s both;
}

@keyframes heroTitleFade {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  animation: heroCTAFade 0.8s ease-out 0.6s both;
}

@keyframes heroCTAFade {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  opacity: 0;
  animation: floatingAnimation 14s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 10%;
  left: 5%;
  width: 160px;
  height: 160px;
  animation-duration: 14s;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 65%;
  left: 15%;
  width: 80px;
  height: 80px;
  animation-duration: 20s;
  animation-delay: 0.5s;
}

.floating-element:nth-child(3) {
  top: 20%;
  left: 85%;
  width: 200px;
  height: 200px;
  animation-duration: 16s;
  animation-delay: 0.2s;
}

.floating-element:nth-child(4) {
  top: 75%;
  left: 90%;
  width: 110px;
  height: 110px;
  animation-duration: 12s;
  animation-delay: 0.8s;
}

.floating-element:nth-child(5) {
  top: 50%;
  left: 50%;
  width: 75px;
  height: 75px;
  animation-duration: 24s;
  animation-delay: 0.3s;
}

@keyframes floatingAnimation {
  0%, 100% {
    opacity: 0;
    transform: translateY(-20px) translateX(-15px) rotate(0deg);
  }
  25% {
    opacity: 0.1;
    transform: translateY(20px) translateX(15px) rotate(90deg);
  }
  50% {
    opacity: 0.1;
    transform: translateY(-20px) translateX(-15px) rotate(180deg);
  }
  75% {
    opacity: 0.1;
    transform: translateY(20px) translateX(15px) rotate(270deg);
  }
}

/* Arrow Animation */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: arrowBounce 1.5s ease-in-out infinite;
  color: var(--text-gray-400);
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
  color: white;
  box-shadow: 0 0 20px rgba(0, 103, 186, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #059669, #0056a3);
}

.btn-lg {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
}

.btn-icon {
  margin-right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
}

/* Cards */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-gray-300);
  max-width: 48rem;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: scale(1.02);
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(to left, #2563eb, #7c3aed);
  color: white;
  padding: 0.5rem 1rem;
  border-bottom-left-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--text-gray-400);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.pricing-savings {
  font-size: 0.875rem;
  color: var(--primary-green);
  font-weight: 600;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-features h4 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  text-align: center;
}

.features-list {
  list-style: none;
  space-y: 0.75rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-blue);
  margin-right: 0.75rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.features-list span {
  color: var(--text-gray-300);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stars {
  display: flex;
  margin-bottom: 1rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
  fill: currentColor;
}

.testimonial-text {
  color: var(--text-gray-300);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-green);
}

/* Snapchat Section */
.snapchat-section {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue));
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.snapchat-bg-element {
  position: absolute;
  background: #fde047;
  border-radius: 50%;
  opacity: 0.3;
}

.snapchat-bg-element:first-child {
  top: -2rem;
  left: -2rem;
  width: 8rem;
  height: 8rem;
}

.snapchat-bg-element:last-child {
  bottom: -3rem;
  right: -1rem;
  width: 10rem;
  height: 10rem;
}

.snapchat-icon {
  display: inline-block;
  background: #fde047;
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  animation: snapchatIconFloat 3s ease-in-out infinite;
}

@keyframes snapchatIconFloat {
  0%, 100% {
    transform: rotate(-5deg) scale(1);
  }
  33% {
    transform: rotate(5deg) scale(1.1);
  }
  66% {
    transform: rotate(-5deg) scale(1);
  }
}

.snapchat-cta {
  display: inline-block;
  background: #fde047;
  color: black;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 1.5rem;
}

.snapchat-cta:hover {
  transform: scale(1.05);
}

/* Trust Features */
.trust-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: center;
}

.trust-feature {
  padding: 1.5rem;
}

.trust-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary-blue);
  margin: 0 auto 1rem;
}

.trust-feature h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-feature p {
  color: var(--text-gray-400);
}

/* WooCommerce Integration */
.woocommerce-info {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 1rem;
  margin: 1rem 0;
}

.woocommerce .price {
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.5rem;
}

.woocommerce .price del {
  color: var(--text-gray-400);
  font-size: 1.125rem;
}

.single_add_to_cart_button {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue)) !important;
  border: none !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin-top: 1rem !important;
}

.single_add_to_cart_button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 20px rgba(0, 103, 186, 0.3), 0 0 30px rgba(16, 185, 129, 0.2) !important;
}

/* Legal Pages */
.legal-page {
  padding: 6rem 1rem 4rem;
}

.legal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin: 2rem 0 1rem;
}

.legal-content p {
  color: var(--text-gray-300);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-green);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #059669;
}

.back-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .hero h1 {
    font-size: 6rem;
  }
  
  .hero h2 {
    font-size: 1.875rem;
  }
  
  .section-header h2 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 8rem;
  }
}

/* Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.4s; }

.scale-on-hover {
  transition: transform 0.3s ease;
}

.scale-on-hover:hover {
  transform: scale(1.05);
}

/* Payment Success/Failure Pages */
.payment-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.payment-card {
  text-align: center;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: 1rem;
  max-width: 28rem;
  width: 100%;
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.payment-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
}

.payment-icon.success {
  color: var(--primary-green);
}

.payment-icon.error {
  color: #ef4444;
}

.payment-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.payment-description {
  color: var(--text-gray-300);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  padding: 3rem 1rem;
  border-top: 1px solid #374151;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: var(--text-gray-400);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-gray-400);
}

/* WooCommerce Cart Customization */
.woocommerce-cart .cart_totals {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
}

.woocommerce-checkout .checkout {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2rem;
}

/* Custom WooCommerce Button */
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
  background: linear-gradient(to right, var(--primary-green), var(--primary-blue)) !important;
  border: none !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 20px rgba(0, 103, 186, 0.3), 0 0 30px rgba(16, 185, 129, 0.2) !important;
}

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

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }

/* Responsive adjustments */
@media (max-width: 767px) {
  .footer-grid {
    text-align: center;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-header h2 {
    font-size: 2.25rem;
  }
}


/* Features section specific layout (avoid overflow on mobile) */
.features-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.features-grid .card { max-width: 100%; width: 100%; box-sizing: border-box; overflow: hidden; }

/* === PP-PRONOS 1.3.7a: remove duplicate white stars on required labels ===
   We keep WooCommerce's native red <abbr class="required">* </abbr>
   and hide only theme-injected pseudo-element stars. */
.woocommerce form .form-row label.required::after,
.woocommerce-billing-fields__field-wrapper label.required::after,
.woocommerce-shipping-fields__field-wrapper label.required::after {
  content: none !important;
  display: none !important;
}
/* Ensure WooCommerce red star remains visible */
.woocommerce abbr.required {
  display: inline;
}

/* === 1.3.7b: Hide theme-injected star spans in checkout labels === */
.woocommerce form .form-row label span.required[aria-hidden="true"],
.woocommerce-billing-fields__field-wrapper label span.required[aria-hidden="true"],
.woocommerce-shipping-fields__field-wrapper label span.required[aria-hidden="true"] {
  display: none !important;
}
/* Keep WooCommerce native <abbr class="required"> star visible */
.woocommerce abbr.required { display: inline; }
