* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, "Helvetica Neue", Arial, sans-serif;
}

:root {
  --accent: #e8b84b;
  --accent-2: #f6d98a;
  --text: #f6f2e9;
  --text-dim: rgba(246, 242, 233, 0.68);
  --card-border: rgba(246, 217, 138, 0.2);
  --card-bg: rgba(15, 14, 10, 0.32);
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  background: url(./assets/xara-achtergrond.jpg) center center / cover no-repeat fixed;
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
      to bottom,
      rgba(6, 8, 14, 0.75) 0%,
      rgba(6, 8, 14, 0.25) 30%,
      rgba(6, 8, 14, 0.4) 65%,
      rgba(6, 8, 14, 0.85) 100%
    ),
    radial-gradient(80% 60% at 50% 40%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 48px 24px;
  text-align: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-size: clamp(40px, 8vw, 68px);
  font-weight: 800;
  letter-spacing: 0.28em;
  padding-left: 0.28em;
  background: linear-gradient(120deg, #fff4d6 0%, var(--accent-2) 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(232, 184, 75, 0.35);
}

.brand-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-weight: 400;
}

.brand-nl {
  font-size: clamp(19px, 3vw, 26px);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-en {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.02em;
}

.tagline {
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-dim);
  font-weight: 400;
}

.lang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 640px;
}

.lang-card {
  position: relative;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 36px 28px 32px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.lang-card:hover,
.lang-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(232, 184, 75, 0.6);
  background: rgba(20, 17, 10, 0.48);
  box-shadow: 0 16px 40px rgba(232, 184, 75, 0.18);
}

.flag {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.lang-name {
  font-size: 22px;
  font-weight: 600;
}

.lang-sub {
  font-size: 14px;
  color: var(--text-dim);
}

.lang-arrow {
  margin-top: 14px;
  font-size: 18px;
  color: var(--accent-2);
  transition: transform 0.25s ease;
}

.lang-card:hover .lang-arrow,
.lang-card:focus-visible .lang-arrow {
  transform: translateX(6px);
}

.footer {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(246, 242, 233, 0.45);
}

@media screen and (max-width: 600px) {
  .container {
    gap: 30px;
    padding: 32px 20px;
  }

  .lang-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-card {
    padding: 28px 24px;
  }
}
