@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', '宋体', 'Times New Roman', serif;
    background: #FDF8E6 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 100" opacity="0.06"><path fill="none" stroke="%238B6B4A" stroke-width="0.4" d="M20 30 Q 60 10, 100 25 T 180 20 M10 70 Q 50 50, 90 65 T 170 60"/></svg>');
    background-repeat: repeat;
    color: #3A3226;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.site-header, .site-footer {
    background: #1A1612;
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 100;
}

.site-header {
    border-bottom: 1px solid rgba(217, 180, 139, 0.3);
}

.site-footer {
    border-top: 1px solid rgba(217, 180, 139, 0.3);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.site-header::before, .site-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, #8B1E2D, transparent);
}

.site-header::before { top: 0; }
.site-footer::before { top: -3px; }

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    position: relative;
}

.logo a {
    font-size: 26px;
    font-weight: 700;
    color: #F0E2C5;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 42px;
}

.nav-link {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #E8DDD0;
    padding: 6px 0;
    position: relative;
}

.nav-link i {
    font-size: 16px;
    color: #D9B48B;
    transition: color 0.2s;
}

.nav-link:hover i {
    color: #F0E2C5;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #C77A5A;
    transition: width 0.25s;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #F0E2C5;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: #ECE3D8;
    margin: 5px 0;
    transition: 0.3s;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 240px;
}

.footer-column h3 {
    font-size: 20px;
    color: #D9B48B;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}

.footer-column h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #8B1E2D;
    border-radius: 50%;
}

.footer-column.narrative ul {
    list-style: none;
    line-height: 1.8;
}

.footer-column.narrative li {
    position: relative;
    padding-left: 20px;
    color: #BCAE9C;
    transition: all 0.2s ease;
}

.footer-column.narrative li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #8B1E2D;
    font-weight: bold;
}

.footer-column.narrative li:hover {
    color: #F0E2C5;
    transform: translateX(4px);
    padding-left: 22px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.social-icon {
    width: 28px;
    height: 28px;
    background: rgba(217, 180, 139, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9B48B;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(217, 180, 139, 0.3);
}

.social-text {
    color: #BCAE9C;
    font-size: 15px;
    line-height: 1.5;
}

.social-item:hover .social-icon {
    background: #8B1E2D;
    color: #FDF8E6;
    transform: scale(1.15);
    border-color: #8B1E2D;
    box-shadow: 0 0 8px rgba(139, 30, 45, 0.5);
}

.social-item:hover .social-text {
    color: #F0E2C5;
    font-weight: 500;
}

.gre-model {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
}

.gre-title {
    font-size: 16px;
    color: #D9B48B;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.gre-path {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 60px;
    margin: 0 auto;
}

.gre-path::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, transparent, #8B1E2D, transparent);
    z-index: 1;
}

.gre-node {
    width: 40px;
    height: 40px;
    background: rgba(30, 26, 23, 0.8);
    border: 2px solid #8B1E2D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #D9B48B;
    position: relative;
    z-index: 2;
    cursor: help;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.gre-node:hover {
    background: #8B1E2D;
    color: #FDF8E6;
    transform: scale(1.25) translateY(-5px);
    box-shadow: 0 4px 12px rgba(139, 30, 45, 0.7);
    z-index: 10;
}

.gre-node:hover::after {
    content: attr(data-fullname);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #F0E2C5;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 11;
}

.gre-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 300px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.gre-label {
    font-size: 12px;
    color: #8A7E6E;
    text-align: center;
    width: 80px;
    transform: translateX(-50%);
}

.gre-label:first-child { transform: translateX(0); }
.gre-label:last-child { transform: translateX(0); text-align: right; }

.footer-copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(217, 180, 139, 0.2);
    font-size: 13px;
    color: #8A7E6E;
    margin-top: 20px;
    line-height: 1.5;
}

.scroll-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #FDF8E6;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: clip-path 1.8s ease-out;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.scroll-wrapper.hidden {
    clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%);
    pointer-events: none;
}
.scroll-seal {
    font-size: 6rem;
    font-weight: 900;
    color: #8B1E2D;
    opacity: 0.9;
}
.scroll-tip {
    font-size: 1rem;
    color: #6B5A4A;
    margin-top:10px;
}

