/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FACC15;
    --secondary-green: #4ADE80;
    --danger-red: #EF4444;
    --dark-bg: #1F2937;
    --darker-bg: #111827;
    --light-text: #F3F4F6;
    --muted-text: #9CA3AF;
    --warning-orange: #F97316;
    --purple-accent: #A855F7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 警告带样式 */
.caution-tape {
    background: repeating-linear-gradient(
        45deg,
        var(--primary-yellow),
        var(--primary-yellow) 20px,
        #000 20px,
        #000 40px
    );
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.caution-tape marquee {
    color: #000;
    font-weight: bold;
}

/* 警告带样式 - 调整位置避开导航栏 */
.caution-tape {
    background: repeating-linear-gradient(
        45deg,
        var(--primary-yellow),
        var(--primary-yellow) 20px,
        #000 20px,
        #000 40px
    );
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

.caution-tape marquee {
    color: #000;
    font-weight: bold;
}

/* 导航栏调整 */
.main-nav {
    margin-top: 40px;
    background: var(--darker-bg);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-yellow);
    position: sticky;
    top: 0;
    z-index: 998;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 导航栏 */
.main-nav {
    margin-top: 90px;
    background: var(--darker-bg);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-yellow);
    position: sticky;
    top: 0;
    z-index: 998;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 24px;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 0 var(--danger-red);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-yellow);
    color: #000;
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-yellow);
}

/* 主页横幅 */
.hero-section {
    padding: 60px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: 32px;
    color: var(--muted-text);
}

.title-highlight {
    display: block;
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 56px;
    color: var(--primary-yellow);
    text-shadow: 4px 4px 0 var(--danger-red);
    animation: shake 3s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px) rotate(-1deg); }
    75% { transform: translateX(5px) rotate(1deg); }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted-text);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-red), #DC2626);
    color: white;
    animation: pulse-danger 2s infinite;
}

@keyframes pulse-danger {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
}

.btn-success {
    background: linear-gradient(135deg, var(--secondary-green), #16A34A);
    color: #000;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 36px;
    color: var(--primary-yellow);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--muted-text);
    text-transform: uppercase;
}

.hero-character {
    z-index: 1;
}

.character-container {
    position: relative;
}

