/* --- FONT DEFINITION --- */
@font-face {
    font-family: 'Akira Expanded';
    src: url('fonts/akira_expanded.woff2') format('woff2'); /* 修改为你的字体文件名 */
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* --- CSS VARIABLES & RESET --- */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-yellow: #EFFF00;

    --font-heading: 'Akira Expanded', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro", "Helvetica Now", "Helvetica Neue", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- 3D CANVAS & LOGO --- */
#three-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.logo {
    position: fixed;
    top: 40px;
    left: 40px;
    width: 30px;
    height: 30px;
    z-index: 100;
    opacity: 0; /* Initially hidden */
    transform: scale(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo-cube {
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow);
}

/* --- MAIN CONTENT WRAPPER --- */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.content-section {
    min-height: 100vh;
    width: 100%;
    padding: 10vh 8vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- SECTION 1: MONOLITH --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 8rem);
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--color-white);
    position: relative;
    z-index: 11; /* Above canvas, below other content */
}

/* --- SECTION 2: MANIFESTO --- */
.grid-layout {
    display: grid;
    grid-template-columns: 0.5fr 1.5fr;
    grid-gap: 2rem 4rem;
    max-width: 1200px;
    align-items: start;
}

.section-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--color-yellow);
    grid-row: 1 / 3;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    line-height: 1;
}

.section-body {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0.8;
}

/* --- SECTION 3: ENGINE BLOCKS --- */
#engine-blocks {
    padding: 0;
}
.blocks-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.block {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: flex 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.block:hover {
    flex: 1.5;
}

.block.highlight {
    background-color: var(--color-yellow);
    color: var(--color-black);
}

.block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.block p {
    font-size: 1rem;
    line-height: 1.6;
}

/* --- SECTION 4: PROOF --- */
.proof-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.proof-image {
    width: 80%;
    max-width: 900px;
    height: 50vh;
    background-color: #333; /* Placeholder for image */
    background-image: url('22132.png'); /* Example image */
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.2);
    margin-bottom: 2rem;
}

.proof-caption {
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 600px;
}
.proof-caption p:first-child {
    font-weight: bold;
}


/* --- SECTION 5: THE CALL --- */
.final-call {
    text-align: center;
}

.call-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--color-yellow);
}

.contact-form {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

body.show-form .contact-form {
    opacity: 1;
    transform: translateY(0);
}

.email-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-white);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.5rem;
    padding: 0.5rem;
    width: 100%;
    max-width: 500px;
    text-align: center;
    outline: none;
}
.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-button {
    background: transparent;
    border: none;
    color: var(--color-yellow);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- SECTION 4.5: THE ARCHIVES --- */
#archives .section-body { /* Re-using .section-body for the container */
    grid-column: 2 / 3; /* Ensure it's in the right grid column */
}

.archives-container {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
}

.paper-item {
    display: block;
    text-decoration: none;
    color: var(--color-white);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

.paper-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--color-yellow);
    z-index: -1;
    transition: left 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.paper-item:hover::before {
    left: 0;
}

.paper-item:hover {
    color: var(--color-black);
}

.paper-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.paper-item:hover .paper-meta {
    opacity: 1;
}

.paper-title {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 2.2rem);
    line-height: 1.2;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.paper-item:hover .paper-title {
    transform: translateX(10px);
}

.paper-abstract {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    transition: max-height 0.5s ease-out, opacity 0.5s ease, margin-top 0.5s ease;
}

.paper-item:hover .paper-abstract {
    max-height: 200px; /* Adjust as needed */
    opacity: 0.9;
    margin-top: 1.5rem;
}

.archive-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--color-yellow);
    text-decoration: none;
    font-size: 1.1rem;
}