/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cursor-x: 50%;
    --cursor-y: 50%;
    --mask-size: 80px;
    /* Penny size-ish */
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    /* No scrolling as requested */
    background: #000;
    color: #fff;
}

main {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- FIRST BLOCK (85%) --- */
#hero-block {
    position: relative;
    height: 85%;
    width: 100%;
    overflow: hidden;
    cursor: none;
    /* Hide default cursor to emphasize the effect */
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Layer 1: Animation (Bottom) */
.animation-layer {
    z-index: 1;
    /* Ensure video covers the area exactly like the image */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Layer 2: Static Image (Top) */
.static-layer {
    z-index: 2;
    /* The Magic: Masking */
    /* We make a mask that is transparent at the cursor (showing what's behind) and black (opaque) elsewhere */

    /* NOTE: CSS Mask syntax:
       opaque part = visible
       transparent part = invisible (hidden)
       
       So we want the 'hole' to be transparent in the MASK image?
       Actually, standard mask: alpha 1 = visible content, alpha 0 = invisible content.
       
       If we want to HIDE the static layer at the cursor (to show the animation behind),
       we need the mask to be TRANSPARENT at the cursor.
    */

    -webkit-mask-image: radial-gradient(circle var(--mask-size) at var(--cursor-x) var(--cursor-y), transparent 99%, black 100%);
    mask-image: radial-gradient(circle var(--mask-size) at var(--cursor-x) var(--cursor-y), transparent 99%, black 100%);
}

.static-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Optional hint text */
.interaction-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.7;
    font-size: 0.9rem;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 2px;
}


/* --- SECOND BLOCK (15%) --- */
#info-block {
    height: 15%;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    cursor: default;
    /* Normal cursor here */
}

.content h1 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.content p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.content a {
    color: #3333ff;
    text-decoration: none;
    font-weight: 500;
}

.content a:hover {
    text-decoration: underline;
}