/*
 * TwinStar AC — app.css
 * All custom styles in one place.
 * Tailwind handles utilities; this file handles everything Tailwind can't.
 */

/* ── BASE ───────────────────────────────────────────────── */
body {
    background-color: #0c0c0c;
    color: #ffffff;
}

.font-heading {
    letter-spacing: 1px;
}

/* ── MOBILE MENU ────────────────────────────────────────── */
#mobile-menu {
    background-color: rgba(12, 12, 12, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* ── NAV DROPDOWNS ──────────────────────────────────────── */
/*
 * JS-controlled via app.js openDD() / scheduleCloseDD().
 * .open class toggled by JS — no CSS :hover needed.
 */
.nav-dd-wrapper {
    position: relative;
}

.nav-dd-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 260px;
    padding-top: 4px;
}

.nav-dd-panel.open {
    display: block;
}

/* ── MODALS ─────────────────────────────────────────────── */
.ts-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ts-modal.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ts-modal-inner {
    pointer-events: auto;
    position: relative;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.animate-pulse {
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ── UTILITY ────────────────────────────────────────────── */
/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}