/* ===== Wirtshaus Landing Page ===== */
/* Design nach schaf.png — Rustikale Holzrahmen-Optik */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700;800&family=IM+Fell+English+SC&display=swap');

:root {
  /* Holz-Palette */
  --wood-dark: #1e0f08;
  --wood-bg: #2c1810;
  --wood-mid: #4a2818;
  --wood-light: #6a4428;
  --wood-highlight: #8a5e38;
  /* Text/Gold */
  --cream: #f0d890;
  --gold: #d4a840;
  --gold-bright: #f0d060;
  --text-light: #e8d4a8;
  --text-dim: #b89860;
  /* Akzente */
  --green-dark: #2a5020;
  --green: #3a7030;
  --green-light: #4a8a40;
  --red-accent: #8b2020;
  --blue-accent: #2a4a78;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; }
body {
  font-family: 'Cinzel', 'IM Fell English SC', Georgia, serif;
  background: var(--wood-dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Hauptrahmen ===== */
.frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 28px 16px;
  background:
    /* Holzmaserung simuliert */
    repeating-linear-gradient(
      92deg,
      transparent,
      rgba(0,0,0,.08) 2px,
      transparent 4px,
      rgba(255,255,255,.03) 6px
    ),
    /* Vignette */
    radial-gradient(ellipse at center, rgba(90,50,20,.3) 20%, transparent 70%),
    /* Basis-Holz */
    linear-gradient(170deg, #4a2818 0%, #3a1e10 30%, #2c1508 70%, #1e0e06 100%);
  border-radius: 18px;
  border: 4px solid #1a0c04;
  box-shadow:
    inset 0 0 60px rgba(0,0,0,.5),
    inset 0 0 8px rgba(255,200,100,.08),
    0 0 0 2px #5a3820,
    0 0 0 6px #2a1408,
    0 0 0 8px #1a0c04,
    0 20px 60px rgba(0,0,0,.7);
  overflow: hidden;
}

/* Holzrahmen-Ecken */
.frame::before,
.frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(180,120,60,.3);
  z-index: 5;
}
.frame::before {
  top: 8px; left: 8px;
  border-right: none; border-bottom: none;
  border-radius: 8px 0 0 0;
}
.frame::after {
  top: 8px; right: 8px;
  border-left: none; border-bottom: none;
  border-radius: 0 8px 0 0;
}

/* ===== Laternen ===== */
.lantern {
  position: absolute;
  top: 60px;
  z-index: 6;
  text-align: center;
}
.lantern--left { left: -8px; }
.lantern--right { right: -8px; }
.lantern__body {
  font-size: 36px;
  filter: drop-shadow(0 0 12px rgba(255,180,60,.6));
  animation: lantern-flicker 3s ease-in-out infinite alternate;
}
.lantern__glow {
  position: absolute;
  width: 80px;
  height: 80px;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,180,60,.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes lantern-flicker {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 1; }
}

/* ===== Dekorative Elemente ===== */
.deco {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}
.deco--hops-right { top: 12px; right: 50px; font-size: 28px; transform: rotate(20deg); opacity: .7; }
.deco--beer-right { bottom: 90px; right: 10px; font-size: 42px; transform: rotate(-8deg); opacity: .6; }
.deco--beer-left { bottom: 90px; left: 10px; font-size: 42px; transform: rotate(8deg) scaleX(-1); opacity: .6; }

/* ===== Banner/Header ===== */
.banner {
  text-align: center;
  padding: 8px 0 14px;
  position: relative;
}
.banner__scroll {
  display: inline-block;
  padding: 10px 40px;
  background:
    linear-gradient(180deg,
      rgba(255,220,140,.15) 0%,
      rgba(90,50,20,.4) 30%,
      rgba(60,30,10,.5) 100%);
  border: 2px solid rgba(180,120,60,.35);
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255,220,140,.15),
    0 4px 16px rgba(0,0,0,.4);
  position: relative;
}
/* Schnörkel links/rechts */
.banner__scroll::before,
.banner__scroll::after {
  content: '~';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: rgba(180,140,80,.4);
}
.banner__scroll::before { left: 10px; }
.banner__scroll::after { right: 10px; }

.banner h1 {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(16px, 2.6vw, 24px);
  font-weight: 700;
  color: var(--cream);
  text-shadow:
    0 1px 0 rgba(0,0,0,.5),
    0 0 20px rgba(255,200,100,.2);
  letter-spacing: 1px;
}

/* ===== Spiele-Panels ===== */
.games {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 10px;
  margin-bottom: 16px;
}

.game-panel {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255,200,100,.08), transparent 70%),
    linear-gradient(180deg, rgba(80,40,20,.6) 0%, rgba(40,20,10,.8) 100%);
  border: 2px solid rgba(140,90,40,.35);
  border-radius: 14px;
  padding: 0;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,220,140,.1),
    0 8px 24px rgba(0,0,0,.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.game-panel:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255,220,140,.15),
    0 12px 32px rgba(0,0,0,.6);
}

