/* ===================== BIO PAGE — Miss Yera ===================== */
/* Standalone CSS for /bio/ — NOT using Tailwind */

:root {
    --bg: #E8A0A0;
    --bg-soft: #EDAFAF;
    --card-bg: #F5E0CB;
    --card-bg-hover: #F0D4B8;
    --text-dark: #2C2C3E;
    --text-mid: #4A4A5C;
    --text-light: #7A7A8C;
    --pink-accent: #E84C8A;
    --pink-hot: #D6246E;
    --pink-soft: #F2A5C4;
    --white: #FFFFFF;
    --yt-red: #FF0000;
    --green: #25D366;
    --urgency-red: #E53E3E;
    --urgency-orange: #ED8936;
    --lead-purple: #7C3AED;
    --shadow-card: 0 2px 8px rgba(44, 44, 62, 0.08);
    --shadow-hover: 0 4px 16px rgba(44, 44, 62, 0.12);
    --radius: 1rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 100%, rgba(210, 80, 120, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.bio-container {
    position: relative;
    z-index: 1;
    max-width: 440px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

/* ===================== PROFILE ===================== */
.profile {
    text-align: center;
    margin-bottom: 1.25rem;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-pic-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--pink-hot), var(--pink-soft), var(--pink-hot));
    background-size: 200% 200%;
    animation: ringShimmer 4s ease-in-out infinite;
}

@keyframes ringShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.profile-pic-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg);
    display: block;
}

.profile-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.65rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.profile-bio {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-mid);
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

/* ===================== SOCIAL ICONS ROW ===================== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    margin: 1rem 0 1.5rem;
}

.social-icon-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 62, 0.08);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon-link:hover {
    background: var(--text-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.social-icon-link svg { width: 20px; height: 20px; fill: currentColor; }

/* ===================== SECTION DIVIDERS ===================== */
.section-divider {
    text-align: center;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--text-dark);
    margin: 1.75rem 0 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* ===================== LINK CARDS ===================== */
.link-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    animation: cardSlideUp 0.4s ease-out both;
}

.link-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.link-card:active { transform: scale(0.98); }

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

.link-thumb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.5);
}

.link-thumb-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.link-thumb-icon.pink { background: var(--pink-accent); }
.link-thumb-icon.purple { background: var(--lead-purple); }

.link-thumb-icon-text {
    font-size: 0.65rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    line-height: 1;
}

.link-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
}

.link-card-dots {
    color: var(--text-light);
    font-size: 1.2rem;
    flex-shrink: 0;
    letter-spacing: 1px;
    opacity: 0.4;
}

/* ===================== URGENCY BADGES ===================== */
.urgency-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 0 var(--radius) 0 0.5rem;
    color: var(--white);
    z-index: 2;
    animation: badgePulse 2s ease-in-out infinite;
}

.urgency-badge.red { background: var(--urgency-red); }
.urgency-badge.orange { background: var(--urgency-orange); }
.urgency-badge.green-badge { background: var(--green); }

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Countdown inside card */
.countdown-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 3px;
}

.countdown-unit {
    background: rgba(229, 62, 62, 0.12);
    color: var(--urgency-red);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
}

.countdown-sep {
    color: var(--urgency-red);
    font-weight: 800;
    font-size: 0.6rem;
}

/* Social proof number */
.social-proof {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-mid);
    margin-top: 2px;
}

/* ===================== LEAD MAGNET CARD ===================== */
.lead-magnet {
    background: linear-gradient(135deg, #7C3AED, #9333EA);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    animation: cardSlideUp 0.4s ease-out 0.05s both;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 60%);
    pointer-events: none;
}

.lead-magnet:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.35);
}

.lead-magnet:active { transform: scale(0.98); }

.lead-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.lead-icon-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 2px solid rgba(255,255,255,0.3);
}

.lead-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.lead-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.92rem;
    line-height: 1.3;
}

.lead-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 2px;
    font-weight: 600;
}

.lead-arrow {
    font-size: 1rem;
    position: relative;
    z-index: 1;
    animation: bounceRight 1.5s ease-in-out infinite;
}

