/* Explain: General reusable component styles and utility classes. */
.atlas-shell {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.atlas-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: #0A0A0A;
    font-weight: 800;
    padding: 0.85rem 1.2rem;
    white-space: nowrap;
    box-shadow: 0 14px 28px rgba(255, 204, 0, 0.28);
}

.atlas-button:hover {
    transform: translateY(-2px);
    background: #E6B800;
    color: #0A0A0A;
}

.atlas-button-secondary {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #FFFFFF;
    font-weight: 800;
    padding: 0.85rem 1.2rem;
    white-space: nowrap;
}

.atlas-button-secondary:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #0A0A0A;
    transform: translateY(-2px);
}

.destination-card {
    overflow: hidden;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.category-pill {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-weight: 800;
    padding: 0.75rem 1rem;
}

.category-pill:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #0A0A0A;
}

.category-filter-btn.is-active {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #0A0A0A;
}

.category-filter-btn.is-active:hover {
    background: #E6B800;
    color: #0A0A0A;
}

.layered-frame {
    position: relative;
    isolation: isolate;
}

.layered-frame::before,
.layered-frame::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-large);
    inset: 16px -16px -16px 16px;
    z-index: -1;
}

.layered-frame::after {
    border-color: rgba(255, 204, 0, 0.35);
    inset: -14px 18px 18px -14px;
}

.map-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-medium);
    background:
        linear-gradient(135deg, rgba(38, 38, 38, 0.8), rgba(10, 10, 10, 0.9)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 18px);
    box-shadow: var(--shadow-card);
}

.tip-box {
    border-left: 5px solid var(--accent-color);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
    background: rgba(255, 204, 0, 0.1);
}

.article-prose {
    color: var(--accent-color);
    font-family: var(--font-body);
}

.article-prose p,
.article-prose span,
.article-prose a,
.article-prose li,
.article-prose strong,
.article-prose em {
    color: inherit !important;
    font-family: inherit !important;
    background-color: transparent !important;
}

.article-prose iframe,
.article-prose blockquote,
.article-prose .instagram-media,
.article-prose .twitter-tweet {
    max-width: 100% !important;
    margin-inline: auto !important;
    border-radius: 12px;
}

.article-prose h1,
.article-prose h2,
.article-prose h3 {
    font-family: var(--font-heading) !important;
}

.article-prose p {
    margin-top: 1.15rem;
    font-size: 1.075rem;
}

.article-prose h2 {
    margin-top: 2.4rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.02;
}

.form-input {
    min-height: 48px;
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(23, 23, 23, 0.6);
    padding: 0.85rem 1rem;
    color: #FFFFFF;
}

.form-input::placeholder {
    color: #94A3B8;
}

.form-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 204, 0, 0.15);
    outline: none;
}

.gallerySwiper .swiper-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.08);
}

.gallerySwiper .swiper-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

.gallerySwiper .swiper-pagination {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    display: none;
}

.fullscreenSwiper .swiper-wrapper {
    height: 100%;
}

.fullscreenSwiper .swiper-slide {
    display: none !important;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.fullscreenSwiper .swiper-slide.is-active {
    display: flex !important;
}

.fullscreenSwiper .swiper-pagination {
    position: absolute;
    inset-inline: 0;
    bottom: 1rem;
    text-align: center;
    color: #FFFFFF;
    font-weight: 800;
}

.fullscreenSwiper .swiper-button-next,
.fullscreenSwiper .swiper-button-prev {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: flex;
    min-height: 44px;
    width: 44px;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #FFFFFF;
    cursor: pointer;
}

.fullscreenSwiper .swiper-button-next {
    right: 1rem;
}

.fullscreenSwiper .swiper-button-prev {
    left: 1rem;
}

.fullscreenSwiper .swiper-button-next::after {
    content: '›';
    font-size: 2rem;
    line-height: 1;
}

.fullscreenSwiper .swiper-button-prev::after {
    content: '‹';
    font-size: 2rem;
    line-height: 1;
}

@media (min-width: 640px) {
    .gallerySwiper .swiper-slide {
        flex-basis: calc((100% - 1rem) / 2);
    }
}

@media (min-width: 1024px) {
    .gallerySwiper .swiper-slide {
        flex-basis: calc((100% - 2rem) / 3);
    }

    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        display: flex;
    }
}