:root {
    --bg: #000000;
    --bg-card: rgba(255, 255, 255, 0.06);
    --bg-card-2: rgba(255, 255, 255, 0.09);
    --border-soft: rgba(255, 255, 255, 0.10);
    --border-glow: rgba(128, 204, 185, 0.35);
    --orange: #013b42;
    --orange-2: #46a990;
    --accent-warm: #d6b88f;
    --text-main: #eef4ff;
    --text-dim: #9db2d4;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    font-family: 'Vazirmatn', sans-serif;
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.app-shell {
    width: 420px;
    max-width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('./icons/bg3.jpg') top center / cover no-repeat;
    position: relative;
    padding-bottom: 80px;
    overflow: clip;
}

/* ---------- Top bar ---------- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 6px;
}

    .topbar .icon-btn {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #dfe9ff;
        font-size: 18px;
    }

    .topbar .title {
        font-weight: 700;
        font-size: 1.05rem;
        color: #f3f7ff;
    }

    .topbar .icon-group {
        display: flex;
        gap: 14px;
    }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 30px 20px 24px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20px;
    left: 10%;
    width: 80%;
    height: 120px;
    background: radial-gradient(circle, rgba(128, 204, 185, 0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 400;
    animation: fadeInUp 0.8s 0.1s ease backwards;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s 0.2s ease backwards;
}

    .hero-title .accent {
        background: linear-gradient(135deg, #80ccb9 0%, #d6b88f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
        text-shadow: 0 0 20px rgba(128, 204, 185, 0.3);
        font-weight: 900;
    }

.accent-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #d6b88f, transparent);
    border-radius: 3px;
    margin: 8px 0 18px 0;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #e7edfb;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s 0.4s ease both;
    transition: transform 0.3s ease;
}

    .meta-row i {
        color: #80ccb9;
        width: 20px;
        font-size: 1rem;
        text-align: center;
        transition: transform 0.3s ease, text-shadow 0.3s ease;
    }

    .meta-row:hover i {
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(128, 204, 185, 0.7);
    }

    .meta-row + .meta-row {
        margin-bottom: 0;
    }

/* ---------- Countdown / status panel ---------- */
.panel {
    margin: 6px 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 16px 14px;
    backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s 0.3s ease backwards;
}

    .panel:hover {
        border-color: var(--border-glow);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(128, 204, 185, 0.1);
    }

.panel-grid {
    display: flex;
    align-items: center;
}

.panel-col {
    flex: 1;
    min-width: 0;
}

.panel-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(128, 204, 185, 0.25);
    margin: 0 10px;
}

.panel-label {
    font-size: 0.7rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
    text-align: right;
}

.countdown {
    display: flex;
    gap: 5px;
    flex-direction: row-reverse;
}

.cd-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(128, 204, 185, 0.2);
    border-radius: 10px;
    padding: 8px 2px 6px;
    text-align: center;
    cursor: default;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0;
}

    .cd-box:hover {
        transform: translateY(-3px) scale(1.03);
        background: rgba(128, 204, 185, 0.1);
        border-color: var(--border-glow);
        box-shadow: 0 8px 16px -8px rgba(128, 204, 185, 0.3), 0 0 0 1px rgba(128, 204, 185, 0.15) inset;
    }

.cd-num {
    font-size: .9rem;
    font-weight: 800;
    color: #80ccb9;
    line-height: 1;
    text-shadow: 0 0 6px rgba(128, 204, 185, 0.3);
    transition: text-shadow 0.2s;
}

.cd-box:hover .cd-num {
    text-shadow: 0 0 12px rgba(128, 204, 185, 0.6);
}

.cd-unit {
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 3px;
    font-weight: 500;
}

.live-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.65rem;
    color: #e7edfb;
    font-weight: 500;
    margin-bottom: 10px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background: #027e8c;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
    box-shadow: 0 0 6px rgba(3, 158, 176, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 59, 66, 0.6);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(1, 59, 66, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(1, 59, 66, 0);
    }
}

