html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

body {
    position: fixed;
    inset: 0;
}

a-scene,
canvas,
video {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
}

.hidden {
    display: none;
}

/* CARD */

.glass-card {

    position: fixed;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: min(85vw, 340px);

    z-index: 99999;

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

    backdrop-filter: blur(6px);

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 25px;

    padding: 16px;

    color: white;

    box-shadow: 0 8px 20px rgba(0,0,0,.30);
}

/* PROFILE */

.profile {

    width: min(42vw, 180px);
    height: min(42vw, 180px);

    min-width: 120px;
    min-height: 120px;

    margin: 0 auto 15px auto;

    border-radius: 50%;

    overflow: hidden;

    border: 3px solid rgba(255,255,255,.25);
}

.profile img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}

/* HEADER */

.glass-card h2 {

    margin: 0;

    text-align: center;

    font-size: clamp(24px, 5vw, 30px);

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.title {

    text-align: center;

    color: #00d8ff;

    font-size: clamp(14px, 3vw, 18px);

    font-weight: 600;

    margin-top: 4px;
}

.company {

    text-align: center;

    font-size: clamp(12px, 3vw, 14px);

    opacity: .85;

    margin-bottom: 16px;
}

/* ICON GRID */

.actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.actions a {

    min-height: 80px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 6px;

    text-decoration: none;

    border-radius: 16px;

    background: rgba(255,255,255,.12);

    transition:
        transform .2s ease,
        background .2s ease;
}

.actions a:hover {

    transform: scale(1.05);

    background: rgba(255,255,255,.20);
}

.actions a:active {

    transform: scale(.95);
}

.actions i {

    font-size: clamp(24px, 7vw, 36px);
}

.actions span {

    font-size: clamp(11px, 3vw, 14px);

    color: white;
}

/* ICON COLORS */

.fa-globe {
    color: #00d8ff;
}

.fa-linkedin-in {
    color: #0a66c2;
}

.fa-phone {
    color: #55d655;
}

.fa-envelope {
    color: #ffbe3d;
}

.fa-address-card {
    color: white;
}

.fa-whatsapp {
    color: #25d366;
}

/* MOBILE */

@media (max-width: 400px) {

    .glass-card {

        width: calc(100vw - 24px);

        left: 12px;
        right: 12px;
    }

    .actions a {

        min-height: 70px;
    }
}

