/* ===== Base ===== */
body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #0f766e 100%);
    min-height: 100vh;
}
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Animations ===== */
.pulse-dot {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes pulse-heart {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.pulse-heart {
    display: inline-block;
    animation: pulse-heart 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.float { animation: float 6s ease-in-out infinite; }
.float-delay { animation: float 6s ease-in-out 2s infinite; }
.float-delay-2 { animation: float 6s ease-in-out 4s infinite; }

/* ===== Split-flap / airport flip board ===== */
.flip-board { display: inline-flex; gap: 4px; align-items: center; }
.flip-char {
    position: relative;
    width: 32px;
    height: 48px;
    perspective: 200px;
}
.flip-char .top,
.flip-char .bottom,
.flip-char .flap-front,
.flip-char .flap-back {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    background: #1a2332;
}
.flip-char span.inner {
    display: block;
    width: 100%;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #2dd4bf;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 28px;
}
.flip-char .top {
    top: 0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #0f172a;
}
.flip-char .bottom {
    top: 50%;
    border-radius: 0 0 4px 4px;
}
.flip-char .bottom .inner {
    margin-top: -24px;
}
.flip-char .flap-front,
.flip-char .flap-back {
    backface-visibility: hidden;
}
.flip-char .flap-front {
    top: 0;
    border-radius: 4px 4px 0 0;
    border-bottom: 1px solid #0f172a;
    transform-origin: bottom center;
    transform: rotateX(0deg);
}
.flip-char .flap-back {
    top: 50%;
    border-radius: 0 0 4px 4px;
    transform-origin: top center;
    transform: rotateX(180deg);
}
.flip-char .flap-back .inner {
    margin-top: -24px;
}
.flip-char.flipping .flap-front {
    animation: flipDown 0.3s ease-in forwards;
}
.flip-char.flipping .flap-back {
    animation: flipUp 0.3s 0.3s ease-out forwards;
}
@keyframes flipDown {
    to { transform: rotateX(-90deg); }
}
@keyframes flipUp {
    from { transform: rotateX(90deg); }
    to { transform: rotateX(0deg); }
}
.flip-comma {
    width: 14px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2dd4bf;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 28px;
}