/* Spiel-Schilder */
.game-panel__sign {
  padding: 10px 12px 8px;
  background:
    linear-gradient(180deg,
      rgba(90,50,20,.6) 0%,
      rgba(60,30,10,.8) 100%);
  border-bottom: 2px solid rgba(140,90,40,.3);
  position: relative;
}
.game-panel__sign::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,200,100,.3), transparent);
}
.game-panel__sign h2 {
  font-family: 'Cinzel Decorative', 'Cinzel', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 900;
  color: var(--cream);
  text-shadow:
    0 2px 0 rgba(0,0,0,.6),
    0 0 15px rgba(255,200,100,.15);
}

/* Illustrationen */
.game-panel__illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  min-height: 120px;
  position: relative;
}

/* Kartenfächer */
.card-fan {
  position: relative;
  width: 140px;
  height: 100px;
}
.mini-card {
  position: absolute;
  font-size: 48px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
  transition: transform .3s;
}
.card-fan .mc1 { left: 10px; top: 10px; transform: rotate(-15deg); }
.card-fan .mc2 { left: 35px; top: 0;    transform: rotate(-5deg); }
.card-fan .mc3 { left: 60px; top: 0;    transform: rotate(5deg); }
.card-fan .mc4 { left: 85px; top: 10px; transform: rotate(15deg); }
.fan-17 .mc1 { left: 20px; top: 10px; transform: rotate(-12deg); }
.fan-17 .mc2 { left: 50px; top: 0; transform: rotate(0deg); }
.fan-17 .mc3 { left: 80px; top: 10px; transform: rotate(12deg); }
.game-panel:hover .mini-card { filter: drop-shadow(0 4px 12px rgba(255,200,100,.3)); }

/* Watten-Szene */
.watten-scene {
  text-align: center;
}
.scene-icon {
  display: block;
  font-size: 52px;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.5));
}
.scene-text {
  font-family: 'IM Fell English SC', serif;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: .5px;
}

/* Jetzt Spielen Button */
.play-btn {
  display: block;
  margin: 0 16px 14px;
  padding: 10px 18px;
  background:
    linear-gradient(180deg,
      var(--green-light) 0%,
      var(--green) 40%,
      var(--green-dark) 100%);
  border: 2px solid rgba(100,160,60,.5);
  border-radius: 10px;
  color: var(--cream);
  font-family: 'Cinzel', serif;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.15),
    0 3px 10px rgba(0,0,0,.4);
  transition: all .15s;
  letter-spacing: .5px;
}
.play-btn:hover {
  background:
    linear-gradient(180deg,
      #5a9a48 0%,
      var(--green-light) 40%,
      var(--green) 100%);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    0 5px 14px rgba(0,0,0,.5),
    0 0 12px rgba(100,180,60,.2);
}
.play-btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}

/* ===== Feature-Leiste ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 10px;
  margin-bottom: 14px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background:
    linear-gradient(180deg, rgba(60,30,15,.6), rgba(30,15,8,.8));
  border: 1px solid rgba(140,90,40,.25);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-light);
  box-shadow:
    inset 0 1px 0 rgba(255,220,140,.06),
    0 4px 12px rgba(0,0,0,.3);
  transition: all .2s;
}
.feature-item:hover {
  border-color: rgba(180,120,60,.4);
  background:
    linear-gradient(180deg, rgba(80,40,20,.6), rgba(40,20,10,.8));
  color: var(--cream);
}
.feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
}
.feature-label {
  font-family: 'Cinzel', serif;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: .3px;
}

/* ===== Footer-Leiste ===== */
.bottom-bar {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px 4px;
  border-top: 1px solid rgba(140,90,40,.2);
}
.bottom-bar a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: clamp(10px, 1.2vw, 13px);
  font-weight: 600;
  border-radius: 6px;
  transition: all .15s;
}
.bottom-bar a:hover {
  color: var(--cream);
  background: rgba(255,200,100,.08);
}
.foot-icon {
  font-size: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  body { overflow: auto; }
  .frame {
    margin: 10px;
    max-width: none;
    border-radius: 12px;
  }
  .games { grid-template-columns: 1fr; gap: 12px; }
  .features { grid-template-columns: 1fr; gap: 8px; }
  .bottom-bar { flex-wrap: wrap; }
  .lantern { display: none; }
  .deco { display: none; }
  .banner__scroll { padding: 8px 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .frame { padding: 16px 20px 12px; }
  .lantern { display: none; }
  .deco--beer-left, .deco--beer-right { display: none; }
}

/* ===== Ambience-Animation ===== */
@keyframes warm-glow {
  0%, 100% { box-shadow: inset 0 0 60px rgba(0,0,0,.5), inset 0 0 8px rgba(255,200,100,.08); }
  50% { box-shadow: inset 0 0 60px rgba(0,0,0,.45), inset 0 0 12px rgba(255,200,100,.12); }
}
.frame { animation: warm-glow 6s ease-in-out infinite; }
