
:root {
  --bg: #05040a;
  --bg-alt: #07040f;
  --card: #0e060f;
  --accent: #ff8a3c;
  --accent-soft: rgba(255,138,60,0.16);
  --text: #fdf7ff;
  --muted: #a390b0;
  --border: #2b1a32;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255,138,60,0.25) 0, transparent 45%),
    radial-gradient(circle at bottom, #050208 0, #020005 50%, #010002 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 3.8rem;
}

/* HEADER / NAV */

header.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.4rem 0 1.3rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* LOGO: ersetzt Badge durch Feuer-Logo (etwas größer) */
.logo-mark {
  width: 82px;
  height: 82px;
  background-image: url("logo-hotdealz.png");
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  box-shadow:
    0 18px 35px rgba(0,0,0,0.9),
    0 0 40px rgba(255,138,60,0.45);
  text-indent: -9999px;
  overflow: hidden;
}

.logo-text-title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-text-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.84rem;
}

nav.main-nav a {
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(138,113,167,0.55);
  color: var(--muted);
  background: rgba(6,3,13,0.9);
  box-shadow: 0 4px 14px rgba(0,0,0,0.7);
}

nav.main-nav a.active {
  border-color: rgba(255,138,60,0.9);
  color: #ffddd0;
  background:
    radial-gradient(circle at 30% 0, rgba(255,255,255,0.3), transparent 45%),
    linear-gradient(135deg, #ff8a3c, #ff5a24);
  box-shadow:
    0 0 22px rgba(255,138,60,0.6),
    0 10px 24px rgba(0,0,0,0.9);
}

nav.main-nav a:hover {
  border-color: rgba(255,138,60,0.9);
  color: #ffe6d5;
  text-decoration: none;
}

/* HERO */

.hero {
  margin-top: 1.7rem;
  padding: 1.9rem 1.7rem 4.0rem;
  border-radius: 1.8rem;
  border: 1px solid #382046;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.92)),
    radial-gradient(circle at top, rgba(255,138,60,0.35) 0, transparent 55%),
    url("bg-flames.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  box-shadow:
    0 26px 60px rgba(0,0,0,0.95),
    0 0 80px rgba(255,138,60,0.28);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -55%;
  height: 70%;
  background: radial-gradient(ellipse at top, rgba(255,138,60,0.7), transparent 65%);
  opacity: 0.7;
}

.hero-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(10, 230, 180, 0.08);
  border: 1px solid rgba(10, 230, 180, 0.3);
  color: #b8fff1;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
}

.hero h1 {
  position: relative;
  margin: 0 0 0.45rem;
  font-size: clamp(2.0rem, 3.4vw, 2.6rem);
  letter-spacing: 0.04em;
}

.hero p {
  position: relative;
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  font-size: 0.98rem;
}

.hero-cta {
  position: absolute;
  left: 2.0rem;
  right: 2.0rem;
  bottom: 0.1rem;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* BUTTONS */

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background:
    radial-gradient(circle at 20% 0, rgba(255,255,255,0.3), transparent 55%),
    linear-gradient(135deg, #ffb347, #ff8a3c, #ff5a24);
  color: #1c0603;
  border-color: rgba(0,0,0,0.8);
  font-weight: 600;
  box-shadow:
    0 14px 32px rgba(0,0,0,0.95),
    0 0 34px rgba(255,138,60,0.7);
}

.btn-primary:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.btn-ghost {
  background: rgba(5,3,11,0.95);
  color: var(--muted);
  border-color: rgba(130,104,160,0.7);
  box-shadow: 0 10px 26px rgba(0,0,0,0.9);
}

.btn-ghost:hover {
  border-color: rgba(255,138,60,0.9);
  color: #ffdccc;
  text-decoration: none;
}

/* LAYOUT */

.layout-two {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 1.8rem;
}

@media (max-width: 900px) {
  .layout-two {
    grid-template-columns: minmax(0,1fr);
  }
}

/* CARDS */

.card {
  background:
    radial-gradient(circle at top, rgba(255,138,60,0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(0,0,0,0.9), #050208 70%),
    linear-gradient(145deg, #120716, #07030d);
  border-radius: 1.6rem;
  border: 1px solid #362141;
  padding: 1.3rem 1.35rem 1.5rem;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.95),
    0 0 40px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(255,138,60,0.16), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card p {
  margin: 0.3rem 0 0.9rem;
  font-size: 0.93rem;
  color: var(--muted);
}

/* CHANNEL TILES */

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.chan-tile {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.06);
  background:
    radial-gradient(circle at top, rgba(255,138,60,0.22), transparent 60%),
    linear-gradient(145deg, #110712, #050208);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
  box-shadow:
    0 14px 30px rgba(0,0,0,0.9);
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, border-color 0.16s ease-out;
}

.chan-tile span.label {
  font-size: 0.8rem;
  color: var(--muted);
}

.chan-tile strong {
  font-size: 0.96rem;
}

.chan-tile:hover {
  border-color: rgba(255,138,60,0.9);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(0,0,0,0.98),
    0 0 34px rgba(255,138,60,0.45);
}

/* LISTS & SECTIONS */

.list {
  margin: 0.35rem 0 0.7rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.list li { margin-bottom: 0.28rem; }

.section {
  margin-top: 2.5rem;
}

.section h1, .section h2 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.section h3 {
  font-size: 1rem;
  margin: 1.2rem 0 0.35rem;
}

.section p {
  font-size: 0.96rem;
  color: var(--muted);
  margin: 0.35rem 0;
}

/* LEGAL TEXT */

.legal {
  font-size: 0.92rem;
  color: var(--muted);
}

.legal ul {
  padding-left: 1.1rem;
  margin: 0.25rem 0 0.7rem;
}

.legal li { margin-bottom: 0.3rem; }

/* FOOTER */


/* CHANNEL HEADER WITH MINI LOGOS */
.chan-header {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.25rem;
}

.chan-titles .label {
  display: block;
}


.chan-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: 0 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 10px 20px rgba(0,0,0,0.95),
    0 0 22px rgba(0,0,0,0.8);
}

.chan-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Farbige Fallbacks, falls keine eigenen Brand-Icons hinterlegt sind */
.chan-icon-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.chan-icon-telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
}
.chan-icon-facebook {
  background: linear-gradient(135deg, #1877F2, #0b5bd3);
}
.chan-icon-instagram {
  background:
    radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 10%, #fd5949 50%, #d6249f 75%, #285AEB 100%);
}


.chan-icon-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}


.chan-icon-telegram {
  background: linear-gradient(135deg, #2AABEE, #229ED9);
}


.chan-icon-facebook {
  background: linear-gradient(135deg, #1877F2, #0b5bd3);
}


.chan-icon-instagram {
  background:
    radial-gradient(circle at 30% 30%, #fdf497 0, #fdf497 10%, #fd5949 50%, #d6249f 75%, #285AEB 100%);
}


/* Hero-CTA mobil nicht absolut positionieren */
@media (max-width: 640px) {
  .hero {
    padding-bottom: 2.4rem;
  }
  .hero-cta {
    position: static;
    margin-top: 1.4rem;
  }
}

footer.site-footer {
  margin-top: 3.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2f1b38;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.tagline {
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Admin-Panel Basis */
.admin-form {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form textarea {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.4);
  color: #fff;
}
.admin-form .btn {
  margin-top: 0.6rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.admin-table th,
.admin-table td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-table th {
  text-align: left;
  font-weight: 600;
}
.admin-table tr:hover {
  background: rgba(255,255,255,0.05);
}
.pager {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Kategorien-Leiste & Badges */
.category-bar {
  margin: 0.75rem 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.category-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(0,0,0,0.3));
}
.category-pill.active {
  border-color: rgba(255,180,80,0.9);
  background: radial-gradient(circle at top left, rgba(255,180,80,0.45), rgba(0,0,0,0.7));
  color: #fff;
}
.deal-cat-badges {
  margin-top: 0.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.deal-cat-badge {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.15);
}
