@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;600&family=Space+Grotesk:wght@300;400;600&display=swap');

:root {
    --text-primary: #e8e8e8;
    --accent: #00ff88;
}

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

body {
    font-family: 'JetBrains Mono', monospace;
    background: #000;
    color: var(--text-primary);
    min-height: 100vh;
    overflow: hidden;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: #000;
    position: relative;
}

.title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeSlideIn 0.8s ease forwards;
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeSlideIn 0.8s ease 0.1s forwards;
}

.right-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%) contrast(1.1);
    transition: all 0.5s ease;
}

.image-frame:hover img {
    filter: grayscale(0%) contrast(1);
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
    pointer-events: none;
    animation: scanlineMove 8s linear infinite;
}

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

@keyframes scanlineMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        padding: 2rem;
    }

    .right-section {
        min-height: 50vh;
    }
}