/* Hala website: the colours of the game's main menu (cave picture, carved stone, warm gold text) */
:root {
    --night: #0c0e10;
    --cave: #121819;
    --stone: #3e3a36;
    --stone-hover: #4e4842;
    --stone-dark: #2e2b28;
    --bevel-light: #7a746a;
    --bevel-mid: #68625a;
    --bevel-shade: #1e1c1a;
    --bevel-deep: #161412;
    --gold: #f0c082;
    --gold-bright: #ffd896;
    --text: #d6ccba;
    --muted: #9c9384;
    --crystal: #5fd6c8;
    --torch: #ff9a3c;
    color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--night); }

body {
    margin: 0;
    background: var(--night);
    color: var(--text);
    font: 17px/1.55 "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: var(--gold-bright); }

/* The big orange title, like "Hala" in the menu picture */
.title {
    margin: 0;
    font: 800 64px/1 "Rubik", system-ui, sans-serif;
    letter-spacing: 1px;
    background: linear-gradient(#ffe2b0, #f0a050 55%, #b8601e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: 2px #3a1d0b;
    filter: drop-shadow(0 0 14px rgba(255, 140, 40, 0.45)) drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.6));
}

h2 {
    margin: 0 0 18px;
    font: 700 30px/1.2 "Rubik", system-ui, sans-serif;
    color: var(--gold);
    text-shadow: 1px 2px 1px #000;
}

h3 {
    margin: 0 0 6px;
    font: 700 21px/1.25 "Rubik", system-ui, sans-serif;
    color: var(--gold);
    text-shadow: 1px 2px 1px #000;
}

/* Carved stone button with gold text (.stone-button in the game) */
.stone-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 16px;
    font: 700 23px/1.1 "Roboto Condensed", system-ui, sans-serif;
    color: var(--gold);
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 2px 1px #000;
    background: var(--stone);
    border: 2px solid;
    border-radius: 4px;
    border-color: var(--bevel-light) var(--bevel-shade) var(--bevel-deep) var(--bevel-mid);
    cursor: pointer;
}

.stone-button:hover { background: var(--stone-hover); color: var(--gold-bright); }

.stone-button:active {
    background: var(--stone-dark);
    border-color: var(--bevel-deep) var(--bevel-mid) var(--bevel-light) var(--bevel-shade);
}

.stone-button:focus-visible { outline: 2px solid var(--crystal); outline-offset: 2px; }

.stone-button[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.stone-button small { font-size: 15px; font-weight: 400; color: var(--text); }

/* A plain stone panel (sections below the picture) */
.panel {
    background: linear-gradient(#2a2724, #221f1d);
    border: 2px solid;
    border-color: #4a453f #1a1816 #121110 #3c3833;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* The chained stone frame of the menu, stretched around a block of text */
.framed {
    border: 56px solid transparent;
    border-image: url("img/frame.png") 70 fill / 56px stretch;
    padding: 4px 6px;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }

footer {
    padding: 34px 16px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

footer a { color: var(--muted); }
