/* Baumholz Home – Global Styles */
:root {
  --bg: #0a0805;
  --text: #f5efe6;
  --gold: #d4a15a;
  --gold-2: #f0d7a1;
  --gold-3: #b8945a;
  --green: #2f6f3e;
  --muted: #9a8663;
  --container: 1100px;
}

* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html, body { 
  height: 100%; 
  overflow-x: hidden; /* Prevent horizontal scrolling */
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(212,161,90,0.12), transparent 60%),
    radial-gradient(50% 40% at 50% 100%, rgba(240,215,161,0.08), transparent 60%),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  font-size: 16px; /* Base font size for mobile */
  max-width: 100vw;
  position: relative;
}

/* Prevent horizontal overflow */
.container { 
  width: 100%; 
  max-width: min(100% - 2rem, var(--container)); 
  margin-inline: auto; 
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .container {
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
  }
}

/* Enhanced Mobile-First Responsive Design */
h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

@media (min-width: 768px) {
  body { font-size: 17px; }
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
}

@media (min-width: 1024px) {
  body { font-size: 18px; }
  h1 { font-size: 4rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
}

/* Header - Restored Beautiful Design */
.header {
  background: linear-gradient(180deg, rgba(10,8,5,0.95), rgba(10,8,5,0.8));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,161,90,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 0;
}

@media (max-width: 767px) {
  .header {
    padding: 0.6rem 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 767px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.5rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  color: var(--gold-2);
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .brand {
    font-size: 0.9rem;
    gap: 0.5rem;
  }
}

.brand img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 10px rgba(212,161,90,0.4));
}

