/* Base font */
body {
    font-family: 'Inter', sans-serif;
}

/* Landing Page Animations */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-up-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.animate-fade-in-up-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

/* Additional selectors to ensure reCAPTCHA badge is hidden */
iframe[src*="recaptcha"],
iframe[title*="reCAPTCHA"],
div[data-callback],
.rc-anchor {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
}

/* Helper classes for JS validation */
.form-input-valid {
    border-color: #22c55e; /* green-500 */
}
.form-input-valid:focus {
    box-shadow: 0 0 0 2px #22c55e;
    border-color: #22c55e;
}
.form-input-invalid {
    border-color: #ef4444; /* red-500 */
}
.form-input-invalid:focus {
    box-shadow: 0 0 0 2px #ef4444;
    border-color: #ef4444;
}
.error-message {
    color: #f87171; /* red-400 */
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.5rem; /* mt-2 */
}

/* --- NEW STYLES TO ADD --- */

/* For the success/error message box */
.form-message-success {
    background-color: #166534; /* green-800 */
    color: #bbf7d0; /* green-200 */
    display: block !important;
}
.form-message-error {
    background-color: #991b1b; /* red-800 */
    color: #fecaca; /* red-200 */
    display: block !important;
}

/* For the "Log In" / "Sign Up" toggle links */
.form-toggle-link {
    color: #a5b4fc; /* indigo-300 */
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}
.form-toggle-link:hover {
    color: #c7d2fe; /* indigo-200 */
}

/* EU Cookie Banner Styles - Film/TV Themed */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border-top: 3px solid #4f46e5;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.4s;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
}

.cookie-banner.visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
    animation: filmReel 3s ease-in-out infinite;
}

@keyframes filmReel {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c7d2fe;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-banner-title::before {
    content: "🎞️";
    font-size: 1.5rem;
}

.cookie-banner-message {
    color: #e0e7ff;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-button {
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.cookie-button-accept {
    background: #4f46e5;
    color: white;
}

.cookie-button-accept:hover {
    background: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.cookie-button-accept:active {
    transform: translateY(0);
}

.cookie-button-decline {
    background: transparent;
    color: #c7d2fe;
    border: 2px solid #4f46e5;
}

.cookie-button-decline:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: #6366f1;
    color: #e0e7ff;
}

.cookie-button-decline:active {
    transform: translateY(0);
}

/* Responsive design for cookie banner */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .cookie-banner-icon {
        font-size: 2rem;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-button {
        flex: 1;
        min-width: 120px;
    }

    .cookie-banner-title {
        font-size: 1.125rem;
    }

    .cookie-banner-message {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 1rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
    }
}