.btn-program {
    width: 100%;
    border: 1px solid rgba(128, 204, 185, 0.25);
    border-radius: 10px;
    background: rgba(1, 59, 66, 0.15);
    color: #f2f6ff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

    .btn-program:hover {
        background: rgba(1, 59, 66, 0.3);
        border-color: #80ccb9;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px -10px rgba(128, 204, 185, 0.3);
    }

    .btn-program:active {
        transform: translateY(0px) scale(0.98);
    }

    .btn-program .cal-ico {
        width: 28px;
        height: 28px;
        background: linear-gradient(145deg, #80ccb9, #013b42);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 0.85rem;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .btn-program:hover .cal-ico {
        transform: rotate(5deg) scale(1.08);
        box-shadow: 0 0 12px rgba(128, 204, 185, 0.5);
    }


.hero {
    position: relative;
    padding: 30px 20px 24px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 400;
    animation: fadeInUp 0.8s 0.1s ease backwards;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s 0.2s ease both;
}

    .hero-title .accent {
        background: linear-gradient(135deg, #80ccb9 0%, #d6b88f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: #80ccb9;
        text-shadow: 0 0 20px rgba(128, 204, 185, 0.3);
        font-weight: 900;
    }

.accent-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #d6b88f, transparent);
    border-radius: 3px;
    margin: 8px 0 18px 0;
    animation: fadeInUp 0.8s 0.3s ease both;
}

.meta-panel {
    position: relative;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 14px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s 0.3s ease backwards;
}

    .meta-panel:hover {
        border-color: var(--border-glow);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(128, 204, 185, 0.1);
    }

.meta-grid {
    display: flex;
    align-items: stretch;
}

.meta-tile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 14px;
    padding: 2px 12px;
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    flex: 1;
}

.meta-tile--date {
    flex: 7;
}

.meta-tile--location {
    flex: 5;
}

.meta-tile i {
    font-size: 1.3rem;
    color: #80ccb9;
    margin-top: 2px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    flex-shrink: 0;
}


.meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.meta-main {
    font-weight: 600;
    font-size: 0.8rem;
    color: #eef4ff;
    line-height: 1.3;
}

.meta-sub {
    font-size: 0.7rem;
    color: #b8cdff;
    line-height: 1.3;
}

.meta-en {
    font-size: 0.55rem;
    color: var(--text-dim);
    opacity: 0.9;
    direction: ltr;
}

.meta-divider {
    width: 1px;
    background: rgba(128, 204, 185, 0.25);
    margin: 0 10px;
    flex-shrink: 0;
}

/* ---------- Menu grid ---------- */
.menu-wrap {
    padding: 8px 16px 14px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.menu-tile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(128, 204, 185, 0.18);
    border-radius: 18px;
    padding: 16px 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1), border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 100px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .menu-tile:hover {
        transform: translateY(-5px) scale(1.04);
        border-color: #80ccb9;
        background: rgba(1, 59, 66, 0.2);
        box-shadow: 0 14px 28px -10px rgba(1, 59, 66, 0.6), 0 0 0 1px rgba(128, 204, 185, 0.3) inset;
    }

    .menu-tile:active {
        transform: scale(0.96);
        transition: transform 0.1s ease;
    }

    .menu-tile .ico-wrap {
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        transition: transform 0.3s ease, filter 0.3s ease;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        padding: 4px;
    }

    .menu-tile:hover .ico-wrap {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 10px rgba(128, 204, 185, 0.5));
        background: rgba(128, 204, 185, 0.08);
    }

    .menu-tile .ico-wrap img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .menu-tile .label-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.7rem;
        font-weight: 500;
        color: #eef4ff;
    }

        .menu-tile .label-row i {
            font-size: 0.5rem;
            color: var(--text-dim);
            transition: transform 0.3s ease, color 0.3s ease;
        }

    .menu-tile:hover .label-row i {
        transform: translateX(-3px);
        color: #80ccb9;
    }

/* Footer Panel Credit */

