/*
Theme Name: Oneplayy
Theme URI: https://oneplayy.com.br
Author: Oneplayy
Author URI: https://oneplayy.com.br
Description: Tema premium para plataforma de mídia digital Oneplayy. Design moderno, tecnológico e responsivo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oneplayy
Tags: one-column, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

/* ========================================
   DESIGN SYSTEM - VARIÁVEIS CSS
   ======================================== */

:root {
  /* Cores principais */
  --background: hsl(230, 25%, 7%);
  --foreground: hsl(210, 40%, 98%);
  --card: hsl(230, 20%, 10%);
  --card-foreground: hsl(210, 40%, 98%);
  
  /* Primary: Vermelho vibrante */
  --primary: hsl(0, 85%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  /* Secondary */
  --secondary: hsl(220, 15%, 18%);
  --secondary-foreground: hsl(210, 40%, 98%);
  
  /* Muted */
  --muted: hsl(220, 15%, 15%);
  --muted-foreground: hsl(220, 10%, 55%);
  
  /* Accent: Amarelo/Dourado para CTAs */
  --accent: hsl(48, 100%, 50%);
  --accent-foreground: hsl(230, 25%, 10%);
  
  /* Border */
  --border: hsl(220, 15%, 20%);
  
  /* Radius */
  --radius: 0.75rem;
  
  /* Shadows */
  --shadow-glow: 0 0 60px hsla(0, 85%, 55%, 0.2);
  --shadow-card: 0 4px 24px hsla(0, 0%, 0%, 0.3);
  --shadow-button: 0 4px 16px hsla(0, 85%, 55%, 0.3);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  font-weight: 400;
  letter-spacing: 0.03em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--muted-foreground);
}

/* ========================================
   LAYOUT
   ======================================== */

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

@media (min-width: 640px) {
  .section-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 2rem;
  }
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: linear-gradient(135deg, hsla(0, 85%, 55%, 0.2) 0%, hsla(0, 85%, 55%, 0.1) 100%);
  border: 1px solid hsla(0, 85%, 55%, 0.3);
  color: hsl(0, 85%, 65%);
}

/* Cards */
.card-glass {
  background: linear-gradient(145deg, hsl(230, 20%, 12%) 0%, hsl(230, 20%, 8%) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid hsla(220, 15%, 20%, 0.5);
  border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.02) translateY(-2px);
}

.btn:active {
  transform: scale(0.98);
}

/* CTA Button (Yellow) */
.btn-cta {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 16px hsla(48, 100%, 50%, 0.3);
}

.btn-cta:hover {
  box-shadow: 0 8px 32px hsla(48, 100%, 50%, 0.4);
}

/* Hero Button (Red) */
.btn-hero {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 16px hsla(0, 85%, 55%, 0.3);
}

.btn-hero:hover {
  box-shadow: 0 8px 24px hsla(0, 85%, 55%, 0.4);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 2rem;
}

.btn-outline:hover {
  background: hsla(0, 85%, 55%, 0.1);
  box-shadow: 0 0 20px hsla(0, 85%, 55%, 0.3);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 0.875rem 2.5rem;
  font-size: 1.125rem;
}

/* ========================================
   HEADER
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid hsla(220, 15%, 20%, 0.3);
  background: hsla(230, 25%, 7%, 0.8);
  backdrop-filter: blur(12px);
}

.site-header .section-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
}

.site-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--background) 0%, hsla(240, 20%, 12%, 0.5) 50%, var(--background) 100%);
}

.hero-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: hsla(0, 85%, 55%, 0.1);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 0;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 1rem;
}

.hero-disclaimer {
  font-size: 0.875rem;
  color: hsla(220, 10%, 55%, 0.7);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Video Player */
.hero-video-wrapper {
  margin-top: 4rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.hero-video-glow {
  position: absolute;
  inset: 0;
  background: hsla(0, 85%, 55%, 0.2);
  filter: blur(80px);
  border-radius: 1.5rem;
}

.hero-video-container {
  position: relative;
  background: linear-gradient(to bottom, hsla(220, 15%, 18%, 0.8), hsla(220, 15%, 18%, 0.4));
  border-radius: 1rem;
  border: 1px solid hsla(220, 15%, 20%, 0.5);
  padding: 0.5rem;
  backdrop-filter: blur(8px);
}

.hero-video-inner {
  background: hsla(230, 25%, 7%, 0.9);
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.hero-video-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   FEATURES MARQUEE
   ======================================== */

.features-marquee {
  position: relative;
  padding: 1rem 0;
  overflow: hidden;
  border-top: 1px solid hsla(0, 85%, 55%, 0.3);
  border-bottom: 1px solid hsla(0, 85%, 55%, 0.3);
  background: hsla(0, 85%, 55%, 0.05);
}

.features-marquee-fade-left,
.features-marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 10;
}

.features-marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.features-marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.features-marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
}

.features-marquee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 2rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.features-marquee-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.features-marquee-item span {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========================================
   DEVICES SECTION
   ======================================== */

.devices-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .devices-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .devices-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.device-card {
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.device-card:hover {
  border-color: hsla(0, 85%, 55%, 0.3);
}

.device-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 0.75rem;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.device-card:hover .device-icon {
  background: hsla(0, 85%, 55%, 0.2);
  transform: scale(1.1);
}

.device-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.device-card p {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */

.benefits-section {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(to bottom, var(--background), hsla(220, 15%, 18%, 0.1), var(--background));
}

.benefits-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: hsla(0, 85%, 55%, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: hsla(0, 85%, 55%, 0.3);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: hsla(0, 85%, 55%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  background: hsla(0, 85%, 55%, 0.2);
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
  padding: 2rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  border-color: hsla(0, 85%, 55%, 0.2);
}

.highlight-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.highlight-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.highlight-header span {
  font-size: 1.125rem;
  font-weight: 600;
}

.highlight-box > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 85%, 55%, 0.1), transparent);
}

.cta-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 400px;
  background: hsla(0, 85%, 55%, 0.1);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}

.cta-card {
  padding: 2rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  border-color: hsla(0, 85%, 55%, 0.2);
}

@media (min-width: 768px) {
  .cta-card {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-card h2 {
  margin-bottom: 1rem;
}

.cta-card > p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-disclaimer {
  font-size: 0.75rem;
  color: hsla(220, 10%, 55%, 0.6);
  max-width: 28rem;
  margin: 2rem auto 0;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid hsla(220, 15%, 20%, 0.5);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: hsla(220, 10%, 55%, 0.7);
  max-width: 28rem;
  line-height: 1.6;
}

.footer-separator {
  height: 1px;
  background: hsla(220, 15%, 20%, 0.3);
  margin: 2rem 0;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsla(0, 85%, 55%, 0.3); }
  50% { box-shadow: 0 0 40px hsla(0, 85%, 55%, 0.5); }
}

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

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Animation Delays */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }
.animation-delay-600 { animation-delay: 600ms; }

/* ========================================
   UTILITIES
   ======================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
