/* Hello Frank — Breeze microsite theme (claw machine activation)
   Matches the booth UI and the video overlay: cream ground, ink cards, green accents,
   and the "Frank Index" ticker as the footer. No hosted assets needed.
   Upload the hello, Frank. logo through the event's normal logo setting. */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600;700;800;900&display=swap');

:root {
    --frank-cream: #FFFDF7;
    --frank-cream-2: #F8F5E9;
    --frank-ink: #2D2A2A;
    --frank-soft: #696454;
    --frank-green: #34A853;
    --frank-green-soft: #E6FFDA;
    --frank-green-mid: #CBE7C2;
    --frank-red: #E85D75;
    --frank-line: #E8E3D2;
    --frank-font: 'Urbanist', 'Avenir Next', 'Helvetica Neue', sans-serif;
}

/* ---------- Page ---------- */
html body {
    background-color: var(--frank-cream) !important;
    background-image:
        radial-gradient(70vmax 50vmax at 100% 0%, var(--frank-green-soft) 0%, transparent 60%),
        radial-gradient(60vmax 50vmax at 0% 100%, var(--frank-cream-2) 0%, transparent 70%) !important;
    background-attachment: fixed !important;
    color: var(--frank-ink) !important;
    font-family: var(--frank-font) !important;
    margin: 0;
}

body .session-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Header: logo, title, Frank's line ---------- */
body .header {
    width: 100%;
    text-align: center;
    padding: 30px 20px 0;
    box-sizing: border-box;
}

body .gallery-header {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .logo-wrapper img,
body .event-logo {
    max-height: 80px !important;
    max-width: 70vw;
    height: auto;
    width: auto;
}

body .event-title h1,
body .event-title h1 a,
body .event-title h2,
body .event-title a {
    font-family: var(--frank-font) !important;
    color: var(--frank-ink) !important;
    margin: 0;
    text-decoration: none;
}

body .event-title h1 {
    font-size: 15px !important;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--frank-soft) !important;
    margin-top: 16px;
    padding-left: 0.24em; /* optically re-centre tracked caps */
}

body .event-title h2 {
    font-size: 14px !important;
    font-weight: 600;
    color: var(--frank-soft) !important;
    margin-top: 6px;
}

/* Frank's speech bubble under the title */
body .event-title::after {
    content: 'Win or lose, that was great content. Here\2019 s your claw attempt.';
    display: block;
    max-width: 440px;
    margin: 20px auto 26px;
    padding: 14px 20px 14px 64px;
    /* Frank's "F" avatar, drawn inline so there's nothing to host */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='18.5' fill='%23CBE7C2' stroke='%2334A853' stroke-width='3'/%3E%3Ctext x='20' y='27' text-anchor='middle' font-family='Urbanist,Avenir Next,Helvetica,Arial,sans-serif' font-weight='900' font-size='20' fill='%232D2A2A'%3EF%3C/text%3E%3C/svg%3E") no-repeat 12px 50% / 40px 40px,
        #fff;
    border: 1px solid var(--frank-line);
    border-radius: 22px 22px 22px 6px;
    box-shadow: 0 6px 20px rgba(45, 42, 42, .06);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    color: var(--frank-ink);
    box-sizing: border-box;
}

/* ---------- Photo / video cards ---------- */
body .card {
    width: calc(100% - 40px);
    max-width: 560px;
    margin: 0 auto 28px;
    background: #fff;
    border: 2px solid var(--frank-ink);
    border-radius: 26px;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 14px 40px rgba(45, 42, 42, .10);
}

body .card-body figure {
    margin: 0;
}

body .card-body img.preview,
body .card-body video,
body .card-body .plyr {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 17px;
    overflow: hidden;
}

body .plyr {
    --plyr-color-main: var(--frank-green);
}

/* ---------- Share + download row ---------- */
body .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 8px 4px;
    background: transparent;
    border: 0;
}

body .social-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
}

body .card-footer .button,
body .fa-pinterest,
body .fa-linkedin,
body .fa-facebook-f,
body .fa-x-twitter,
body .fa-copy,
body .fa-arrow-up-from-bracket {
    color: var(--frank-ink) !important;
    cursor: pointer;
    transition: color .15s ease;
}

body .card-footer .button:hover {
    color: var(--frank-green) !important;
}

/* download = the one filled control, the booth's green Start Game button */
body .action-buttons form {
    margin: 0;
}

body .action-buttons button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--frank-green);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 8px 22px rgba(52, 168, 83, .35);
    margin-right: 4px;
    transition: transform .12s ease, background .15s ease;
}

body .action-buttons button .button,
body .action-buttons .fa-download {
    color: #fff !important;
}

body .action-buttons button:hover {
    background: var(--frank-ink);
    box-shadow: 0 8px 22px rgba(45, 42, 42, .25);
}

body .action-buttons button:active {
    transform: scale(.95);
}

body .action-buttons button:hover .button {
    color: #fff !important;
}

body .virtual-booth-actions .btn {
    background-color: var(--frank-ink) !important;
    color: #fff !important;
    font-family: var(--frank-font);
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 0;
}

/* ---------- Footer: credit line + the Frank Index ticker ---------- */
body .footer {
    position: relative;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: transparent !important;
    overflow: hidden;
}

body .footer-content,
body .footer-content a {
    font-family: var(--frank-font) !important;
    color: var(--frank-soft) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    padding-bottom: 14px;
}

body .footer-content a {
    color: var(--frank-green) !important;
}

/* the green "FRANK INDEX" label, pinned left */
body .footer::before {
    content: 'FRANK INDEX';
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: var(--frank-green);
    color: #fff;
    font-family: var(--frank-font);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.14em;
}

/* the ticker itself, scrolling slowly */
body .footer::after {
    content: 'CLAW \25B2 12.4%     PRIZES \25BC 3.1%     RISK APPETITE HIGH     GRIP STRENGTH UNDER AUDIT     CASH FLOW \25B2 VIBES     FORECAST SUNNY     hellofrank.ai     CLAW \25B2 12.4%     PRIZES \25BC 3.1%     RISK APPETITE HIGH     GRIP STRENGTH UNDER AUDIT     CASH FLOW \25B2 VIBES     FORECAST SUNNY     hellofrank.ai';
    display: block;
    height: 44px;
    line-height: 44px;
    white-space: pre;
    width: max-content;
    padding-left: 150px;
    background: #fff;
    border-top: 3px solid var(--frank-green);
    color: var(--frank-ink);
    font-family: var(--frank-font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.06em;
    animation: frank-ticker 40s linear infinite;
}

@keyframes frank-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    body .footer::after { animation: none; }
}

/* ---------- Toast ---------- */
#toast-container > .toast-success {
    background-color: var(--frank-ink);
    color: #fff;
    font-family: var(--frank-font);
    font-weight: 600;
    border-left: 4px solid var(--frank-green);
    box-shadow: 0 10px 30px rgba(45, 42, 42, .25);
    opacity: 1;
}
