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

:root {
    --black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --white: #ffffff;
    --accent: #00ffff;
    --accent-glow: rgba(0, 255, 255, 0.5);
    --text-gray: #cccccc;
}

html {
    scroll-behavior: smooth;
}


/* Smooth Section Transitions */
.section {
    transition: background-color 0.5s ease;
}

/* Enhanced Card Hover States */
.origin-card,
.digital-card,
.app-card,
.death-card {
    will-change: transform;
}

/* Performance Optimizations */
.zero,
.zero-glow-ring,
.particle-canvas {
    will-change: transform, opacity;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--black);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, var(--black) 70%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('eclipse.png') center/cover no-repeat;
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: 
        radial-gradient(ellipse, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    filter: blur(40px);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow: 
        0 0 80px rgba(255, 255, 255, 0.1),
        inset 0 0 80px rgba(255, 255, 255, 0.05);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.zero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.zero {
    font-size: 20rem;
    font-weight: 300;
    color: var(--white);
    text-shadow: 
        0 0 20px var(--accent-glow),
        0 0 40px var(--accent-glow),
        0 0 60px var(--accent-glow);
    animation: blink 2s ease-in-out infinite, floatZero 4s ease-in-out infinite;
    letter-spacing: -0.05em;
    line-height: 1;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.zero:hover {
    transform: scale(1.05);
}

.zero-glow-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateRing 8s linear infinite, pulseRing 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseRing {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes blink {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        transform: scale(0.98);
    }
}

.the-void {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
    margin-bottom: 1rem;
}

.hero-credit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    letter-spacing: 0.1em;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--white);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

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

/* Section Styles */
.section {
    min-height: 100vh;
    padding: 8rem 2rem;
    position: relative;
    background-color: var(--black);
}

.section:nth-child(even) {
    background-color: var(--dark-gray);
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.section-intro {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Origin Section */
.section-title-left {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 500;
    text-align: left;
    margin-bottom: 4rem;
    letter-spacing: 0.05em;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.section-title-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--white);
}

.origin-layout {
    display: block;
    position: relative;
}

.origin-cards {
    position: relative;
}


.origin-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.origin-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.origin-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.origin-card:hover::before {
    opacity: 1;
}

.origin-card:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.card-date {
    font-size: 0.9rem;
    color: rgba(0, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-date-inline {
    font-size: 1.2rem;
    color: rgba(0, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.card-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Etymology Section */
.etymology-section {
    background: var(--black);
}

.etymology-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
}

.etymology-divider {
    width: 100px;
    height: 2px;
    background: var(--white);
    margin-bottom: 1.5rem;
    animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100px;
        opacity: 1;
    }
}

.etymology-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
    text-align: left;
}

.etymology-journey {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.journey-card {
    flex: 1;
    min-width: 180px;
    text-align: center;
    position: relative;
    background: rgba(26, 26, 26, 0.6);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInScale 0.8s ease-out backwards;
}

.etymology-journey > .journey-card:nth-of-type(1) { animation-delay: 0.1s; }
.etymology-journey > .journey-card:nth-of-type(2) { animation-delay: 0.2s; }
.etymology-journey > .journey-card:nth-of-type(3) { animation-delay: 0.3s; }
.etymology-journey > .journey-card:nth-of-type(4) { animation-delay: 0.4s; }
.etymology-journey > .journey-card:nth-of-type(5) { animation-delay: 0.5s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.journey-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.journey-circle {
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    background: transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
    z-index: 2;
}

.journey-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    animation: pulseCircle 2s ease-in-out infinite;
    opacity: 0;
}

.journey-card:hover .journey-pulse {
    opacity: 1;
}

.journey-card:hover .journey-circle {
    border-color: rgba(0, 255, 255, 0.8);
    background: rgba(0, 255, 255, 0.1);
}

@keyframes pulseCircle {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.journey-language {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.journey-word {
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.journey-card:hover .journey-word {
    color: rgba(0, 255, 255, 0.9);
}

.journey-meaning {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    line-height: 1.4;
}

.journey-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 -1rem;
}

@media (max-width: 768px) {
    .journey-arrow {
        display: none;
    }
    .etymology-journey {
        flex-direction: column;
    }
}

/* Forbidden Section */
.forbidden-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.forbidden-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.forbidden-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.warning-icon {
    font-size: 1.5rem;
    color: #ff4444;
}

.forbidden-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.forbidden-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4rem;
}

.forbidden-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.forbidden-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.forbidden-text p {
    margin-bottom: 1.5rem;
}

.math {
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.forbidden-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forbidden-card {
    background: rgba(26, 26, 26, 0.9);
    padding: 4rem 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.forbidden-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    animation: rotateError 10s linear infinite;
}

.forbidden-expression {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
    animation: shakeError 0.5s ease-in-out infinite;
    animation-play-state: paused;
}

.forbidden-card:hover .forbidden-expression {
    animation-play-state: running;
}

.forbidden-result {
    font-size: 1.2rem;
    color: #ff4444;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
    position: relative;
    z-index: 1;
    animation: glowError 2s ease-in-out infinite;
}

.error-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glowError {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
    }
    50% { 
        text-shadow: 0 0 20px rgba(255, 68, 68, 0.8), 0 0 30px rgba(255, 68, 68, 0.4);
    }
}

@keyframes rotateError {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Digital Section */
.digital-section {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.95)), url('binary.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.digital-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 255, 0.03) 2px, rgba(0, 255, 255, 0.03) 4px),
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

.digital-section::after {
    content: '01001000 01100101 01101100 01101100 01101111';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(0, 255, 255, 0.05);
    white-space: pre-wrap;
    word-break: break-all;
    padding: 2rem;
    pointer-events: none;
    line-height: 1.5;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.digital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.digital-card {
    background: var(--medium-gray);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.digital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.digital-card:hover::before {
    left: 100%;
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.digital-card:hover .card-shine {
    opacity: 1;
    animation: rotateShine 3s linear infinite;
}

.digital-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

.digital-card > *:not(.card-shine) {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
}

@keyframes rotateShine {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.digital-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
    opacity: 1 !important;
}

.digital-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 400;
    opacity: 1 !important;
}

.digital-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 1 !important;
}

/* Thermodynamics Section */
.thermodynamics-section {
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.thermodynamics-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.thermo-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.thermo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.thermo-card {
    background: rgba(26, 26, 26, 0.9);
    width: 300px;
    height: 300px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.thermo-zero {
    font-size: 8rem;
    font-weight: 300;
    color: var(--white);
    border: 2px solid var(--white);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: floatZero 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.thermo-zero:hover {
    transform: scale(1.1);
    border-color: rgba(0, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

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

.thermo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.thermo-icon {
    font-size: 1rem;
    color: rgba(0, 255, 255, 0.8);
}

.thermo-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.thermo-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
}

.thermo-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.temperature-value {
    color: rgba(0, 255, 255, 1);
    font-weight: 600;
    font-size: 1.2em;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    animation: pulseGlow 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.temperature-value.highlight {
    color: rgba(0, 255, 255, 1);
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(0, 255, 255, 0.4);
    transform: scale(1.1);
}

@keyframes pulseGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 255, 255, 0.8),
            0 0 30px rgba(0, 255, 255, 0.4);
    }
}

/* Space Section */
.space-section {
    background: var(--black);
    position: relative;
}

.space-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.space-visual {
    position: relative;
}

.zen-garden {
    background: url('ma.png') center/cover no-repeat;
    border-radius: 12px;
    padding: 3rem;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.zen-stone {
    width: 120px;
    height: 80px;
    background: var(--black);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.zen-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 3rem;
    color: var(--black);
    font-weight: 400;
    line-height: 1.2;
}

.zen-subtext {
    font-size: 0.75rem;
    display: block;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.space-content {
    padding: 2rem 0;
}

.space-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 2rem;
}

.japanese {
    font-size: 1.2rem;
    color: var(--accent);
    font-weight: 400;
}

.space-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.space-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 2rem 0;
    padding: 1.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(26, 26, 26, 0.5);
    border-radius: 8px;
}

.space-content cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
}

/* Cosmology Section */
.cosmology-section {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8)), url('blackhole.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.cosmology-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cosmology-header {
    margin-bottom: 1rem;
}

.cosmology-label {
    font-size: 0.75rem;
    color: rgba(200, 150, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cosmology-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 3rem;
}

.cosmology-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.cosmology-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Final Zero Section */
.final-section {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7)), url('dyinguniverse.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.final-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.final-header {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.final-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
}

.final-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.heat-death-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.death-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.death-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.death-card:hover::after {
    transform: scaleX(1);
}

.death-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.death-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-variant-numeric: tabular-nums;
    transition: transform 0.3s ease;
}

.death-card:hover .death-number {
    transform: scale(1.1);
}

.death-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
}

.death-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* Application Section */
.application-section {
    background: var(--dark-gray);
}

.application-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--white);
    text-align: right;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1rem;
}

.application-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.app-card {
    background: rgba(26, 26, 26, 0.8);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.app-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    display: block;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 400;
}

.app-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Quote Section */
.quote-section {
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.main-quote {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--white);
    text-align: center;
    max-width: 900px;
    padding: 4rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

.main-quote cite {
    display: block;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: normal;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .zero {
        font-size: 10rem;
    }
    
    .the-void {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }
    
    .section-title-left {
        font-size: 2.5rem;
    }
    
    .origin-layout {
        grid-template-columns: 1fr;
    }
    
    
    .forbidden-content {
        grid-template-columns: 1fr;
    }
    
    .forbidden-title {
        font-size: 2.5rem;
    }
    
    .thermo-layout {
        grid-template-columns: 1fr;
    }
    
    .space-layout {
        grid-template-columns: 1fr;
    }
    
    .zen-garden {
        min-height: 300px;
    }
    
    .cosmology-title {
        font-size: 2.5rem;
    }
    
    .final-title {
        font-size: 2.5rem;
    }
    
    .heat-death-grid {
        grid-template-columns: 1fr;
    }
    
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .application-title {
        text-align: left;
    }
    
    .main-quote {
        font-size: 1.3rem;
        padding: 2rem;
    }
    
    .etymology-journey {
        flex-direction: column;
        gap: 3rem;
    }
    
    .journey-arrow {
        transform: rotate(90deg);
        margin: 0;
    }
}

/* Sources Section */
.sources-section {
    background: var(--dark-gray);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.sources-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sources-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.sources-button:hover::before {
    left: 100%;
}

.sources-button:hover {
    border-color: rgba(0, 255, 255, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.sources-button svg {
    transition: transform 0.3s ease;
}

.sources-button:hover svg {
    transform: translateX(5px);
}

.sources-button span {
    position: relative;
    z-index: 1;
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    transform: translateX(-100%);
    animation: revealText 1s ease-out forwards;
}

@keyframes revealText {
    to {
        transform: translateX(100%);
    }
}

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

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(90deg, var(--white), var(--accent), var(--white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    to {
        background-position: 200% center;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(0.5deg);
    }
    5% {
        clip: rect(42px, 9999px, 76px, 0);
        transform: skew(0.5deg);
    }
    10% {
        clip: rect(8px, 9999px, 99px, 0);
        transform: skew(0.5deg);
    }
    15% {
        clip: rect(42px, 9999px, 78px, 0);
        transform: skew(0.5deg);
    }
    20% {
        clip: rect(88px, 9999px, 94px, 0);
        transform: skew(0.5deg);
    }
    25% {
        clip: rect(87px, 9999px, 77px, 0);
        transform: skew(0.5deg);
    }
    30% {
        clip: rect(28px, 9999px, 84px, 0);
        transform: skew(0.5deg);
    }
    35% {
        clip: rect(54px, 9999px, 61px, 0);
        transform: skew(0.5deg);
    }
    40% {
        clip: rect(30px, 9999px, 74px, 0);
        transform: skew(0.5deg);
    }
    45% {
        clip: rect(80px, 9999px, 82px, 0);
        transform: skew(0.5deg);
    }
    50% {
        clip: rect(1px, 9999px, 60px, 0);
        transform: skew(0.5deg);
    }
    55% {
        clip: rect(83px, 9999px, 40px, 0);
        transform: skew(0.5deg);
    }
    60% {
        clip: rect(40px, 9999px, 73px, 0);
        transform: skew(0.5deg);
    }
    65% {
        clip: rect(2px, 9999px, 14px, 0);
        transform: skew(0.5deg);
    }
    70% {
        clip: rect(23px, 9999px, 99px, 0);
        transform: skew(0.5deg);
    }
    75% {
        clip: rect(80px, 9999px, 5px, 0);
        transform: skew(0.5deg);
    }
    80% {
        clip: rect(37px, 9999px, 97px, 0);
        transform: skew(0.5deg);
    }
    85% {
        clip: rect(55px, 9999px, 98px, 0);
        transform: skew(0.5deg);
    }
    90% {
        clip: rect(38px, 9999px, 94px, 0);
        transform: skew(0.5deg);
    }
    95% {
        clip: rect(46px, 9999px, 16px, 0);
        transform: skew(0.5deg);
    }
    100% {
        clip: rect(62px, 9999px, 67px, 0);
        transform: skew(0.5deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.5deg);
    }
    5% {
        clip: rect(96px, 9999px, 85px, 0);
        transform: skew(0.5deg);
    }
    10% {
        clip: rect(92px, 9999px, 52px, 0);
        transform: skew(0.5deg);
    }
    15% {
        clip: rect(28px, 9999px, 84px, 0);
        transform: skew(0.5deg);
    }
    20% {
        clip: rect(54px, 9999px, 61px, 0);
        transform: skew(0.5deg);
    }
    25% {
        clip: rect(30px, 9999px, 74px, 0);
        transform: skew(0.5deg);
    }
    30% {
        clip: rect(80px, 9999px, 82px, 0);
        transform: skew(0.5deg);
    }
    35% {
        clip: rect(1px, 9999px, 60px, 0);
        transform: skew(0.5deg);
    }
    40% {
        clip: rect(83px, 9999px, 40px, 0);
        transform: skew(0.5deg);
    }
    45% {
        clip: rect(40px, 9999px, 73px, 0);
        transform: skew(0.5deg);
    }
    50% {
        clip: rect(2px, 9999px, 14px, 0);
        transform: skew(0.5deg);
    }
    55% {
        clip: rect(23px, 9999px, 99px, 0);
        transform: skew(0.5deg);
    }
    60% {
        clip: rect(80px, 9999px, 5px, 0);
        transform: skew(0.5deg);
    }
    65% {
        clip: rect(37px, 9999px, 97px, 0);
        transform: skew(0.5deg);
    }
    70% {
        clip: rect(55px, 9999px, 98px, 0);
        transform: skew(0.5deg);
    }
    75% {
        clip: rect(38px, 9999px, 94px, 0);
        transform: skew(0.5deg);
    }
    80% {
        clip: rect(46px, 9999px, 16px, 0);
        transform: skew(0.5deg);
    }
    85% {
        clip: rect(62px, 9999px, 67px, 0);
        transform: skew(0.5deg);
    }
    90% {
        clip: rect(76px, 9999px, 35px, 0);
        transform: skew(0.5deg);
    }
    95% {
        clip: rect(59px, 9999px, 88px, 0);
        transform: skew(0.5deg);
    }
    100% {
        clip: rect(79px, 9999px, 50px, 0);
        transform: skew(0.5deg);
    }
}