@media (max-width: 767px) {
  .brand img {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 768px) {
  .brand {
    font-size: 1.1rem;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
}

/* Navigation - Restored Beautiful Design */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav {
    gap: 0.8rem;
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav {
    gap: 1.5rem;
  }
}

.nav .btn {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1f12;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(212,161,90,0.5);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav .btn {
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

@media (min-width: 768px) {
  .nav .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

.nav .btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.nav .btn:active {
  transform: translateY(0);
}

.nav .btn-small {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(212,161,90,0.3);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .nav .btn-small {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav .btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

.nav .btn-small:hover {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,161,90,0.4);
}

.hero-logo img { 
  width: 150px; 
  height: 150px; 
  filter: drop-shadow(0 0 20px rgba(212,161,90,0.5));
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .hero-logo img { width: 200px; height: 200px; }
}

.hero-logo img:hover {
  filter: drop-shadow(0 0 30px rgba(212,161,90,0.7));
  transform: scale(1.05);
}

/* Buttons - Restored Beautiful Golden Design */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1f12;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(212,161,90,0.5);
  box-shadow: 0 8px 25px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  text-align: center;
  min-width: 120px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 767px) {
  .btn {
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    min-width: 140px;
    border-radius: 10px;
  }
}

.btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0px);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid rgba(212,161,90,0.4);
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  min-width: 80px;
}

@media (max-width: 767px) {
  .btn-small {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
    min-width: 100px;
  }
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  border: 1px solid rgba(212,161,90,0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212,161,90,0.1);
  border-color: rgba(212,161,90,0.5);
  color: var(--gold-2);
}

/* Hero Section - Mobile Optimized */
.hero { 
  padding: 3rem 0 2rem; 
  text-align: center; 
}

@media (min-width: 768px) {
  .hero { padding: 6rem 0 4rem; }
}

.hero-logo {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-logo { margin-bottom: 1.5rem; }
}

.subtitle { 
  font-size: 1.1rem; 
  color: var(--text-light); 
  margin-bottom: 0.5rem; 
}

@media (min-width: 768px) {
  .subtitle { font-size: 1.3rem; }
}

.date { 
  font-size: 1rem; 
  color: var(--gold-2); 
  margin-bottom: 1.5rem; 
  font-weight: 600;
}

@media (min-width: 768px) {
  .date { font-size: 1.1rem; margin-bottom: 2rem; }
}

.cta-row { 
  display: flex; 
  flex-direction: column;
  gap: 1rem; 
  justify-content: center; 
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-row { 
    flex-direction: row;
    gap: 0.75rem; 
    margin-bottom: 2rem;
  }
}

/* Enhanced Countdown - Mobile Optimized */
.countdown { 
  display: flex; 
  gap: 0.5rem; 
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .countdown { gap: 1rem; margin-top: 2rem; }
}

.countdown > div { 
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(212,161,90,0.3); 
  border-radius: 10px; 
  padding: 0.8rem 0.6rem; 
  min-width: 60px; 
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .countdown > div { 
    border-radius: 12px; 
    padding: 1rem 0.8rem; 
    min-width: 80px; 
  }
}

.countdown > div:hover {
  background: rgba(212,161,90,0.1);
  border-color: rgba(212,161,90,0.5);
  transform: translateY(-2px);
}

.countdown span { 
  display: block; 
  font-size: 1.5rem; 
  font-weight: 700; 
  color: var(--gold-2); 
  line-height: 1;
}

@media (min-width: 768px) {
  .countdown span { font-size: 2rem; }
}

.countdown small { 
  display: block; 
  font-size: 0.7rem; 
  color: var(--text-light); 
  margin-top: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .countdown small { 
    font-size: 0.8rem; 
    margin-top: 0.3rem;
    letter-spacing: 1px;
  }
}

/* Hero text styles - Mobile Optimized */
.brand-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 0.5rem;
  font-family: Cinzel, serif;
}

@media (min-width: 768px) {
  .brand-name { font-size: 1.8rem; }
}

.main-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-family: Cinzel, serif;
  text-shadow: 0 0 30px rgba(255,255,255,0.3);
  letter-spacing: 1px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .main-title { 
    font-size: 3.5rem; 
    letter-spacing: 2px;
    line-height: 1.1;
  }
}

@media (min-width: 1024px) {
  .main-title { font-size: 4rem; }
}

/* Sections - Mobile Optimized */
.section { padding: 2rem 0; }

@media (min-width: 768px) {
  .section { padding: 4rem 0; }
}

/* Timeline - Mobile Optimized */
.timeline { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  border-left: 2px solid rgba(212,161,90,0.4); 
  position: relative; 
}

.timeline li { 
  display: grid; 
  grid-template-columns: 4rem 1fr; 
  align-items: center; 
  gap: 1rem; 
  padding: 1rem 0 1rem 1rem; 
  position: relative; 
}

@media (min-width: 768px) {
  .timeline li { 
    grid-template-columns: 5rem 1fr; 
    gap: 1.2rem; 
  }
}

.timeline li::before { 
  content: ""; 
  position: absolute; 
  left: -7px; 
  width: 12px; 
  height: 12px; 
  background: var(--gold); 
  border-radius: 50%; 
  box-shadow: 0 0 15px rgba(212,161,90,0.9); 
}

.timeline .time { 
  color: var(--gold-2); 
  font-weight: 700; 
  letter-spacing: 0.04em; 
  font-size: 0.9rem; 
}

@media (min-width: 768px) {
  .timeline .time { font-size: 1.1rem; }
}

.card { 
  background: rgba(255,255,255,0.04); 
  border: 1px solid rgba(212,161,90,0.3); 
  padding: 1rem; 
  border-radius: 12px; 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .card { 
    padding: 1.2rem; 
    border-radius: 16px; 
  }
}

.card:hover {
  border-color: rgba(212,161,90,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 6px 25px rgba(0,0,0,0.3);
}

/* Ticket Section */
.ticket-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) { 
  .ticket-info { grid-template-columns: 1fr; } 
}

.ticket-card {
  background: linear-gradient(135deg, rgba(212,161,90,0.1), rgba(240,215,161,0.05));
  border: 2px solid rgba(212,161,90,0.4);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.ticket-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,161,90,0.6);
  box-shadow: 0 8px 24px rgba(212,161,90,0.2);
}

.ticket-card h3 {
  color: var(--gold-2);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  font-family: 'Georgia', serif;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

.ticket-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.ticket-features li {
  padding: 0.5rem 0;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(212,161,90,0.1);
  font-family: 'Arial', sans-serif;
}

.ticket-features li:last-child {
  border-bottom: none;
}

.tombola-card {
  background: linear-gradient(135deg, rgba(47,111,62,0.1), rgba(47,111,62,0.05));
  border: 2px solid rgba(47,111,62,0.4);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tombola-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47,111,62,0.6);
  box-shadow: 0 8px 24px rgba(47,111,62,0.2);
}

.tombola-card h3 {
  color: #2F6F3E;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Georgia', serif;
  text-shadow: 0 0 10px rgba(47,111,62,0.3);
}

.tombola-card p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-family: 'Arial', sans-serif;
}

.tombola-prize {
  color: #2F6F3E;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(47,111,62,0.1);
  border-radius: 8px;
  border: 1px solid rgba(47,111,62,0.2);
  font-family: 'Arial', sans-serif;
}

.ticket-note {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 1rem;
  margin-top: 1rem;
  font-family: 'Arial', sans-serif;
}

/* Donation section */
.donation-section {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(212,161,90,0.1) 0%, rgba(184,148,90,0.05) 100%);
  border-radius: 16px;
  border: 1px solid rgba(212,161,90,0.2);
}

.donation-section h3 {
  color: var(--gold-2);
  margin-bottom: 1rem;
  text-align: center;
}

