:root {
  --bg-main: #18191c;
  --bg-gradient: radial-gradient(circle at 50% 0%, #25262b 0%, #18191c 80%);
  --card-bg: rgba(255, 255, 255, 0.055);
  --card-bg-hover: rgba(255, 255, 255, 0.105);
  --card-border: rgba(255, 255, 255, 0.07);
  --card-border-hover: rgba(255, 255, 255, 0.16);
  --text-main: #ffffff;
  --text-sub: #9ca3af;
  --text-muted: #6b7280;
  --accent-red: #d94132;
  --accent-gold: #dfba73;
  --icon-orange: #f2572c;
  --icon-orange-glow: rgba(242, 87, 44, 0.25);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* Header toolbar for language & QR */
.top-bar {
  width: 100%;
  max-width: 540px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 0;
  z-index: 10;
}

.top-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.top-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.top-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

/* Main Container */
.page-container {
  width: 100%;
  max-width: 520px;
  padding: 24px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Brand Section */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  width: 100%;
}

.brand-logo-wrap {
  width: 100%;
  max-width: 270px;
  margin: 10px 0 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.brand-logo-wrap:hover {
  transform: scale(1.02);
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.brand-description {
  color: #b3b7bd;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
  max-width: 440px;
  padding: 0 8px;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

/* Links / Cards List */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.action-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 10px 22px 10px 10px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.action-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.action-card:active {
  transform: scale(0.985);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Rounded Icon Badge */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s ease;
}

.action-card:hover .card-icon {
  transform: scale(1.06);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

/* Icon Variants */
.icon-orange {
  background: #f05423;
  background: linear-gradient(135deg, #f76839 0%, #eb4714 100%);
}

.icon-instagram {
  background: #d6249f;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.icon-facebook {
  background: #1877f2;
}

.icon-tiktok {
  background: #010101;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.icon-maps {
  background: #25a855;
  background: linear-gradient(135deg, #34a853 0%, #1e8e3e 100%);
}

.icon-phone {
  background: #5b626e;
  background: linear-gradient(135deg, #6c7585 0%, #4e5563 100%);
}

/* Text Meta */
.card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: left;
}

.card-title {
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card-desc {
  color: #9ba1ab;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Chevron */
.card-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #727783;
  transition: transform 0.22s ease, color 0.22s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.card-chevron svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.action-card:hover .card-chevron {
  color: #ffffff;
  transform: translateX(3px);
}

/* Footer */
.page-footer {
  margin-top: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-accent-line {
  width: 44px;
  height: 3px;
  background: #e04b38;
  border-radius: 2px;
}

.footer-copy {
  color: #6d727d;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Modal for QR Code & Quick Info */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #202125;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 380px;
  width: 100%;
  padding: 30px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #d1d5db;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.modal-qr-img {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #ffffff;
  padding: 8px;
}

.modal-qr-link {
  margin-top: 16px;
  font-size: 13.5px;
  color: #dfba73;
  text-decoration: none;
  font-weight: 600;
}

.modal-download-btn {
  margin-top: 18px;
  background: #f05423;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.modal-download-btn:hover {
  background: #ff6838;
  transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .page-container {
    padding: 18px 16px 40px;
  }
  .brand-logo-wrap {
    max-width: 230px;
  }
  .brand-description {
    font-size: 13.5px;
  }
  .action-card {
    padding: 8px 18px 8px 8px;
  }
  .card-icon {
    width: 44px;
    height: 44px;
  }
  .card-icon svg {
    width: 20px;
    height: 20px;
  }
  .card-title {
    font-size: 14.5px;
  }
  .card-desc {
    font-size: 12px;
  }
}
