/*
  Abqeh0bener — Portfolio Styles
  Theme: Dark UI with neutral accents (no orange)
  Font: Inter
*/

:root {
  --bg: #0e0f12;
  --bg-elev: #14161b;
  --text: #e7e8ea;
  --muted: #a9adb7;
  --accent: #ff6a00;
  --accent-2: #ff8c1a;
  --card: #161922;
  --border: #262a34;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1200px;
  /* Grid controls */
  --grid-size: 26px;            /* Abstand zwischen Linien */
  --grid-color: 255,255,255;      /* RGB neutral (unused) */
  --grid-alpha-1: 0.055;        /* Opazität horizontale Linien */
  --grid-alpha-2: 0.035;        /* Opazität vertikale Linien */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  /* Background simplified: solid dark, no colored glows or grid */
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; position: relative; }
.section h2 { font-size: 38px; line-height: 1.15; margin: 0 0 18px; letter-spacing: .3px; position: relative; padding-bottom: 8px; }
.section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--accent); border-radius: 2px; }
.lead { color: var(--muted); font-size: 18px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(160%) blur(12px);
  background: rgba(14,15,18,.6);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: background .25s ease;
}
.site-header.scrolled { background: rgba(14,15,18,.78); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; transition: height .2s ease; }
.site-header.scrolled .header-inner { height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .5px; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #111; font-weight: 900; }
.brand-text { opacity: .95; }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--muted); padding: 8px 10px; border-radius: 8px; transition: .2s ease; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; transition: transform .08s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: var(--text); border-color: rgba(255,255,255,.18); }

/* Focus styles */
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,255,255,.16); }

/* Hero */
.hero { padding-top: 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.hero h1 { font-size: 54px; line-height: 1.05; margin: 0 0 10px; letter-spacing: .2px; }
.cta-row { display: flex; gap: 12px; margin: 18px 0 8px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 18px; margin-top: 14px; color: var(--muted); }
.stat { display: grid; gap: 2px; }
.stat .num { font-weight: 800; color: var(--text); }

.avatar-ring { width: 360px; height: 360px; border-radius: 50%; padding: 12px; background: conic-gradient(from 210deg, rgba(255,255,255,.14), rgba(255,255,255,.06) 40%, transparent 70%, rgba(255,255,255,.10));
  box-shadow: 0 0 80px rgba(0,0,0,.28), inset 0 0 30px rgba(255,255,255,.04);
  animation: spin-slow 16s linear infinite;
}
.avatar { width: 100%; height: 100%; border-radius: 50%; background: url('../img/avatar.png') center/cover no-repeat, #0b0c0f; border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}

.glow { display: none; }
.glow-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 60%); top: -60px; right: -60px; }
.glow-2 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,255,255,.06), transparent 60%); bottom: -60px; left: -80px; }

/* Two Column */
.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: stretch; }
.card { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%), var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: border-color .2s ease, box-shadow .2s ease, transform .08s ease; }
.card:hover { border-color: rgba(255,255,255,.18); box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 16px 40px rgba(0,0,0,.45); transform: translateY(-1px); }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.specs li { padding: 10px 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; }
.specs .icon { display: inline-block; font-size: 20px; line-height: 1; color: var(--accent); }
.specs .icon svg { width: 20px; height: 20px; fill: var(--accent); }
.specs .icon .icon-img { width: 20px; height: 20px; display: block; object-fit: contain; }
.specs .k { color: var(--muted); font-weight: 600; margin-right: 6px; }
.specs .v { color: var(--text); font-weight: 600; }

/* Cards Grid */
.grid.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0 28px; }
.card .thumb { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius); background: var(--bg-elev); background-image: var(--img); background-size: cover; background-position: center; border: 1px solid var(--border); }
.card .card-body { padding: 12px 4px 2px; }
.card h3 { margin: 8px 0 6px; }
.card-actions { margin-top: 8px; }

/* Embeds */
.embeds { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.embed .hint { color: var(--muted); font-size: 14px; margin-top: 8px; }
.embed-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #000; box-shadow: var(--shadow); }
.ratio-16x9 { position: relative; padding-top: 56.25%; }
.ratio-16x9 > iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Social */
.social-grid { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); gap: 12px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; justify-content: center; padding: 14px 16px; border-radius: 12px; font-weight: 700; letter-spacing: .3px; transition: transform .08s ease, background .2s ease, filter .2s ease, color .2s ease, border-color .2s ease; 
  background: #1a1e26; color: var(--text); border: 1px solid var(--border); box-shadow: var(--shadow); }
.social-btn:hover { filter: brightness(1.05); }
.social-btn:active { transform: translateY(1px); }
.social-btn .icon { display: inline-block; font-size: 20px; line-height: 1; }
.social-btn svg.icon { width: 20px; height: 20px; fill: currentColor; }
.social-btn span { font-weight: 800; }
/* Vereinheitlicht: neutral dunkel, keine Plattformfarben */
.twitch, .youtube, .tiktok, .instagram, .x { background: #1a1e26; color: var(--text); }

/* Contact */
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; background: #0c0e12; color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: rgba(255,255,255,.28); box-shadow: 0 0 0 3px rgba(255,255,255,.10); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.to-top { color: var(--muted); border: 1px solid var(--border); padding: 8px 10px; border-radius: 8px; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.to-top:hover { color: var(--text); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px) scale(.98); filter: saturate(.8);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0) scale(1); filter: saturate(1); }

/* Animations */
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .avatar-ring { margin: 10px auto 0; width: 300px; height: 300px; }
}
@media (max-width: 860px) {
  .grid.cards { grid-template-columns: 1fr; }
  .embeds { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 560px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-text { display: none; }
  .nav a { display: none; }
  .nav .btn { display: inline-flex; }
}


/* About spacing tweak */
.about h2 + .card { margin-top: 12px; }


/* Icon masks to colorize raster icons like font/SVG icons */
/* Use the image as a mask so the element takes on background-color (accent) */
.specs .icon.icon-mask {
  width: 20px;
  height: 20px;
  display: inline-block;
  line-height: 1;
  color: var(--accent); /* keeps consistency if nested icons exist */
  background-color: var(--accent);
}
/* Specific mask for the mouse icon */
.icon-mouse {
  -webkit-mask: url('../img/gaming-maus.png') center/contain no-repeat;
  mask: url('../img/gaming-maus.png') center/contain no-repeat;
}


/* Navbar Contact legibility tweak: make "Kontakt" text in header button white for better readability across the orange gradient */
.site-header .nav .btn-accent { color: #fff; }

/* About: Steckbrief list with orange bullets */
.about-list { margin: 12px 0 0; color: var(--muted); }
.about-list li { margin: 6px 0; }
.list-accent { list-style: disc; padding-left: 20px; }
.list-accent li::marker { color: var(--accent); }

/* Streamingplan (distinct look, not same as cards) */
.schedule .days { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.schedule .badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--border); font-weight: 700; letter-spacing: .2px; }
.schedule .badge.accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #111; border-color: transparent; }
.schedule .rows { display: grid; gap: 10px; margin-top: 6px; }
.schedule .row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.schedule .row .icon { font-size: 18px; line-height: 1; color: var(--accent); }
.schedule .note { margin-top: 10px; color: var(--muted); }

@media (max-width: 560px) {
  .schedule .days { gap: 6px; }
  .schedule .badge { padding: 6px 9px; }
}
