/* =======================================
   badidol.de - One Page Synth Site
   Uses TubeIdol synth.css as base
   ======================================= */

:root{
  --header-h: 72px;
  --maxw: 1580px;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/Orbitron-Regular.woff2') format('woff2'),
       url('/assets/fonts/Orbitron-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/Orbitron-SemiBold.woff2') format('woff2'),
       url('/assets/fonts/Orbitron-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/Orbitron-Bold.woff2') format('woff2'),
       url('/assets/fonts/Orbitron-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/assets/fonts/Orbitron-ExtraBold.woff2') format('woff2'),
       url('/assets/fonts/Orbitron-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Use the requested background image:
   - not repeating
   - not darkened
   Keep the rest of the synth vibe via cards, text shadows, etc.
*/
html, body {
  min-height: 100%;
}

body{
  background: url("/assets/shbg.jpg") no-repeat center top fixed;
  background-size: cover;
}

/* Disable TubeIdol radial gradient + grid overlay to avoid darkening */
body::before,
body::after{
  display:none !important;
  content:none !important;
  animation:none !important;
}

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  z-index: 10;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand .brand-link{
  text-decoration:none;
}

.header-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.icon-link{
  width: 38px;
  height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  border: 1px solid rgba(255,45,251,0.3);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 0 12px rgba(255, 45, 251, 0.18);
  transition: 0.2s ease;
  text-decoration:none;
}

.icon-link:hover{
  background: rgba(255,45,251,0.15);
  box-shadow: 0 0 18px rgba(255, 45, 251, 0.35), 0 0 22px rgba(0, 246, 255, 0.18);
  transform: translateY(-1px);
}

.icon-link svg{
  width: 18px;
  height: 18px;
  fill: var(--text-main);
  filter: drop-shadow(0 0 6px rgba(0,246,255,0.25));
}

main{
  padding-top: calc(var(--header-h) + 20px);
}

.container{
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px 80px 18px;
}

.section{
  margin-top: 34px;
  padding: 22px 22px;
  border-radius: 20px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,45,251,0.26);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(255,45,251,0.16), 0 0 24px rgba(0,246,255,0.08);
}

.section h2{
  margin: 0 0 16px 0;
  font-size: 26px;
}

.section p{
  margin: 0 0 12px 0;
  line-height: 1.6;
  color: var(--text-main);
  text-shadow: 0 0 6px rgba(255,45,251,0.18);
}

.cards-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px){
  .cards-grid.three{
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid.auto{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px){
  .cards-grid.auto{
    grid-template-columns: repeat(3, 1fr);
  }
}

.release-card{
  display:grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 16px;
}

.release-card img{
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,45,251,0.35);
  box-shadow: 0 0 14px rgba(0,246,255,0.18), 0 0 18px rgba(255,45,251,0.22);
  background: rgba(0,0,0,0.25);
}

.release-card .text{
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.two-col{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.discord-embed iframe {
  max-width: 90%;
  width: 90%;
}

@media (max-width: 700px){
  .container{
    width: 92%
  }
}


@media (min-width: 900px){
  .two-col{
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
  .discord-embed iframe{
    width: 250px;
    height: 400px;
  }
}

.listen-buttons{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
}

.listen-buttons a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,45,251,0.35);
  background: rgba(0,0,0,0.32);
  color: var(--neon-pink);
  text-decoration:none;
  text-shadow: 0 0 6px rgba(255,45,251,0.35);
  box-shadow: 0 0 14px rgba(255,45,251,0.18);
  transition: 0.2s ease;
}

.listen-buttons a:hover{
  background: rgba(255,45,251,0.14);
  box-shadow: 0 0 18px rgba(255,45,251,0.35), 0 0 22px rgba(0,246,255,0.18);
  transform: translateY(-1px);
}

.footer{
  margin-top: 26px;
  display:flex;
  justify-content:center;
  padding: 18px 0 0 0;
}

.footer a{
  color: var(--text-dim);
  text-decoration:none;
  text-shadow: 0 0 6px rgba(0,246,255,0.15);
}

.footer a:hover{
  color: var(--neon-blue);
}

.anchor-links{
  display:none;
  gap:10px;
  margin-left: 12px;
}

@media (min-width: 900px){
  .anchor-links{
    display:flex;
  }
  .anchor-links a{
    color: var(--neon-pink);
    text-decoration:none;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,45,251,0.28);
    background: rgba(0,0,0,0.25);
    text-shadow: 0 0 6px rgba(255,45,251,0.28);
  }
  .anchor-links a:hover{
    background: rgba(255,45,251,0.14);
    box-shadow: 0 0 14px rgba(255,45,251,0.28);
  }
}

/* Admin minimal tweaks */
.admin-wrap{
  max-width: 1050px;
  margin: 0 auto;
  padding: 18px;
}

.admin-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 1100px){
  .admin-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.table{
  width:100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th, .table td{
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,45,251,0.18);
  vertical-align: top;
}

.table th{
  color: var(--neon-blue);
  text-align:left;
}

.small{
  font-size: 12px;
  color: var(--text-dim);
}

.flash{
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,246,255,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--text-main);
}

.icon-emoji{
  display:inline-flex;
  vertical-align: -0.15em;
  margin: 0 0.12em;
}

.icon-emoji svg{
  width: 1.2em;
  height: 1.2em;
  color: #ffffff;
  filter:
    drop-shadow(0 0 6px rgba(0,246,255,0.6))
    drop-shadow(0 0 12px rgba(255,45,251,0.35));
}

/* --- Legibility overrides (cards + section panels) --- */

/* Make section panels a bit less transparent so the background doesn't fight the text */
.section{
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
}

/* Make cards darker/more solid */
.card{
  background: rgba(10, 0, 18, 0.78);
}

/* Make card body text readable */
.release-card .text{
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  text-shadow:
    0 1px 0 rgba(0,0,0,0.85),
    0 0 10px rgba(0,246,255,0.10);
}

/* Optional: headings inside text blocks (first line) tends to look nicer slightly bolder */
.release-card .text strong{
  font-weight: 700;
}

/* Discord + Listen in the same row */
.two-sections{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px){
  .two-sections{
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }

  /* Make both boxes feel aligned vertically */
  .two-sections > .section{
    height: 100%;
  }
}

/* Listen buttons vertical and centered */
.listen-buttons.vertical{
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.listen-buttons.vertical a{
  width: 100%;
  max-width: 320px;
  text-align: center;
}

/* Make sure footer is never visually covered by content */
.footer{
  position: relative;
  z-index: 2;
  margin-top: 32px;
  padding-bottom: 32px;
}