@charset "UTF-8";
/* ==========================================================================
   CUCUL FM - Dog Breeds Encyclopedia Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Inherit from service pages)
   -------------------------------------------------------------------------- */
:root {
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #050508;
    --color-bg-card: #12121a;
    --color-bg-card-hover: #1a1a25;
    --color-primary: rgba(245, 233, 0, 0.938);
    --color-primary-glow: rgba(245, 233, 0, 0.3);
    --color-secondary: #7b61ff;
    --color-accent: #ff6b6b;
    --color-text: #ffffff;
    --color-text-muted: #8a8a9b;
    --color-text-dim: #5a5a6b;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(245, 233, 0, 0.3);
    --font-display: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Bebas Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --container-max: 1200px;
    --container-padding: clamp(20px, 5vw, 40px);
    --section-padding: clamp(60px, 10vw, 120px);

    /* Group Colors */
    --group-1: #4CAF50;
    --group-2: #2196F3;
    --group-3: #FF9800;
    --group-4: #9C27B0;
    --group-5: #F44336;
    --group-6: #00BCD4;
    --group-7: #8BC34A;
    --group-8: #3F51B5;
    --group-9: #E91E63;
    --group-10: #607D8B;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.service-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.back-link:hover { color: var(--color-primary); }
.back-link svg { width: 18px; height: 18px; }

.header-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.breeds-hero {
    padding: 130px 0 60px;
    background: linear-gradient(to bottom, var(--color-bg-darker), var(--color-bg-dark));
    border-bottom: 1px solid var(--color-border);
}

.hero-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 640px;
    line-height: 1.9;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Search & Filters
   -------------------------------------------------------------------------- */
.filter-section {
    padding: 32px 0 0;
    position: sticky;
    top: 57px;
    z-index: 90;
    background: var(--color-bg-dark);
    border-bottom: 1px solid var(--color-border);
}

.search-bar {
    position: relative;
    margin-bottom: 20px;
}

.search-bar svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--color-text-dim);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    outline: none;
    transition: var(--transition-fast);
}

.search-input::placeholder { color: var(--color-text-dim); }

.search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(245, 233, 0, 0.1);
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.filter-btn {
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.filter-btn.active {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
    font-weight: 600;
}

/* Filter toggle button (hidden on desktop, shown on mobile) */
.filter-toggle {
    display: none;
}

.filter-group-label {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    padding: 8px 0 6px;
    letter-spacing: 0.05em;
    flex-basis: 100%;
}

/* --------------------------------------------------------------------------
   Results Bar
   -------------------------------------------------------------------------- */
.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 12px;
}

.results-count {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.results-count strong {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Breeds Grid
   -------------------------------------------------------------------------- */
.breeds-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: var(--section-padding);
}

/* --------------------------------------------------------------------------
   Breed Card
   -------------------------------------------------------------------------- */
.breed-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-medium);
    cursor: pointer;
    position: relative;
}

.breed-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.breed-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* --------------------------------------------------------------------------
   Breed Image / Placeholder
   -------------------------------------------------------------------------- */
.breed-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--color-bg-darker);
}

.breed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.breed-card:hover .breed-image img {
    transform: scale(1.08);
}

/* Placeholder (shown until real photo is added) */
.breed-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg,
        rgba(var(--ph-r), var(--ph-g), var(--ph-b), 0.15),
        rgba(var(--ph-r), var(--ph-g), var(--ph-b), 0.05));
    position: relative;
}

.breed-placeholder::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--ph-r), var(--ph-g), var(--ph-b), 0.08);
    filter: blur(20px);
}

.breed-placeholder-icon {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    color: rgb(var(--ph-r), var(--ph-g), var(--ph-b));
}

.breed-placeholder-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    opacity: 0.5;
}

/* Size badge on image */
.breed-size-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-text);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
}

/* Group color indicator */
.breed-group-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgb(var(--ph-r), var(--ph-g), var(--ph-b));
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   Breed Info
   -------------------------------------------------------------------------- */
.breed-info {
    padding: 16px;
}

.breed-name {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2px;
}

.breed-name-en {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    margin-bottom: 10px;
}

