/* Private Preview Page - Jima Models Agency */
/* Professional, Modern, Minimalist Design */

:root {
    --preview-bg: #0a0a0a;
    --preview-surface: #141414;
    --preview-border: #262626;
    --preview-text: #fafafa;
    --preview-text-muted: #a1a1aa;
    --preview-accent: #D4AF37;
    --preview-accent-hover: #E8C547;
    --preview-success: #22c55e;
    --preview-error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--preview-bg);
    color: var(--preview-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.preview-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Background */
.preview-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient-animated {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0f0f0f, #141414);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.bg-gradient-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

.bg-gradient-animated::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%);
    animation: shimmer 6s ease-in-out infinite;
}

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

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(100%); opacity: 1; }
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(10, 10, 10, 0.7) 100%);
}

/* Main Content */
.preview-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
    min-height: 100vh;
}

/* Logo */
.preview-logo {
    margin-bottom: 2rem;
}

.preview-logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Status Badge */
.preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--preview-accent);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--preview-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Typography */
.preview-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, var(--preview-text) 0%, var(--preview-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preview-subtitle {
    font-size: 1rem;
    color: var(--preview-text-muted);
    text-align: center;
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Video Section */
.preview-video-container {
    width: 100%;
    margin-bottom: 3rem;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--preview-surface);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--preview-border);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--preview-text-muted);
}

.video-placeholder svg {
    opacity: 0.3;
}

.video-placeholder p {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Access Section */
.access-section {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.access-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.access-section > p {
    font-size: 0.875rem;
    color: var(--preview-text-muted);
    margin-bottom: 1.5rem;
}

/* Form */
.access-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.input-group input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: var(--preview-surface);
    border: 1px solid var(--preview-border);
    border-radius: 8px;
    color: var(--preview-text);
    font-size: 0.9375rem;
    font-family: 'Inter', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.input-group input::placeholder {
    color: var(--preview-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.input-group input:focus {
    outline: none;
    border-color: var(--preview-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.btn-access {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--preview-accent);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-access:hover {
    background: var(--preview-accent-hover);
    transform: translateY(-1px);
}

.btn-access:active {
    transform: translateY(0);
}

.btn-access:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-access svg {
    transition: transform 0.2s ease;
}

.btn-access:hover svg {
    transform: translateX(3px);
}

/* Form Message */
.form-message {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--preview-success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--preview-error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Divider */
.access-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.access-divider::before,
.access-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--preview-border);
}

.access-divider span {
    font-size: 0.75rem;
    color: var(--preview-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Button */
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: var(--preview-text);
    border: 1px solid var(--preview-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-contact:hover {
    background: var(--preview-surface);
    border-color: var(--preview-text-muted);
}

/* Footer */
.preview-footer {
    margin-top: 3rem;
    text-align: center;
}

.preview-footer p {
    font-size: 0.75rem;
    color: var(--preview-text-muted);
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.footer-legal a {
    color: var(--preview-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--preview-accent);
}

.footer-legal span {
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 640px) {
    .preview-content {
        padding: 2rem 1rem;
    }

    .preview-logo img {
        height: 40px;
    }

    .preview-title {
        font-size: 2rem;
    }

    .preview-subtitle {
        font-size: 0.9375rem;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-access {
        width: 100%;
        justify-content: center;
    }

    .access-section {
        max-width: 100%;
    }
}

/* Animation on load */
.preview-content > * {
    animation: fadeInUp 0.6s ease both;
}

.preview-content > *:nth-child(1) { animation-delay: 0.1s; }
.preview-content > *:nth-child(2) { animation-delay: 0.15s; }
.preview-content > *:nth-child(3) { animation-delay: 0.2s; }
.preview-content > *:nth-child(4) { animation-delay: 0.25s; }
.preview-content > *:nth-child(5) { animation-delay: 0.3s; }
.preview-content > *:nth-child(6) { animation-delay: 0.35s; }
.preview-content > *:nth-child(7) { animation-delay: 0.4s; }

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