.donation-progress {
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-1) 0%, var(--gold-2) 50%, var(--gold-3) 100%);
  border-radius: 10px;
  transition: width 1s ease-in-out;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.progress-text {
  text-align: center;
  font-weight: 600;
  color: var(--gold-2);
}

.progress-text .current {
  color: var(--gold-2);
}

.progress-text .goal {
  color: var(--muted);
}

/* Top Participants */
.top-participants {
  text-align: center;
}

.top-participants h4 {
  color: var(--gold-2);
  margin-bottom: 1rem;
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.participant {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border: 1px solid rgba(212,161,90,0.2);
  transition: all 0.3s ease;
}

.participant:hover {
  background: rgba(212,161,90,0.1);
  transform: translateX(5px);
}

.participant.empty {
  opacity: 0.6;
  font-style: italic;
}

.participant .name {
  font-weight: 600;
  color: var(--gold-2);
}

.participant .tickets {
  color: var(--text-light);
  font-size: 0.9em;
}

/* Piggy bank animation */
.piggy-bank {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  position: relative;
  animation: piggyBounce 2s ease-in-out infinite;
}

.piggy-bank::before {
  content: '🐷';
  font-size: 50px;
  position: absolute;
  top: 0;
  left: 0;
  animation: piggyFill 3s ease-in-out infinite;
}

@keyframes piggyBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes piggyFill {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Enhanced Stage Plan - Mobile Optimized */
.stage-plan {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212,161,90,0.2);
}

@media (min-width: 768px) {
  .stage-plan {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

.house-layout {
  position: relative;
  max-width: 800px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(212,161,90,0.05), rgba(240,215,161,0.02));
  border: 1px solid rgba(212,161,90,0.2);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .house-layout {
    margin: 2rem auto 0;
    padding: 2rem;
    border-radius: 20px;
  }
}

/* Floor connections - REMOVED MIDDLE LINE */
/* .house-layout::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(212,161,90,0.3), transparent);
  transform: translateX(-50%);
  z-index: 1;
} */

.house-floor {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
  z-index: 2;
  flex-direction: column;
}

@media (min-width: 768px) {
  .house-floor {
    flex-direction: row;
    gap: 1rem;
  }
}

.house-floor.attic {
  margin-bottom: 1.5rem;
}

.house-floor.main {
  margin: 1.5rem 0;
}

.house-floor.basement {
  margin-top: 1.5rem;
}

/* Floor labels */
.house-floor::after {
  position: static;
  font-family: Cinzel, serif;
  font-size: 0.7rem;
  color: var(--gold-2);
  font-weight: 600;
  opacity: 0.7;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .house-floor::after {
    position: absolute;
    right: -80px;
    margin-top: 0;
    font-size: 0.8rem;
  }
}

.house-floor.attic::after { content: '2. OG'; }
.house-floor.main::after { content: 'EG'; }
.house-floor.basement::after { content: 'Keller'; }

/* Room styling - Mobile Optimized */
.room {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 2px solid rgba(212,161,90,0.4);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  min-width: 120px;
  min-height: 80px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 200px;
}

@media (min-width: 768px) {
  .room {
    min-width: 140px;
    min-height: 100px;
    padding: 1.2rem;
    width: auto;
  }
}

.room::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(45deg, transparent, rgba(212,161,90,0.1), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

@media (min-width: 768px) {
  .room::before {
    border-radius: 16px;
  }
}

.room:hover { 
  transform: translateY(-4px) scale(1.02); 
  border-color: rgba(212,161,90,0.7); 
  box-shadow: 0 8px 30px rgba(212,161,90,0.3), 0 0 20px rgba(212,161,90,0.1); 
}

.room:hover::before { opacity: 1; }

.room h4 { 
  margin: 0 0 0.5rem 0; 
  color: var(--gold-2); 
  font-size: 0.9rem; 
  font-weight: 600; 
  text-shadow: 0 0 10px rgba(212,161,90,0.3); 
}

@media (min-width: 768px) {
  .room h4 { font-size: 1rem; }
}

.room p { 
  margin: 0; 
  font-size: 0.8rem; 
  color: var(--text); 
  opacity: 0.9; 
  line-height: 1.4; 
}

@media (min-width: 768px) {
  .room p { font-size: 0.85rem; }
}

/* Room icons */
.room::after { 
  content: ''; 
  position: absolute; 
  top: 8px; 
  right: 8px; 
  width: 16px; 
  height: 16px; 
  border-radius: 50%; 
  opacity: 0.6; 
}

/* Specific room styling with icons */
.room-bunker { background: linear-gradient(135deg, rgba(47,111,62,0.15), rgba(47,111,62,0.08)); border-color: rgba(47,111,62,0.5); }
.room-bunker::after { background: linear-gradient(45deg, #2F6F3E, #4A7C59); box-shadow: 0 0 8px rgba(47,111,62,0.5); }
.room-bunker:hover { border-color: rgba(47,111,62,0.8); box-shadow: 0 8px 30px rgba(47,111,62,0.4), 0 0 20px rgba(47,111,62,0.2); }

.room-main-stage { 
  background: linear-gradient(135deg, rgba(212,161,90,0.15), rgba(240,215,161,0.08)); 
  border-color: rgba(212,161,90,0.5); 
  min-width: 140px; 
}

@media (min-width: 768px) {
  .room-main-stage { min-width: 160px; }
}

.room-main-stage::after { background: linear-gradient(45deg, #D4A15A, #F0D7A1); box-shadow: 0 0 8px rgba(212,161,90,0.5); }

.room-garage { background: linear-gradient(135deg, rgba(184,148,90,0.12), rgba(184,148,90,0.06)); border-color: rgba(184,148,90,0.5); }
.room-garage::after { background: linear-gradient(45deg, #B8945A, #D4A15A); box-shadow: 0 0 8px rgba(184,148,90,0.5); }

.room-living { background: linear-gradient(135deg, rgba(240,215,161,0.12), rgba(240,215,161,0.06)); border-color: rgba(240,215,161,0.5); }
.room-living::after { background: linear-gradient(45deg, #F0D7A1, #D4A15A); box-shadow: 0 0 8px rgba(240,215,161,0.5); }

.room-marc, .room-nick { 
  background: linear-gradient(135deg, rgba(154,134,99,0.12), rgba(154,134,99,0.06)); 
  border-color: rgba(154,134,99,0.5); 
  min-width: 100px; 
}

@media (min-width: 768px) {
  .room-marc, .room-nick { min-width: 120px; }
}

.room-marc::after, .room-nick::after { background: linear-gradient(45deg, #9A8663, #B8945A); box-shadow: 0 0 8px rgba(154,134,99,0.5); }

/* Room descriptions with icons */
.room-bunker p::before { content: '🎵 '; margin-right: 4px; }
.room-main-stage p::before { content: '🎤 '; margin-right: 4px; }
.room-garage p::before { content: '🍺 '; margin-right: 4px; }
.room-living p::before { content: '🛋️ '; margin-right: 4px; }
.room-marc p::before { content: '👕 '; margin-right: 4px; }
.room-nick p::before { content: '🎤 '; margin-right: 4px; }

/* Info grid - Mobile Optimized */
.info-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 1rem; 
}

@media (min-width: 768px) {
  .info-grid { 
    grid-template-columns: repeat(2, minmax(0,1fr)); 
    gap: 1.2rem; 
  }
}

/* Countdown */
.countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(70px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.countdown div { background: rgba(255,255,255,0.04); border: 1px solid rgba(212,161,90,0.3); border-radius: 16px; padding: 0.8rem 1rem; min-width: 80px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.countdown span { font-family: Cinzel, serif; font-size: 1.8rem; display: block; color: var(--gold-2); }
.countdown small { color: var(--muted); }

/* Footer - Mobile Optimized */
.site-footer { 
  border-top: 1px solid rgba(212,161,90,0.25); 
  margin-top: 2rem; 
}

@media (min-width: 768px) {
  .site-footer { margin-top: 3rem; }
}

.footer-inner { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  gap: 1rem; 
  padding: 1.5rem 0; 
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner { 
    flex-direction: row;
    justify-content: space-between; 
    text-align: left;
  }
}

.footer-nav { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap;
  justify-content: center;
}

/* Utilities - Mobile Optimized */
.address { 
  font-style: normal; 
  color: var(--gold-2); 
  font-size: 1rem; 
}

@media (min-width: 768px) {
  .address { font-size: 1.1rem; }
}

.noscript { color: var(--gold-2); }

/* Reviews Slider */
.reviews-wrapper { 
  position: relative; 
  display: grid; 
  grid-template-columns: 48px 1fr 48px; 
  align-items: center; 
  gap: 0.75rem; 
  margin: 2rem 0;
}

.reviews-slider { 
  overflow: hidden; 
  border-radius: 16px; 
  border: 1px solid rgba(212,161,90,0.3); 
  background: linear-gradient(135deg, rgba(212,161,90,0.04), rgba(240,215,161,0.02)); 
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.2);
}

.reviews-track { 
  display: flex; 
  transition: transform 0.5s ease;
}

.reviews-group {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.review-card { 
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(212,161,90,0.25);
  border-radius: 12px;
  padding: 1.2rem;
  display: grid;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.review-card:hover {
  border-color: rgba(212,161,90,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 20px rgba(212,161,90,0.1);
  transform: translateY(-2px);
}

.review-card .stars { 
  color: var(--gold-2); 
  letter-spacing: 2px; 
  text-shadow: 0 0 10px rgba(212,161,90,0.25);
  font-size: 1.1rem;
}

.review-card blockquote { 
  margin: 0; 
  font-size: 0.95rem; 
  line-height: 1.5; 
  color: var(--text);
  font-style: italic;
}

.review-card .reviewer { 
  color: var(--muted); 
  font-size: 0.85rem;
  font-weight: 500;
}

.reviews-nav { 
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  border: 1px solid rgba(212,161,90,0.35); 
  background: rgba(255,255,255,0.05); 
  color: var(--gold-2); 
  font-size: 1.6rem; 
  display: grid; 
  place-items: center; 
  cursor: pointer; 
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.reviews-nav:hover { 
  background: rgba(255,255,255,0.08); 
  border-color: rgba(212,161,90,0.5); 
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212,161,90,0.2);
}

.reviews-nav:active {
  transform: translateY(0px);
}

.reviews-source { 
  text-align: center; 
  margin-top: 1rem; 
  color: var(--muted);
  font-size: 0.9rem;
}

.reviews-source a {
  color: var(--gold-2);
  text-decoration: underline;
  text-decoration-color: rgba(212,161,90,0.3);
}

.reviews-source a:hover {
  color: var(--gold);
  text-decoration-color: rgba(212,161,90,0.6);
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
  .reviews-wrapper {
    grid-template-columns: 40px 1fr 40px;
    gap: 0.5rem;
  }
  
  .reviews-group {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .reviews-nav {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .review-card blockquote {
    font-size: 0.9rem;
  }
}

/* Reviews dots */
.reviews-dots { display:flex; justify-content:center; gap:8px; margin-top:12px; }
.reviews-dots .dot { width:10px; height:10px; border-radius:50%; border:1px solid rgba(212,161,90,0.6); background: rgba(255,255,255,0.04); cursor:pointer; transition: all .2s ease; }
.reviews-dots .dot:hover { transform: scale(1.1); background: rgba(212,161,90,0.15); }
.reviews-dots .dot.active { background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 10px rgba(212,161,90,0.4); border-color: rgba(212,161,90,0.9); }

.reviews-slider { cursor: grab; }

/* Review Popup */
.review-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.review-popup.fade-out {
  animation: fadeOut 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.review-popup-content {
  background: linear-gradient(135deg, var(--bg) 0%, rgba(40,40,40,0.95) 100%);
  border: 2px solid var(--gold-2);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { 
    transform: translateY(-50px) scale(0.9);
    opacity: 0;
  }
  to { 
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.review-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.review-popup-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--gold-2);
}

.review-popup-header {
  margin-bottom: 1.5rem;
}

.review-popup-header h3 {
  color: var(--gold-2);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.review-popup-stars {
  color: var(--gold-1);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-popup-quote {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin: 1.5rem 0;
  font-style: italic;
  position: relative;
}

.review-popup-quote::before {
  content: '"';
  font-size: 3rem;
  color: var(--gold-2);
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
}

.review-popup-reviewer {
  display: block;
  color: var(--gold-2);
  font-weight: 600;
  margin-bottom: 2rem;
}

.review-popup-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.review-popup-actions .btn {
  min-width: 120px;
}

/* FAQ Section */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,161,90,0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(212,161,90,0.05);
  border-color: rgba(212,161,90,0.4);
  transform: translateY(-2px);
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gold-2);
  position: relative;
  transition: all 0.3s ease;
}

.faq-item summary:hover {
  background: rgba(212,161,90,0.1);
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold-2);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* Navigation - Mobile Optimized */
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 767px) {
  .nav {
    gap: 0.8rem;
    width: 100%;
    justify-content: center;
  }
}

.nav a {
  padding: 0.5rem 0.8rem;
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(212,161,90,0.05);
  border: 1px solid transparent;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .nav a {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .nav a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
  }
}

.nav a:hover {
  background: rgba(212,161,90,0.15);
  border-color: rgba(212,161,90,0.3);
  color: var(--gold-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,161,90,0.2);
}

.nav a:active {
  transform: translateY(0);
}

.nav .btn-small {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .nav .btn-small {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.nav .btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212,161,90,0.3);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
}

/* Floating Reviews */
.floating-review {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  transition: all 7s ease-in-out;
}

.floating-review-content {
  background: linear-gradient(135deg, rgba(212,161,90,0.95), rgba(184,148,90,0.9));
  border: 2px solid var(--gold-2);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  max-width: 300px;
  min-width: 250px;
}

.floating-review-text {
  color: var(--bg);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  display: block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Release Notes */
.release-notes {
  max-width: 800px;
  margin: 0 auto;
}

.release-version {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,161,90,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.release-version:hover {
  background: rgba(212,161,90,0.05);
  border-color: rgba(212,161,90,0.4);
  transform: translateY(-2px);
}

.release-version h3 {
  color: var(--gold-2);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-family: Cinzel, serif;
}

.release-date {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.release-changes h4 {
  color: var(--gold-1);
  font-size: 1rem;
  margin: 1rem 0 0.5rem 0;
  font-weight: 600;
}

.release-changes h4:first-child {
  margin-top: 0;
}

.release-changes ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.release-changes li {
  color: var(--text);
  padding: 0.2rem 0;
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.release-changes li::before {
  content: '•';
  color: var(--gold-2);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Whiteboard System - Redesigned with White Background */
.whiteboard-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.whiteboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.whiteboard-form {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(212,161,90,0.2);
  border-radius: 16px;
  padding: 1rem;
  width: 100%;
  max-width: 1000px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 0.8rem;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 0.7rem;
  border: 2px solid rgba(212,161,90,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  height: 40px;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(212,161,90,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.hyper-hyper-btn {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(212,161,90,0.3);
  white-space: nowrap;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hyper-hyper-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,161,90,0.4);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
}

.hyper-hyper-btn:active {
  transform: translateY(0);
}

.whiteboard {
  background: #ffffff;
  border: 3px solid var(--gold-2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  overflow: hidden;
  width: 100%;
  min-height: 600px;
  transition: all 0.5s ease;
}

.whiteboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 98%, rgba(212,161,90,0.2) 100%),
    linear-gradient(0deg, transparent 98%, rgba(212,161,90,0.2) 100%);
  background-size: 50px 50px;
  pointer-events: none;
}

.whiteboard-comment {
  position: absolute;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 200px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,161,90,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
  animation: commentAppear 0.5s ease-out;
}

@keyframes commentAppear {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.whiteboard-comment:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 2px rgba(212,161,90,0.5);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
}

.whiteboard-comment .comment-name {
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.whiteboard-comment .comment-text {
  line-height: 1.4;
  font-size: 0.85rem;
}

.whiteboard-info {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(212,161,90,0.05);
  border-radius: 8px;
  border: 1px solid rgba(212,161,90,0.1);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Dynamic whiteboard sizing based on content */
.whiteboard.expanded {
  min-height: 800px;
}

.whiteboard.super-expanded {
  min-height: 1000px;
}

.whiteboard.ultra-expanded {
  min-height: 1200px;
}

/* Success message styling */
.success-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--bg);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .whiteboard-container {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .whiteboard-form {
    padding: 0.8rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .form-group input,
  .form-group textarea,
  .hyper-hyper-btn {
    height: 45px;
    font-size: 1rem;
  }
  
  .whiteboard {
    min-height: 500px;
    padding: 1.5rem;
  }
  
  .whiteboard-comment {
    max-width: 150px;
    font-size: 0.8rem;
    padding: 0.8rem 1rem;
  }
}

.posting-status {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.posting-status.can-post {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.posting-status.cannot-post {
  background: rgba(244, 67, 54, 0.1);
  color: #F44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* Game Container - Centered and Beautiful */
.game-container {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(212,161,90,0.2);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .game-container {
    margin: 1rem auto;
    padding: 1rem;
    gap: 1rem;
  }
}

.game-title {
  color: var(--gold-2);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

@media (max-width: 767px) {
  .game-title {
    font-size: 1.3rem;
  }
}

.game-canvas {
  border: 3px solid var(--gold-2);
  border-radius: 12px;
  background: #000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

@media (max-width: 767px) {
  .game-canvas {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-width: 2px;
    border-radius: 8px;
    touch-action: none;
  }
}

.game-controls {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 1rem 0;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 767px) {
  .game-controls {
    font-size: 0.8rem;
    margin: 0.8rem 0;
  }
}

.desktop-instructions {
  display: block;
}

.mobile-instructions {
  display: none;
}

@media (max-width: 767px) {
  .mobile-instructions {
    display: block;
  }
  .desktop-instructions {
    display: none;
  }
}

.game-score-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 1rem 0;
}

@media (max-width: 767px) {
  .game-score-board {
    gap: 0.5rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

.game-score-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,161,90,0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .game-score-item {
    padding: 0.6rem;
  }
}

.game-score-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 767px) {
  .game-score-label {
    font-size: 0.7rem;
  }
}

.game-score-value {
  color: var(--gold-2);
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

@media (max-width: 767px) {
  .game-score-value {
    font-size: 1rem;
  }
}

.game-start-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  width: 100%;
}

.game-start-btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1f12;
  padding: 1.5rem 3rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid rgba(212,161,90,0.5);
  box-shadow: 0 8px 25px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  text-align: center;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  min-width: 200px;
}

@media (max-width: 767px) {
  .game-start-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
  }
}

.game-start-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 10px 30px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.game-start-btn:active {
  transform: translateY(-1px);
}

.game-over {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(0,0,0,0.95), rgba(20,20,20,0.95));
  border: 3px solid var(--gold-2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  color: var(--text);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  min-width: 400px;
  z-index: 1000;
}

@media (max-width: 767px) {
  .game-over {
    min-width: 280px;
    padding: 1.5rem;
    margin: 1rem;
    width: calc(100vw - 2rem);
    max-width: 400px;
  }
}

.game-over h3 {
  color: var(--gold-2);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

@media (max-width: 767px) {
  .game-over h3 {
    font-size: 1.5rem;
  }
}

.game-over p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: var(--text);
}

@media (max-width: 767px) {
  .game-over p {
    font-size: 1rem;
  }
}

.game-over input {
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
  border: 2px solid rgba(212,161,90,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: var(--text);
  font-size: 1rem;
  box-sizing: border-box;
  text-align: center;
}

.game-over input:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(212,161,90,0.1);
}

.game-over button {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1f12;
  border: 1px solid rgba(212,161,90,0.5);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  box-shadow: 0 4px 16px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  text-align: center;
}

@media (max-width: 767px) {
  .game-over button {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    margin: 0.3rem;
    width: 100%;
    max-width: 200px;
  }
}

.game-over button:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.game-over button:active {
  transform: translateY(0);
}

.exit-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border: 2px solid var(--gold-3);
  color: var(--bg);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212,161,90,0.4);
  z-index: 10;
}

.exit-btn:hover {
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212,161,90,0.6);
}

.exit-btn:active {
  transform: scale(0.95);
}

.highscore-list {
  margin-top: 1rem;
  text-align: left;
}

.highscore-list h3 {
  color: var(--gold-2);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.highscore-table {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highscore-entry {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .highscore-entry {
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  
  .highscore-entry .time {
    display: none;
  }
}

.highscore-entry .medal {
  font-size: 1.2rem;
}

.highscore-entry .name {
  color: var(--text);
  font-weight: 500;
}

.highscore-entry .score {
  color: var(--gold-2);
  font-weight: 700;
}

.highscore-entry .time {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* Mobile-specific game improvements */
@media (max-width: 767px) {
  .game-container {
    margin: 1rem 0;
    padding: 0.8rem;
  }
  
  .game-canvas {
    border-radius: 8px;
  }
  
  .game-score-board {
    gap: 0.5rem;
  }
  
  .game-score-item {
    padding: 0.6rem;
  }
  
  .game-score-label {
    font-size: 0.7rem;
  }
  
  .game-score-value {
    font-size: 1rem;
  }
  
  .game-controls {
    font-size: 0.8rem;
    margin: 0.8rem 0;
  }
}

/* Touch-friendly game controls */
.game-canvas {
  touch-action: none; /* Prevent default touch behaviors */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Mobile game instructions */
.mobile-instructions {
  display: none;
  text-align: center;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(212,161,90,0.1);
  border-radius: 8px;
  border: 1px solid rgba(212,161,90,0.2);
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .mobile-instructions {
    display: block;
  }
}

.desktop-instructions {
  display: block;
  text-align: center;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(212,161,90,0.1);
  border-radius: 8px;
  border: 1px solid rgba(212,161,90,0.2);
  color: var(--text-light);
  font-size: 0.9rem;
}

@media (max-width: 767px) {
  .desktop-instructions {
    display: none;
  }
}

/* Icons - Mobile Optimized */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .icon {
    width: 18px;
    height: 18px;
  }
}

.icon-large {
  width: 24px;
  height: 24px;
}

@media (max-width: 767px) {
  .icon-large {
    width: 20px;
    height: 20px;
  }
}

/* Prevent text overflow */
p, h1, h2, h3, h4, h5, h6, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Game Header with Highscore Switch */
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 1rem;
  gap: 1rem;
}

@media (max-width: 767px) {
  .game-header {
    flex-direction: column;
    gap: 0.8rem;
  }
}

.highscore-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: #2b1f12;
  border: 1px solid rgba(212,161,90,0.5);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .highscore-switch {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    min-height: 44px;
  }
}

.highscore-switch:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.highscore-switch:active {
  transform: translateY(0);
}

.switch-icon {
  font-size: 1.1rem;
}

/* Highscore View */
.highscore-view {
  width: 100%;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 767px) {
  .highscore-view {
    padding: 1rem;
  }
}

.highscore-header h3 {
  color: var(--gold-2);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

@media (max-width: 767px) {
  .highscore-header h3 {
    font-size: 1.5rem;
  }
}

.highscore-header p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .highscore-header p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

.highscore-table {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,161,90,0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .highscore-table {
    padding: 1rem;
    margin: 1rem 0;
  }
}

.highscore-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212,161,90,0.2);
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (max-width: 767px) {
  .highscore-entry {
    padding: 0.6rem 0.8rem;
    margin: 0.3rem 0;
  }
}

.highscore-entry:hover {
  background: rgba(212,161,90,0.1);
  border-color: rgba(212,161,90,0.4);
  transform: translateX(5px);
}

.highscore-entry.rank-1 {
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.1));
  border-color: rgba(255,215,0,0.5);
}

.highscore-entry.rank-2 {
  background: linear-gradient(135deg, rgba(192,192,192,0.2), rgba(192,192,192,0.1));
  border-color: rgba(192,192,192,0.5);
}

.highscore-entry.rank-3 {
  background: linear-gradient(135deg, rgba(205,127,50,0.2), rgba(205,127,50,0.1));
  border-color: rgba(205,127,50,0.5);
}

.highscore-rank {
  font-weight: 700;
  color: var(--gold-2);
  font-size: 1.1rem;
  min-width: 40px;
}

@media (max-width: 767px) {
  .highscore-rank {
    font-size: 1rem;
    min-width: 35px;
  }
}

.highscore-name {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  flex: 1;
  text-align: left;
  margin-left: 1rem;
}

@media (max-width: 767px) {
  .highscore-name {
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }
}

.highscore-score {
  color: var(--gold-2);
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

@media (max-width: 767px) {
  .highscore-score {
    font-size: 1rem;
  }
}

.back-to-game-btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #2b1f12;
  border: 1px solid rgba(212,161,90,0.5);
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212,161,90,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .back-to-game-btn {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 300px;
  }
}

.back-to-game-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(212,161,90,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.back-to-game-btn:active {
  transform: translateY(0);
}

/* Footer - Beautiful Golden Design */
.footer {
  background: linear-gradient(180deg, rgba(10,8,5,0.95), rgba(10,8,5,0.9));
  border-top: 1px solid rgba(212,161,90,0.25);
  padding: 2rem 0;
  margin-top: 4rem;
  backdrop-filter: blur(12px);
}

@media (max-width: 767px) {
  .footer {
    padding: 1.5rem 0;
    margin-top: 3rem;
  }
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 767px) {
  .footer-links {
    gap: 1.5rem;
  }
}

.footer-link {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(212,161,90,0.05);
  border: 1px solid transparent;
  position: relative;
}

@media (max-width: 767px) {
  .footer-link {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

.footer-link:hover {
  background: rgba(212,161,90,0.15);
  border-color: rgba(212,161,90,0.3);
  color: var(--gold-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,161,90,0.2);
}

.footer-link:active {
  transform: translateY(0);
}

.footer-copyright {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

@media (max-width: 767px) {
  .footer-copyright {
    font-size: 0.85rem;
  }
}

/* Contact Link Styling */
.contact-link {
  color: var(--gold-2);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--gold-1);
  border-bottom-color: var(--gold-2);
  text-shadow: 0 0 10px rgba(212,161,90,0.3);
}

/* Enhanced Mobile Friendliness */
@media (max-width: 767px) {
  /* Better touch targets */
  .btn, .nav a, .footer-link, button, a {
    min-height: 44px !important;
    min-width: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  /* Improved spacing for mobile */
  .container {
    padding: 0 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  /* Better typography for mobile */
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Improved button spacing */
  .btn {
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
    width: 100%;
    max-width: 300px;
  }
  
  /* Better navigation for mobile */
  .nav {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .nav a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Improved footer for mobile */
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links {
    gap: 1rem;
    flex-direction: column;
  }
  
  /* Better card layout for mobile */
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  /* Improved stage plan for mobile */
  .house-floor {
    flex-direction: column;
    gap: 1rem;
  }
  
  .room {
    width: 100%;
    max-width: none;
    min-height: 100px;
  }
  
  /* Better reviews slider for mobile */
  .reviews-wrapper {
    gap: 0.5rem;
  }
  
  .reviews-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  /* Improved whiteboard for mobile */
  .whiteboard-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .form-group input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
  
  .hyper-hyper-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
  
  /* Better release notes for mobile */
  .release-version {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .release-version h4 {
    font-size: 1.1rem;
  }
  
  .release-version ul {
    padding-left: 1.2rem;
  }
  
  .release-version li {
    margin: 0.5rem 0;
    font-size: 0.9rem;
  }
}

/* Prevent horizontal scrolling on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Improve touch scrolling */
body {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Better focus states for accessibility */
a:focus, button:focus, .btn:focus {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

/* Prevent text selection on buttons */
.btn, button, .nav a, .footer-link {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}