.hero {
    text-align: center;
    padding: 48px 0 32px;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: #8B1E2D;
    letter-spacing: 8px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.hero h1::before, .hero h1::after {
    content: '✧';
    font-size: 2rem;
    color: #D9B48B;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.hero h1::before { left: -48px; }
.hero h1::after { right: -48px; }
.hero .slogan {
    font-size: 1.3rem;
    color: #8B1E2D;
    font-weight: 500;
    margin: 8px 0;
    letter-spacing: 2px;
}
.hero p {
    font-size: 1rem;
    color: #6A4E2E;
    max-width: 600px;
    margin: 12px auto 0;
    opacity: 0.8;
}

.main-box {
    max-width: 1200px;
    margin: 20px auto 80px;
    padding: 60px 50px;
    background: rgba(255, 253, 248, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(139,30,45,0.12);
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}
.left-scroll {
    width: 32%;
    padding: 32px;
    background: rgba(255, 250, 240, 0.8);
    border: 1px solid rgba(194,160,96,0.3);
    border-radius: 14px;
    font-size: 1rem;
    line-height: 2;
    color: #444;
    position: relative;
}
.left-scroll::before {
    content: '';
    position: absolute;
    right: 15px; bottom: 15px;
    width: 40px; height: 40px;
    background: rgba(139,30,45,0.1);
    border-radius: 4px;
    transform: rotate(5deg);
}
.left-scroll::after {
    content: '';
    position: absolute;
    left: -1px; top: -1px; bottom: -1px;
    width: 12px;
    background: rgba(194,160,96,0.15);
    border-radius: 14px 0 0 14px;
}
.left-scroll h3 {
    text-align: center;
    color: #8B1E2D;
    margin-bottom: 14px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.left-scroll h3::after {
    content: '';
    width: 30px;
    height: 2px;
    background: #c2a060;
    margin: 8px auto 0;
    display: block;
}
.right-tokens {
    width: 68%;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}
.token {
    flex:1;
    height: 320px;
    position: relative;
    text-decoration: none;
    transition: all 0.4s ease;
    clip-path: polygon(50% 0%, 75% 10%, 90% 25%, 90% 75%, 75% 90%, 50% 100%, 25% 90%, 10% 75%, 10% 25%, 25% 10%);
}
.token::before {
    content:''; position:absolute; inset:0;
    background:#fff8e6; clip-path:inherit;
    z-index:-1;
}
.token::after {
    content:''; position:absolute; inset:4px;
    background:rgba(255,253,248,0.95);
    clip-path:inherit; border:2px solid #c2a060;
    z-index:-1;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.token .cord {
    position:absolute; top:-60px; left:50%;
    transform:translateX(-50%);
    width:7px; height:60px;
    background:#8B1E2D; border-radius:3px;
    z-index:-2;
}
.token:hover {
    transform:translateY(-10px);
}
.token:hover::after {
    border-color:#8B1E2D;
    box-shadow: 0 12px 28px rgba(139,30,45,0.12);
}
.token .inner {
    width:100%; height:100%;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    gap:16px; padding:16px;
}
.token i {
    font-size: 3.8rem;
    color: #8B1E2D;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}
.token h2 {
    font-size: 1.7rem;
    color: #8B1E2D;
    font-weight:700;
    letter-spacing: 1px;
}
.token p {
    font-size: 1rem;
    color: #666;
    text-align:center;
    line-height:1.4;
}

@media (max-width:1024px) {
    .main-box {
        flex-direction:column;
        padding:40px 20px;
        margin:30px 20px;
        gap:40px;
    }
    .left-scroll, .right-tokens { width:100%; }
}
@media (max-width:768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero h1::before, .hero h1::after {
        display: none;
    }
    .right-tokens{
        flex-direction:column;
        gap:40px;
    }
    .main-nav {
        position: static;
        transform: none;
    }
    .nav-list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 75%;
        height: calc(100vh - 70px);
        background: #2A241E;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s;
        gap: 28px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.5);
        z-index: 99;
        border-left: 3px solid #8B1E2D;
    }
    .nav-list.show {
        left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-column {
        min-width: 100%;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .nav-list { width: 90%; }
}