:root {
  --blue-dark:   #0b5ea8;
  --blue:        #1a7fd4;
  --blue-mid:    #2196f3;
  --blue-light:  #64b5f6;
  --blue-pale:   #e3f2fd;
  --blue-bg:     #f0f8ff;
  --gold:        #f5c518;
  --accent:      #f06f00;
  --card-bg:     #ffffff;
  --muted:       #5a7a9a;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: linear-gradient(27.81deg, rgb(70, 148, 224) 17.81%, rgb(179, 215, 255) 87.34%, rgb(70, 148, 224) 104.34%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

/* ===== POSTER ===== */
.poster {
  width: 100%;
  max-width: 680px;
  background: linear-gradient(180deg, #f0f8ff 0%, #f8fcff 40%, #ffffff 100%);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(70,148,224,0.25),
    0 8px 40px rgba(70,148,224,0.2),
    0 2px 8px rgba(70,148,224,0.1);
  overflow: hidden;
  padding: 0 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: relative;

    background: linear-gradient(27.81deg,rgb(70, 148, 224) 17.81%,rgb(130, 190, 255) 87.34%,rgb(70, 148, 224) 104.34%);
    padding: 16px 18px 14px;
    border-bottom: 3px solid rgba(245,197,24,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}
.text-box {
    text-align: center;
}

.logo {
    position: absolute;
    left: 20px;
    width: 60px;
    top: 50%;
    transform: translateY(-50%);
}

/* Logo LEFT + text RIGHT — strict row, no wrapping */
.header-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* ── World Cup 2026 SVG Logo ── */
.wc-logo {
  flex: 0 0 80px;   /* fixed width, never grows or shrinks */
  width: 80px;
  height: 80px;
}

.wc-logo svg {
  width: 80px;
  height: 80px;
  display: block;
}

/* Title block — takes remaining space */
.header-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.title {
    font-size: 25px;
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.subtitle {
  font-size: 28px;
  color: #ffffff;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
  white-space: nowrap;
}

.wc-tagline {
    font-size: 18px;
    color: red;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ===== ICONS ===== */
.icons {
  display: flex;
  justify-content: space-around;
  padding: 14px 20px 10px;
  gap: 8px;
  flex-wrap: wrap;
  background: linear-gradient(180deg, #f0f8ff 0%, #f8fcff 100%);
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.icon .circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-mid), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(33,150,243,0.35);
}

.icon .circle img {
  width: 26px; height: 26px;
  filter: brightness(0) invert(1);
}

.icon .label {
  text-align: center;
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.25;
}

/* ===== CARD ===== */
.card {
  background: var(--card-bg);
  margin: 0 14px;
  border-radius: 14px;
  padding: 16px 16px 12px;
  box-shadow:
    0 2px 12px rgba(33,150,243,0.1),
    0 0 0 1px rgba(33,150,243,0.08);
}

.card h3 {
  font-size: 17px;
  color: var(--blue-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.card h3::before {
  content: '';
  display: inline-block;
  width: 4px; height: 16px;
  background: linear-gradient(var(--blue-mid), var(--blue-dark));
  border-radius: 2px;
  flex-shrink: 0;
}

/* Team content — compact */
#team-content p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

#team-content .highlight {
  color: var(--blue-mid);
  font-weight: 800;
}

.card p {
  margin: 7px 0;
  font-size: 16px;
  line-height: 1.55;
  color: #111;
}

.highlight {
  color: var(--accent);
  font-weight: 900;
}

/* ===== QR CODE ===== */
.qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 14px 0 2px;
  gap: 8px;
}

.qr-frame {
  position: relative;
  padding: 7px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(33,150,243,0.15);
}

.qr-frame img {
  display: block;
  width: 190px; height: 190px;
  object-fit: contain;
  border-radius: 4px;
}

.qr-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--blue-mid);
  border-style: solid;
}
.qr-corner.tl { top:2px; left:2px;   border-width:3px 0 0 3px; border-radius:4px 0 0 0; }
.qr-corner.tr { top:2px; right:2px;  border-width:3px 3px 0 0; border-radius:0 4px 0 0; }
.qr-corner.bl { bottom:2px; left:2px;  border-width:0 0 3px 3px; border-radius:0 0 0 4px; }
.qr-corner.br { bottom:2px; right:2px; border-width:0 3px 3px 0; border-radius:0 0 4px 0; }

.qr-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-mid);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 14px;
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  padding: 0 20px;
}

/* ===== DOWNLOAD BUTTON ===== */
.btn-download {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-light));
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(33,150,243,0.3);
  transition: transform .15s, box-shadow .15s;
  vertical-align: middle;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(33,150,243,0.38); }

/* ===== INLINE ICON ===== */
.inline-icon {
  height: 1.1em; width: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  margin: 0 4px 0 3px;
}

/* ===== FLOATING SERVICE ===== */
.floating-service-button {
  position: fixed;
  right: 18px; bottom: 46px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  color: #fff;
  padding: 10px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(33,150,243,0.4);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 240ms ease, opacity 240ms ease;
  user-select: none;
}

.svc-icon { font-size: 15px; animation: spinBall 3s linear infinite; }
@keyframes spinBall {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.floating-service-button--hidden {
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {
  html, body { padding: 10px; }
  .poster { border-radius: 14px; }
  .subtitle { font-size: 26px; }
  .title { font-size: 25px; }
  .wc-logo { width: 68px; height: 68px; }
  .card { margin: 0 10px; padding: 13px; }
  .card p { font-size: 14px; }
  .qr-frame img { width: 170px; height: 170px; }
  .icon .circle { width: 44px; height: 44px; }
}