@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.lead-badge {
    position: absolute;
    top: -1px;
    left: 12px;
    background: #FFD93D;
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 0 0 6px 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ===================== MASTERCLASS HIGHLIGHT ===================== */
.link-cards:has(.mc-highlight) {
    margin-bottom: 1rem;
}

.mc-highlight {
    background: linear-gradient(135deg, #E84C8A, #D6246E) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(232, 76, 138, 0.3);
}

.mc-highlight:hover {
    background: linear-gradient(135deg, #D6246E, #C41E62) !important;
    box-shadow: 0 6px 20px rgba(232, 76, 138, 0.4);
}

.mc-highlight .link-card-text { color: var(--white); }
.mc-highlight-sub { color: rgba(255, 255, 255, 0.8) !important; }

.mc-highlight-badge {
    background: #FFD93D !important;
    color: var(--text-dark) !important;
}

.mc-cd { background: rgba(255, 255, 255, 0.2) !important; color: var(--white) !important; }
.mc-cd-sep { color: rgba(255, 255, 255, 0.7) !important; }

/* ===================== MEDIA GRID (shared IG + YT) ===================== */
.media-section {
    margin: 1.75rem 0;
    animation: fadeIn 0.5s ease-out 0.2s both;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.media-grid-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.media-grid-item {
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.media-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-grid-item:hover img { transform: scale(1.05); }

.media-placeholder-cell {
    background: linear-gradient(135deg, var(--bg-soft), var(--card-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.media-placeholder-cell:nth-child(2) { background: linear-gradient(135deg, var(--card-bg), var(--pink-soft)); }
.media-placeholder-cell:nth-child(3) { background: linear-gradient(135deg, var(--pink-soft), var(--bg-soft)); }
.media-placeholder-cell:nth-child(4) { background: linear-gradient(135deg, var(--bg-soft), var(--card-bg-hover)); }
.media-placeholder-cell:nth-child(5) { background: linear-gradient(135deg, var(--card-bg-hover), var(--pink-soft)); }
.media-placeholder-cell:nth-child(6) { background: linear-gradient(135deg, var(--pink-soft), var(--bg-soft)); }

.media-footer {
    padding: 0.85rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.media-label {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
}

.media-handle {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.media-handle svg { width: 14px; height: 14px; fill: currentColor; }

.media-follow-btn {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.45rem 1.75rem;
    border-radius: 0.5rem;
    border: 1.5px solid var(--text-dark);
    background: transparent;
    color: var(--text-dark);
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.media-follow-btn:hover { background: var(--text-dark); color: var(--white); }
.media-follow-btn.yt-btn { border-color: var(--yt-red); color: var(--yt-red); }
.media-follow-btn.yt-btn:hover { background: var(--yt-red); color: var(--white); }

/* ===================== YOUTUBE VIDEO GRID ===================== */
.yt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.yt-grid-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.yt-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yt-grid-item:hover img { transform: scale(1.05); }

.yt-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s ease;
}

.yt-grid-item:hover .yt-play-overlay { background: rgba(255, 0, 0, 0.85); }
.yt-play-overlay svg { width: 16px; height: 16px; fill: white; margin-left: 2px; }

.yt-placeholder-cell {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    position: relative;
}
.yt-placeholder-cell:nth-child(2) { background: linear-gradient(135deg, #2d2d44, #1a1a2e); }
.yt-placeholder-cell:nth-child(3) { background: linear-gradient(135deg, #1a1a2e, #3d2040); }
.yt-placeholder-cell:nth-child(4) { background: linear-gradient(135deg, #3d2040, #2d2d44); }
.yt-placeholder-cell:nth-child(5) { background: linear-gradient(135deg, #2d2d44, #1a1a2e); }
.yt-placeholder-cell:nth-child(6) { background: linear-gradient(135deg, #1a1a2e, #2d2d44); }

/* ===================== FLOATING WHATSAPP ===================== */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    text-decoration: none;
    filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.35));
    transition: all 0.3s ease;
}

.wa-float:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.5));
}

.wa-float-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wa-float-icon svg { width: 30px; height: 30px; fill: white; }

.wa-float-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPing 2s ease-out infinite;
}

@keyframes waPing {
    0% { transform: scale(1); opacity: 0.6; }
    70% { transform: scale(1.3); opacity: 0; }
    100% { transform: scale(1.3); opacity: 0; }
}

.wa-float-tooltip {
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    margin-right: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    animation: tooltipAppear 0.4s ease-out 2s forwards;
    position: relative;
}

.wa-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--white);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@keyframes tooltipAppear {
    to { opacity: 1; transform: translateX(0); }
}

/* ===================== TIMED POPUP (IG FOLLOW) ===================== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease-out;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.popup-overlay.active { display: flex; }

.popup-card {
    background: var(--white);
    border-radius: 1.25rem;
    max-width: 380px;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    animation: popupSlideUp 0.4s ease-out;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

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

.popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.popup-close:hover { color: var(--text-dark); }

.popup-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.popup-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.popup-sub {
    font-size: 0.85rem;
    color: var(--text-mid);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.popup-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
    color: var(--white);
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 12px rgba(225, 48, 108, 0.3);
}

.popup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(225, 48, 108, 0.4);
}

.popup-btn svg { width: 18px; height: 18px; fill: white; }

.popup-dismiss {
    display: block;
    margin-top: 0.75rem;
    background: none;
    border: none;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
}

.popup-dismiss:hover { color: var(--text-mid); }

/* ===================== FOOTER ===================== */
.bio-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
}

.bio-footer-text {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 600;
}

.bio-footer-text a {
    color: var(--pink-accent);
    text-decoration: none;
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 380px) {
    .bio-container { padding: 1.5rem 1rem 2.5rem; }
    .profile-name { font-size: 1.4rem; }
    .social-icons { gap: 0.8rem; }
    .social-icon-link { width: 38px; height: 38px; }
    .wa-float-tooltip { display: none; }
    .wa-float { right: 1rem; bottom: 1rem; }
    .wa-float-icon { width: 50px; height: 50px; }
    .wa-float-icon svg { width: 26px; height: 26px; }
    .popup-card { padding: 1.25rem; margin-bottom: 0.5rem; }
}
