/* ==========================================================================
提瓦特指南 - 样式表 (包含防闪现机制与音乐斜杠控制)
========================================================================== */
:root {
    --primary-color: #c9a063;
    --primary-hover: #e6c587;
    --primary-gold: #c9a063;
    --primary-gold-bright: #ffd700;
    --bg-dark: #0b0f19;
    --text-main: #ffffff;
    --text-muted: #d0d8e5;
    --border-glass: rgba(201, 160, 99, 0.4);
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* 核心：高对比度三重黑色重阴影，保证白色文字在任何背景下极清晰 */
    --text-shadow-heavy: 0 2px 4px #000000, 0 0 10px #000000, 0 0 16px #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0b0f19;
    background-image:
        radial-gradient(circle at 50% 15%, rgba(138, 92, 246, 0.28) 0%, transparent 60%),
        radial-gradient(circle at 85% 75%, rgba(201, 160, 99, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 15% 65%, rgba(56, 189, 248, 0.22) 0%, transparent 55%),
        url('../images/bg-triquetra.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --------------------------------------------------------------------------
核心防闪现机制：开门与停留期间，网页主内容 100% 隐藏
-------------------------------------------------------------------------- */
body.door-active {
    overflow: hidden !important;
    height: 100vh;
}

body.door-active .navbar,
body.door-active .hero-section,
body.door-active .container,
body.door-active footer,
body.door-active #element-flow-canvas {
    opacity: 0 !important;
    pointer-events: none !important;
}

.navbar, .hero-section, .container, footer, #element-flow-canvas {
    transition: opacity 1.2s ease-in-out;
}

::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 13, 20, 0.6);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-bright);
}

/* --------------------------------------------------------------------------
初始点击进入界面屏
-------------------------------------------------------------------------- */
#genshin-official-door {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: #0b1526 url('../images/mengd.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.gi-ui-layer {
    position: absolute;
    bottom: 8%;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.gi-start-btn {
    width: 100%;
    padding: 13px 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.55) 12%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.55) 88%,
        rgba(0, 0, 0, 0) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    transition: all 0.3s ease;
}

.gi-start-btn:hover {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.75) 12%,
        rgba(0, 0, 0, 0.9) 50%,
        rgba(0, 0, 0, 0.75) 88%,
        rgba(0, 0, 0, 0) 100%
    );
}

.gi-btn-text {
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: 5px;
    font-weight: bold;
    text-shadow: var(--text-shadow-heavy);
}

.gi-bottom-icons {
    position: absolute;
    bottom: 3.5%;
    left: 0;
    width: 100%;
    padding: 0 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 12;
}

.gi-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gi-icon-btn svg { width: 18px; height: 18px; }

/* 开门白光过渡遮罩 */
.gi-screen-flash {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.8s ease-in-out;
}

#genshin-official-door.opening .gi-screen-flash { opacity: 1; }
#genshin-official-door.opening .gi-ui-layer,
#genshin-official-door.opening .gi-bottom-icons { opacity: 0; }

/* --------------------------------------------------------------------------
2. 中转纯白图片屏 (显示 traveller.jpg，停留 5 秒)
-------------------------------------------------------------------------- */
.traveller-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: #ffffff !important;
    z-index: 1000000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.traveller-screen.active {
    display: flex !important;
    opacity: 1 !important;
}

.traveller-img {
    max-width: 85%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

/* --------------------------------------------------------------------------
3. 全局高亮流动粒子 Canvas
-------------------------------------------------------------------------- */
#element-flow-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* --------------------------------------------------------------------------
4. 顶部导航栏 & 音乐控制按钮 (斜杠显示控制)
-------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 18, 29, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(201, 160, 99, 0.3);
    z-index: 100;
}

.navbar .logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-shadow: var(--text-shadow-heavy);
}

.navbar .logo span {
    font-size: 0.8rem;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
    margin-left: 5px;
}

.navbar nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
    text-shadow: var(--text-shadow-heavy);
}

.navbar nav a:hover {
    color: var(--primary-gold-bright);
}

/* 音乐控制按钮及斜杠控制 */
.music-toggle-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--primary-gold-bright);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    margin-left: 20px;
    position: relative;
    z-index: 101;
}

.music-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    box-shadow: 0 0 12px var(--primary-gold-bright);
}

