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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #aaa;
    min-height: 100vh;
    line-height: 1.4;
    overflow: hidden;
    background-color: #000;
}

a {
    color: aqua;
    text-decoration: none;
}

/* Content Above Section */
#contentAbove {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 100;
}

#contentAbove p {
    font-size: 0.9rem;
    margin: 0;
}

/* Container */
.container {
    text-align: center;
}

/* Canvas Styles */
canvas {
    display: block;
}

/* ===== INDEX.HTML SPECIFIC STYLES ===== */
body.index {
    background-color: #000;
}

body.index #contentAbove,
body.index #footnote {
    width: 80vw;
}

body.index a {
    color: rgb(37, 189, 189);
}

body.index #footnote summary,
body.index #footnote p {
    font-size: 0.8rem;
}

body.index #artContainer {
    width: 100%;
    height: 90vh;
    margin: 0 auto;
    padding-top: 4rem;
}

body.index #artCanvas {
    width: 100%;
    height: 100%;
}

/* ===== CONFIDENCE.HTML SPECIFIC STYLES ===== */
body.confidence {
    background: #1a1a1a;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    padding-top: 10rem;
}

body.confidence canvas {
    border-radius: 8px;
    cursor: grab;
}

body.confidence canvas:active {
    cursor: grabbing;
}

body.confidence .instructions {
    margin-top: 2rem;
    color: white;
    font-size: 2rem;
}

/* ===== CLARITY.HTML SPECIFIC STYLES ===== */
body.clarity {
    background: #18181a;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 4rem;
}

body.clarity .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

body.clarity canvas {
    width: 100%;
    height: 90vh;
    cursor: none;
    touch-action: none;
}

body.clarity h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    margin-top: 1rem;
    text-align: left;
    padding: 0 2rem;
}

body.clarity p {
    margin: 1rem 0 2rem 0;
    text-align: left;
}

body.clarity .cursor {
    position: fixed;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
