/*
 * public/home/home.css
 * Styles for the ETOWN home page only: hero, event board, story, shop.
 * Calendar grid styles live in event-calendar.css.
 */

/* ---- Hero ---- */
.etw-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px var(--pad-x);
}

.etw-hero-logo {
    flex-shrink: 0;
    font-size: 19px;
}

.etw-hero-topline {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    color: var(--c-ink);
}

.etw-hero-main {
    position: relative;
    overflow: hidden;
    background: var(--c-ink);
}

.etw-hero-video {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.etw-hero-video--mobile {
    aspect-ratio: 3 / 4;
}

.etw-hero-video--desktop {
    display: none;
}

@media (min-width: 768px) {
    .etw-hero-top {
        justify-content: space-between;
        padding: 16px var(--pad-x);
    }

    .etw-hero-logo {
        font-size: 24px;
    }

    .etw-hero-topline {
        font-size: 16px;
        text-align: right;
    }

    .etw-hero-video--mobile {
        display: none;
    }

    .etw-hero-video--desktop {
        display: block;
        aspect-ratio: 16 / 7;
    }
}

/* ---- Event board ---- */
.etw-eventboard {
    padding-bottom: 32px;
}

.etw-eventboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.etw-submit-btn {
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 16px 32px 18px;
}

.etw-submit-btn-main {
    font-weight: 600;
    font-size: 16px;
}

.etw-submit-btn-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
    color: var(--c-ink);
}

.etw-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-ink);
    flex-shrink: 0;
    animation: etwBlink 1.4s ease-in-out infinite;
}

@keyframes etwBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* ---- Story of Etown ---- */
.etw-story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.etw-video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--card-radius);
    border: var(--card-border);
    overflow: hidden;
    background: var(--c-ink);
}

.etw-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.etw-coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    background: var(--c-ink);
    color: var(--c-white);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(22px, 5vw, 42px);
    letter-spacing: 0.05em;
    padding: 10px 32px;
    white-space: nowrap;
}

/* ---- Dress Like a Local ---- */
.etw-shop {
    background: var(--etw-shop-stripes);
    padding: 56px 0;
}

.etw-shop-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.etw-shop-label {
    width: 100%;
    text-align: center;
    background: var(--c-white);
    color: var(--c-ink);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
    padding: 16px;
    border: var(--card-border);
    border-bottom: none;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.etw-shop-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: var(--card-border);
    border-top: none;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
    overflow: hidden;
}

.etw-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.etw-shop-btn {
    margin-top: -24px;
    background: var(--c-white);
    z-index: 1;
}

@media (min-width: 768px) {
    .etw-shop-card {
        max-width: 900px;
    }

    .etw-shop-image {
        aspect-ratio: auto;
        height: 600px;
    }
}
