/* ═════════════════════════════════════════════════════════════
   GUEST LANDING PAGE (LOGGED OUT)
═════════════════════════════════════════════════════════════ */

.guest-landing {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    background: #0a0a0b;
    color: #fff;
    overflow-x: hidden;
}

/* ─── Hero Section ─── */
.landing-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at top, rgba(138, 43, 226, 0.15) 0%, #0a0a0b 60%);
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../assets/grain.png') repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.landing-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.landing-headline span {
    display: block;
    background: linear-gradient(135deg, #d8b4fe 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.landing-subtext {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.landing-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-landing-primary {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-landing-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
}

.btn-landing-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ─── Social Preview Feed ─── */
.social-preview-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
}

.social-preview-feed {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.social-preview-feed::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.preview-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-snap-align: center;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.preview-card:nth-child(2) { animation-delay: 1s; }
.preview-card:nth-child(3) { animation-delay: 2s; }

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

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    object-fit: cover;
}

.preview-user-info {
    display: flex;
    flex-direction: column;
}

.preview-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.preview-action {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.preview-content {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 12px;
}

.preview-poster {
    width: 60px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
}

.preview-movie-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.preview-movie-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.preview-rating {
    color: #f5c518;
    font-size: 0.85rem;
}

/* ─── How it Works ─── */
.landing-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title-center {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(147, 51, 234, 0.1);
    color: #d8b4fe;
    border-radius: 50%;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ─── Social Trending ─── */
.trending-preview {
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(0,0,0,0) 100%);
    border-radius: 30px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trending-movie-mock {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 20px;
    margin-top: 40px;
}

.trending-mock-poster {
    width: 100px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.trending-mock-info h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.trending-mock-avatars {
    display: flex;
    margin-bottom: 15px;
}

.trending-mock-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    margin-left: -10px;
}
.trending-mock-avatars img:first-child { margin-left: 0; }

.trending-mock-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ─── Personal Hook & CTA ─── */
.hook-section {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
}

.hook-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hook-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ─── Mobile Adjustments ─── */
@media (max-width: 768px) {
    .landing-headline {
        font-size: 2.8rem;
    }
    .landing-hero {
        min-height: 85vh;
        padding-top: 100px;
    }
    .landing-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    .btn-landing-primary, .btn-landing-secondary {
        width: 100%;
    }
    .feature-card {
        padding: 30px 20px;
    }
    .trending-movie-mock {
        flex-direction: column;
        text-align: center;
    }
    .trending-mock-avatars {
        justify-content: center;
    }
    .hook-title {
        font-size: 2.2rem;
    }
    .social-preview-feed {
        padding: 20px 10px;
    }
    
    /* Sticky CTA on Mobile */
    .mobile-sticky-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 15px 20px;
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 100;
        display: flex;
        justify-content: center;
    }
    .mobile-sticky-cta .btn-landing-primary {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (min-width: 769px) {
    .mobile-sticky-cta {
        display: none;
    }
}
