:root {
    --red: #920000;
    --black: #050505;
    --white: #ffffff;
    --gray: #1a1a1a;
    --transition: cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1;
}

/* Canvas Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Grid System */
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    padding: 40px;
    max-width: 1800px;
    margin: 0 auto;
}

.meta-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
}

/* Navigation */
nav {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.nav-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s var(--transition);
    line-height: 0.8;
}

.nav-link:hover {
    color: var(--red);
    transform: translateX(-10px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10vh;
}

.masthead {
    position: absolute;
    left: -2vw;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 1;
}

.masthead h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 25vw;
    line-height: 0.75;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.hero-title-container {
    grid-column: span 12;
    padding: 0;
    z-index: 2;
    position: relative;
}

.hero-content {
    grid-column: 2 / span 10;
}

.hero-main-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 12vw;
    line-height: 0.85;
    margin-bottom: -20px;
    background: linear-gradient(to bottom, #fff 40%, var(--red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-script {
    font-family: 'Playball', cursive;
    font-size: 4vw;
    color: var(--white);
    margin-left: 20vw;
    transform: translateY(-20px);
}

/* Torn Edge Effect */
.torn-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--black);
    clip-path: polygon(0% 100%, 100% 100%, 100% 30%, 90% 45%, 80% 20%, 70% 55%, 60% 15%, 50% 40%, 40% 10%, 30% 60%, 20% 25%, 10% 50%, 0% 15%);
}

/* Sparkle Effect */
.sequin-sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--white);
    pointer-events: none;
    opacity: 0;
}

/* Vault Section */
.vault {
    margin-top: 20vh;
    padding-bottom: 20vh;
}

.section-label {
    grid-column: span 12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.vault-item {
    grid-column: span 4;
    position: relative;
    height: 600px;
    background: var(--gray);
    overflow: hidden;
    transition: all 0.5s var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vault-item:hover {
    border-color: var(--red);
    transform: translateY(-10px);
}

.vault-item:nth-child(even) {
    margin-top: 100px;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.2) brightness(0.7);
    transition: all 0.5s var(--transition);
}

.vault-item:hover .item-image {
    filter: grayscale(0) contrast(1.1) brightness(0.9);
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
}

.item-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    line-height: 0.9;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Composition Section */
.composition {
    padding: 100px 0;
}

.comp-card {
    grid-column: 2 / span 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comp-visual {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
}

.comp-visual::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    border-top: 2px solid var(--red);
    border-left: 2px solid var(--red);
}

.comp-visual-bg {
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--red) 0%, transparent 70%);
    opacity: 0.3;
    filter: blur(40px);
}

.comp-visual-line-h {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 2px;
    background: white;
    opacity: 0.1;
}

.comp-visual-line-v {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    width: 80%;
    height: 2px;
    background: white;
    opacity: 0.1;
}

.comp-visual-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.comp-text h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 80px;
    margin-bottom: 20px;
}

.comp-text p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    margin-bottom: 30px;
}

.btn-action {
    display: inline-block;
    padding: 15px 40px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
    transition: all 0.3s var(--transition);
}

.btn-action:hover {
    background: var(--white);
    color: var(--black);
    transform: skewX(-10deg);
}

/* Footer */
footer {
    padding: 100px 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-left {
    grid-column: span 6;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 150px;
    letter-spacing: -5px;
    opacity: 0.1;
}

.footer-right {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

.footer-email {
    font-size: 24px;
    margin: 20px 0;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--red);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 18vw;
    }

    .hero-script {
        font-size: 6vw;
        margin-left: 10vw;
    }

    .vault-item {
        grid-column: span 12;
        margin-top: 0 !important;
    }

    .comp-card {
        grid-column: span 12;
        grid-template-columns: 1fr;
    }

    .footer-left,
    .footer-right {
        grid-column: span 12;
    }

    .footer-right {
        align-items: flex-start;
        text-align: left;
        margin-top: 40px;
    }
}
