:root {
  --red: #e30613; /* Feyenoord rood */
  --white: #ffffff;
  --blue: #0057b8; /* Accent blauw */
  --dark: #050509;
  --muted: #b0b0b0;
  --bg: #050509;
  --card-bg: #101018;
  --border: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #151520 0, #050509 55%, #000 100%);
  color: var(--white);
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 4rem 1.5rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtiele grid achtergrond */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    );
  background-size: 26px 26px;
  opacity: 0.25;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

/* Avatar / Logo */

.hero-avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 4px solid var(--white);
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.7), var(--shadow-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Typography */

.hero-title {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin: 0 0 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero-description {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--blue));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

/* Hero actions */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Platforms */

.hero-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
  transition: background var(--transition-fast),
    transform var(--transition-fast), border-color var(--transition-fast);
}

.platform-badge img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.platform-badge:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Scroll indicator */

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
}

.scroll-text {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
}

.scroll-arrow {
  width: 22px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-arrow::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--white);
  transform: translateX(-50%);
  animation: scroll-bounce 1.4s infinite;
}

@keyframes scroll-bounce {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  60% {
    transform: translate(-50%, 14px);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
}

/* Sections */

.section {
  padding: 4rem 1.5rem;
  background: radial-gradient(circle at top, #151520 0, #050509 55%, #000 100%);
}

.section-alt {
  background: radial-gradient(circle at top, #101018 0, #050509 55%, #000 100%);
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.85);
}

/* Live grid */

.live-grid,
.content-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.live-card,
.content-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.live-card h3,
.content-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

/* Footer */

.footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: #050509;
}

/* Responsive */

@media (min-width: 700px) {
  .live-grid,
  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* SKILLS SECTION */

.skills-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.4rem;
}

.skill {
  background: var(--card-bg);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.skill-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: var(--radius-full);
}

/* PORTFOLIO */

.portfolio-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.portfolio-thumb {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.schedule-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.schedule-card {
  background: var(--card-bg);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.schedule-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  z-index: 999;
}

body.light {
  background: #f4f4f4;
  color: #111;
}

body.light .section,
body.light .section-alt {
  background: #fff;
}

body.light .portfolio-card,
body.light .skill,
body.light .schedule-card {
  background: #fff;
  border-color: #ddd;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--white);
}

body.light .contact-form input,
body.light .contact-form textarea {
  background: #fff;
  color: #111;
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #151520 0, #050509 55%, #000 100%);
  color: #fff;
}

.page {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Hero meer gecentreerd */
.hero {
  padding: 5rem 1.5rem 4rem;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  margin: 0;
  color: #b0b0b0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Scroll section – CSS-only “container scroll” effect */
.scroll-section {
  height: 120vh; /* extra hoogte voor scroll */
  padding: 4rem 1.5rem;
  display: flex;
  align-items: center;
}

.scroll-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}

.scroll-header {
  margin-bottom: 2rem;
}

.scroll-card {
  position: sticky;
  top: 20%;
  transform-style: preserve-3d;
}

.scroll-card-inner {
  background: #222222;
  border-radius: 30px;
  border: 4px solid #6c6c6c;
  padding: 2rem;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042,
    0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003;
  transform: rotateX(12deg) scale(0.98);
  transition: transform 0.4s ease-out;
}

/* Kleine “reactie” als je verder naar beneden scrolt (simpele hover als fallback) */
.scroll-card-inner:hover {
  transform: rotateX(0deg) scale(1);
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 720px;
  margin: 0 auto;
}

.live-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.live-card {
  background: #101018;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 700px) {
  .live-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Zorg dat alle content in het midden staat */
.section-inner,
.hero-inner,
.live-grid,
.content-grid,
.skills-grid,
.portfolio-grid,
.schedule-grid,
.contact-form {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.section p,
.section h2,
.hero-description,
.hero-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
