:root {
  --bg: #f6f1e6;
  --ink: #1e1e1e;
  --gold: #c9a34f;
  --red: #b5332a;
  --blue: #1f62b3;
  --shadow: rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg) url("/images/tile-opoly.jpg") repeat;
  background-size: 320px 320px;
}

.page {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 92px 32px 80px;
  text-align: center;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.logo {
  width: min(460px, 88vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
}

.tagline {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ticker {
  margin: 24px auto 40px;
  overflow: hidden;
  border: 3px solid var(--gold);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px var(--shadow);
}

.ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 16px 18px;
  animation: scroll 140s linear infinite;
}

.property-card {
  flex: 0 0 auto;
  width: 170px;
  background: #fff;
  border: 2px solid #e2c57f;
  border-radius: 12px;
  padding: 10px 10px 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.property-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  background: #f2f2f2;
}

.property-card span {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 0.2px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.copyright {
  margin: 28px auto 0;
  max-width: 980px;
  padding: 6px 14px;
  font-size: 0.7rem;
  line-height: 1.4;
  color: rgba(30, 30, 30, 0.7);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 28px;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 16px;
  border: 3px solid transparent;
  box-shadow: 0 10px 20px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn.admin {
  background: var(--blue);
  color: #fff;
  border-color: #0f4c9c;
}

.cta-btn.member {
  background: var(--red);
  color: #fff;
  border-color: #8f1f1a;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.bingo-border {
  position: fixed;
  z-index: 1;
  background-image: url("/images/bingo-ball.png");
  background-size: 52px 52px;
  background-repeat: repeat;
  opacity: 0.9;
  pointer-events: none;
}

.bingo-border.top {
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.bingo-border.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
}

.bingo-border.left {
  top: 60px;
  bottom: 60px;
  left: 0;
  width: 60px;
}

.bingo-border.right {
  top: 60px;
  bottom: 60px;
  right: 0;
  width: 60px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .page {
    padding: 86px 20px 64px;
  }

  .property-card {
    width: 150px;
  }

  .cta-btn {
    min-width: 220px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .ticker {
    border-radius: 12px;
  }

  .property-card {
    width: 140px;
  }

  .bingo-border.top,
  .bingo-border.bottom {
    height: 44px;
  }

  .bingo-border.left,
  .bingo-border.right {
    width: 44px;
  }
}