.music-icon {
    width: 22px;
    height: 22px;
    position: relative;
}

/* 默认（播放状态）：斜杠隐去 */
.music-toggle-btn .slash-line {
    opacity: 0;
    transition: opacity 0.3s ease;
    stroke: #ff4d4d;
    stroke-width: 2.5;
    stroke-linecap: round;
}

/* 暂停状态 (.paused)：显示斜杠 */
.music-toggle-btn.paused .slash-line {
    opacity: 1;
}

.music-toggle-btn.paused {
    color: #aaaaaa;
    border-color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
5. Hero 英雄主视觉区
-------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-gold-bright);
    margin-bottom: 20px;
    text-shadow: var(--text-shadow-heavy), 0 0 25px rgba(255, 215, 0, 0.6);
    letter-spacing: 3px;
    text-align: center;
    width: 100%;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: bold;
    max-width: 680px;
    margin: 0 auto 35px auto;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 36px;
    color: #000;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-bright));
    font-weight: bold;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(201, 160, 99, 0.5);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.7);
}

/* --------------------------------------------------------------------------
6. 国家板块时间轴
-------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-gold-bright);
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: var(--text-shadow-heavy);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold-bright), transparent);
    margin: 12px auto 0 auto;
}

.nations-timeline-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding: 40px 10px;
    cursor: grab;
    scroll-snap-type: x mandatory;
}

.nations-timeline-container:active {
    cursor: grabbing;
}

.nations-timeline-line {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-gold-bright), transparent);
    z-index: 1;
}

.nations-timeline-track {
    display: flex;
    gap: 30px;
    width: max-content;
    padding: 0 20px;
}

.nation-card-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
    position: relative;
}

.timeline-dot-wrapper {
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

.timeline-node-dot {
    width: 18px;
    height: 18px;
    background: var(--primary-gold-bright);
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 12px var(--primary-gold-bright), 0 0 20px var(--primary-gold-bright);
    transition: all 0.3s ease;
}

.nation-card-node:hover .timeline-node-dot {
    background: #ffffff;
    box-shadow: 0 0 20px #ffffff, 0 0 30px var(--primary-gold-bright);
    transform: scale(1.35);
}

.card {
    background: transparent !important;
    border: 1px solid rgba(201, 160, 99, 0.4);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    box-shadow: none;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold-bright);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.card-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: transparent;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.2rem;
    color: var(--primary-gold-bright);
    margin-bottom: 8px;
    text-shadow: var(--text-shadow-heavy);
}

.card-body p {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: var(--text-shadow-heavy);
}

.landmarks-container {
    background: transparent;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
}

.landmarks-header {
    display: block;
    color: var(--primary-gold-bright);
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.btn-detail {
    width: 100%;
    padding: 8px 0;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold-bright);
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: var(--text-shadow-heavy);
}

.btn-detail:hover {
    background: var(--primary-gold);
    color: #000;
    text-shadow: none;
}

.journey-node {
    justify-content: center;
}

.journey-continues-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-gold-bright);
    text-shadow: var(--text-shadow-heavy);
    letter-spacing: 2px;
    margin-top: 30px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
7. 历史大事年表区 (纯文字展示，无底板)
-------------------------------------------------------------------------- */
.chronicles-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chronicles-header-note {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: var(--text-shadow-heavy);
    margin-bottom: 15px;
}

.note-tag {
    background: rgba(201, 160, 99, 0.25);
    color: var(--primary-gold-bright);
    border: 1px solid var(--primary-gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 8px;
}

.timeline-toggle-all-btn {
    background: rgba(201, 160, 99, 0.15);
    border: 1px solid var(--primary-gold);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.timeline-toggle-all-btn:hover {
    background: var(--primary-gold);
    color: #000;
}

.clean-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-vertical-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 180px;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-gold), transparent);
}

.era-header {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-gold-bright);
    margin: 40px 0 20px 0;
    padding-left: 200px;
    text-shadow: var(--text-shadow-heavy);
}

.timeline-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.timeline-left {
    width: 160px;
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
}

.time-stamp {
    display: block;
    font-size: 0.95rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
}

.time-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    margin-top: 4px;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
}

.time-badge.gold {
    background: rgba(201, 160, 99, 0.4);
    color: var(--primary-gold-bright);
    border: 1px solid var(--primary-gold);
}

