/* Yapcrush landing pages. Three standalone pages share this sheet. */
:root {
    --yc-page: #150824;
    --yc-pink: #ff4d8d;
    --yc-pink-soft: #ff9dc0;
    --yc-lime: #c8ff4d;
    --yc-lav: #b98cff;
    --yc-ink: #1c0b2e;
    --yc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body { margin: 0; min-height: 100%; }
body {
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 77, 141, 0.22), transparent 60%),
        radial-gradient(700px 500px at -10% 110%, rgba(185, 140, 255, 0.18), transparent 60%),
        var(--yc-page);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 14px;
    box-sizing: border-box;
}

.yc-card {
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, #251037 0%, #341249 55%, #45164e 100%);
    border: 2px solid rgba(255, 77, 141, 0.35);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    padding: 20px 18px;
    color: #fdf2f7;
    gap: 14px;
    font-family: var(--yc-font);
}

.yc-pill {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    border: 1.5px solid rgba(200, 255, 77, 0.55); color: var(--yc-lime);
    border-radius: 999px; padding: 4px 12px;
    font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700; text-transform: uppercase;
}
.yc-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }

.yc-h1 {
    font-family: var(--yc-font);
    font-weight: 800;
    font-size: 27px; line-height: 31px; letter-spacing: -0.03em;
    color: #ffffff; margin: 0;
}
.yc-h1 em { font-style: italic; color: var(--yc-pink-soft); }

/* Media: hero image with chat overlaid */
.yc-media { position: relative; border-radius: 20px; overflow: hidden; border: 2px solid rgba(255, 77, 141, 0.3); }
.yc-hero-img {
    width: 100%; height: 350px; object-fit: cover; object-position: center 65%;
    display: block; margin: 0;
}
.yc-media::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64%;
    background: linear-gradient(to top, rgba(21, 8, 36, 0.94), rgba(21, 8, 36, 0));
    pointer-events: none;
}
.yc-hero-short { height: 250px; object-position: center 25%; }

/* Chat bubbles: sticker energy, slight tilts */
.yc-chat { display: flex; flex-direction: column; gap: 7px; }
.yc-chat-overlay { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; }
.yc-chat-static { align-self: stretch; gap: 8px; }

