/* Minimal, modern, mobile-first styles */
:root {
  --glass: rgba(0,0,0,0.45);
  --text: #f2f2f2;
  --muted: #c7c7c7;
  --tile-bg: rgba(255,255,255,0.08);
  --tile-hover: rgba(255,255,255,0.14);
  --radius: 20px;
  --shadow: 0 10px 25px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: #0c0f14 url('./img/bg.jpg') center/cover fixed no-repeat;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
}

.overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.65));
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  text-align: center;
  padding: 48px 16px 16px;
}
.site-header h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: .5px;
  text-shadow: var(--shadow);
}
.subtitle {
  margin-top: 6px;
  color: var(--muted);
}

.content {
  padding: 20px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.tile {
  display: block;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: var(--tile-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  text-decoration: none;
  color: var(--text);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  min-height: 160px;
}
.tile:hover, .tile:focus-visible {
  background: var(--tile-hover);
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.icon {
  height: 150px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.icon img {
  height: 150px;
  width: auto;
  display: block;
}

.title {
  margin: 0 0 6px;
  font-size: 18px;
}

.desc {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.kuma-wrap {
  margin: 26px auto 0;
  max-width: 1100px;
}
.kuma-toggle {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow);
  background: var(--tile-bg);
  color: var(--text);
}
.kuma-panel {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tile-bg);
  box-shadow: var(--shadow);
}
.kuma-panel iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

.site-footer {
  display: grid;
  place-items: center;
  padding: 22px 12px 30px;
  color: var(--muted);
}
.site-footer .domains {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
