/* ============================
    MODAL WRAPPER
    ============================ */
.hoo-modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
}

.hoo-modal.hoo-active {
    display: flex;
}

/* ============================
    OVERLAY (CLICK TO CLOSE)
    ============================ */
.hoo-modal-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

/* ============================
    CONTENT WRAPPER
    ============================ */
.hoo-modal-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 860px;
    width: 90%;
    background: #1a1a1e;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
    animation: hooModalFadeIn .25s ease;
}

@keyframes hooModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
    CLOSE BUTTON
    ============================ */
.hoo-modal-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 38px;
    height: 38px;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hoo-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hoo-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}

/* ============================
    VIDEO WRAPPER
    ============================ */
.hoo-modal-video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hoo-modal-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================
    TEXT CONTENT
    ============================ */
.hoo-modal-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

@media screen and (max-width: 781px) {
    .hoo-modal-title {
        font-size: 16px;
    }
}

.hoo-modal-meta {
    color: #d6d6d6;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* ============================
    OPTIONAL BOX
    ============================ */
.hoo-modal-optional-box {
    background: rgba(255, 255, 255, 0.06);
    padding: 12px;
    border-radius: 6px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: .25s ease;
}

@media screen and (max-width: 450px) {
    .hoo-modal-optional-box {
        flex-direction: column;
    }
}

.hoo-modal-optional-box:hover {
    background: rgba(255, 255, 255, 0.12);
}

.hoo-modal-optional-img {
    width: 150px;
    height: 84px;
    padding-bottom: calc(150px * 9 / 16);
    background-size: cover;
    background-position: 50%;
    border-radius: 4px;
    flex-shrink: 0;
}

.hoo-modal-optional-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hoo-modal-optional-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 4px;
    line-height: 1.2;
}

.hoo-modal-optional-content {
    color: #d6d6d6;
    font-size: 14px;
    text-decoration: underline;
}