/**
 * =========================================================
 * TAP2VIEW MASTER MAGIC CSS
 * VERSION: 3.0 PEARL ENGINE
 * =========================================================
 */

:root {

    --contrast: #b59a63;

    --bg-light: #f8f8f6;

    --bg-mid: #ece9e2;

    --bg-dark: #d9d4cb;

    --white: #ffffff;

    --text-dark: #262626;

    --text-soft: #666666;

    --live-green: #2ecc71;

}

/* =========================================================
   BODY
   ========================================================= */

body {

    font-family:
        'Inter',
        sans-serif;

    margin: 0;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    background:
        linear-gradient(180deg,
            var(--bg-light) 0%,
            var(--bg-mid) 50%,
            var(--bg-dark) 100%);

    overflow-x: hidden;

    position: relative;

    color:
        var(--text-dark);

}

/* =========================================================
   PEARL FLOATING LIGHT
   ========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    background:

        radial-gradient(circle at 20% 20%,
            rgba(255, 255, 255, 0.82),
            transparent 28%),

        radial-gradient(circle at 80% 30%,
            rgba(255, 255, 255, 0.48),
            transparent 30%),

        radial-gradient(circle at 50% 90%,
            rgba(181, 154, 99, 0.10),
            transparent 35%);

    animation:
        pearlFloat 16s ease-in-out infinite;

    pointer-events: none;

    z-index: 0;

}

@keyframes pearlFloat {

    0% {

        transform:
            translateY(0px);

    }

    50% {

        transform:
            translateY(-12px);

    }

    100% {

        transform:
            translateY(0px);

    }

}

/* =========================================================
   CONTAINER
   ========================================================= */

.container {

    width: 94%;

    max-width: 430px;

    padding:
        28px 16px 70px;

    animation:
        floatIn 0.8s ease;

    position: relative;

    z-index: 5;

}

@keyframes floatIn {

    0% {

        opacity: 0;

        transform:
            translateY(24px);

    }

    100% {

        opacity: 1;

        transform:
            translateY(0);

    }

}

/* =========================================================
   CARD
   ========================================================= */

.card {

    background:
        rgba(255, 255, 255, 0.74);

    border-radius: 34px;

    padding:
        28px 20px 24px;

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.12);

    border:
        1px solid rgba(255, 255, 255, 0.65);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    text-align: center;

    position: relative;

    overflow: hidden;

}

/* =========================================================
   TOP SHIMMER
   ========================================================= */

.card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background:
        linear-gradient(90deg,
            transparent,
            #d7bf87,
            transparent);

}

/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-portrait {

    width: 118px;

    height: auto;

    margin-bottom: 16px;

    border-radius: 28px;

    background:
        rgba(255, 255, 255, 0.76);

    padding: 10px;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.14);

}

/* =========================================================
   NAME
   ========================================================= */

.name {

    font-family:
        'DM Serif Display',
        serif;

    font-size: 3rem;

    line-height: 1;

    margin-bottom: 8px;

    color:
        var(--text-dark);

    letter-spacing: -1px;

    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.08);

}

/* =========================================================
   TITLE
   ========================================================= */

.title {

    font-size: 0.76rem;

    text-transform: uppercase;

    letter-spacing: 4px;

    margin-bottom: 8px;

    font-weight: 900;

    color:
        var(--contrast);

}

/* =========================================================
   TAGLINE
   ========================================================= */

.tagline {

    font-size: 1rem;

    letter-spacing: 3px;

    margin-bottom: 16px;

    font-weight: 700;

    color:
        var(--text-soft);

}

/* =========================================================
   STATUS PILL
   ========================================================= */

.pill {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin:
        0 auto 14px auto;

    padding:
        8px 16px;

    border-radius: 999px;

    font-size: 0.70rem;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;

    width: fit-content;

    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.10);

}

/* =========================================================
   CTA BUTTON
   ========================================================= */

.primary-btn {

    display: block;

    width: 100%;

    padding:
        18px 16px;

    border: none;

    border-radius: 22px;

    font-weight: 900;

    font-size: 1rem;

    text-transform: uppercase;

    letter-spacing: 0.18em;

    cursor: pointer;

    margin-bottom: 12px;

    box-shadow:
        0 18px 40px rgba(181, 154, 99, 0.20);

    transition:
        transform .18s ease,
        box-shadow .18s ease;

}

.primary-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 24px 50px rgba(181, 154, 99, 0.28);

}

/* =========================================================
   BUTTON GRID
   ========================================================= */

.btn-grid {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-top: 8px;

}

/* =========================================================
   BUTTONS
   ========================================================= */

/* =========================================================
   UNIVERSAL ACTION BUTTONS
========================================================= */

.btn {

    position: relative;

    overflow: hidden;

    display: block;

    width: 100%;

    min-height: 64px;

    padding: 18px 20px;

    border:

        1px solid rgba(255, 255, 255, 0.16);

    border-radius: 22px;

    background:

        linear-gradient(180deg,
            rgba(255, 255, 255, 0.14),
            rgba(255, 255, 255, 0.05));

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    color: #10213a;

    font-size: 0.95rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18);

    transition:

        transform .18s ease,

        box-shadow .18s ease,

        border-color .18s ease;

}

.btn:hover {

    transform:
        translateY(-2px);

    border-color:
        rgba(215, 191, 135, 0.45);

    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.24);

}

.btn::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        linear-gradient(135deg,
            rgba(255, 255, 255, 0.12),
            transparent 60%);

    pointer-events: none;

}

.btn:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.04);

    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.12);

}

/* =========================================================
   TAP MODAL
   ========================================================= */

.tap-modal-overlay {

    position: fixed;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.58);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 9999;

    backdrop-filter:
        blur(8px);

}

.tap-modal-card {

    width: 88%;

    max-width: 360px;

    background:
        rgba(255, 255, 255, 0.94);

    border-radius: 30px;

    padding:
        34px 24px;

    text-align: center;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.24);

    animation:
        modalPop .22s ease;

}

@keyframes modalPop {

    0% {

        transform:
            scale(0.92);

        opacity: 0;

    }

    100% {

        transform:
            scale(1);

        opacity: 1;

    }

}

.tap-modal-title {

    font-size: 1.8rem;

    font-weight: 900;

    margin-bottom: 18px;

    color:
        #b59a63;

    letter-spacing: 2px;

}

.tap-modal-text {

    font-size: 1rem;

    line-height: 1.7;

    color:
        #444;

    margin-bottom: 26px;

}

.tap-modal-close {

    border: none;

    background:
        #b59a63;

    color: white;

    padding:
        16px 24px;

    border-radius: 16px;

    font-weight: 800;

    font-size: 0.95rem;

    cursor: pointer;

    box-shadow:
        0 12px 24px rgba(181, 154, 99, 0.24);

}

/* =========================================================
   FOOTER
   ========================================================= */

.stats {

    margin-top: 30px;

    font-size: 0.72rem;

    color:
        var(--text-soft);

    opacity: 0.6;

    font-weight: 800;

    letter-spacing: 0.24em;

}