/* OnlyFlix - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #e11d48 0%, #7c3aed 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo {
    width: 64px;
    height: 64px;
    background: #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: bounce 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

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

h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #e11d48;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #e11d48, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Container */
.video-container {
    max-width: 400px;
    margin: 32px auto;
    background: #1f2937;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.price-text {
    font-size: 1.5rem;
    color: #d1d5db;
    margin: 32px 0;
    font-weight: 500;
}

/* Buttons */
.cta-button {
    background: linear-gradient(135deg, #e11d48, #7c3aed);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.4);
}

/* Pricing Section */
.pricing-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, #000 0%, #111 100%);
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.pricing-subtitle {
    color: #d1d5db;
    margin-bottom: 64px;
    font-size: 1.125rem;
}

.pricing-card {
    background: linear-gradient(135deg, #dc2626, #7c3aed);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.price-display {
    font-size: 4rem;
    font-weight: bold;
    margin: 32px 0;
    position: relative;
    z-index: 2;
}

/* Features List */
.features {
    text-align: left;
    margin: 32px 0;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    margin: 16px 0;
    font-size: 1.125rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.checkmark {
    color: #e11d48;
    margin-right: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.buy-button {
    background: #e11d48;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

.buy-button:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(225, 29, 72, 0.4);
}

.buy-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.guarantee {
    font-size: 0.875rem;
    color: #d1d5db;
    position: relative;
    z-index: 2;
}

/* Footer */
.footer {
    background: #111827;
    padding: 48px 20px;
    text-align: center;
    border-top: 1px solid #374151;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 10px 30px rgba(225, 29, 72, 0.3);
}

.footer-title {
    font-size: 2rem;
    font-weight: bold;
}

.footer-text {
    color: #9ca3af;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.social-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #e11d48;
    background: rgba(225, 29, 72, 0.1);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 32px;
    color: #6b7280;
    font-size: 0.875rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.5rem; 
    }
    
    h2 { 
        font-size: 1.5rem; 
    }
    
    .pricing-title {
        font-size: 2rem;
    }
    
    .price-display { 
        font-size: 3rem; 
    }
    
    .pricing-card { 
        padding: 32px 24px; 
    }
    
    .video-container { 
        max-width: 320px; 
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .pricing-title {
        font-size: 1.5rem;
    }
    
    .price-display {
        font-size: 2.5rem;
    }
    
    .video-container {
        max-width: 280px;
    }
    
    .pricing-card {
        padding: 24px 16px;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pulse {
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
