:root {
  --card-bg: #423f38;
  --card-bg-dark: #211f1b;
  --text: #f4f2ee;
  --text-dim: rgba(244, 242, 238, 0.72);
  --btn-bg: rgba(255, 255, 255, 0.10);
  --btn-bg-hover: rgba(255, 255, 255, 0.16);
  --btn-border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: #ddd9d2;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.card {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  background: var(--card-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-wrap {
  position: relative;
  width: 100%;
  height: 34vh;
  min-height: 260px;
  max-height: 380px;
  flex-shrink: 0;
  overflow: hidden;
}

.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(33, 31, 27, 0) 45%,
    rgba(33, 31, 27, 0.55) 75%,
    var(--card-bg) 100%
  );
  pointer-events: none;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px 48px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.logo {
  margin: 0;
  display: flex;
  justify-content: center;
}

.logo-btn {
  background: none;
  border: none;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
}

.logo-btn img {
  width: clamp(220px, 62vw, 300px);
  height: auto;
  display: block;
}

.qr-overlay[hidden] {
  display: none;
}

.qr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 12, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
}

.qr-code {
  width: 240px;
  height: 240px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.tagline {
  margin: 10px 0 28px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  text-align: center;
}

.contact-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.contact-row .link-btn {
  width: auto;
  flex: 1;
}

.social-btn {
  flex: 0 0 auto;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--text);
  transition: background 0.15s ease, transform 0.1s ease;
}

.social-btn:hover {
  background: var(--btn-bg-hover);
}

.social-btn:active {
  transform: scale(0.94);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.sections {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.page-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-label {
  margin: 0 0 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.show-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px;
  border-radius: 999px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.show-card:hover {
  background: var(--btn-bg-hover);
}

.show-card:active {
  transform: scale(0.98);
}

.show-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.show-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.show-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.show-date {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-dim);
}

.mixcloud-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
}

.mixcloud-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 20px;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.15s ease;
}

.mixcloud-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.mixcloud-link:hover {
  background: var(--btn-bg-hover);
}

.mixcloud-link:active {
  background: var(--btn-bg-hover);
}

.link-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.1s ease;
}

.email-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.link-btn:hover {
  background: var(--btn-bg-hover);
}

.link-btn:active {
  transform: scale(0.98);
}

@media (min-width: 520px) {
  body {
    align-items: center;
    padding: 40px 16px;
  }

  .card {
    min-height: 860px;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  }
}
