/* Base Colors & Variables */
:root {
  --bg: #111111;
  --text: #e3dbd0;
  --copper: #c99065;
  --copper-dark: #a06030;
  --light-gray: #a1998e;
  --dark-gray: #383733;
  --card-bg: rgba(56, 55, 51, 0.92);
  --status-bg: rgba(0, 0, 0, 0.7);
}

@font-face {
  font-family: "SonaraRounded";
  src: url("./fonts/ArialRoundedMTBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset & Layout */
body {
  margin: 0;
  padding: 0;
  font-family: "SonaraRounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  background-image: url("./background.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}

/* Typography */
h1 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--copper);
  text-align: center;
  margin-bottom: 8px;
}

h2 {
  font-weight: 400;
  color: var(--copper);
  margin-top: 0;
}

p {
  color: rgba(227, 219, 208, 0.75);
  line-height: 1.5;
  text-align: center;
}

/* Actions / Buttons */
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
  flex-wrap: wrap;
}

button, .btn, a.secondary, a.tile {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  border: 1px solid rgba(227, 219, 208, 0.12);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  text-align: center;
}

button.primary, .btn.primary {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  border-color: transparent;
  color: #fff;
  font-weight: bold;
}

button:hover, a.secondary:hover, a.tile:hover {
  transform: translateY(-1px);
}

button.primary:hover {
  filter: brightness(1.03);
}

/* Menu Grid */
._menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 26px;
}

a.tile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-weight: 700;
  font-size: 18px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: var(--card-bg);
  color: var(--copper);
  padding: 18px 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}

a.tile:hover {
  filter: brightness(1.05);
}

.tileIcon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.tileSecondary {
  background: rgba(161, 153, 142, 0.92);
  color: rgba(0, 0, 0, 0.75);
}

.tileSecondary:hover {
  filter: brightness(1.02);
}

/* Hints & Status */
.hint {
  background: rgba(0, 0, 0, 0.35);
  border-left: 4px solid var(--copper);
  padding: 16px;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 14px;
  text-align: left;
}

.status {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--status-bg);
  padding: 8px;
  font-size: 12px;
  text-align: center;
  color: #888;
  border-top: 1px solid rgba(227, 219, 208, 0.12);
}

/* Utilities */
[hidden] { display: none !important; }
iframe { display: block; }
