:root {
    --matrix-green: rgba(0, 242, 255, 0.7);
    --neon-cyan: var(--neon-purple);
    --neon-purple: #bc13fe;
    --bg-black: #000000;
}

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

body {
    background-color: var(--bg-black);
    color: white;
    font-family: 'Courier New', Courier, monospace;
}

/* Matrix Background Canvas */
#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    pointer-events: none; /* Let canvas through for visuals, but override for buttons */
}

header, main, footer {
    pointer-events: all;
}

.matrix-title {
    font-size: clamp(3rem, 15vw, 6rem);
    letter-spacing: 1rem;
    color: var(--matrix-green);
    text-shadow: 0 0 20px var(--matrix-green);
    margin-bottom: 4rem;
    font-weight: 900;
    animation: titleGlow 2s infinite alternate;
}

@keyframes titleGlow {
    from { text-shadow: 0 0 10px var(--matrix-green); }
    to { text-shadow: 0 0 30px var(--matrix-green), 0 0 50px var(--matrix-green); }
}

/* Buttons Container */
.buttons-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 3rem;
}

.matrix-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 3rem 4rem;
    border: 2px solid;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 300px;
}

.matrix-btn.cyan {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.matrix-btn.purple {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(188, 19, 254, 0.2);
}

.matrix-btn:hover {
    transform: scale(1.1) rotate(2deg);
    background: rgba(255, 255, 255, 0.05);
}

.matrix-btn.cyan:hover {
    box-shadow: 0 0 40px var(--neon-cyan);
}

.matrix-btn.purple:hover {
    box-shadow: 0 0 40px var(--neon-purple);
}

.btn-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.btn-text {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.btn-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
footer {
    margin-top: 5rem;
}

.matrix-footer {
    color: var(--matrix-green);
    font-size: 1.1rem;
    opacity: 0.7;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 900px) {
    .content-wrapper {
        height: auto;
        padding: 3rem 1rem;
    }

    .buttons-container {
        flex-direction: column;
        gap: 2rem;
    }

    .matrix-btn {
        width: 100%;
        max-width: 350px;
        padding: 2rem;
        min-width: unset;
    }

    .matrix-title {
        margin-bottom: 2rem;
        letter-spacing: 0.5rem;
    }

    .btn-text {
        font-size: 1.8rem;
    }

    .btn-icon {
        font-size: 3rem;
    }

    footer {
        margin-top: 3rem;
    }
}

@media (max-width: 600px) {
    .matrix-title {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
        margin-bottom: 1.5rem;
    }

    .matrix-btn {
        padding: 1.5rem;
    }

    .btn-text {
        font-size: 1.4rem;
    }

    .btn-icon {
        font-size: 2.5rem;
    }

    .btn-desc {
        font-size: 0.75rem;
    }

    .matrix-footer {
        font-size: 0.8rem;
    }
}
