/* Movie Quiz Recommender - MoviefyMe Style */

/* Reset and Base Styles */
.mqr-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1f2e;
    color: #ffffff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.mqr-container * {
    box-sizing: border-box;
}

/* Hero Section */
.mqr-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.mqr-hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.mqr-hero-subtitle {
    font-size: 20px;
    color: #a0a0a0;
    margin-bottom: 40px;
}

/* Buttons */
.mqr-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mqr-btn {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.mqr-btn-primary {
    background-color: #ff6b35;
    color: white;
}

.mqr-btn-primary:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
}

.mqr-btn-secondary {
    background-color: #2a3342;
    color: white;
    border: 2px solid #3a4252;
}

.mqr-btn-secondary:hover {
    background-color: #3a4252;
}

/* Features Section */
.mqr-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.mqr-feature {
    text-align: center;
}

.mqr-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.mqr-feature h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffffff;
}

.mqr-feature p {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5;
}

/* Quiz Section */
.mqr-quiz-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background-color: #232937;
    border-radius: 12px;
}

.mqr-quiz-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.mqr-question {
    margin-bottom: 30px;
}

.mqr-question h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #ffffff;
}

.mqr-options {
    display: grid;
    gap: 12px;
}

.mqr-option {
    display: block;
    cursor: pointer;
}

.mqr-option input[type="radio"] {
    display: none;
}

.mqr-option span {
    display: block;
    padding: 16px 24px;
    background-color: #1a1f2e;
    border: 2px solid #3a4252;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mqr-option input[type="radio"]:checked + span {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: white;
}

.mqr-option span:hover {
    border-color: #ff6b35;
}

.mqr-submit-btn {
    width: 100%;
    margin-top: 30px;
    font-size: 20px;
}

/* Search Section */
.mqr-search-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.mqr-search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.mqr-search-input {
    flex: 1;
    padding: 16px 24px;
    font-size: 18px;
    background-color: #232937;
    border: 2px solid #3a4252;
    color: white;
    border-radius: 8px;
    outline: none;
}

.mqr-search-input::placeholder {
    color: #666;
}

.mqr-search-input:focus {
    border-color: #ff6b35;
}

/* Movie Card */
.mqr-movie-card {
    display: flex;
    gap: 30px;
    background-color: #232937;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.mqr-movie-poster {
    width: 150px;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.mqr-movie-info {
    flex: 1;
}

.mqr-movie-info h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.mqr-movie-info p {
    color: #a0a0a0;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Movie Stats */
.mqr-movie-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.mqr-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
}

.mqr-imdb {
    background-color: #f5c518;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.mqr-watch-btn {
    background-color: #ff6b35;
    color: white;
    padding: 12px 32px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mqr-watch-btn:hover {
    background-color: #ff5722;
}

/* Sample Movie Section */
.mqr-sample-movie {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.mqr-sample-movie h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mqr-share-text {
    text-align: center;
    margin-top: 20px;
    color: #a0a0a0;
}

/* Search Example */
.mqr-search-example {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}

.mqr-search-example .mqr-search-input {
    margin-bottom: 20px;
}

.mqr-search-result {
    display: flex;
    gap: 20px;
    background-color: #232937;
    padding: 20px;
    border-radius: 8px;
    align-items: center;
}

.mqr-search-result img {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.mqr-search-info h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Why Section */
.mqr-why-section {
    background-color: #232937;
    padding: 60px 20px;
    margin-top: 60px;
}

.mqr-why-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.mqr-why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.mqr-why-feature {
    text-align: center;
}

.mqr-why-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.mqr-why-feature h4 {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
}

/* Newsletter Section */
.mqr-newsletter-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.mqr-newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #ffffff;
}

.mqr-mailchimp-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.mqr-email-input {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    background-color: #232937;
    border: 2px solid #3a4252;
    color: white;
    border-radius: 8px;
    outline: none;
}

.mqr-email-input::placeholder {
    color: #666;
}

#mqr-mailchimp-message {
    margin-top: 20px;
    font-size: 16px;
}

#mqr-mailchimp-message.success {
    color: #4caf50;
}

#mqr-mailchimp-message.error {
    color: #ff5252;
}

/* Results Section */
.mqr-results-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.mqr-results-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mqr-recommendations {
    display: grid;
    gap: 30px;
}

/* Loading State */
.mqr-loading {
    text-align: center;
    padding: 60px 20px;
}

.mqr-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #ff6b35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mqr-hero-title {
        font-size: 36px;
    }
    
    .mqr-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mqr-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mqr-movie-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mqr-search-box {
        flex-direction: column;
    }
    
    .mqr-mailchimp-form {
        flex-direction: column;
    }
    
    .mqr-movie-stats {
        justify-content: center;
    }
}