:root {
    --accent: #ff4d4d;
    --accent-2: #ff9d42;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #2b2b52 0%, #0f0f1e 70%);
    color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 7rem;
}

.title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin: 1rem 0 2rem;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.frame {
    width: min(90vw, 640px);
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    background: #10101c;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

#fastfuckers {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transform: scale(1);
    transition: opacity 180ms ease, transform 180ms ease;
}

#fastfuckers.is-swapping {
    opacity: 0;
    transform: scale(1.04);
}

.trigger {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.4);
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.trigger:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 77, 77, 0.55);
}

.trigger:active {
    transform: translateX(-50%) translateY(1px) scale(0.97);
    box-shadow: 0 6px 16px rgba(255, 77, 77, 0.4);
}

.trigger:disabled {
    opacity: 0.6;
    cursor: default;
}

.credit {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    font-size: 0.75rem;
    color: rgba(245, 245, 245, 0.3);
}

.credit a {
    color: rgba(245, 245, 245, 0.45);
    text-decoration: none;
}

.credit a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}
