@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=Noto+Serif+SC:wght@400;600;700&display=swap');

:root {
    --blue-primary: #1a5276;
    --blue-secondary: #2980b9;
    --blue-light: #3498db;
    --cream: #f5f5dc;
    --cream-dark: #e8e4c9;
    --cream-light: #faf8f0;
    --ink: #2c3e50;
    --ink-light: #5d6d7e;
    --gold: #c9a962;
    --gold-light: #d4b978;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2.5L25 20l-5 4.5V22h20v2H20v2.5L15 20l5-4.5V18H0v2h20z' fill='none' stroke='%231a5276' stroke-opacity='0.05' stroke-width='0.5'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ma Shan Zheng', cursive;
    color: var(--blue-primary);
    font-weight: normal;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 245, 220, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(26, 82, 118, 0.15);
    border-bottom: 1px solid rgba(26, 82, 118, 0.1);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2rem;
    color: var(--blue-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo::before {
    content: '🏮';
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--blue-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue-primary));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--blue-primary);
    padding: 0.5rem;
}

.search-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 30px;
    padding: 0.3rem 0.5rem;
    box-shadow: 0 2px 15px rgba(26, 82, 118, 0.1);
    border: 1px solid rgba(26, 82, 118, 0.1);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.25);
    border-color: var(--blue-light);
    transform: translateY(-2px);
}

.search-input {
    border: none;
    background: transparent;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--ink);
    width: 200px;
    outline: none;
    font-family: 'Noto Serif SC', serif;
}

.search-input::placeholder {
    color: var(--ink-light);
}

.search-btn {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 1rem;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.search-btn:active {
    transform: scale(0.95);
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.75) 0%, rgba(26, 82, 118, 0.4) 50%, rgba(26, 82, 118, 0.6) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 80%;
}

.slide-content h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.slide-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.slide-btn:hover {
    background: white;
    color: var(--blue-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40L40 0z' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1.5'/%3E%3C/svg%3E");
    pointer-events: none;
}

.slide-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.2rem;
    z-index: 20;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, var(--cream-light) 100%);
}

.intro h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--gold));
    border-radius: 2px;
}

.intro p {
    font-size: 1.15rem;
    color: var(--ink-light);
    line-height: 2;
    text-align: justify;
    text-indent: 2rem;
}

.categories {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
    position: relative;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
}

.categories h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
}

.categories h2::after {
    content: '🎭';
    margin-left: 0.5rem;
    font-size: 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 82, 118, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-light), var(--blue-primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(26, 82, 118, 0.2);
}

.category-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-content {
    padding: 2rem;
    position: relative;
}

.category-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.category-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-card-content p {
    color: var(--ink-light);
    font-size: 1rem;
    line-height: 1.7;
}

footer {
    background: linear-gradient(135deg, var(--blue-primary) 0%, #16425b 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
}

footer p {
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

.category-page {
    padding: 8rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.category-page h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.category-page h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-light), var(--gold));
    border-radius: 2px;
}

.category-page-subtitle {
    color: var(--ink-light);
    font-size: 1.1rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--blue-light);
    border-radius: 40px;
    color: var(--blue-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Noto Serif SC', serif;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 82, 118, 0.05), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: var(--blue-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.tab-btn.active {
    background: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
    box-shadow: 0 8px 25px rgba(26, 82, 118, 0.3);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.item-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 82, 118, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--blue-light));
    transition: width 0.4s ease;
    z-index: 2;
}

.item-card:hover::before {
    width: 100%;
}

.item-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(26, 82, 118, 0.18);
}

.item-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.item-card-image-wrapper img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-card:hover .item-card-image-wrapper img {
    transform: scale(1.08);
}

.item-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.item-card:hover .item-card-overlay {
    opacity: 1;
}

.item-card-content {
    padding: 1.8rem;
    position: relative;
}

.item-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1.8rem;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.item-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--blue-primary);
}

.item-level {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--blue-light), var(--blue-secondary));
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
}

.item-card:hover .item-level {
    transform: scale(1.05);
}

.item-level.national {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.item-level.provincial {
    background: linear-gradient(135deg, var(--blue-light), var(--blue-secondary));
}

.item-card-content p {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.item-card-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px dashed rgba(26, 82, 118, 0.1);
}

.item-region {
    font-size: 0.85rem;
    color: var(--ink-light);
    transition: all 0.3s ease;
}

.item-card:hover .item-region {
    color: var(--blue-primary);
}

.region-page {
    padding: 8rem 2rem 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.region-page-header {
    text-align: center;
    margin-bottom: 4rem;
}

.region-page h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.region-page h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-light), var(--gold));
    border-radius: 2px;
}

