﻿/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #080808;
    color: #fff;
    font-family: "Segoe UI", "Hiragino Sans", sans-serif;
    line-height: 1.7;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    overflow: hidden;
}

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

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.4));
}

.hero h1,
.hero-catch,
.hero-desc {
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 1px 2px rgba(0,0,0,0.8);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-catch {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.hero-desc {
    color: #ddd;
    font-size: 1.05rem;
    margin-bottom: 35px;
}

/* =========================
   BUTTON
========================= */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: bold;
    transition: .3s;
}

.btn-register {
    background: var(--accent);
    color: #fff;
}

.btn-login {
    border: 1px solid #444;
    color: #fff;
}

/* =========================
   STATS
========================= */
.stats {
    width: 90%;
    max-width: 1200px;
    margin: -70px auto 80px;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 35px;
    text-align: center;
    backdrop-filter: blur(8px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 900;
}

.stat-label {
    color: #aaa;
}

/* =========================
   SECTION HEAD
========================= */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 800;
}

.section-more {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
}

/* =========================
   REGION SEARCH
========================= */
.region-search {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    padding: 24px 28px;
    margin-bottom: 70px;
}

.region-search__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.region-search__icon {
    font-size: 1.6rem;
}

.region-search__title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.region-search__sub {
    font-size: 0.78rem;
    color: #aaa;
}

.region-search__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.region-tag {
    display: inline-block;
    padding: 7px 16px;
    background: #181818;
    border: 1px solid #333;
    border-radius: 999px;
    color: #ccc;
    font-size: 0.85rem;
    text-decoration: none;
    transition: .2s;
}

.region-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.region-search__more {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
}

/* =========================
   ROUTES
========================= */
.routes {
    margin-bottom: 80px;
}

.route-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.route-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #222;
}

.route-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.route-card__body {
    padding: 16px 18px;
}

.route-card__pref {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

.route-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* =========================
   TOURING EVENTS
========================= */
.top-events {
    margin-bottom: 80px;
}

.top-events__empty {
    text-align: center;
    color: #aaa;
    padding: 40px;
    border: 1px dashed #222;
    border-radius: 14px;
    font-size: 0.9rem;
}

.top-event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.top-event-card {
    display: block;
    text-decoration: none;
    color: #fff;
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s;
}

.top-event-card:hover {
    border-color: var(--accent);
}

.top-event-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #181818;
}

.top-event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-event-card__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #333;
}

.top-event-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: bold;
}

.top-event-badge--open {
    background: rgba(255, 107, 0, 0.9);
    color: #fff;
}

.top-event-badge--full {
    background: rgba(80, 80, 80, 0.9);
    color: #ccc;
}

.top-event-card__body {
    padding: 14px 16px;
}

.top-event-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 6px;
}

.top-event-card__count {
    font-size: 0.8rem;
    color: #aaa;
}

/* =========================
   FEATURES
========================= */
.features {
    margin-bottom: 80px;
}

.features h2 {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 36px;
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 18px;
    overflow: hidden;
}

.feature-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.feature-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-card__body {
    padding: 20px 24px 24px;
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: #aaa;
    font-size: 0.88rem;
}

/* =========================
   SECURITY
========================= */
.security-section {
    margin-bottom: 80px;
    background: #111;
    border: 1px solid #222;
    border-radius: 20px;
    padding: 40px;
}

.security-section h2 {
    text-align: center;
    margin-bottom: 36px;
    font-size: 1.6rem;
    font-weight: 800;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.security-item {
    background: #181818;
    border-radius: 12px;
    padding: 24px;
}

.security-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.95rem;
}

.security-item p {
    color: #aaa;
    font-size: 0.88rem;
}

/* =========================
   CTA
========================= */
.cta {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(180deg, #111, #080808);
}

.cta h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta p {
    color: #aaa;
    margin-bottom: 36px;
    font-size: 1rem;
}

.cta-btn {
    display: inline-block;
}

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    border-top: 1px solid #222;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }

    .hero-content {
        left: 20px;
        right: 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-catch {
        font-size: 1.5rem;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: -40px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .top-event-card__meta {
        gap: 6px;
    }

    .region-search {
        padding: 18px;
    }
}