.al-bub {
    max-width: 86%;
    padding: 9px 13px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.3;
    color: #ffffff;
    animation: ycPop 0.3s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes ycPop {
    from { opacity: 0; transform: translateY(10px) scale(0.92); }
    to { opacity: 1; transform: none; }
}
.al-bub-a {
    align-self: flex-start;
    background: rgba(52, 20, 74, 0.88);
    border: 1.5px solid rgba(185, 140, 255, 0.55);
    border-bottom-left-radius: 7px;
    transform: rotate(-0.6deg);
    backdrop-filter: blur(4px);
}
.al-bub-u {
    align-self: flex-end;
    background: linear-gradient(135deg, #ff6fa5, var(--yc-pink));
    border-bottom-right-radius: 7px;
    transform: rotate(0.6deg);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(255, 77, 141, 0.35);
}
.al-typing { display: inline-flex; gap: 5px; padding: 11px 14px; }
.al-typing i {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(233, 213, 255, 0.75);
    animation: ycBlink 1s infinite ease-in-out;
}
.al-typing i:nth-child(2) { animation-delay: 0.15s; }
.al-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ycBlink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
.al-chat-note { font-size: 11px; color: rgba(233, 213, 255, 0.5); text-align: center; margin-top: 1px; }

/* Voice card */
.al-voice {
    display: flex; align-items: center; gap: 11px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(185, 140, 255, 0.4);
    border-radius: 16px; padding: 10px 12px;
}
.al-playbtn {
    width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0;
    background: var(--yc-lime); color: var(--yc-ink); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 0 rgba(200, 255, 77, 0.25);
}
.al-playbtn:active { transform: translateY(2px); box-shadow: none; }
.al-playbtn-sm { width: 34px; height: 34px; }
.al-voice-text { flex: 1; min-width: 0; }
.al-voice-title { display: block; font-weight: 700; font-size: 14px; color: #fff; }
.al-voice-sub { display: block; font-size: 11px; color: #cba8e0; }
.al-voice-len { font-size: 12px; color: var(--yc-pink-soft); flex: none; }
.al-vbubble { display: flex; align-items: center; gap: 9px; padding: 7px 10px; max-width: 80%; }

.al-wave { display: flex; align-items: center; gap: 3px; flex: none; height: 22px; }
.al-wave i { width: 3px; border-radius: 2px; background: var(--yc-lav); opacity: 0.85; height: 30%; }
.al-wave i:nth-child(1) { height: 35%; } .al-wave i:nth-child(2) { height: 60%; }
.al-wave i:nth-child(3) { height: 90%; } .al-wave i:nth-child(4) { height: 55%; }
.al-wave i:nth-child(5) { height: 75%; } .al-wave i:nth-child(6) { height: 100%; }
.al-wave i:nth-child(7) { height: 65%; } .al-wave i:nth-child(8) { height: 85%; }
.al-wave i:nth-child(9) { height: 45%; } .al-wave i:nth-child(10) { height: 70%; }
.al-wave i:nth-child(11) { height: 50%; } .al-wave i:nth-child(12) { height: 30%; }
.al-wave.is-live i { animation: ycWave 0.9s infinite ease-in-out; }
.al-wave.is-live i:nth-child(2n) { animation-delay: 0.15s; }
.al-wave.is-live i:nth-child(3n) { animation-delay: 0.3s; }
@keyframes ycWave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.al-voice .al-wave, .al-vbubble .al-wave { flex: 1; }

/* Big voice hero (voice page) */
.yc-voice-hero {
    display: flex; flex-direction: column; gap: 10px; align-items: stretch;
    background: linear-gradient(150deg, rgba(255, 77, 141, 0.16), rgba(185, 140, 255, 0.12));
    border: 2px dashed rgba(255, 157, 192, 0.5);
    border-radius: 20px; padding: 16px;
}
.yc-voice-hero .al-voice { background: rgba(21, 8, 36, 0.6); }
.yc-voice-cap { font-size: 12px; color: #e6c7f1; text-align: center; }

/* CTA: lime sticker button */
.al-cta {
    display: block; width: 100%; box-sizing: border-box; text-align: center;
    background: var(--yc-lime); color: var(--yc-ink); border: 0; border-radius: 16px;
    padding: 15px; font: inherit; font-weight: 800; font-size: 16px; letter-spacing: -0.01em;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 5px 0 #8fb82e, 0 14px 30px rgba(200, 255, 77, 0.18);
}
.al-cta:active { transform: translateY(3px); box-shadow: 0 2px 0 #8fb82e; }
.yc-cta-sub { font-size: 11.5px; color: #cba8e0; text-align: center; margin-top: -6px; }

/* POV page: lock-screen notification stack */
.yc-lock {
    position: relative; border-radius: 24px; overflow: hidden;
    border: 2px solid rgba(255, 77, 141, 0.3);
    min-height: 470px;
    display: flex; flex-direction: column; align-items: center;
    padding: 18px 12px 14px; box-sizing: border-box;
}
.yc-lock-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yc-lock::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(21, 8, 36, 0.25), rgba(21, 8, 36, 0.55) 70%, rgba(21, 8, 36, 0.75));
}
.yc-lock-time {
    position: relative; z-index: 1;
    font-size: 52px; font-weight: 800; letter-spacing: -0.04em; color: #fff;
    line-height: 1; margin-top: 6px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}
.yc-lock-date { position: relative; z-index: 1; font-size: 13px; color: rgba(255, 255, 255, 0.85); margin-bottom: 16px; }
.yc-notifs { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 9px; width: 100%; }
.yc-notif {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(250, 246, 255, 0.92);
    border-radius: 18px; padding: 10px 12px;
    color: #20102e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    animation: ycDrop 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) both;
}
@keyframes ycDrop {
    from { opacity: 0; transform: translateY(-26px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
.yc-notif-icon {
    width: 34px; height: 34px; flex: none; border-radius: 9px;
    background: linear-gradient(135deg, #ff6fa5, #b98cff);
    color: #fff; font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.yc-notif-body { flex: 1; min-width: 0; }
.yc-notif-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.yc-notif-app { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6b4a86; }
.yc-notif-when { font-size: 11px; color: #8b74a3; flex: none; }
.yc-notif-title { display: block; font-size: 13.5px; font-weight: 700; color: #20102e; }
.yc-notif-text { display: block; font-size: 13px; color: #3d2450; line-height: 1.3; }

/* Desktop */
@media (min-width: 900px) {
    .yc-card {
        max-width: 1060px;
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        column-gap: 40px;
        row-gap: 18px;
        padding: 44px 48px;
        align-items: start;
    }
    .yc-media { display: contents; border: 0; }
    .yc-media::after { display: none; }
    .yc-pill, .yc-h1, .al-voice, .yc-chat, .al-cta, .yc-cta-sub, .yc-voice-hero, .yc-lock { grid-column: 1; }
    .yc-hero-img {
        grid-column: 2;
        grid-row: 1 / span 8;
        height: 100%;
        min-height: 480px;
        object-position: center 25%;
        border-radius: 20px;
        border: 2px solid rgba(255, 77, 141, 0.3);
    }
    .yc-h1 { font-size: 40px; line-height: 46px; }
    .yc-chat-overlay { position: static; min-height: 200px; gap: 8px; }
    .al-bub { font-size: 15px; padding: 10px 14px; }
    .al-voice { padding: 12px 14px; }
}

@media (min-width: 900px) {
    .yc-card:has(> .yc-lock), .yc-card:has(> .yc-voice-hero) { grid-template-columns: 1fr 1fr; }
    .yc-card:has(> .yc-lock) .yc-lock { grid-column: 2; grid-row: 1 / span 8; }
    .yc-card:has(> .yc-voice-hero) .yc-voice-hero { grid-column: 1; }
}

