/* ═══════════════════════════════════════════════════════════════
   CSN Bio Link v2 — Bio Page Styles
   Brand-specific colors for social icons.
   ═══════════════════════════════════════════════════════════════ */

:root {
    --wa-color: #25D366;
    --tg-color: #0088cc;
    --tv-color: #E63946;
    --lc-color: #6366f1;
    --amp-color: #F59E0B;
}

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

body.bio-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.bio-container {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    animation: bioFadeIn 0.6s ease-out;
}

@keyframes bioFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Profile ── */
.bio-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.2);
    margin-bottom: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    transition: transform 0.3s ease;
}
.bio-avatar:hover { transform: scale(1.05); }

/* Avatar shapes */
.bio-avatar--circle   { border-radius: 50%; }
.bio-avatar--rounded  { border-radius: 20px; }
.bio-avatar--square   { border-radius: 4px; }
.bio-avatar--squircle { border-radius: 30%; }
.bio-avatar--hexagon  { border-radius: 50%; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); border: none; }
.bio-avatar--diamond  { border-radius: 0; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); border: none; }
.bio-avatar--star     { border-radius: 0; clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); border: none; }

.bio-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.bio-description {
    font-size: 15px;
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto 24px;
    opacity: 0.9;
}

/* ── Social Icons ── */
.bio-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}

.bio-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Brand-specific hover colors */
.bio-social a[title="WhatsApp"]:hover {
    background: var(--wa-color) !important;
    border-color: var(--wa-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}
.bio-social a[title="Telegram"]:hover {
    background: var(--tg-color) !important;
    border-color: var(--tg-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 136, 204, 0.35);
}
.bio-social a[title="CSN TV"]:hover {
    background: var(--tv-color) !important;
    border-color: var(--tv-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.35);
}
.bio-social a[title="Live Chat"]:hover {
    background: var(--lc-color) !important;
    border-color: var(--lc-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}

/* ── Banner ── */
.bio-banner {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
}
.bio-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Links ── */
.bio-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.bio-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    gap: 8px;
    position: relative;
}
.bio-link-btn:hover { transform: translateY(-2px); }

/* ── Footer ── */
.bio-footer {
    text-align: center;
    padding: 24px 0 8px;
    margin-top: 8px;
    opacity: 0.6;
}
.bio-footer-brand { font-size: 13px; margin-bottom: 8px; }
.bio-footer-brand a { font-weight: 600; text-decoration: none; }
.bio-footer-links { display: flex; justify-content: center; gap: 16px; }
.bio-footer-links a { text-decoration: none; font-size: 12px; transition: color 0.2s; }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT VARIANTS
   ═══════════════════════════════════════════════════════════════ */

/* Card Layout */
.layout-card { position: relative; padding-top: 0; }
.layout-card .card-hero { width: 100%; height: 200px; border-radius: 20px 20px 0 0; overflow: hidden; margin-bottom: -50px; }
.layout-card .card-hero img { width: 100%; height: 100%; object-fit: cover; }
.layout-card .card-body { background: rgba(0,0,0,0.4); backdrop-filter: blur(20px); border-radius: 20px; padding: 40px 24px 24px; border: 1px solid rgba(255,255,255,0.1); }
.layout-card .bio-avatar { margin-top: -70px; border: 4px solid rgba(255,255,255,0.2); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.layout-card .bio-footer { border-top: none; padding-top: 16px; }

/* Minimal Layout */
.layout-minimal { max-width: 420px; }
.layout-minimal .bio-avatar { width: 72px; height: 72px; margin-bottom: 12px; }
.layout-minimal .bio-title { font-size: 20px; margin-bottom: 16px; }
.layout-minimal .bio-social { margin-bottom: 16px; gap: 8px; }
.layout-minimal .bio-social a { width: 36px; height: 36px; font-size: 16px; }
.layout-minimal .bio-links { gap: 8px; }
.layout-minimal .bio-link-btn { padding: 12px 16px; font-size: 13px; }
.layout-minimal .bio-footer { margin-top: 16px; padding-top: 12px; }

/* Magazine Layout */
.layout-magazine { max-width: 900px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; text-align: left; }
.layout-magazine .bio-profile { position: sticky; top: 30px; align-self: start; text-align: center; }
.layout-magazine .bio-social { justify-content: center; }
.layout-magazine .bio-links { margin-bottom: 0; }
.layout-magazine .bio-footer { grid-column: 1 / -1; text-align: center; }
.layout-magazine .bio-banner { grid-column: 1 / -1; }

/* Split Layout */
.layout-split { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; gap: 0; text-align: left; }
.layout-split .split-image { display: flex; align-items: center; justify-content: center; padding: 40px; }
.layout-split .split-image img { width: 100%; max-width: 300px; border-radius: 20px; object-fit: cover; }
.layout-split .split-content { display: flex; flex-direction: column; justify-content: center; padding: 40px 32px; }
.layout-split .bio-profile { text-align: left; }
.layout-split .bio-social { justify-content: flex-start; }
.layout-split .bio-footer { grid-column: 1 / -1; text-align: center; }

/* ── Video Background ── */
.bio-video-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .layout-magazine { grid-template-columns: 1fr; text-align: center; }
    .layout-magazine .bio-profile { position: static; }
    .layout-split { grid-template-columns: 1fr; }
    .layout-split .split-image { padding: 20px; }
    .layout-split .split-content { padding: 20px 16px; }
    .layout-split .bio-profile { text-align: center; }
    .layout-split .bio-social { justify-content: center; }
}

@media (max-width: 640px) {
    body.bio-page { padding: 20px 12px; }
    .bio-title { font-size: 22px; }
    .bio-link-btn { padding: 14px 20px; font-size: 14px; }
    .bio-avatar { width: 88px; height: 88px; }
    .layout-card .card-hero { height: 160px; }
    .layout-card .card-body { padding: 32px 16px 16px; }
}