.breed-origin {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breed-origin svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* Traits tags */
.breed-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.breed-trait {
    padding: 3px 8px;
    font-size: 0.65rem;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

/* Stats bars */
.breed-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.breed-stat {
    text-align: center;
}

.breed-stat-label {
    font-size: 0.6rem;
    color: var(--color-text-dim);
    margin-bottom: 4px;
}

.breed-stat-dots {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.breed-stat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.breed-stat-dot.filled {
    background: var(--color-primary);
}

/* Detail link */
.breed-detail-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    border-top: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.breed-card:hover .breed-detail-link {
    color: var(--color-primary);
}

.breed-detail-link svg {
    width: 14px;
    height: 14px;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.breeds-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.breeds-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: var(--color-text-dim);
    opacity: 0.4;
}

.breeds-empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.breeds-empty-text {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

/* --------------------------------------------------------------------------
   Group Legend (bottom)
   -------------------------------------------------------------------------- */
.group-legend {
    padding: 40px 0 var(--section-padding);
    border-top: 1px solid var(--color-border);
}

.group-legend-title {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    margin-bottom: 20px;
}

.group-legend-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.group-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.group-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.service-footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-text {
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .breeds-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .group-legend-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .breeds-hero { padding: 120px 0 48px; }

    .breeds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .filter-section {
        top: 57px;
    }

    /* Filter toggle button - visible on mobile */
    .filter-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px 14px;
        font-family: var(--font-body);
        font-size: 0.75rem;
        color: var(--color-text-muted);
        background: var(--color-bg-card);
        border: 1px solid var(--color-border);
        border-radius: 999px;
        cursor: pointer;
        transition: var(--transition-fast);
        z-index: 2;
    }

    .filter-toggle svg {
        width: 16px;
        height: 16px;
    }

    .filter-toggle.active {
        background: var(--color-primary);
        color: var(--color-bg-dark);
        border-color: var(--color-primary);
    }

    .search-bar {
        position: relative;
    }

    .search-input {
        padding-right: 110px;
    }

    /* Filter panel - collapsed by default on mobile */
    .filter-panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .filter-panel.open {
        max-height: 400px;
    }

    .filter-row {
        gap: 8px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .group-legend-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .breed-info {
        padding: 12px;
    }

    .breed-name {
        font-size: 0.85rem;
    }

    .breed-stats {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .breeds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .breed-traits {
        display: none;
    }

    .breed-info {
        padding: 10px;
    }

    .breed-name {
        font-size: 0.8rem;
    }

    .breed-name-en {
        font-size: 0.55rem;
    }

    .breed-stat-label {
        font-size: 0.55rem;
    }

    .breed-detail-link {
        font-size: 0.7rem;
    }

    .group-legend-grid {
        grid-template-columns: 1fr;
    }

    .back-link span {
        display: none;
    }
}

/* ==========================================================================
   Detail Page Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Detail Hero
   -------------------------------------------------------------------------- */
.detail-hero {
    padding: 130px 0 48px;
    background: linear-gradient(to bottom, var(--color-bg-darker), var(--color-bg-dark));
    border-bottom: 1px solid var(--color-border);
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-bottom: 24px;
}

.detail-breadcrumb a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.detail-breadcrumb a:hover {
    color: var(--color-primary);
}

.detail-breadcrumb svg {
    width: 14px;
    height: 14px;
    opacity: 0.4;
}

.detail-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.detail-hero-text .hero-label {
    margin-bottom: 8px;
}

.detail-hero-text .hero-title {
    margin-bottom: 8px;
}

.detail-name-en {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
    margin-bottom: 20px;
}

.detail-hero-image {
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.detail-hero-image .breed-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg,
        rgba(var(--ph-r), var(--ph-g), var(--ph-b), 0.12),
        rgba(var(--ph-r), var(--ph-g), var(--ph-b), 0.04));
}

.detail-hero-image .breed-placeholder-icon {
    width: 80px;
    height: 80px;
    opacity: 0.25;
    color: rgb(var(--ph-r), var(--ph-g), var(--ph-b));
}

.detail-hero-image .breed-placeholder-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    opacity: 0.4;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Quick Stats Bar
   -------------------------------------------------------------------------- */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.quick-stat {
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: center;
}

.quick-stat-label {
    font-size: 0.65rem;
    color: var(--color-text-dim);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.quick-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.quick-stat-value--primary {
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Detail Content Sections
   -------------------------------------------------------------------------- */
.detail-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--color-border);
}

.detail-section:last-of-type {
    border-bottom: none;
}

.detail-section-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.detail-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}

.detail-description {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 2;
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Info Cards Grid
   -------------------------------------------------------------------------- */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-card {
    padding: 24px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.info-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.info-card--full {
    grid-column: 1 / -1;
}

.info-card-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.info-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.info-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.info-card-list li:last-child {
    border-bottom: none;
}

.info-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.info-card-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Rating Bars
   -------------------------------------------------------------------------- */
.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rating-bar {
    display: grid;
    grid-template-columns: 100px 1fr 40px;
    gap: 12px;
    align-items: center;
}

.rating-bar-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.rating-bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rating-bar-value {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--color-primary);
    text-align: right;
}

/* --------------------------------------------------------------------------
   Personality Tags (detail)
   -------------------------------------------------------------------------- */
.detail-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.detail-trait {
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--color-text);
    background: rgba(245, 233, 0, 0.06);
    border: 1px solid rgba(245, 233, 0, 0.15);
    border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Recommended Section
   -------------------------------------------------------------------------- */
.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.recommended-item {
    padding: 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.recommended-item-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Navigation (Prev / Next)
   -------------------------------------------------------------------------- */
.detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 48px 0;
}

.detail-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    transition: var(--transition-fast);
}

.detail-nav-link:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.detail-nav-link--next {
    text-align: right;
}

.detail-nav-label {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
}

.detail-nav-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.detail-nav-link:hover .detail-nav-name {
    color: var(--color-primary);
}

/* Back to list button */
.back-to-list {
    display: flex;
    justify-content: center;
    padding-bottom: 48px;
}

.back-to-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    transition: var(--transition-fast);
}

.back-to-list a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.back-to-list a svg {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------------------------------------
   Detail Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .detail-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .detail-hero-image {
        order: -1;
        aspect-ratio: 16/9;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
    }

    .rating-bar {
        grid-template-columns: 80px 1fr 32px;
    }

    .detail-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-section {
        padding: 32px 0;
    }
}
