/* ========================================
   Mojimoji World - 首頁專用樣式
   Content-First Design (Refined Magazine Style)
   ======================================== */

/* ----------------------------------------
   Hero Section - Minimal (Legacy / Fallback)
   ---------------------------------------- */
.hero--minimal {
    text-align: center;
    padding: var(--space-8) 0;
    margin-bottom: var(--space-6);
}

.hero--minimal .hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: var(--text-xl);
    color: var(--ink-muted);
    line-height: var(--leading-relaxed);
}

/* ----------------------------------------
   Hero Slider (Magazine Style)
   ---------------------------------------- */
.hero-slider-wrapper {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    position: relative;
    margin-bottom: var(--space-6);
}

.hero-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Cinematic */
    max-width: 1300px;
}

.hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
}

.hero-slider .slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation - Minimal & Sharp */
.hero-slider .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    background: var(--hero-bullet);
    opacity: 1;
    border-radius: 0; /* Sharp lines */
    transition: all 0.3s ease;
    border: none;
    margin: 0 4px !important;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--hero-bullet-active);
    height: 3px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--hero-bullet-active);
    width: 60px;
    height: 100%;
    top: 0;
    margin-top: 0;
    background: transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-slider:hover .swiper-button-next,
.hero-slider:hover .swiper-button-prev {
    opacity: 1;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: linear-gradient(90deg, transparent, var(--hero-nav-gradient));
}

.hero-slider .swiper-button-prev:hover {
    background: linear-gradient(-90deg, transparent, var(--hero-nav-gradient));
}

/* Hero Text - Editorial (Below Slider) */
.hero-text {
    position: relative;
    margin-top: var(--space-8);
    margin-bottom: var(--space-10);
    z-index: 10;
    padding: 0 var(--space-4);
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hero-text__title {
    font-family: "Antic Didone", serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink);
    margin-bottom: var(--space-3);
}

.hero-text__tagline {
    display: inline-block;
    background: var(--ink);
    color: var(--paper);
    padding: var(--space-1) var(--space-3);
    font-size: 1.5em;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ----------------------------------------
   Now Reading - Feature Article Style
   ---------------------------------------- */
.now-reading {
    margin-bottom: var(--space-12);
    padding: var(--space-8) 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--ink);
    border-radius: 0;
}

.now-reading__label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-sans);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-8);
}

.status-dot {
    display: none;
}

.featured-work__cover {
    order: 1;
}

.featured-work__info {
    order: 2;
}

.featured-work__subtitle {
    font-size: 1.5rem;
}

/* ----------------------------------------
   Explore Section - Bordered Grid (Table of Contents Style)
   ---------------------------------------- */
.explore {
    margin-bottom: var(--space-12);
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
}

.explore-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: var(--ink);
    text-decoration: none;
}

.explore-card:hover {
    border-color: var(--ink);
    box-shadow: var(--shadow-soft);
}

/* Image Container */
.explore-card__image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    background: var(--paper-muted);
}

.explore-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.explore-card:hover .explore-card__image img {
    transform: scale(1.05);
}

/* Placeholder for missing images */
.explore-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ink);
    color: var(--paper);
    font-size: 2rem;
}

/* Content Area */
.explore-card__content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.explore-card__content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
    line-height: 1.2;
    color: inherit;
}

.explore-card__content p {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--ink-muted);
    margin: 0;
    flex: 1;
}

/* Arrow */
.explore-card__arrow {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    font-size: 1rem;
    color: var(--ink);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.explore-card:hover .explore-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ----------------------------------------
   About Brief Section
   ---------------------------------------- */
.about-brief {
    padding: var(--space-10) 0;
    border-top: 4px solid var(--ink);
}

.about-static {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.about-content a {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    border-bottom: 2px solid var(--ink);
    padding-bottom: 2px;
}

/* ----------------------------------------
   Responsive
   ---------------------------------------- */
@media (max-width: 991.98px) {
    .hero-text__title {
        font-size: 3rem;
    }
}

@media (max-width: 767.98px) {
    /* Mobile Hero */
    .hero-slider-wrapper {
        margin-bottom: var(--space-2);
    }
    
    .hero-text {
        margin-top: 0;
        padding: 0 var(--space-4);
        margin-bottom: var(--space-8);
    }
    
    .hero-text__title {
        font-size: 3rem;
        line-height: 1;
    }
    
    /* Mobile Featured */
    .now-reading {
        padding-top: var(--space-6);
        border-top: 4px solid var(--ink);
    }
    
    .featured-work {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .featured-work__cover {
        order: -1;
        aspect-ratio: 16 / 9;
    }
    
    .featured-work__info {
        order: 1;
    }
    
    .featured-work__description {
        font-size: 1.25rem;
    }
    
    /* Mobile Explore */
    .explore-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .explore-card__content h3 {
        font-size: 1.25rem;
    }
    
    .explore-card__arrow {
        opacity: 1;
        font-size: 0.875rem;
    }
}
