@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Syncopate:wght@700&display=swap');

:root {
    --bg: #F4F4F0;
    --ink: #0A0A0A;
    --blood: #E61024;
    --mono: 'Space Mono', monospace;
    --display: 'Syncopate', sans-serif;
    --grid-line: 2px solid var(--ink);
}

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

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--mono);
    text-transform: uppercase;
    overflow-x: hidden;
    border: 8px solid var(--ink);
    min-height: 100vh;
}


h1, h2, h3, h4 {
    font-family: 'Impact', var(--display), sans-serif;
    letter-spacing: -2px;
    line-height: 0.85;
    margin: 0;
}

.text-blood { color: var(--blood); }
.text-ink { color: var(--ink); }


.splatter {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    border-bottom: var(--grid-line);
}

.section-header {
    grid-column: span 12;
    padding: 2rem;
    background: var(--ink);
    color: var(--bg);
    border-bottom: var(--grid-line);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--blood);
}

.meta-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.7;
}


.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    border-bottom: var(--grid-line);
    overflow: hidden;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: var(--grid-line);
    font-weight: 700;
    font-size: 0.85rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
}

.hero-text-area {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: var(--grid-line);
    position: relative;
}


.hero-title-svg {
    width: 100%;
    height: auto;
    overflow: visible;
    margin-bottom: 2rem;
}

.hero-title-svg path {
    fill: var(--blood);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    max-width: 400px;
    margin-bottom: 2rem;
    background: var(--ink);
    color: var(--bg);
    padding: 0.5rem;
    display: inline-block;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Impact', sans-serif;
    font-size: 2rem;
    padding: 1rem 2rem;
    border: 4px solid var(--ink);
    text-decoration: none;
    position: relative;
    transition: all 0.1s steps(2);
    box-shadow: 8px 8px 0 var(--blood);
    width: fit-content;
}

.cta-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 var(--ink);
    background: var(--blood);
    color: var(--bg);
    border-color: var(--ink);
}

.cta-btn::after {
    content: '>';
    margin-left: 1rem;
    font-family: var(--mono);
}


.hero-graphic-area {
    position: relative;
    background: repeating-linear-gradient(
        45deg,
        var(--bg),
        var(--bg) 10px,
        #EAEAEA 10px,
        #EAEAEA 20px
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.machine-container {
    position: relative;
    width: 300px;
    height: 350px;
    z-index: 2;
}

.machine-body {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border: 6px solid var(--ink);
    position: relative;
    box-shadow: 20px 20px 0 rgba(10, 10, 10, 0.1);
}

.machine-panel {
    height: 60px;
    border-bottom: 6px solid var(--ink);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.dial {
    width: 24px;
    height: 24px;
    border: 4px solid var(--ink);
    border-radius: 50%;
    position: relative;
}
.dial::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--ink);
    transform: translateX(-50%);
}

.machine-door {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 6px solid var(--ink);
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.machine-door-inner {
    width: 150px;
    height: 150px;
    border: 4px solid var(--ink);
    border-radius: 50%;
    background: var(--ink);
    position: relative;
    overflow: hidden;
}


.blood-pool {
    position: absolute;
    bottom: -20%;
    left: -50%;
    width: 200%;
    height: 150%;
    background: var(--blood);
    border-radius: 40%;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg) translateY(20px); }
    100% { transform: rotate(360deg) translateY(20px); }
}


.machine-mess {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 200px;
    pointer-events: none;
    z-index: 3;
}


.marquee {
    background: var(--blood);
    color: var(--bg);
    padding: 1rem 0;
    border-bottom: var(--grid-line);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.marquee-content {
    display: inline-block;
    animation: scroll 15s linear infinite;
}

.marquee-content span {
    margin-right: 2rem;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

.about-sidebar {
    border-right: var(--grid-line);
    padding: 2rem;
    background: repeating-linear-gradient(
        90deg,
        var(--ink),
        var(--ink) 2px,
        transparent 2px,
        transparent 10px
    );
}

.about-content {
    padding: 4rem;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.6;
}

.about-content p {
    margin-bottom: 2rem;
    max-width: 800px;
}

.highlight-box {
    border: 4px solid var(--ink);
    padding: 2rem;
    background: var(--bg);
    position: relative;
    z-index: 2;
    box-shadow: -10px 10px 0 var(--blood);
}


.tokenomics-container {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
    background: #111;
    position: relative;
}

.receipt {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    color: #000;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    position: relative;
    
    clip-path: polygon(0% 0%, 5% 2%, 10% 0%, 15% 2%, 20% 0%, 25% 2%, 30% 0%, 35% 2%, 40% 0%, 45% 2%, 50% 0%, 55% 2%, 60% 0%, 65% 2%, 70% 0%, 75% 2%, 80% 0%, 85% 2%, 90% 0%, 95% 2%, 100% 0%, 100% 100%, 95% 98%, 90% 100%, 85% 98%, 80% 100%, 75% 98%, 70% 100%, 65% 98%, 60% 100%, 55% 98%, 50% 100%, 45% 98%, 40% 100%, 35% 98%, 30% 100%, 25% 98%, 20% 100%, 15% 98%, 10% 100%, 5% 98%, 0% 100%);
}

.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #000;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.receipt-header h3 {
    font-family: var(--mono);
    font-size: 2rem;
    letter-spacing: 0;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.receipt-total {
    border-top: 2px dashed #000;
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 1.5rem;
}

.barcode {
    margin-top: 2rem;
    height: 60px;
    background: repeating-linear-gradient(
        90deg,
        #000,
        #000 2px,
        #fff 2px,
        #fff 4px,
        #000 4px,
        #000 8px,
        #fff 8px,
        #fff 10px
    );
}


.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0;
    border-bottom: var(--grid-line);
}

.step-card {
    padding: 3rem 2rem;
    border-right: var(--grid-line);
    border-bottom: var(--grid-line);
    position: relative;
    background: var(--bg);
    transition: background 0.2s;
}

.step-card:hover {
    background: var(--ink);
    color: var(--bg);
}

.step-card:hover .step-num { color: var(--blood); }

.step-num {
    font-family: 'Impact', sans-serif;
    font-size: 5rem;
    color: var(--ink);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1rem;
    line-height: 1;
    transition: color 0.2s, opacity 0.2s;
}

.step-card:hover .step-num { opacity: 1; }

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}


.community {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 40vh;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Impact', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--ink);
    text-decoration: none;
    border-right: var(--grid-line);
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.social-link:last-child { border-right: none; }

.social-link::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--blood);
    transform: translateY(100%);
    transition: transform 0.2s cubic-bezier(0.1, 0, 0.3, 1);
    z-index: 0;
}

.social-link:hover::before { transform: translateY(0); }
.social-link span { position: relative; z-index: 1; transition: color 0.2s; }
.social-link:hover span { color: var(--bg); }

.footer {
    padding: 2rem;
    background: var(--ink);
    color: #666;
    text-align: center;
    font-size: 0.8rem;
}
