* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #F1EDFF;
    --accent-lime: #B7F31E;
    --accent-purple: #8D50F0;
    --accent-pink: #DD76FF;
    --black: #000000;
    --white: #FFFFFF;
    --shadow-sm: 4px 4px 0px 0px var(--black);
    --shadow-md: 8px 8px 0px 0px var(--black);
    --shadow-lg: 12px 12px 0px 0px var(--black);
}

body {
    background-color: var(--bg);
    color: var(--black);
    font-family: 'Courier New', 'SF Mono', 'Fira Code', monospace;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.spiral-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.spiral-img {
    position: absolute;
    top: 50%;
    left: -30%;
    transform: translateY(-50%);
    width: auto;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    opacity: 0.35;
    will-change: transform;
}

.ripple-loader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0s 0.6s;
}

.ripple-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.ripple-box {
    text-align: center;
}

.ripple-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
}

.ripple-ring div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid var(--accent-purple);
    animation: rippleWave 1.8s ease-out infinite;
}

.ripple-ring div:nth-child(1) {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    border-color: var(--accent-lime);
}

.ripple-ring div:nth-child(2) {
    width: 100px;
    height: 100px;
    animation-delay: 0.4s;
    border-color: var(--accent-purple);
}

.ripple-ring div:nth-child(3) {
    width: 140px;
    height: 140px;
    animation-delay: 0.8s;
    border-color: var(--accent-pink);
}

@keyframes rippleWave {
    0% {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

.loader-logo {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 900;
    font-family: monospace;
    color: var(--accent-lime);
    background: var(--black);
    display: inline-block;
    padding: 0.3em 1em;
    border: 3px solid var(--black);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.loader-progress {
    width: 280px;
    height: 6px;
    background: #E0D6F5;
    border: 2px solid var(--black);
    margin: 1rem auto;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-lime);
    transition: width 0.1s linear;
}

.loader-text {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent-purple);
    font-weight: bold;
    letter-spacing: 2px;
}

.dot-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--black) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 1;
}

.geo-primitive {
    position: fixed;
    z-index: 2;
    pointer-events: none;
}

.cross-brut {
    top: 12%;
    left: 3%;
    width: 55px;
    height: 55px;
}

.cross-brut::before,
.cross-brut::after {
    content: '';
    position: absolute;
    background: var(--accent-pink);
}

.cross-brut::before {
    width: 55px;
    height: 5px;
    top: 25px;
    left: 0;
}

.cross-brut::after {
    width: 5px;
    height: 55px;
    left: 25px;
    top: 0;
}

