* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
}


/* =========================
   BACKGROUND VIDEO
   ========================= */

.bg-video {
    position: fixed;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    object-fit: cover;
    z-index: -3;
    filter: blur(10px);
    transform: scale(1.02);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.16);
    z-index: -2;
}


/* =========================
   PAGE
   ========================= */

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px 22px;
}


/* =========================
   PROFILE
   ========================= */

.profile {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

    .profile h1 {
        margin: 0;
        font-family: "Bonheur Royale", cursive;
        font-size: 80px;
        font-style: normal;
        font-weight: 400;
        line-height: 0.9;
        letter-spacing: -2px;
        color: white;
        text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
    }

.emoji-row {
    margin-top: 12px;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}


/* =========================
   LINKS
   ========================= */

.links {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.link-card {
    width: 100%;
    min-height: 46px;
    display: grid;
    grid-template-columns: 60px 1fr 30px;
    align-items: center;
    padding: 4px 8px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    color: white;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}


/* =========================
   ICONS
   ========================= */

.icon-wrap {
    grid-column: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    border-radius: 50%;
    overflow: hidden;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
    filter: drop-shadow( 0 2px 7px rgba(0, 0, 0, 0.55) );
}


/* =========================
   DESCRIPTION TEXT
   ========================= */

.link-description {
    grid-column: 2;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}


/* =========================
   APPLE-STYLE GLASS HOVER
   ========================= */

.link-card:hover {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.07) );
    border-color: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -1px 0 rgba(255, 255, 255, 0.07), 0 8px 28px rgba(0, 0, 0, 0.20);
    transform: scale(1.015);
}

.link-card:active {
    transform: scale(0.985);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .page {
        padding: 24px 18px;
    }

    .profile {
        margin-bottom: 24px;
    }

        .profile h1 {
            font-size: 58px;
        }

    .emoji-row {
        font-size: 21px;
        letter-spacing: 6px;
    }

    .links {
        max-width: 390px;
        gap: 2px;
    }

    .link-card {
        min-height: 46px;
        grid-template-columns: 54px 1fr 26px;
        border-radius: 18px;
    }

    .icon-wrap {
        width: 27px;
        height: 27px;
    }

    .social-icon {
        width: 27px;
        height: 27px;
    }

    .link-description {
        font-size: 14px;
    }
}
