/* ================= 基础变量与重置 ================= */
:root {
    --bg-poster: #E6E7E8;
    --bg-body: #2b2b2b;
    --text-dark: #333;
    --text-gray: #666;
    --yellow: #FFED00;
    --line: 2px solid #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
}

/* ================= 海报容器 ================= */
.poster-container {
    width: 100%;
    max-width: 850px;
    background: var(--bg-poster);
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.6);
}

/* ================= 通用排版 ================= */
h1, h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    line-height: .95;
}
.section-title { font-size: 2.2rem; }

.italic-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-gray);
    font-size: .85rem;
    line-height: 1.2;
}
.mt-10 { margin-top: 10px; }

/* ================= HEADER ================= */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: var(--line);
    padding-bottom: 20px;
}
.main-title {
    font-size: 4.5rem;
    line-height: 0.95;
    letter-spacing: -1px;
    white-space: nowrap;   /* 强制单行显示 */
}

.steps-container { display: flex; align-items: center; gap: 15px; }
.steps-number {
    font-family: 'Oswald', sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--yellow);
    -webkit-text-stroke: 1.5px #333;
    line-height: 1;
    letter-spacing: -1px;
}
.steps-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: .75rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    white-space: nowrap;
}

/* ================= 两列布局 ================= */
.grid-row { display: flex; justify-content: space-between; }
.border-bottom { border-bottom: var(--line); padding-bottom: 30px; }
.col-left, .col-right { width: 47%; }

/* ================= ROW 1: Goods（图片浮在黄色圆上） ================= */
.goods-layout { display: flex; align-items: center; gap: 25px; margin-top: 20px; }

.goods-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex-shrink: 0;
}

.img-cell { position: relative; width: 75px; height: 75px; }

.yellow-circle {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--yellow);
    border-radius: 50%;
    z-index: 1;
}

.img-cell img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    z-index: 2;
}

.goods-list {
    list-style: disc;
    padding-left: 20px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 2;
}

/* ================= ROW 1: Playlists ================= */
.playlist-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.playlist-list { font-size: .9rem; color: var(--text-gray); line-height: 1.9; padding-left: 20px; }
.playlist-pie-chart { width: 140px; height: 140px; flex-shrink: 0; }
.playlist-pie-chart img { width: 100%; height: 100%; object-fit: contain; }

/* ================= ROW 2: Hot Spots ================= */
.title-flex-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.title-flex-row .italic-text { margin-top: 5px; font-size: .8rem; }

.bar-chart-container {
    display: flex; align-items: flex-end;
    height: 130px; gap: 10px;
    border-bottom: var(--line);
    padding-bottom: 5px;
}
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.bar-fill { width: 100%; background: var(--yellow); }
.bar-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Oswald', sans-serif;
    font-size: .6rem;
    font-weight: 700;
    margin-top: 8px;
    white-space: nowrap;
}

/* ================= ROW 2: Best Places（名字竖排 + 星星竖排） ================= */
.places-to-eat-box {
    border: 1px solid #888;
    padding: 15px 15px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.places-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}
.places-title { font-size: 2rem; line-height: 1; }
.places-desc { font-size: .75rem; text-align: right; margin-top: 5px; }

.places-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex: 1;
}

.place-item {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 4px;
}

.place-name {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Oswald', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.stars {
    font-size: 0.7rem;
    line-height: 1.1;
    color: var(--yellow);
    -webkit-text-stroke: 0.5px #333;
    text-align: center;
    white-space: nowrap;
}

/* ================= ROW 3: Transport ================= */
.transport-list { display: flex; flex-direction: column; gap: 12px; }
.transport-row { display: flex; align-items: center; gap: 10px; }
.transport-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    width: 100px;
}
.transport-bar { background: var(--yellow); height: 32px; }
.transport-caption { border-bottom: var(--line); padding-bottom: 20px; margin-top: 15px; }

/* ================= ROW 3: Line Chart（整张图 + 无独立 X 轴） ================= */
.commitment-chart-section {
    display: flex;
    flex-direction: column;
}

.line-chart-block {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

/* 折线图整张图：宽度撑满，紧贴下方 */
.line-chart-block img {
    width: 100%;
    display: block;
    height: auto;
}

/* ================= FOOTER ================= */
.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--line);
    padding-top: 15px;
    margin-top: 10px;
}
.time-text {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}
.arrow-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    text-align: center;
}
.arrow-graphic {
    width: 100%; height: 3px;
    background: #777;
    position: relative;
    margin-top: 15px;
}
.arrow-graphic::after {
    content: '';
    position: absolute;
    right: -2px; top: -5px;
    border: 6px solid transparent;
    border-left-color: #777;
}

/* ================= 响应式 ================= */
@media (max-width: 768px) {
    .poster-container { padding: 25px; }
    .grid-row { flex-direction: column; gap: 40px; }
    .col-left, .col-right { width: 100%; }
    .main-title { font-size: 3rem; white-space: normal; }
    .steps-number { font-size: 3rem; }
    .steps-text { writing-mode: horizontal-tb; transform: none; }
    .time-text { font-size: 3rem; }
    .arrow-container { padding: 0 15px; }
}