.credit-panel {
    margin: 14px 16px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(128, 204, 185, 0.2);
    border-radius: 18px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

    .credit-panel:hover {
        transform: translateY(-3px);
        border-color: #80ccb9;
        box-shadow: 0 12px 24px -10px rgba(1, 59, 66, 0.5), 0 0 0 1px rgba(128, 204, 185, 0.2) inset;
    }

    .credit-panel .txt {
        text-align: right;
    }

        .credit-panel .txt small {
            display: block;
            color: var(--text-dim);
            font-size: 0.75rem;
            margin-bottom: 6px;
            letter-spacing: -0.2px;
        }

        .credit-panel .txt strong {
            font-size: 0.95rem;
            font-weight: 700;
            background: linear-gradient(135deg, #80ccb9, #d6b88f);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            color: #80ccb9;
        }

.credit-mark {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.credit-panel:hover .credit-mark {
    opacity: 1;
    transform: scale(1.05);
}

.credit-mark g {
    stroke: #80ccb9;
    transition: stroke 0.3s ease;
}

.credit-mark {
    animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.credit-panel:hover .credit-mark {
    animation-duration: 10s;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    z-index: 100;
    background: rgba(0, 0, 0, 0.75);
    border-top: 1px solid rgba(128, 204, 185, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 8px 6px 2px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-dim);
    font-size: 0.72rem;
    text-decoration: none;
    position: relative;
    flex: 1;
    padding: 6px 0;
    transition: color 0.3s ease, transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1);
}

    .nav-item i {
        font-size: 1.25rem;
        transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
    }

    .nav-item:hover {
        color: #80ccb9;
        transform: translateY(-3px);
    }

        .nav-item:hover i {
            transform: scale(1.15);
            text-shadow: 0 0 14px rgba(128, 204, 185, 0.7);
        }

    .nav-item.active {
        color: #80ccb9;
    }

        .nav-item.active i {
            text-shadow: 0 0 10px rgba(128, 204, 185, 0.5);
        }

        .nav-item.active::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 24px;
            height: 3px;
            background: #80ccb9;
            border-radius: 0 0 3px 3px;
            box-shadow: 0 0 8px rgba(128, 204, 185, 0.8);
        }

    .nav-item .dot {
        position: absolute;
        top: 2px;
        right: calc(50% - 18px);
        width: 9px;
        height: 9px;
        background: #d6b88f;
        border-radius: 50%;
        border: 2px solid #000;
        animation: dotPulse 2s infinite;
        box-shadow: 0 0 6px rgba(214, 184, 143, 0.5);
    }

@keyframes dotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(214, 184, 143, 0.6);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(214, 184, 143, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(214, 184, 143, 0);
    }
}


.hero {
    position: relative;
    padding: 30px 20px 24px;
    padding-bottom: 3px;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease forwards;
}

.eyebrow {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 400;
    text-align: right;
    animation: fadeInUp 0.8s 0.1s ease backwards;
}

.hero-title-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 8px;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-sub-title {
    font-size: 1.2rem;
    font-weight: 900;
    margin-top: 2rem;
    color: #39a9b3;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.5px;
}

.sub-glow {
    position: absolute;
    top: 4rem;
    left: 2.5rem;
    color: #4df0ff;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(77, 240, 255, 0.8), 0 0 25px rgba(77, 240, 255, 0.5);
    animation: glowPulse 2s infinite alternate;
    white-space: nowrap;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 8px rgba(77, 240, 255, 0.7), 0 0 16px rgba(77, 240, 255, 0.4);
    }

    100% {
        text-shadow: 0 0 16px rgba(77, 240, 255, 0.9), 0 0 30px rgba(77, 240, 255, 0.6);
    }
}

.accent-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #d6b88f, transparent);
    border-radius: 3px;
    margin: 10px auto 20px;
}

/* Scan Page Styled */
.scan-instruction {
    text-align: center;
    padding: 15px 20px 0px;
}

.scan-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #eef4ff;
    margin-bottom: 0;
}

    .scan-title .highlight {
        color: #1abf96;
        font-weight: 800;
        text-shadow: 0 0 8px rgba(128, 204, 185, 0.5);
    }

