/* JPFun leisure hub — short LP */

.hub-page {
    --lp-ink: #1E6E78;
    --lp-accent: #21C3CA;
    --lp-sand: #e6f7f8;
    --lp-mist: #f5f2e9;
    background: var(--lp-mist);
    background-image: none;
    color: var(--lp-ink);
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
}

.hub-page header {
    border-bottom-color: var(--lp-accent);
}

.lp-hero {
    position: relative;
    min-height: min(92vh, 820px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #f7fbf8;
}

.lp-hero-media {
    position: absolute;
    inset: 0;
}

.lp-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.lp-hero-img.is-active {
    opacity: 1;
    animation: lp-ken 18s ease-out forwards;
    z-index: 0;
}

.lp-hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(30, 110, 120, 0.28) 0%, rgba(30, 110, 120, 0.55) 45%, rgba(20, 70, 78, 0.88) 100%),
        linear-gradient(90deg, rgba(20, 70, 78, 0.45) 0%, transparent 55%);
}

.lp-hero-inner {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 72px;
    animation: lp-rise 0.9s ease-out both;
}

.lp-hero-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(1120px, calc(100% - 40px));
    justify-content: center;
}

.lp-hero-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(30, 110, 120, 0.28);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lp-hero-nav:hover {
    background: var(--lp-accent);
    border-color: var(--lp-accent);
    transform: scale(1.05);
}

.lp-hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lp-hero-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

.lp-hero-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.lp-brand {
    margin: 0 0 14px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.lp-hero-title {
    margin: 0 0 16px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 16ch;
}

.lp-hero-lead {
    margin: 0 0 28px;
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(247, 251, 248, 0.88);
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-primary {
    background: #f7fbf8;
    color: var(--lp-ink);
}

.lp-btn-ghost {
    background: rgba(247, 251, 248, 0.12);
    color: #f7fbf8;
    border: 1px solid rgba(247, 251, 248, 0.35);
    backdrop-filter: blur(6px);
}

.lp-season {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(247, 251, 248, 0.72);
}

.lp-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 72px 0 24px;
}

.lp-section-head {
    margin-bottom: 28px;
    max-width: 36rem;
}

.lp-section-head h2 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.55rem, 2.6vw, 2rem);
    letter-spacing: -0.02em;
}

.lp-section-head p {
    margin: 0;
    color: #4b6358;
    font-size: 1rem;
    line-height: 1.5;
}

.lp-activity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 720px) {
    .lp-activity-grid { grid-template-columns: 1fr 1fr; }
}

.lp-activity {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    border-radius: 0;
    color: #f7fbf8;
    isolation: isolate;
}

@media (min-width: 720px) {
    .lp-activity { min-height: 360px; }
}

.lp-activity-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20, 70, 78, 0.12) 0%, rgba(20, 70, 78, 0.78) 100%),
        var(--img) center / cover no-repeat;
    transition: transform 0.55s ease;
    z-index: -1;
}

.lp-activity:hover .lp-activity-bg {
    transform: scale(1.05);
}

.lp-activity-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 280px;
    padding: 26px 22px;
}

@media (min-width: 720px) {
    .lp-activity-copy { min-height: 360px; padding: 32px 28px; }
}

.lp-activity-label {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lp-activity-desc {
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(247, 251, 248, 0.88);
}

.lp-activity-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.lp-shortcuts {
    padding-bottom: 12px;
}

.lp-shortcut-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #cfe0d6;
}

.lp-shortcut {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px 4px;
    border-bottom: 1px solid #cfe0d6;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.lp-shortcut:hover {
    padding-left: 8px;
    color: var(--lp-accent);
}

.lp-shortcut-emoji { font-size: 1.35rem; }

.lp-shortcut-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lp-shortcut-text strong {
    font-size: 1.02rem;
    font-weight: 700;
}

.lp-shortcut-text span {
    font-size: 0.9rem;
    color: #5b7266;
}

.lp-shortcut:hover .lp-shortcut-text span { color: inherit; opacity: 0.85; }

.lp-how-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

@media (min-width: 800px) {
    .lp-how-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.lp-how-step {
    padding: 0;
}

.lp-how-n {
    display: inline-block;
    margin-bottom: 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lp-accent);
    line-height: 1;
}

.lp-how-step strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.lp-how-step p {
    margin: 0;
    color: #4b6358;
    line-height: 1.5;
    font-size: 0.95rem;
}

.lp-guides .onsen-grid { margin-top: 8px; }

@keyframes lp-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lp-ken {
    from { transform: scale(1.08); }
    to { transform: scale(1.0); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero-img,
    .lp-hero-inner,
    .lp-activity-bg,
    .lp-shortcut {
        animation: none !important;
        transition: none !important;
    }
    .lp-hero-img { transform: none; }
    .lp-hero-img.is-active { animation: none !important; }
}

@media (max-width: 640px) {
    .lp-hero { min-height: 78vh; }
    .lp-hero-inner { padding-bottom: 40px; }
    .lp-section { padding-top: 56px; }
}

/* Journey next-steps on activity pages (not full hub-page) */
.activity-page .lp-journey {
    width: 100%;
    padding: 40px 0 16px;
}
.activity-page .lp-journey .lp-section-head h2 {
    font-family: inherit;
    font-size: 1.35rem;
}

/* Hub guides */
.lp-guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 720px) {
    .lp-guide-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .lp-guide-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.lp-guide {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid #d7e5dc;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.lp-guide:hover {
    border-color: var(--lp-accent);
    transform: translateY(-2px);
}
.lp-guide-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.lp-guide-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
    flex: 1;
}
.lp-guide-tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-accent);
}
.lp-guide-title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--lp-ink);
}
.lp-guide-summary {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #5b7266;
}
.lp-guide-more {
    margin-top: 22px;
}
.lp-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    color: var(--lp-accent);
    font-weight: 700;
}
.lp-btn-text:hover { gap: 12px; }

.activity-guides {
    margin-top: 36px;
    padding-top: 8px;
}
.activity-guides .directory-lead {
    margin: 0 0 18px;
    color: #5b7266;
}
.activity-guides-grid {
    margin-top: 4px;
}

/* Instagram */
.header-ig {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 6px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    color: #555;
    font-size: 1.05rem;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.header-ig:hover {
    color: #fff;
    background: var(--lp-accent, #21C3CA);
    border-color: var(--lp-accent, #21C3CA);
}
.lp-ig-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid #cfe0d6;
    background: #fff;
    color: var(--lp-ink, #102820);
    font-weight: 700;
    transition: border-color 0.2s ease, padding-left 0.2s ease;
}
.lp-ig-cta:hover {
    border-color: var(--lp-accent, #21C3CA);
    padding-left: 22px;
    color: var(--lp-accent, #21C3CA);
}
.lp-ig-cta .fa-instagram { font-size: 1.35rem; }
