/* 
  SorteoTwitch - Landing Page Styles
  Modern, Twitch-themed design with Glassmorphism and Neon accents
*/

:root {
    --primary: #9146ff;
    --primary-dark: #772ce8;
    --secondary: #00f2ea;
    --bg-dark: #0e0e10;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #efeff1;
    --text-muted: #adadb8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-neon: 0 0 20px rgba(145, 70, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism Classes */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    min-height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 2rem;
}

.navbar.scrolled {
    background: rgba(14, 14, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    min-width: 280px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(145, 70, 255, 0.5);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    background: var(--bg-card);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(145, 70, 255, 0.1);
    border: 1px solid rgba(145, 70, 255, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInScale 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #adadb8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-card {
    width: 350px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border: 1px solid var(--primary);
}

.price-card.featured::after {
    content: 'RECOMENDADO';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 40px;
    transform: rotate(45deg);
}

.price-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.price-card .amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.price-card .amount span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

.price-list li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.price-list li.disabled::before {
    content: '✕';
    color: #ff4545;
}

/* Footer & SEO */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-seo {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: normal;
}

.footer-seo h4 {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Background Animation */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(145, 70, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.glow-1 {
    top: -100px;
    right: -100px;
}

.glow-2 {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.1) 0%, transparent 70%);
}

/* =================================================================
   PREMIUM DONATION SYSTEM
   ================================================================= */

/* 1. Base Donation Button Style */
.btn-donation {
    background: #FFDD00 !important;
    color: #0d0d0d !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 221, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-donation:hover {
    background: #FFDD00 !important;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 221, 0, 0.4);
}

.btn-donation::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
    z-index: -1;
}

.btn-donation:hover::after {
    left: 120%;
    opacity: 1;
}

/* 2. Floating Widget Wrapper */
.floating-donation {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease;
}

.floating-donation.show {
    opacity: 1;
    pointer-events: auto;
}

.floating-donation .btn-donation {
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 221, 0, 0.2);
    animation: float-pulse 3s ease-in-out infinite;
}

/* 3. Animations */
@keyframes float-pulse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 221, 0, 0.4);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Responsive adjustment for floating button */
@media (max-width: 768px) {
    .floating-donation {
        bottom: 20px;
        right: 20px;
    }

    .floating-donation .btn-donation {
        padding: 1rem 1.8rem;
        font-size: 0.9rem;
    }
}