/* UI Layer above fluid canvas */

.ui {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 15px;
    height: 100vh;
    height: 100dvh; /* dynamic viewport — accounts for mobile browser address bar */
    text-align: center;
    pointer-events: none;
    padding: 0 16px 10px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Enable interaction only for UI elements */
.ui button,
.ui input,
.ui .task-bar div {
    pointer-events: auto;
}

/* Heading */
.head {
    margin-bottom: 8px;
}

.h-one h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #444;
}

.h-two h1 {
    margin: 4px 0 8px 0;
    font-size: 52px;
    font-weight: 800;
}

/* Image */
.image {
    margin: 20px 0;
}

.image img {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Task Cards */
.task-bar {
    margin-top: auto;
    margin-bottom: 60px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.task-bar div {
    width: 100px;
    height: 75px;
    background: rgba(255, 255, 255, 0.502);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: 0.25s;
}

.task-bar div:hover {
    transform: translateY(-5px);
}

.task-bar i {
    font-size: 16px;
    margin-bottom: 5px;
}

.task-bar p {
    font-size: 12px;
    margin: 0;
}

/* quote */
.quote {
    margin-top: 15px;
}

.liquid-btn {
    position: relative;
    padding: 10px 22px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.856);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.489),
        0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: pointer;
    max-width: 90vw;
}

/* glass shine */
.shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 768px) {
    .h-two h1 {
        font-size: 38px;
    }

    .image img {
        width: 150px;
        height: 150px;
    }

    .task-bar div {
        width: 85px;
        height: 68px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .ui {
        margin-top: 10px;
    }

    .h-one h5 {
        font-size: 14px;
    }

    .h-two h1 {
        font-size: 28px;
    }

    .image img {
        width: 120px;
        height: 120px;
        border-radius: 18px;
    }

    .image {
        margin: 12px 0;
    }

    .liquid-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .task-bar {
        gap: 10px;
        margin-bottom: 30px;
    }

    .task-bar div {
        width: 72px;
        height: 62px;
        border-radius: 12px;
    }

    .task-bar i {
        font-size: 14px;
    }

    .task-bar p {
        font-size: 11px;
    }
}

/* Very short screens (small phones, landscape) */
@media (max-height: 680px) {
    .h-two h1 {
        font-size: 26px;
    }

    .image img {
        width: 100px;
        height: 100px;
    }

    .image {
        margin: 8px 0;
    }

    .quote {
        margin-top: 8px;
    }

    .liquid-btn {
        padding: 6px 14px;
        font-size: 12px;
    }

    .task-bar {
        margin-bottom: 16px;
        gap: 8px;
    }

    .task-bar div {
        width: 68px;
        height: 56px;
    }
}