.time-badge.red {
    background: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    border: 1px solid #ef4444;
}

.timeline-center {
    width: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-gold);
    box-shadow: 0 0 8px var(--primary-gold);
    margin-top: 6px;
}

.timeline-right {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 0;
    backdrop-filter: none;
}

.event-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.event-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-gold-bright);
    text-shadow: var(--text-shadow-heavy);
}

.event-toggle-icon {
    color: var(--primary-gold);
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.timeline-row.collapsed .event-toggle-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    transition: all 0.3s ease;
    overflow: hidden;
}

.timeline-row.collapsed .collapsible-content,
.timeline-row.collapsed .event-text,
.timeline-row.collapsed .event-logic,
.timeline-row.collapsed .event-speculation,
.timeline-row.collapsed .event-bullets,
.timeline-row.collapsed .event-sub-text {
    display: none;
}

.event-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 8px;
    text-shadow: var(--text-shadow-heavy);
}

.event-sub-text {
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-top: 6px;
    text-shadow: var(--text-shadow-heavy);
}

.event-logic, .event-speculation {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    line-height: 1.5;
    text-shadow: var(--text-shadow-heavy);
}

.event-logic {
    background: transparent;
    border-left: 3px solid var(--primary-gold);
    color: #ffffff;
}

.event-speculation {
    background: transparent;
    border-left: 3px solid #a855f7;
    color: #f3e8ff;
}

.event-bullets {
    margin-top: 8px;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #ffffff;
    text-shadow: var(--text-shadow-heavy);
}

.event-bullets li {
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
8. 页脚 Footer
-------------------------------------------------------------------------- */
footer {
    text-align: center;
    padding: 30px;
    background: rgba(10, 13, 20, 0.9);
    border-top: 1px solid rgba(201, 160, 99, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    text-shadow: var(--text-shadow-heavy);
}

/* --------------------------------------------------------------------------
9. 响应式布局 (手机端样式)
-------------------------------------------------------------------------- */
@media (max-width: 768px) {
    body {
        background-image:
            radial-gradient(circle at 50% 15%, rgba(138, 92, 246, 0.28) 0%, transparent 60%),
            radial-gradient(circle at 85% 75%, rgba(201, 160, 99, 0.25) 0%, transparent 50%),
            radial-gradient(circle at 15% 65%, rgba(56, 189, 248, 0.22) 0%, transparent 55%),
            url('../images/bg-triquetra.png');
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }
    .navbar { padding: 0 20px; }
    .hero-content h1 { font-size: 2.2rem; }
    .timeline-vertical-line { left: 20px; }
    .timeline-left { width: 100%; text-align: left; padding: 0 0 10px 0; }
    .timeline-row { flex-direction: column; }
    .timeline-center { display: none; }
    .era-header { padding-left: 0; }
}

/* --------------------------------------------------------------------------
10. AI 聊天悬浮按钮与弹窗样式
-------------------------------------------------------------------------- */
#openChatBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: #ffbc42;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.chat-popup {
    position: fixed;
    width: 850px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(20, 20, 20, 0.85);
    z-index: 10000;
    display: none;
    flex-direction: row;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(201, 160, 99, 0.3);
}

.chat-popup.active {
    display: flex;
}

.chat-sidebar {
    width: 220px;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#newChatBtn {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    background: var(--primary-gold);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
}

.session-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #fff;
    font-size: 0.9rem;
}

.session-item.active {
    background: rgba(255, 180, 0, 0.4);
}

.session-del {
    cursor: pointer;
    color: #ff8888;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

#chatBox {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    color: #fff;
}

#inputWrap {
    padding: 12px;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
}

#chatInput {
    flex: 1;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

#sendBtn {
    padding: 8px 16px;
    cursor: pointer;
    background: var(--primary-gold);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    color: #000;
}

@media (max-width: 480px) {
    .chat-popup {
        width: calc(100% - 20px);
        right: 10px;
        bottom: 90px;
        height: 420px;
    }
    #openChatBtn {
        right: 15px;
        bottom: 20px;
    }
}
/*聊天弹窗关闭按钮*/
.chat-close-btn{
    position:absolute;
    top:8px;
    right:12px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    border:1px solid rgba(255,255,255,0.3);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:10;
}
.chat-close-btn:hover{
    background:rgba(255,80,80,0.5);
}


















