* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #ffd700;
    --gold-dark: #ff8c00;
    --gold-light: #ffe55c;
    --black: #0a0a0a;
    --dark: #121212;
    --dark-2: #1a1a1a;
    --dark-3: #242424;
    --white: #ffffff;
    --gray: #888;
    --gray-light: #ccc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.025) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.02) 0%, transparent 50%);
}

/* Subtle cloud pattern overlay for "古都" texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    background-image:
        repeating-linear-gradient(45deg, transparent 0, transparent 80px, rgba(255, 215, 0, 0.008) 80px, rgba(255, 215, 0, 0.008) 81px),
        repeating-linear-gradient(-45deg, transparent 0, transparent 80px, rgba(255, 215, 0, 0.008) 80px, rgba(255, 215, 0, 0.008) 81px);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold), var(--gold-dark));
    border-radius: 4px;
}

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    padding: 1rem 6%;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    position: relative;
}

.logo span {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===== Back to Top Button ===== */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.05);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center top, transparent 30%, rgba(0,0,0,0.5) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, transparent 30%, rgba(10,10,10,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-label {
    font-size: 0.8rem;
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title {
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-title .gold {
    display: block;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 20px rgba(255, 215, 0, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.7s;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.hero-stat {
    text-align: center;
    padding: 0 0.5rem;
}

.hero-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.4rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.1s;
}

.btn {
    padding: 0.95rem 2.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.btn-primary:hover::before {
    left: 0;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 4px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.3s;
}

.scroll-down svg {
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Section Common ===== */
section {
    padding: 6rem 6%;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-title .gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

/* ===== Attractions Section ===== */
.attractions {
    background: var(--dark);
    position: relative;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.attraction-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    height: 340px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.attraction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 215, 0, 0.2);
}

.attraction-card:hover .card-image img {
    transform: scale(1.08);
}

.attraction-card:hover .card-badge {
    transform: scale(1.05);
}

.card-image {
    position: absolute;
    inset: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.1) 70%);
}

.card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.3rem 0.75rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.card-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: var(--white);
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.card-address {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-address::before {
    content: '📍';
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
    font-size: 0.85rem;
}

.card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
}

.card-price small {
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.15rem;
}

.card-price .price-note {
    font-size: 0.68rem;
    font-weight: 500;
    color: #ffb84d;
    background: rgba(255, 184, 77, 0.15);
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: 4px;
    border: 1px solid rgba(255, 184, 77, 0.3);
}

.card-tag {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.card-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 0.3s ease, color 0.3s ease;
    font-family: inherit;
}

.card-btn:hover {
    gap: 0.5rem;
    color: var(--gold-light);
}

/* ===== Detail Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--dark-2);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    max-height: 92vh;
    overflow: visible;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.15);
    animation: modalIn 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 2001;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 44px;
    height: 44px;
    background: rgba(15, 15, 15, 0.92);
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 215, 0, 0.15);
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.modal-hero {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.modal-carousel {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.modal-slides {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-slides .modal-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.modal-slides .modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.modal-nav:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

.modal-prev { left: 14px; }
.modal-next { right: 14px; }

.modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.7);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.4) transparent;
}

.modal-thumbs::-webkit-scrollbar { height: 4px; }
.modal-thumbs::-webkit-scrollbar-thumb { background: rgba(255, 215, 0, 0.4); border-radius: 2px; }

.modal-thumb {
    flex: 0 0 auto;
    width: 58px;
    height: 42px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    opacity: 0.65;
    padding: 0;
    background: transparent;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-thumb:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.modal-thumb.active {
    border-color: var(--gold);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.modal-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.modal-action {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.modal-action:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--gold);
    transform: translateY(-2px);
}

.modal-action.active {
    background: rgba(255, 77, 79, 0.18);
    border-color: rgba(255, 77, 79, 0.5);
    color: #ff4d4f;
}

.modal-action svg {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.modal-action.active svg {
    fill: #ff4d4f;
    stroke: #ff4d4f;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.modal-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-meta-item .price {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
}

.modal-meta-item .location-text {
    color: rgba(255, 255, 255, 0.88);
}

.modal-meta-item .copy-icon {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.25s ease, color 0.25s ease;
    margin-left: 4px;
    color: var(--gray-light);
    background: none;
    border: none;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}

.modal-meta-item .copy-icon:hover {
    opacity: 1;
    color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
}

.modal-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.modal-desc .highlight {
    color: var(--gold);
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(255, 215, 0, 0.15) 60%);
}

.modal-info-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
}

.modal-info-list li {
    padding: 0.5rem 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    line-height: 1.55;
}

.modal-info-list li strong {
    color: var(--gold);
    min-width: 92px;
    max-width: 92px;
    font-weight: 600;
    flex-shrink: 0;
}

.modal-info-list li .info-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.85);
}

.modal-info-list li .info-value.warn {
    color: #ffb84d;
    font-weight: 600;
}

.modal-info-list li .info-value .warn {
    color: #ffd700;
    font-weight: 700;
    background: linear-gradient(transparent 65%, rgba(255, 184, 77, 0.28) 65%);
    padding: 0 4px;
    border-radius: 3px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    letter-spacing: 0.2px;
}

.modal-tips {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.1), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(255, 184, 77, 0.25);
    border-radius: 12px;
    display: none;
}

.modal-tips.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.modal-tips-title {
    font-size: 0.85rem;
    color: #ffb84d;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-tips-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.modal-tips-list li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    font-size: 0.88rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 3000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.modal-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
    .modal { max-height: 95vh; border-radius: 16px; }
    .modal-close {
        top: 12px;
        right: 12px;
        left: auto;
        transform: none;
    }
    .modal-close:hover { transform: rotate(90deg) scale(1.05); }
    .modal-carousel { height: 200px; }
    .modal-body {
        padding: 1.25rem 1.25rem 1.5rem;
        flex: 1 1 auto;
        min-height: 0;
    }
    .modal-title { font-size: 1.4rem; }
    .modal-info-list li strong { min-width: 76px; max-width: 76px; }
    .modal-hero { position: relative; }
}

/* ===== Featured / Parallax Section ===== */
.featured {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.55) 50%, transparent 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, rgba(10,10,10,0.6) 100%);
}

.featured-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 6%;
}

.featured-tag {
    font-size: 0.75rem;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.featured-highlights {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.featured-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.88);
}

.featured-highlights .hl-icon {
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.featured-highlights strong {
    color: var(--gold);
    font-weight: 600;
    margin-right: 0.4rem;
}

/* ===== Tips Section ===== */
.tips {
    background: var(--dark);
    position: relative;
}

.tips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tip-card {
    background: var(--dark-2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tip-card:hover::before {
    transform: scaleX(1);
}

.tip-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.tip-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.tip-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.tip-list {
    list-style: none;
    margin-top: auto;
}

.tip-list li {
    padding: 0.4rem 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.86rem;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.5;
}

.tip-emoji {
    font-size: 0.95rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.tip-link {
    color: var(--gold);
    border-bottom: 1px dashed rgba(255, 215, 0, 0.4);
    padding-bottom: 1px;
    transition: color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.tip-link:hover {
    color: var(--gold-light);
    border-color: var(--gold-light);
}

/* ===== Footer ===== */
footer {
    background: var(--black);
    padding: 3rem 6%;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.footer-logo span {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link svg {
    color: var(--gold);
    transition: color 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link:hover svg {
    color: var(--gold-light);
}

.footer-copyright {
    color: #555;
    font-size: 0.75rem;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--gold-light);
}

.footer-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    nav.mobile-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 1.5rem 6%;
        gap: 1.2rem;
        border-top: 1px solid rgba(255, 215, 0, 0.1);
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    section {
        padding: 4rem 5%;
    }

    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .attraction-card {
        height: 300px;
    }

    .featured {
        height: auto;
        padding: 5rem 0;
        min-height: auto;
    }

    .featured-overlay {
        background: rgba(0, 0, 0, 0.75);
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .tip-card {
        min-height: auto;
    }

    #backToTop {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }

    .footer-social {
        gap: 0.6rem;
    }

    .social-link {
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        min-width: calc(50% - 0.5rem);
    }

    .hero-stat-number {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.85rem 2rem;
        font-size: 0.85rem;
    }

    .card-title {
        font-size: 1.3rem;
    }

    .attractions-grid {
        grid-template-columns: 1fr;
    }

    .attraction-card {
        height: 280px;
    }
}
