/* ===========================
   EXISTING VIFYO STYLES
   =========================== */

.case-box .row {
    display: flex;
    gap: 10px;
    align-items: center;
}

#btnOpen {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 10px 30px rgba(139,92,246,.25);
}

.ghost {
    border-radius: 12px;
    padding: 12px 16px;
    background: rgba(139,92,246,.12);
    border: 1px solid rgba(139,92,246,.35);
    color: var(--text);
}

.movie-card.active {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(168,85,247,.9);
    box-shadow: 0 18px 60px rgba(168,85,247,.18);
}

.movie-card.spin {
    border-color: rgba(139,92,246,.9);
    box-shadow: 0 12px 40px rgba(139,92,246,.22);
}

.vifyo-body {
    background: radial-gradient(1200px 600px at 20% 0%, rgba(139,92,246,.20), transparent 60%), radial-gradient(1200px 600px at 80% 20%, rgba(168,85,247,.14), transparent 60%), #0b0814;
    color: #e9e4ff;
    min-height: 100vh;
}

.vifyo-nav {
    background: rgba(18,12,34,.75) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #261b3f !important;
    padding: 10px 0;
}

.vifyo-brand {
    font-weight: 800;
    letter-spacing: .3px;
}

.vifyo-container {
    padding-top: 18px;
    padding-bottom: 30px;
}

.vifyo-footer {
    border-top: 1px solid #261b3f;
    color: rgba(233,228,255,.65);
    padding: 18px 0;
    margin-top: 40px;
}

.vifyo-navbtn {
    padding: 0;
    text-decoration: none;
}

/* Roller */
.roller-wrap {
    position: relative;
    border: 1px solid var(--stroke);
    background: rgba(11,8,20,.55);
    border-radius: 16px;
    overflow: hidden;
    height: 132px;
    box-shadow: var(--shadow);
}

.pointer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, rgba(168,85,247,.95), transparent);
    z-index: 5;
}

    .pointer::after {
        content: "";
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 14px solid rgba(168,85,247,.95);
        filter: drop-shadow(0 6px 12px rgba(0,0,0,.6));
    }

.roller {
    height: 132px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    will-change: transform;
}

.roller-item {
    flex: 0 0 auto;
    width: 92px;
    height: 112px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: rgba(18,12,34,.75);
    position: relative;
}

    .roller-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .roller-item .cap {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 6px 8px;
        font-size: 11px;
        background: linear-gradient(to top, rgba(11,8,20,.92), rgba(11,8,20,.2));
    }

/* Home hub */
.home-hub {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
    gap: 16px;
    margin-top: 18px;
}

.hub-card {
    display: block;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    text-decoration: none;
}

.hub-title {
    font-weight: 700;
    font-size: 18px;
}

.hub-desc {
    opacity: .8;
    margin-top: 6px;
}

.hub-card:hover {
    transform: translateY(-2px);
}

/* ===========================
   QUIZ STYLES (NEW)
   =========================== */

.page {
    color: #eef0ff;
}

.muted {
    opacity: .75;
}

.quiz-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
}

.q-img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
}

.opt-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
    cursor: pointer;
}

    .opt-row:hover {
        transform: translateY(-1px);
    }

    .opt-row input {
        margin-top: 4px;
        accent-color: #7c3aed;
    }

.opt-content {
    width: 100%;
}

.opt-text {
    font-size: 15px;
    line-height: 1.3;
}

.opt-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255,255,255,.10);
}