.circle-blunt {
    bottom: 12%;
    right: 3%;
    width: 80px;
    height: 80px;
    border: 5px solid var(--accent-lime);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.rect-brut {
    top: 75%;
    left: 2%;
    width: 50px;
    height: 50px;
    background: var(--accent-purple);
    border: 3px solid var(--black);
    transform: rotate(18deg);
}

.main-content {
    position: relative;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.main-content.visible {
    opacity: 1;
}

.hero-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero-card {
    background: var(--white);
    border: 4px solid var(--black);
    padding: 3rem 3.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}

.hero-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 16px 16px 0px 0px var(--black);
}

.animated-title {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
}

.title-art {
    display: inline-block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    font-family: monospace;
    background: var(--black);
    color: var(--accent-lime);
    padding: 0.2em 0.3em 0.2em 0.6em;
    border: 3px solid var(--black);
    box-shadow: var(--shadow-md);
}

.title-foma {
    display: inline-block;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    font-family: monospace;
    background: repeating-linear-gradient(
        45deg,
        var(--black) 0px,
        var(--black) 4px,
        transparent 4px,
        transparent 12px
    );
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    padding: 0.2em 0.6em 0.2em 0.3em;
    border: 3px solid var(--black);
    border-left: none;
    box-shadow: var(--shadow-md);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.title-foma.filled {
    background: var(--black);
    color: var(--accent-lime);
    background-clip: unset;
    -webkit-background-clip: unset;
}

@keyframes gentlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.title-foma.filled {
    animation: gentlePulse 0.4s ease;
}

.mono-tagline {
    font-family: monospace;
    background: var(--accent-pink);
    color: var(--black);
    display: inline-block;
    padding: 0.5rem 1rem;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    border: 2px solid var(--black);
}

.hero-desc {
    font-family: monospace;
    color: #333;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brutal-btn {
    background: var(--accent-lime);
    color: var(--black);
    font-family: monospace;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 3px solid var(--black);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: 0.05s linear;
    display: inline-block;
}

.brutal-btn.secondary {
    background: var(--accent-purple);
    color: var(--white);
}

.brutal-btn:active {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0px 0px var(--black);
}

.features-section {
    width: 100%;
    padding: 5rem 2rem;
}

.section-title {
    font-size: 2rem;
    font-family: monospace;
    font-weight: bold;
    margin-bottom: 2.5rem;
    border-left: 6px solid var(--accent-lime);
    padding-left: 1rem;
    text-transform: uppercase;
    text-align: left;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border: 3px solid var(--black);
    padding: 2rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-lime);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.feature-card p {
    color: #444;
    line-height: 1.5;
    font-size: 0.9rem;
}

.feature-meta {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accent-lime);
    color: var(--black);
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: bold;
    border: 1px solid var(--black);
}

.work-section {
    width: 100%;
    padding: 5rem 2rem;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-item {
    background: var(--white);
    border: 3px solid var(--black);
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.work-item:hover {
    transform: translate(-5px, -5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-pink);
}

.work-preview {
    height: 240px;
    background: repeating-linear-gradient(45deg, var(--accent-lime) 0px, var(--accent-lime) 8px, var(--accent-purple) 8px, var(--accent-purple) 16px);
    border-bottom: 3px solid var(--black);
}

.work-info {
    padding: 1.5rem;
}

.work-info h4 {
    color: var(--accent-purple);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.work-year {
    font-family: monospace;
    color: var(--accent-pink);
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.work-info p {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
}

.center-btn {
    text-align: center;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.brutal-footer {
    border-top: 4px solid var(--black);
    margin-top: 5rem;
    background: var(--white);
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-mono {
    font-family: monospace;
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: bold;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    font-family: monospace;
    color: var(--black);
    cursor: pointer;
    transition: 0.1s linear;
    border: 2px solid var(--black);
    padding: 0.3rem 0.8rem;
    background: var(--accent-lime);
    font-weight: bold;
}

.social-link:active {
    transform: translate(2px, 2px);
}

.brutal-toast {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--black);
    border: 2px solid var(--accent-lime);
    color: var(--accent-lime);
    padding: 0.8rem 1.8rem;
    font-family: monospace;
    font-weight: bold;
    z-index: 1100;
    box-shadow: var(--shadow-sm);
    animation: slideInLeft 0.2s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-lime);
    background: rgba(183, 243, 30, 0.12);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: 0.03s linear;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem;
    }
    
    .hero-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .features-section,
    .work-section {
        padding: 3rem 1.5rem;
    }
    
    .features-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.8rem;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .brutal-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .animated-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .title-art {
        border-right: 3px solid var(--black);
        margin-bottom: 0.3rem;
    }
    
    .title-foma {
        border-left: 3px solid var(--black);
        margin-top: 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .brutal-toast {
        left: 1rem;
        right: 1rem;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .cross-brut {
        width: 35px;
        height: 35px;
        top: 8%;
        left: 2%;
    }
    
    .cross-brut::before {
        width: 35px;
        height: 4px;
        top: 15.5px;
    }
    
    .cross-brut::after {
        width: 4px;
        height: 35px;
        left: 15.5px;
    }
    
    .circle-blunt {
        width: 50px;
        height: 50px;
        bottom: 8%;
        right: 2%;
        border-width: 3px;
    }
    
    .rect-brut {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 15%;
        left: 3%;
    }
    
    .custom-cursor {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-card {
        padding: 1.5rem;
    }
    
    .title-art, .title-foma {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
    
    .mono-tagline {
        font-size: 0.7rem;
    }
    
    .hero-desc {
        font-size: 0.85rem;
    }
    
    .brutal-btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .work-info h4 {
        font-size: 1.1rem;
    }
    
    .footer-mono {
        font-size: 0.7rem;
    }
}

@media (min-width: 1400px) {
    .features-grid,
    .work-grid,
    .section-title,
    .center-btn,
    .footer-content {
        max-width: 1400px;
    }
    
    .hero-card {
        max-width: 850px;
    }
}