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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Background Slider Images */
.hero-background.bg-1 {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="cinema" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><rect fill="%23000" width="100" height="100"/><circle cx="20" cy="20" r="15" fill="%23ff6b6b" opacity="0.1"/><circle cx="80" cy="40" r="10" fill="%234ecdc4" opacity="0.1"/><circle cx="50" cy="80" r="12" fill="%23ffd700" opacity="0.1"/></pattern></defs><rect fill="url(%23cinema)" width="100%" height="100%"/><rect fill="url(%23linear-gradient(135deg, %23667eea 0%, %23764ba2 100%))" width="100%" height="100%" opacity="0.8"/></svg>');
}

.hero-background.bg-2 {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="movieGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:0.8" /><stop offset="50%" style="stop-color:%234ecdc4;stop-opacity:0.6" /><stop offset="100%" style="stop-color:%23667eea;stop-opacity:0.8" /></linearGradient></defs><rect fill="url(%23movieGrad)" width="100%" height="100%"/><circle cx="200" cy="200" r="100" fill="%23ffffff" opacity="0.05"/><circle cx="800" cy="400" r="150" fill="%23ffffff" opacity="0.03"/><circle cx="1000" cy="600" r="80" fill="%23ffffff" opacity="0.05"/></svg>');
}

.hero-background.bg-3 {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><radialGradient id="spotlightGrad" cx="50%" cy="30%" r="60%"><stop offset="0%" style="stop-color:%23ffd700;stop-opacity:0.4" /><stop offset="50%" style="stop-color:%23ff6b6b;stop-opacity:0.6" /><stop offset="100%" style="stop-color:%23000;stop-opacity:0.9" /></radialGradient></defs><rect fill="url(%23spotlightGrad)" width="100%" height="100%"/></svg>');
}

.hero-background.bg-4 {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><linearGradient id="neonGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff0080;stop-opacity:0.7" /><stop offset="25%" style="stop-color:%23ff8c00;stop-opacity:0.5" /><stop offset="50%" style="stop-color:%234ecdc4;stop-opacity:0.6" /><stop offset="75%" style="stop-color:%23667eea;stop-opacity:0.5" /><stop offset="100%" style="stop-color:%23ff0080;stop-opacity:0.7" /></linearGradient></defs><rect fill="url(%23neonGrad)" width="100%" height="100%"/><polygon points="100,100 300,200 200,400" fill="%23ffffff" opacity="0.02"/><polygon points="900,150 1100,250 1000,450" fill="%23ffffff" opacity="0.03"/></svg>');
}

.hero-background.bg-5 {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="filmStrip" x="0" y="0" width="60" height="400" patternUnits="userSpaceOnUse"><rect fill="%23000" width="60" height="400"/><rect x="5" y="10" width="50" height="30" fill="%23333"/><rect x="5" y="50" width="50" height="30" fill="%23222"/><rect x="5" y="90" width="50" height="30" fill="%23333"/><rect x="5" y="130" width="50" height="30" fill="%23222"/></pattern><linearGradient id="filmGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:0.8" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:0.8" /></linearGradient></defs><rect fill="url(%23filmGrad)" width="100%" height="100%"/><rect fill="url(%23filmStrip)" x="0" y="0" width="100" height="100%" opacity="0.1"/><rect fill="url(%23filmStrip)" x="1100" y="0" width="100" height="100%" opacity="0.1"/></svg>');
}

/* Slider Animation */
.hero-background {
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-background.active {
    opacity: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%);
    animation: floatingLights 20s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

@keyframes floatingLights {
    0%, 100% { 
        background-position: 0% 50%, 100% 20%, 40% 80%; 
        opacity: 0.6;
    }
    25% { 
        background-position: 25% 40%, 75% 30%, 60% 70%; 
        opacity: 0.8;
    }
    50% { 
        background-position: 50% 60%, 50% 10%, 20% 90%; 
        opacity: 0.7;
    }
    75% { 
        background-position: 75% 30%, 25% 40%, 80% 60%; 
        opacity: 0.9;
    }
}

/* Background Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ff6b6b;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Smooth transitions for hero content */
.hero-content {
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

/* Enhanced mobile responsiveness for slider */
@media (max-width: 768px) {
    .slider-indicators {
        bottom: 80px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #b8b8b8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.6);
    background: linear-gradient(135deg, #e74c3c, #ff6b6b);
}

.main-cta {
    font-size: 1.2rem;
    padding: 18px 40px;
}

/* Fixed CTA for Mobile */
.fixed-cta {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: #b8b8b8;
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Keywords Grid Section */
.keywords-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.keywords-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.keyword-card {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.keyword-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.keyword-card:hover::before {
    left: 100%;
}

.keyword-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.keyword-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.keyword-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Movie Guessing Game */
.guess-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.guess-game {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.movie-poster {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.blurred-poster {
    width: 200px;
    height: 300px;
    border-radius: 15px;
    filter: blur(8px);
    transition: filter 0.5s ease;
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.reveal-overlay.show {
    opacity: 1;
}

.guess-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.guess-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guess-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.guess-btn.correct {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.guess-btn.wrong {
    background: linear-gradient(135deg, #f44336, #da190b);
}

.guess-result {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 20px;
    min-height: 30px;
}

.guess-result.correct {
    color: #4CAF50;
}

.guess-result.wrong {
    color: #f44336;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #b8b8b8;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ffffff;
}

.footer-section p {
    color: #b8b8b8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4ecdc4;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.disclaimer {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fixed-cta {
        display: block;
    }
    
    .main-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .keywords-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .keyword-card {
        padding: 20px 15px;
    }
    
    .keyword-icon {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
    
    .keyword-title {
        font-size: 0.9rem;
    }
    
    .guess-options {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .keywords-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

.slide-in {
    animation: slideIn 0.6s ease-out;
}

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

/* Loading Animations */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
} 