/* Reset default browser margins and set a dark theme baseline */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevents awkward scrollbars over your canvas */
    background-color: #0b0c10;
    color: #ffffff;
}

/* Fix the p5.js container to the background */
#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sits behind the text content */
}

/* Style the content overlay to sit proudly on top */
.content-overlay {
    position: relative;
    z-index: 2; /* Sits completely above the canvas layer */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10% 8%;
    background: linear-gradient(90deg, rgba(11,12,16,0.8) 0%, rgba(11,12,16,0) 100%);
    pointer-events: none; /* Allows mouse interactions to pass through to the canvas */
}

/* Ensure interactive text buttons still work */
header, .actions {
    pointer-events: auto;
    max-width: 600px;
}

.actions {
    display: flex;       /* Tells the container to use flexible layout */
    align-items: center; /* Keeps the button and link vertically centered with each other */
    gap: 25px;           /* This creates a uniform space between the items */
    
    pointer-events: auto;
    max-width: 600px;
}

h1 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    font-size: 3.5rem;
    font-weight: 500;
    letter-spacing: 3px;
    margin: 1rem 0;
    line-height: 1.1;
}

p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: #009fda;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Clean, modern UI styling */
.badge {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #fd026e; /* Neon accent color */
    font-weight: 700;
}

.btn-primary {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #f9e300;
    color: #0b0c10;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-10px);
}