.scan-subtitle {
    font-size: 1.1rem;
    color: #9db2d4;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 0;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 60px 16px 20px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(128, 204, 185, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

    .info-box:hover {
        transform: translateY(-3px);
        border-color: #80ccb9;
        box-shadow: 0 12px 24px -10px rgba(1, 59, 66, 0.5), 0 0 0 1px rgba(128, 204, 185, 0.2) inset;
    }

.info-icon {
    font-size: 1.8rem;
    color: #80ccb9;
    filter: drop-shadow(0 0 6px rgba(128, 204, 185, 0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.info-box:hover .info-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 14px rgba(128, 204, 185, 0.8));
}

.info-text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
    color: #eef4ff;
    line-height: 1.6;
    text-align: right;
    flex: 1;
}


.scan-frame-outer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 26px 10px;
    min-height: 0;
}

.scan-frame {
    position: relative;
    width: 100%;
    max-width: 275px;
    margin: 0 auto;
}

    .scan-frame::after {
        content: "";
        display: block;
        padding-top: 100%;
    }

.scan-frame-inner {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(70% 42% at 50% 90%, rgba(128, 204, 185, 0.2), transparent 70%), rgba(5, 11, 18, 0.55);
    backdrop-filter: blur(2px);
}

    .scan-frame-inner::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 18px;
        background-image: linear-gradient(rgba(128, 204, 185, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(128, 204, 185, 0.08) 1px, transparent 1px);
        background-size: 26px 26px;
        background-position: center;
        -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 60%, transparent 100%);
        mask-image: radial-gradient(75% 75% at 50% 50%, #000 60%, transparent 100%);
        pointer-events: none;
    }

.corner {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 4px solid var(--accent);
    filter: drop-shadow(0 0 7px rgba(56, 240, 196, .85));
    z-index: 4;
}

.corner-tl {
    top: 0;
    left: 0;
    border-left-color: var(--accent);
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 18px;
}

.corner-tr {
    top: 0;
    right: 0;
    border-right-color: var(--accent);
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 18px;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-left-color: var(--accent);
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 18px;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-right-color: var(--accent);
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 18px;
}

.hologram-wrap {
    position: absolute;
    inset: 8%;
    z-index: 1;
}

.hologram-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.twinkle {
    animation: twinkle 3.6s ease-in-out infinite;
}

    .twinkle.d1 {
        animation-delay: .5s;
    }

    .twinkle.d2 {
        animation-delay: 1.1s;
    }

    .twinkle.d3 {
        animation-delay: 1.8s;
    }

    .twinkle.d4 {
        animation-delay: 2.4s;
    }

@keyframes twinkle {
    0%, 100% {
        opacity: .35;
    }

    50% {
        opacity: 1;
    }
}

.pulse-ring {
    animation: pulseRing 3.2s ease-in-out infinite;
    transform-origin: 150px 336px;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: .55;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.035);
    }
}

.seven-glow {
    animation: sevenGlow 4s ease-in-out infinite;
}

@keyframes sevenGlow {

    0%, 100% {
        opacity: .85;
    }

    50% {
        opacity: 1;
    }
}

/* scanning beam */
.scan-line {
    position: absolute;
    left: 0%;
    right: 0%;
    top: 8%;
    height: 2px;
    z-index: 5;
    background: linear-gradient(90deg, transparent, var(--accent-soft) 12%, #eafffa 50%, var(--accent-soft) 88%, transparent);
    box-shadow: 0 0 8px 2px rgba(56, 240, 196, .9), 0 0 26px 8px rgba(56, 240, 196, .4);
    animation: scanMove 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

    .scan-line::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 46px;
        background: linear-gradient(to top, rgba(56, 240, 196, .16), transparent);
    }

    .scan-line::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 46px;
        background: linear-gradient(to bottom, rgba(56, 240, 196, .16), transparent);
    }

.twinkle {
    fill: #80ccb9;
}

@keyframes scanMove {
    from {
        top: 8%;
    }

    to {
        top: 90%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scan-line,
    .pulse-ring,
    .twinkle,
    .seven-glow {
        animation: none !important;
    }
}

.qr-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42%;
    z-index: 3;
    filter: drop-shadow(0 0 10px rgba(128, 204, 185, 0.7));
    animation: qrPulse 3s ease-in-out infinite;
}

.qr-svg {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes qrPulse {

    0%, 100% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }
}
