html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #000;
}

/* HERO SECTION */
.filamz-hero {

    position: relative;

    width: 100vw;
    min-height: 100vh;

    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    margin-left: calc(-50vw + 50%);

    color: #fff;
}

/* BACKGROUND */
.filamz-bg-video,
.filamz-bg-image {

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    background-size: cover;
    background-position: center;

    z-index: 1;
}

/* OVERLAY */
.filamz-overlay {

    position: absolute;
    inset: 0;

    z-index: 2;
}

/* CONTENT */
.filamz-content {

    position: relative;
    z-index: 20;

    width: 100%;
    max-width: 1400px;

    padding: 40px 20px;
}

/* ANIMATION AREA */
.filamz-animation-area {

    position: relative;

    min-height: 340px;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* TYPING WORD */
.filamz-typing-word {

    position: absolute;

    top: 40px;
    left: 0;

    width: 100%;

    font-size: 50px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #ffffff;

    text-align: center;

    z-index: 50;

    text-shadow:
        0 0 10px rgba(255,255,255,0.6),
        0 0 20px rgba(255,255,255,0.4),
        0 0 40px rgba(255,255,255,0.2);

    min-height: 120px;
}

/* FINAL WORD */
.filamz-final-word {

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 100px;

    min-height: 180px;
}

/* LETTERS */
.filamz-letter {

    opacity: 0;

    font-size: 150px;
    font-weight: 800;

    line-height: 1;

    display: inline-block;

    color: #fff;

    transform: translateY(100px) scale(0.5);

    text-shadow:
        0 0 10px rgba(255,255,255,0.6),
        0 0 20px rgba(255,255,255,0.5),
        0 0 40px rgba(255,255,255,0.4),
        0 0 80px rgba(255,255,255,0.2);
}

/* SUBTITLE */
.filamz-subtitle {

    margin-top: 30px;

    font-size: 26px;
    font-weight: 500;

    letter-spacing: 3px;

    color: rgba(255,255,255,0.9);

    opacity: 0;

    transform: translateY(40px);

    text-shadow:
        0 0 10px rgba(255,255,255,0.15);
}

/* BUTTON */
.filamz-btn {

    position: relative;

    z-index: 999;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    margin-top: 50px;

    padding: 18px 46px;

    border-radius: 999px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    color: #111;

    background: var(--btnbg);

    overflow: hidden;

    transition: all 0.4s ease;

    border: 2px solid transparent;

    opacity: 0;

    transform: translateY(60px);
}

/* GRADIENT BORDER */
.filamz-btn::before {

    content: "";

    position: absolute;

    inset: -2px;

    border-radius: 999px;

    background: linear-gradient(
        45deg,
        var(--grad1),
        var(--grad2)
    );

    z-index: -2;
}

/* INNER BUTTON */
.filamz-btn::after {

    content: "";

    position: absolute;

    inset: 2px;

    border-radius: 999px;

    background: var(--btnbg);

    z-index: -1;
}

/* BUTTON HOVER */
.filamz-btn:hover {

    transform: translateY(-5px) scale(1.04);

    box-shadow:
        0 0 20px rgba(255,204,0,0.6),
        0 0 40px rgba(255,204,0,0.3);
}

/* FLOATING EFFECT */
.filamz-btn {

    animation: filamzFloat 3s ease-in-out infinite;
}

@keyframes filamzFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* TABLET */
@media (max-width: 992px) {

    .filamz-typing-word {

        font-size: 60px;
    }

    .filamz-letter {

        font-size: 100px;
    }

    .filamz-subtitle {

        font-size: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .filamz-hero {

        min-height: 100svh;
    }

    .filamz-animation-area {

        min-height: 220px;
    }

    .filamz-typing-word {

        top: 20px;

        font-size: 40px;

        min-height: 70px;
    }

    .filamz-final-word {

        gap: 10px;

        margin-top: 60px;
    }

    .filamz-letter {

        font-size: 58px;
    }

    .filamz-subtitle {

        font-size: 15px;

        letter-spacing: 1px;

        margin-top: 20px;
    }

    .filamz-btn {

        padding: 14px 32px;

        font-size: 14px;

        margin-top: 35px;
    }
}