.region-page-subtitle {
    color: var(--ink-light);
    font-size: 1.1rem;
}

.regions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.region-card {
    background: white;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 8px 30px rgba(26, 82, 118, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-light), var(--gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.region-card:hover::before {
    transform: scaleY(1);
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26, 82, 118, 0.15);
}

.region-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue-light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-card h3::after {
    content: '📍';
    font-size: 1.2rem;
}

.region-card ul {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.region-card ul::-webkit-scrollbar {
    width: 4px;
}

.region-card ul::-webkit-scrollbar-track {
    background: rgba(26, 82, 118, 0.05);
    border-radius: 2px;
}

.region-card ul::-webkit-scrollbar-thumb {
    background: var(--blue-light);
    border-radius: 2px;
}

.region-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(26, 82, 118, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-card li::before {
    content: '▸';
    color: var(--gold);
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.region-card li:hover::before {
    opacity: 1;
}

.region-card li:hover {
    color: var(--blue-primary);
    padding-left: 1rem;
    background: rgba(26, 82, 118, 0.03);
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
}

.region-card li:last-child {
    border-bottom: none;
}

.region-item-count {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(26, 82, 118, 0.1);
    text-align: right;
}

.detail-page {
    padding: 8rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.back-link:hover {
    background: rgba(26, 82, 118, 0.08);
    padding-left: 1.5rem;
    transform: translateX(-5px);
}

.detail-hero {
    height: 55vh;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 3.5rem;
    box-shadow: 0 15px 50px rgba(26, 82, 118, 0.2);
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.7) 0%, rgba(26, 82, 118, 0.4) 50%, rgba(26, 82, 118, 0.6) 100%);
}

.detail-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30L30 0z' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.detail-hero-content {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    right: 3rem;
    color: white;
}

.detail-hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.detail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.detail-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(26, 82, 118, 0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-section:hover {
    box-shadow: 0 12px 40px rgba(26, 82, 118, 0.15);
    transform: translateY(-2px);
}

.detail-section.expanded {
    padding-bottom: 3.5rem;
}

.detail-section-content {
    max-height: 120px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.detail-section.expanded .detail-section-content {
    max-height: 2000px;
}

.detail-section-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}

.detail-section.expanded .detail-section-content::after {
    display: none;
}

.detail-section-toggle {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    opacity: 1;
}

.detail-section-toggle:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.detail-section.expanded .detail-section-toggle {
    transform: translateX(-50%);
}

.detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-light), var(--gold));
}

.detail-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--blue-light);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h2::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.detail-section p {
    color: var(--ink-light);
    line-height: 2;
    font-size: 1.1rem;
    text-align: justify;
}

.related-section {
    margin-top: 4rem;
}

.related-section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.related-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--gold));
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(26, 82, 118, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--blue-light), var(--gold));
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.related-card:hover::before {
    transform: scaleY(1);
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 82, 118, 0.15);
}

.related-card-image-wrapper {
    position: relative;
    overflow: hidden;
}

.related-card-image-wrapper img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-image-wrapper img {
    transform: scale(1.08);
}

.related-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.related-card:hover .related-card-overlay {
    opacity: 1;
}

.related-card-content {
    padding: 1.2rem;
}

.related-card-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--blue-primary);
}

.related-card-content .item-level {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
}

@media (max-width: 768px) {
    .search-container {
        display: none;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background: var(--cream);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 15px 30px rgba(26, 82, 118, 0.15);
        padding: 2.5rem 0;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .burger {
        display: block;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .slide-content p {
        font-size: 1.15rem;
    }

    .intro h2 {
        font-size: 2.2rem;
    }

    .category-page h1,
    .region-page h1 {
        font-size: 2.4rem;
    }

    .detail-hero-content h1 {
        font-size: 2.2rem;
    }

    .detail-meta {
        gap: 1rem;
    }

    .detail-section {
        padding: 1.8rem;
    }

    .items-grid {
        gap: 2rem;
    }

    .regions-list {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .intro h2 {
        font-size: 1.8rem;
    }

    .category-page h1,
    .region-page h1 {
        font-size: 2rem;
    }

    .detail-hero-content h1 {
        font-size: 1.8rem;
    }

    .tab-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .detail-hero {
        height: 40vh;
    }
}