/* Simple yet creative styling */
:root{
  --bg: #f7f8fb;
  --text: #1f2937;
  --muted: #6b7280;
  --link: #2563eb;
  --card: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 10;
}

h1, h2, h3 {
  line-height: 1.25;
  margin: 0.5rem 0 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

.nav a {
  margin-right: 1rem;
  text-decoration: none;
  color: var(--link);
  font-weight: 600;
}

.nav a:hover { text-decoration: underline; }

.container {
  max-width: 900px;
  margin: 1.25rem auto;
  padding: 0 1rem 2rem;
}

p { font-size: 1.05rem; }

.board{
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-auto-rows: 100px;
  gap: 10px;
  margin: 1rem 0;
}

.cell{
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 2.25rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.cell:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.status{
  margin: 0.5rem 0 1rem;
  color: var(--muted);
}

.button{
  background: var(--link);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.button:hover{
  filter: brightness(1.05);
}

footer{
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
  text-align: center;
}

.hero-image{
  max-width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
}

.video-wrapper{
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe{
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}
