@import url('variables.css');

/* 
 * ZINKCLOUD PREMIUM LANDING PAGE THEME
 * Theme: "Deep Command" - Dark, Glowing, Professional
 */

/* Global Reset */
body {
    background-color: #050510;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding-top: 0;
    /* Header is sticky but we handle spacing via padding in sections */
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050510;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--zm-accent-primary);
}

/* --- HEADER --- */
.zink-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 16, 0.6);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.zink-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zink-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.zink-logo i {
    color: #3b82f6;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.6));
}

.login-btn {
    padding: 12px 30px;
    border-radius: 50px;
    /* Pill shape */
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-btn:hover {
    background: var(--zm-accent-primary);
    border-color: var(--zm-accent-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 20px 80px;
    background: radial-gradient(circle at 50% 0%, rgba(20, 20, 50, 1) 0%, rgba(5, 5, 16, 1) 60%);
    overflow: hidden;
}

/* Hero Background Effects */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    animation: rotateBg 60s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateBg {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #fff;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 5px;
    margin-bottom: 10px;
    color: var(--zm-accent-primary);
    /* Fallback */
}

.hero h1 .highlight {
    color: #3b82f6;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: inherit;
    letter-spacing: inherit;
    display: inline;
    margin: 0;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-btn.primary {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.cta-btn.primary:hover {
    background: #2563eb;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cta-btn.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Stats Ticker */
.live-stats {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.7;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FEATURES SECTION --- */
.features-section {
    padding: 100px 0;
    background: #050510;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1px;
}

.feature-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);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #020205;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    color: #475569;
    font-size: 0.8rem;
}

/* --- MOVIE GRID SYSTEM --- */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.movie-card {
    background: #0a0a16;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    /* Flex to fix height issues */
    flex-direction: column;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.4);
}

.poster {
    aspect-ratio: 2/3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.poster-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.movie-card:hover .poster-icon {
    transform: scale(1.1);
    color: #fff;
}

.badge-quality {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #8b5cf6;
    /* Purple for 4K */
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.badge-ext {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.movie-title {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
}

/* Hover effect on meta */
.movie-card:hover .movie-title {
    color: var(--zm-accent-primary);
}

/* Search Bar Override */
.search-form .input-group {
    background: #0a0a16;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.search-form input {
    border: none !important;
    background: transparent !important;
    color: white !important;
    box-shadow: none !important;
}

.search-form button {
    border-radius: 0 50px 50px 0;
}

/* Responsive */
@media (max-width: 600px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .poster-icon {
        font-size: 2rem;
    }
}

/* --- HERO CARDS --- */
.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    border-color: var(--zm-accent-primary) !important;
}

.hover-white:hover {
    color: #fff !important;
}