/* Main CSS - Shared/Repetitive Styles */

/* Custom font */
@font-face {
    font-family: "Unique";
    src: url(Unique-Medium.woff), url(Unique-Medium.woff2);
}

/* --- Global Variables --- */
:root {
    --maincolor: white;
    --headerfont: "Unique", "Impact", "Helvetica", "Trebuchet MS", "Arial", sans-serif;
    --defaultfont: "Helvetica", "Trebuchet MS", "Arial", sans-serif;
    --border-color: #1a1a2e;
    --accent-color: #FFE135;
    --accent-yellow: #FFE66D;
    --accent-cyan: #4ECDC4;
    --accent-purple: #C44DFF;
    --accent-lime: #95E616;
    --accent-orange: #FF9F43;
    --accent-blue: #54A0FF;
    --accent-pink: #FF6B9D;
    --bg-main: #ffffff;
}

/* --- Global Resets --- */
* {
    box-sizing: border-box;
    letter-spacing: 0.02em;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--defaultfont);
    margin: 0;
    padding: 0;
    width: 100%;
}

/* --- Global Button Styles --- */
button {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--accent-pink);
    color: white;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, opacity 0.15s ease-in-out;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 5px;
}

button:active {
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

button:hover {
    background-color: var(--accent-purple);
    opacity: 0.9;
}

/* --- Global Link Styles --- */
a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

a:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

a:visited {
    color: var(--accent-blue);
}

/* --- Decorative Characters --- */
.decorative-char {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    height: auto;
    transition: all 0.3s ease;
}

/* --- Details and Summary (Clickable Signifiers) --- */
details {
    cursor: pointer;
}

summary {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

summary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

summary::before {
    content: "▶";
    font-size: 0.7em;
    transition: transform 0.2s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

summary::-webkit-details-marker {
    display: none;
}

summary::marker {
    display: none;
}
