/*
Theme Name: Stateflix
Theme URI: http://www.stateflix.com/
Author: Stateflix Development Team
Author URI: http://www.stateflix.com/
Description: Premium, high-converting, mobile-first WordPress landing page theme for Stateflix online earning platform. Includes live fintech notifications, infinite proof carousels, responsive video embed, customizable earning modules, and built-in conversion controls.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stateflix
Tags: custom-colors, custom-menu, featured-images, flexible-header, one-column, full-width-template, theme-options, translation-ready
*/

:root {
  --stx-bg: #090D14;
  --stx-bg-card: rgba(17, 24, 39, 0.75);
  --stx-bg-card-hover: rgba(31, 41, 55, 0.9);
  --stx-border: rgba(255, 255, 255, 0.08);
  --stx-border-accent: rgba(16, 185, 129, 0.3);
  --stx-emerald: #10B981;
  --stx-emerald-glow: rgba(16, 185, 129, 0.25);
  --stx-gold: #F59E0B;
  --stx-text: #F3F4F6;
  --stx-text-muted: #9CA3AF;
  --stx-font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --stx-font-heading: 'Syne', 'Plus Jakarta Sans', sans-serif;
}

body.stateflix-theme {
  margin: 0;
  padding: 0;
  background-color: var(--stx-bg);
  color: var(--stx-text);
  font-family: var(--stx-font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Base resets & utilities */
.stateflix-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.stx-glow-text {
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.stx-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(16, 185, 129, 0.55);
  color: #FFFFFF;
}

.stx-card {
  background: var(--stx-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--stx-border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stx-card:hover {
  border-color: var(--stx-border-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--stx-emerald-glow);
}

/* Carousel animations */
@keyframes stx-marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.stx-marquee-track {
  display: flex;
  width: max-content;
  animation: stx-marquee 240s linear infinite;
}

.stx-marquee-slow {
  animation: stx-marquee 300s linear infinite !important;
}

.stx-marquee-medium {
  animation: stx-marquee 180s linear infinite !important;
}

.stx-marquee-fast {
  animation: stx-marquee 100s linear infinite !important;
}

.stx-marquee-track:hover {
  animation-play-state: paused;
}

/* Horizontal Smooth Touch & Snap Slider */
.stx-horizontal-slider {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.stx-horizontal-slider > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.cursor-grab {
  cursor: grab;
}
.cursor-grab:active {
  cursor: grabbing;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .stx-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