.character-img {
    font-size: 150px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.speech-bubble {
    position: absolute;
    top: 0;
    right: -20px;
    background: white;
    color: #000;
    padding: 15px 25px;
    border-radius: 20px;
    font-weight: bold;
    animation: bounce-speech 1s infinite;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border: 10px solid transparent;
    border-top-color: white;
    border-bottom: none;
}

@keyframes bounce-speech {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* 通用区块样式 */
section {
    padding: 80px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 42px;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    text-shadow: 3px 3px 0 var(--danger-red);
}

.section-header p {
    color: var(--muted-text);
    font-size: 16px;
}

/* 最新破产动态 */
.latest-news {
    background: var(--darker-bg);
}

.news-ticker {
    background: var(--warning-orange);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    font-weight: bold;
    animation: slide-ticker 10s linear infinite;
}

@keyframes slide-ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

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

.news-card {
    background: linear-gradient(145deg, var(--dark-bg), #2D3748);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 20px 40px rgba(250, 204, 21, 0.2);
}

.news-card.featured {
    grid-column: span 2;
    background: linear-gradient(145deg, var(--danger-red), #991B1B);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-yellow);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.news-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.news-card p {
    color: var(--muted-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.read-more {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--secondary-green);
    transform: translateX(5px);
    display: inline-block;
}

/* 乌鲁鲁堵桥展示 */
.bridge-showcase {
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-text h3 {
    font-size: 24px;
    color: var(--secondary-green);
    margin-bottom: 15px;
    margin-top: 30px;
}

.showcase-text h3:first-child {
    margin-top: 0;
}

.showcase-text p {
    color: var(--muted-text);
    line-height: 1.8;
}

.quote-box {
    background: rgba(250, 204, 21, 0.1);
    border-left: 4px solid var(--primary-yellow);
    padding: 20px;
    margin-top: 30px;
    border-radius: 0 12px 12px 0;
}

.quote-box p {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 24px;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.quote-author {
    color: var(--muted-text);
    font-size: 14px;
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.bridge-visualization {
    background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--primary-yellow);
    width: 100%;
    max-width: 500px;
}

.bridge {
    background: #374151;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.lane {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
}

.lane-label {
    color: var(--muted-text);
    font-weight: bold;
}

.lane-blocked {
    background: var(--danger-red);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: bold;
    animation: flash-blocked 1s infinite;
}

@keyframes flash-blocked {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.uluru-position {
    text-align: center;
    padding: 20px;
    background: rgba(74, 222, 128, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px dashed var(--secondary-green);
}

.uluru-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.uluru-label {
    color: var(--secondary-green);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.weapon {
    font-size: 24px;
}

.victims {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 12px;
}

.victim {
    font-size: 32px;
    animation: shake-victim 0.5s infinite;
}

.victim:nth-child(2) { animation-delay: 0.1s; }
.victim:nth-child(3) { animation-delay: 0.2s; }
.victim:nth-child(4) { animation-delay: 0.3s; }

@keyframes shake-victim {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* 玩家反应墙 */
.reactions-section {
    background: var(--darker-bg);
}

.reactions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.reaction-card {
    background: linear-gradient(145deg, #2D3748, var(--dark-bg));
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.reaction-card:hover {
    transform: scale(1.02);
    border-color: var(--danger-red);
}

.reaction-avatar {
    font-size: 48px;
    margin-bottom: 15px;
}

.reaction-text {
    color: var(--light-text);
    font-style: italic;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.reaction-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 32px;
    color: var(--primary-yellow);
}

/* 底部区域 */
.main-footer {
    background: var(--darker-bg);
    padding: 60px 40px 30px;
    border-top: 3px solid var(--primary-yellow);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 20px;
    color: var(--primary-yellow);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--muted-text);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: var(--muted-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--primary-yellow);
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    padding: 10px 20px;
    background: var(--dark-bg);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-yellow);
    color: #000;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .showcase-content {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        padding: 40px 20px;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-character {
        order: 1;
        margin-bottom: 30px;
    }

    .character-img {
        font-size: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .title-highlight {
        font-size: 36px;
    }

    section {
        padding: 50px 20px;
    }

    .net-worth-ticker {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .ticker-content .amount {
        font-size: 22px;
    }
}

/* 动画效果增强 */
@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.news-card,
.reaction-card {
    animation: fade-in 0.6s ease forwards;
}

.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.2s; }
.news-card:nth-child(4) { animation-delay: 0.3s; }

/* 页面内通用样式 */
.page-header {
    padding: 80px 40px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    margin-top: 90px;
}

.page-header h1 {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 48px;
    color: var(--primary-yellow);
    text-shadow: 4px 4px 0 var(--danger-red);
    margin-bottom: 15px;
}

.page-header p {
    color: var(--muted-text);
    font-size: 18px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.story-card,
.guide-card {
    background: linear-gradient(145deg, var(--dark-bg), #2D3748);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.story-card:hover,
.guide-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-5px);
}

.story-header,
.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed rgba(250, 204, 21, 0.3);
}

.story-title,
.guide-title {
    font-size: 28px;
    color: var(--light-text);
}

.story-date,
.guide-difficulty {
    background: var(--primary-yellow);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.story-content,
.guide-content {
    color: var(--muted-text);
    line-height: 2;
    margin-bottom: 20px;
}

.loss-highlight {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.2), transparent);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--danger-red);
    margin: 20px 0;
}

.loss-amount {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 32px;
    color: var(--danger-red);
    display: block;
    margin-bottom: 10px;
}

.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.step-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 25px;
}

.step-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 45px;
    height: 45px;
    background: var(--secondary-green);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.step-title {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 10px;
    font-weight: bold;
}

.step-description {
    color: var(--muted-text);
    line-height: 1.8;
}

/* 留言板样式 */
.message-form {
    background: linear-gradient(145deg, var(--dark-bg), #2D3748);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--light-text);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: var(--darker-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light-text);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--danger-red), #DC2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(239, 68, 68, 0.4);
}

.messages-list {
    display: grid;
    gap: 25px;
}

.message-item {
    background: linear-gradient(145deg, #2D3748, var(--dark-bg));
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-yellow);
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.message-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    font-size: 32px;
}

.author-name {
    font-weight: bold;
    color: var(--light-text);
}

.message-time {
    color: var(--muted-text);
    font-size: 14px;
}

.message-content {
    color: var(--muted-text);
    line-height: 1.8;
}

/* 关于页面 */
.about-section {
    background: linear-gradient(145deg, var(--dark-bg), #2D3748);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.about-avatar {
    font-size: 120px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.about-name {
    font-family: 'ZCOOL Kuai Le', cursive;
    font-size: 36px;
    color: var(--primary-yellow);
    margin-bottom: 10px;
}

.about-title {
    color: var(--secondary-green);
    font-size: 18px;
    margin-bottom: 25px;
}

.about-bio {
    color: var(--muted-text);
    line-height: 2;
    max-width: 600px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-tag {
    background: rgba(250, 204, 21, 0.1);
    border: 2px solid var(--primary-yellow);
    padding: 15px;
    border-radius: 12px;
    color: var(--primary-yellow);
    font-weight: bold;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-yellow);
    color: #000;
    transform: scale(1.05);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.achievement-card {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-red);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: rgba(239, 68, 68, 0.2);
}

.achievement-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.achievement-title {
    font-weight: bold;
    color: var(--light-text);
    margin-bottom: 10px;
}

.achievement-desc {
    font-size: 14px;
    color: var(--muted-text);
}
