*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0c0c0d;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== Stage (phone-sized container, centered, black bars on desktop) ===== */
.splash-stage {
    position: relative;
    width: 100%;
    height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    background: #15110e;
}

/* Desktop: wider stage */
@media (min-width: 768px) {
    .splash-stage {
        max-width: 720px;
    }
}

/* ===== Full-bleed background photo ===== */
.splash-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* Dark gradient scrim so text is readable */
.splash-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.25) 0%,
        rgba(0,0,0,0.40) 50%,
        rgba(0,0,0,0.65) 100%);
}

/* ===== Centered Content ===== */
.splash-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16vh 30px 0;
}

/* ===== Profile Picture ===== */
.profile-pic-container {
    width: min(46vw, 210px);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.92);
    box-shadow: 0 10px 34px -10px rgba(0,0,0,0.55);
    background: #b9ac9b;
    flex: 0 0 auto;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* ===== Name ===== */
.splash-name {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #fff;
    font-weight: 500;
    font-size: clamp(26px, 8vw, 34px);
    letter-spacing: 0.2px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}

.verified-badge {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

/* ===== Button ===== */
.click-here-btn {
    position: relative;
    margin-top: 30px;
    width: 100%;
    max-width: 340px;
    height: 64px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.3px;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid rgba(255,255,255,0.30);
    box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
    overflow: hidden;
    cursor: pointer;
    animation: btnBreath 3.4s ease-in-out infinite;
    transition: transform 0.18s ease, background 0.25s ease;
}

.click-here-btn .btn-text {
    position: relative;
    z-index: 2;
}

.click-here-btn .progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 100%);
    box-shadow: 0 0 15px rgba(255,255,255,0.4);
    width: 0;
    border-radius: 999px;
    transition: width 0s linear;
}

.click-here-btn.holding .progress {
    width: 100%;
    transition: width 3s linear;
}

.click-here-btn:hover {
    background: rgba(255,255,255,0.24);
    transform: translateY(-1px);
}

.click-here-btn:active {
    transform: scale(0.985);
}

@keyframes btnBreath {
    0%, 100% { box-shadow: 0 8px 30px -12px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.25); }
    50%       { box-shadow: 0 8px 34px -10px rgba(0,0,0,0.45), 0 0 22px -4px rgba(255,255,255,0.22), inset 0 1px 0 rgba(255,255,255,0.32); }
}

/* ===== Toast Message ===== */
.toast-message {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    max-width: 86vw;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(0,0,0,0.76);
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.28);
    transition: opacity 0.25s ease, transform 0.25s ease;
    visibility: hidden;
}

.toast-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
