/* I Am Hope Church — mobile-first */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000000;
    --bg-nav: #000000;
    --text: #ffffff;
    --text-muted: #ffffff;
    --accent: #4bb3e6;
    --button-text: #ffffff;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --nav-height: 76px;
    --header-height: 56px;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    max-width: 480px;
    margin: 0 auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
}

/* ── Top bar ── */

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 16px;
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar__title {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

.icon-btn:active {
    background: rgba(255, 255, 255, 0.08);
}

.icon-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ── Brand / logo ── */

.brand {
    display: flex;
    justify-content: center;
    padding: 36px 24px 8px;
}

.brand__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
}

.brand__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 44px;
    height: auto;
    flex-shrink: 0;
    color: var(--accent);
}

.brand__logo-img {
    max-height: 52px;
    max-width: 220px;
    object-fit: contain;
}

.brand__wordmark {
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--accent);
    line-height: 1;
    text-transform: lowercase;
}

.brand__wordmark-bold {
    font-weight: 700;
}

.brand__wordmark-light {
    font-weight: 400;
}

.brand__divider {
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 28px auto 24px;
}

/* ── Welcome ── */

.welcome {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
}

.welcome__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 8px;
}

.welcome__message {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    opacity: 0.95;
    line-height: 1.45;
}

/* ── Tagline (optional legacy) ── */

.tagline {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 0 0 16px;
    line-height: 1.5;
}

/* ── Pill buttons ── */

.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 28px 48px;
}

.pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    height: 54px;
    border-radius: 999px;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: var(--button-text);
    background: transparent;
    border: 2px solid var(--accent);
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.12s, background 0.15s;
}

.pill-btn:active {
    transform: scale(0.98);
    background: rgba(75, 179, 230, 0.08);
}

.pill-btn.is-active {
    background: rgba(75, 179, 230, 0.12);
}

/* ── Bottom nav ── */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: calc(var(--nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: var(--bg-nav);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 200;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 400;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s;
}

.bottom-nav__item svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.bottom-nav__item:active,
.bottom-nav__item.is-active {
    opacity: 1;
}


.event-single__hero img {
    width: 100%;
}
/* ── Tablet / desktop: keep phone frame ── */

@media (min-width: 481px) {
    body {
        border-left: 1px solid #222;
        border-right: 1px solid #222;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    }
}
