/* Link in Bio — Mobile-first standalone page */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
}

.bio-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.bio-container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Profile Section */
.bio-profile {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.bio-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bio-avatar-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.bio-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 360px;
    line-height: 1.5;
    margin: 0;
}

/* Subscribe Button */
.bio-subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}

.bio-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.4);
    color: #fff;
}

.bio-subscribe-btn .bi-youtube {
    font-size: 1.1rem;
}

/* Featured Video */
.bio-featured-link {
    width: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 12px;
    outline: none;
}

.bio-featured-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 0 0 5px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
}

.bio-featured-video {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bio-featured-link:hover .bio-featured-video {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.bio-video-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.bio-video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 28%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.25) 100%);
    transition: background 0.2s ease;
}

.bio-featured-link:hover .bio-video-play-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.5) 100%);
}

.bio-video-play-overlay .bi {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s ease;
}

.bio-featured-link:hover .bio-video-play-overlay .bi {
    transform: scale(1.1);
}

.bio-video-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.bio-video-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ff0000;
}

.bio-video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Bio Links */
.bio-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bio-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.bio-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    color: #1a1a2e;
}

.bio-link-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bio-link-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Social Icons */
.bio-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.bio-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.bio-social-icon:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* Footer */
.bio-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.bio-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.bio-footer a:hover {
    color: #fff;
}

.bio-footer-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

/* Powered By */
.bio-powered-by {
    padding-top: 0.25rem;
}

.bio-powered-by a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.7rem;
    transition: color 0.2s ease;
}

.bio-powered-by a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 520px) {
    body {
        padding: 1.5rem 0.75rem;
    }

    .bio-avatar {
        width: 80px;
        height: 80px;
    }

    .bio-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .bio-name {
        font-size: 1.3rem;
    }

    .bio-link-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .bio-video-play-overlay .bi {
        font-size: 2.5rem;
    }
}
