/* danang3d.online home: the game's look (bright sky, navy glass panels with a gold edge, gold buttons). Copied from the Nha Trang home. */
:root {
  color-scheme: light;
  --sky-1: #4d9fe0;
  --sky-2: #bfe3f7;
  --sea: #20b6c9;
  --navy: #10264c;
  --navy-2: #1a4076;
  --navy-deep: #0b1b38;
  --glass: rgba(16, 38, 76, .82);
  --glass-line: rgba(255, 255, 255, .16);
  --edge: rgba(255, 214, 120, .55);
  --gold: #ffc42e;
  --gold-hi: #ffd65a;
  --gold-deep: #f59e0b;
  --gold-shadow: #c97c06;
  --ink: #16233a;
  --ink-soft: #4a5b78;
  --paper: #ffffff;
  --paper-soft: #eef3f9;
  --line: #dbe5f1;
  --on-navy-soft: #c7d4e8;
  --radius: 1.1rem;
  --gutter: 48px;
  --font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper-soft); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: .4rem; }
.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.panel { background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 .25rem .9rem rgba(6, 20, 45, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; }

/* Buttons copied from the game's gold "main" button and its glass panels */
.btn-gold, .btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .7rem 1.6rem; border-radius: 2rem; font-weight: 800; font-size: 1rem; line-height: 1.2; transition: transform .12s ease, box-shadow .12s ease, background .2s ease; }
.btn-gold { color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); box-shadow: 0 .22rem 0 var(--gold-shadow), 0 .6rem 1.4rem rgba(245, 158, 11, .35); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 .3rem 0 var(--gold-shadow), 0 .8rem 1.6rem rgba(245, 158, 11, .45); }
.btn-gold:active { transform: translateY(.18rem); box-shadow: 0 .04rem 0 var(--gold-shadow); }
.btn-glass { color: #fff; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(16, 38, 76, .95); border-color: var(--gold); }

.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .18em; color: var(--gold-deep); margin-bottom: .6rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.section-lead { margin-top: .7rem; max-width: 40rem; color: var(--ink-soft); font-size: 1.02rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ---------- Loading screen (same sky, logo and title as the game's #loading) ---------- */
#loader { display: none; }
.js #loader { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 24px; background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); color: #fff; text-align: center; overflow: hidden; animation: loader-failsafe .6s 8s forwards; transition: opacity .4s ease, transform .45s cubic-bezier(.6, 0, .3, 1), visibility 0s .45s; }
#loader.done { opacity: 0; transform: scale(1.06); visibility: hidden; pointer-events: none; }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader-box { position: relative; z-index: 1; width: min(24rem, 100%); margin-bottom: 8vh; }
.loader-logo { width: 6.5rem; height: 6.5rem; margin: 0 auto 1rem; border-radius: 1.6rem; border: .25rem solid #fff; box-shadow: 0 .5rem 1.6rem rgba(16, 38, 76, .35); animation: logo-bob 2.4s ease-in-out infinite; }
@keyframes logo-bob { 50% { transform: translateY(-6px); } }
.loader-title { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.loader-title span { color: var(--navy); font-weight: 700; }
.loader-sub { margin-top: .35rem; font-weight: 700; opacity: .95; }
.bar { position: relative; height: .8rem; margin: 1.6rem auto .7rem; border-radius: 1rem; background: rgba(16, 38, 76, .32); box-shadow: inset 0 .1rem .25rem rgba(16, 38, 76, .35); overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); box-shadow: 0 0 .7rem rgba(255, 196, 46, .8); }
.bar i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, rgba(255, 255, 255, .35) 0 .5rem, transparent .5rem 1rem); animation: bar-shine .8s linear infinite; }
@keyframes bar-shine { to { background-position: 1.15rem 0; } }
.loader-step { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; font-weight: 600; text-shadow: 0 1px 2px rgba(16, 38, 76, .35); }
.loader-step b { font-variant-numeric: tabular-nums; }
.loader-tip { position: absolute; z-index: 1; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: .55rem 1.1rem; border-radius: 2rem; background: var(--glass); border: 1px solid var(--edge); font-size: .86rem; font-weight: 500; }
.loader-tip b { color: var(--gold); margin-right: .35rem; }
.loader-sea { position: absolute; left: 0; bottom: 0; width: 200%; height: 90px; animation: sea-drift 9s linear infinite; }
.loader-sea .w1 { fill: var(--sea); }
.loader-sea .w2 { fill: var(--navy); }
@keyframes sea-drift { to { transform: translateX(-50%); } }

/* ---------- Top bar: floats over the hero like the game HUD, turns solid after scrolling ---------- */
.topbar { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; transition: background .25s ease, padding .25s ease, box-shadow .25s ease; }
.topbar.solid { background: rgba(11, 27, 56, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 .3rem 1rem rgba(6, 20, 45, .3); padding-top: calc(8px + env(safe-area-inset-top, 0px)); padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem 1rem .3rem .3rem; border-radius: 2rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; flex: none; }
.brand img { width: 2.1rem; height: 2.1rem; border-radius: .65rem; border: 2px solid #fff; }
.brand b { color: var(--gold); font-weight: 700; }
.topnav { display: flex; gap: 4px; margin: 0 auto; padding: 4px; border-radius: 2rem; background: rgba(16, 38, 76, .55); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.topnav a { padding: .38rem 1rem; border-radius: 2rem; color: #fff; font-size: .9rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.topnav a:hover { background: rgba(255, 196, 46, .18); color: var(--gold-hi); }
.top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.topnav + .top-right { margin-left: 0; }
.clock, .lang { display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 .85rem; border-radius: 2rem; font-size: .86rem; font-weight: 600; white-space: nowrap; }
.clock svg, .lang svg { width: 1.15rem; height: 1.15rem; flex: none; }
.clock b { font-variant-numeric: tabular-nums; color: var(--gold-hi); }
.lang { position: relative; cursor: pointer; }
.lang select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: #fff; font: inherit; padding-right: .9rem; cursor: pointer; }
.lang::after { content: ""; position: absolute; right: .8rem; top: 50%; width: .4rem; height: .4rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.lang select option { color: var(--ink); }

/* ---------- Hero: Cầu Rồng in the game, copy and intro video on the left, the dragon stays visible on the right ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(180deg, #2f6fb8 0%, var(--sky-1) 45%, var(--sky-2) 76%, var(--sea) 76%, var(--navy) 100%); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 50%; transform-origin: 70% 60%; }
.js .hero-bg img { transform: scale(1.06); }
.started .hero-bg img { transform: scale(1); transition: transform 2.4s cubic-bezier(.2, .7, .2, 1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 48, .86) 0%, rgba(8, 22, 48, .62) 36%, rgba(8, 22, 48, 0) 60%), linear-gradient(0deg, rgba(8, 22, 48, .6) 0%, rgba(8, 22, 48, 0) 26%), linear-gradient(180deg, rgba(8, 22, 48, .45) 0%, rgba(8, 22, 48, 0) 16%); }
.hero-copy { position: relative; z-index: 2; padding: 112px 0 132px; }
.hero-copy > * { max-width: 34rem; }
.js .hero-copy > * { opacity: 0; transform: translateY(16px); }
.started .hero-copy > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.started .hero-copy > :nth-child(2) { transition-delay: .08s; }
.started .hero-copy > :nth-child(3) { transition-delay: .16s; }
.started .hero-copy > :nth-child(4) { transition-delay: .24s; }
.started .hero-copy > :nth-child(5) { transition-delay: .32s; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 2rem; background: rgba(16, 38, 76, .6); border: 1px solid var(--edge); font-size: .76rem; font-weight: 800; letter-spacing: .14em; color: var(--gold-hi); }
.chip-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .25rem rgba(255, 196, 46, .25); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 .45rem rgba(255, 196, 46, 0); } }
.hero h1 { margin: 1rem 0 .8rem; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; text-shadow: 0 .2rem 1.2rem rgba(6, 20, 45, .45); }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); font-weight: 500; line-height: 1.6; text-shadow: 0 1px 6px rgba(6, 20, 45, .6); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* intro video: a framed card like a game panel */
.video { position: relative; margin-top: 1.5rem; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 72%, var(--sea) 72%, var(--navy)); border: 2px solid var(--edge); box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, .45); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video.soon-state img { filter: saturate(.85) brightness(.72); }
.video-tag { position: absolute; top: .7rem; left: .7rem; padding: .22rem .7rem; border-radius: 2rem; background: var(--glass); border: 1px solid var(--edge); color: var(--gold-hi); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.play { position: absolute; left: 50%; top: 50%; width: 4.6rem; height: 4.6rem; transform: translate(-50%, -50%); border: 0; border-radius: 50%; cursor: pointer; color: var(--ink); background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); box-shadow: 0 .3rem 0 var(--gold-shadow), 0 0 0 .55rem rgba(255, 196, 46, .25); transition: transform .15s ease; }
.play:hover { transform: translate(-50%, -50%) scale(1.06); }
.play svg { width: 2rem; height: 2rem; margin-left: .25rem; }
.video-soon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .55rem; width: max-content; max-width: calc(100% - 28px); padding: .65rem 1.15rem; border-radius: 2rem; background: var(--glass); border: 1px solid var(--edge); font-size: .92rem; font-weight: 700; text-align: left; }
.video-soon svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--gold); }

/* ---------- Highlights: a HUD-like panel overlapping the hero's lower edge ---------- */
.highlights { position: relative; z-index: 3; margin-top: -72px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border-radius: calc(var(--radius) + .3rem); overflow: hidden; background: rgba(255, 214, 120, .35); border: 1px solid var(--edge); box-shadow: 0 1.2rem 2.4rem rgba(6, 20, 45, .3); }
.hl { display: flex; gap: .9rem; padding: 1.3rem 1.3rem 1.4rem; background: linear-gradient(170deg, rgba(16, 38, 76, .97), rgba(22, 52, 98, .97)); color: #fff; }
.hl .icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; flex: none; border-radius: 50%; color: var(--navy); background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 60%, var(--gold-deep)); box-shadow: inset 0 0 0 3px rgba(201, 124, 6, .35); }
.hl .icon svg { width: 1.4rem; height: 1.4rem; }
.hl h3 { font-size: 1rem; font-weight: 800; color: var(--gold-hi); line-height: 1.3; margin-bottom: .25rem; }
.hl p { font-size: .88rem; line-height: 1.5; color: var(--on-navy-soft); }

/* ---------- Activities: grouped tiles like a game's skill board ---------- */
.activities { padding: 88px 0 72px; }
.legend { display: flex; gap: 14px; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }
.legend > span { display: inline-flex; align-items: center; gap: .4rem; }
.legend i { width: .9rem; height: .9rem; border-radius: 50%; }
.lg-now i { background: var(--gold); box-shadow: inset 0 0 0 2px var(--gold-shadow); }
.lg-soon i { border: 2px dashed #9aabc4; }
.act-groups { display: grid; gap: 14px; margin-top: 2rem; }
.act-group { display: grid; grid-template-columns: 10rem 1fr; align-items: center; gap: 18px; padding: 1.1rem 1.2rem; border-radius: calc(var(--radius) + .2rem); background: var(--paper); box-shadow: 0 .4rem 1.4rem rgba(16, 38, 76, .09); border: 1px solid var(--line); }
.act-g4 { background: linear-gradient(160deg, var(--navy), var(--navy-2)); border-color: var(--edge); color: #fff; }
.act-group h3 { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; font-size: 1.15rem; font-weight: 800; line-height: 1.25; color: var(--navy); }
.act-g4 h3 { color: var(--gold-hi); }
.g-ic { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: .85rem; background: var(--paper-soft); font-size: 1.45rem; }
.act-g4 .g-ic { background: rgba(255, 255, 255, .1); }
.act-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.act-list > li { flex: 1 1 6rem; }
.act-g4 .act-list > li { flex: 0 1 19rem; }
.act { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .8rem .4rem .75rem; border-radius: var(--radius); background: var(--paper-soft); text-align: center; }
.act-g4 .act { flex-direction: row; justify-content: flex-start; gap: .8rem; padding: .8rem 1rem; background: rgba(255, 255, 255, .07); border: 1px solid var(--glass-line); text-align: left; }
.act-ic { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; flex: none; border-radius: 50%; font-size: 1.55rem; line-height: 1; background: radial-gradient(circle at 35% 30%, #fff7d6, #ffe08a 70%); box-shadow: 0 0 0 3px var(--gold), 0 .25rem .6rem rgba(201, 124, 6, .3); }
.act-ic svg { width: 1.85rem; height: 1.85rem; }
.act-name { font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--navy); }
.act-g4 .act-name { color: #fff; font-size: .95rem; }
.act em { margin-top: -.1rem; padding: .05rem .5rem; border-radius: 1rem; background: var(--navy); color: var(--gold-hi); font-size: .66rem; font-weight: 800; font-style: normal; line-height: 1.5; white-space: nowrap; }
.act-g4 .act em { margin: 0 0 0 auto; background: var(--gold); color: var(--navy); }
.act.soon { background: transparent; border: 1.5px dashed #c3d0e2; }
.act-g4 .act.soon { border: 1.5px dashed rgba(255, 214, 120, .45); background: transparent; }
.act.soon .act-ic { background: var(--paper); box-shadow: 0 0 0 2px #c3d0e2; filter: grayscale(.25); }
.act-g4 .act.soon .act-ic { background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 2px rgba(255, 214, 120, .55); }

/* ---------- Places: game cards ---------- */
.places { padding: 40px 0 110px; background: linear-gradient(180deg, var(--paper-soft) 55%, var(--sky-2) 100%); }
.place-list { width: min(1180px, calc(100% - 2 * var(--gutter))); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.place { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 .4rem 1.3rem rgba(16, 38, 76, .12); }
.shot { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 70%, var(--sea) 70%, var(--sea) 85%, var(--navy) 85%); }
.shot::before { content: ""; position: absolute; inset: 22% 40%; background: url(logo.svg) center / contain no-repeat; opacity: .4; border-radius: .6rem; }
.shot img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.shot-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, .45), transparent 46%), linear-gradient(180deg, var(--sky-1), var(--sky-2) 66%, var(--sea) 66%, var(--sea) 82%, var(--navy) 82%); }
.shot-art::before { content: none; }
.art-ic { display: grid; place-items: center; width: 5.4rem; height: 5.4rem; margin-bottom: 4%; border-radius: 50%; font-size: 2.7rem; line-height: 1; background: radial-gradient(circle at 35% 30%, #fff7d6, #ffe08a 70%); box-shadow: 0 0 0 4px var(--gold), 0 .6rem 1.4rem rgba(16, 38, 76, .3); }
.kind { position: absolute; top: .7rem; left: .7rem; padding: .22rem .7rem; border-radius: 2rem; background: var(--glass); border: 1px solid var(--edge); color: #fff; font-size: .74rem; font-weight: 700; }
.place-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.place h3 { font-size: 1.08rem; font-weight: 800; color: var(--navy); line-height: 1.3; }
.place p { flex: 1; margin-top: .35rem; font-size: .9rem; line-height: 1.55; color: var(--ink-soft); }
.kind-soon { background: linear-gradient(180deg, var(--gold-hi), var(--gold-deep)); color: var(--ink); border-color: transparent; box-shadow: 0 .12rem 0 var(--gold-shadow); }
.more-place { background: linear-gradient(160deg, var(--navy), var(--navy-2)); }
.more-place h3 { color: #fff; }
.more-place p { color: var(--on-navy-soft); }
.more-art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; background: radial-gradient(circle at 50% 42%, rgba(255, 196, 46, .28), transparent 62%); }
.more-art img { width: 5.2rem; height: 5.2rem; border-radius: 1.3rem; border: 3px solid #fff; box-shadow: 0 .5rem 1.4rem rgba(0, 0, 0, .35); }
.more-art span { position: absolute; bottom: 12%; left: 50%; width: .55rem; height: .55rem; margin-left: -.275rem; border-radius: 50%; background: var(--gold); animation: dots 1.2s ease-in-out infinite; }
.more-art span:nth-of-type(1) { transform: translateX(-1.1rem); }
.more-art span:nth-of-type(2) { animation-delay: .2s; }
.more-art span:nth-of-type(3) { transform: translateX(1.1rem); animation-delay: .4s; }
@keyframes dots { 50% { opacity: .25; } }

/* ---------- Maker and contact ---------- */
.wave { position: absolute; left: 0; width: 100%; height: 40px; display: block; }
.wave-top { top: -1px; }
.maker { position: relative; padding: 104px 0 80px; background: var(--navy); color: #fff; }
.maker .wave path { fill: var(--sky-2); }
.maker-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
.maker .eyebrow { color: var(--gold); }
.maker h2 { color: #fff; }
.maker h2 em { font-style: normal; color: var(--gold); }
.maker-lead { margin-top: .9rem; font-size: 1.15rem; font-weight: 600; }
.maker-story { margin-top: .8rem; color: var(--on-navy-soft); max-width: 32rem; }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: 1.8rem; }
.roles p { padding-left: .8rem; border-left: 2px solid var(--edge); }
.roles strong { display: block; font-size: .92rem; font-weight: 700; }
.roles span { display: block; font-size: .86rem; color: var(--on-navy-soft); }
.maker-story a { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 196, 46, .55); text-underline-offset: .2em; }
.maker-story a:hover { color: var(--gold); }
.roles a { text-decoration: underline; text-decoration-color: rgba(255, 196, 46, .55); text-underline-offset: .2em; transition: color .15s ease; }
.roles a:hover { color: var(--gold); }
.connect { padding-top: .2rem; }
.contact-links { display: grid; gap: 10px; }
.contact-links a { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); font-size: 1.15rem; font-weight: 700; transition: border-color .2s ease, background .2s ease; }
.contact-links a:hover { border-color: var(--gold); background: rgba(255, 255, 255, .1); }
.contact-links small { display: block; font-size: .7rem; letter-spacing: .16em; color: var(--gold); font-weight: 800; }
.contact-links a > span:last-child { color: var(--gold); }

.footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .85rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.brand-foot { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 800; }
.brand-foot img { width: 1.75rem; height: 1.75rem; border-radius: .5rem; }
.brand-foot b { color: var(--gold); font-weight: 700; }
.credits { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .72rem; color: #8193b3; }
.credits a { text-decoration: underline; text-underline-offset: .15em; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .place-list { grid-template-columns: repeat(2, 1fr); }
  .maker-grid { gap: 48px; }
}
@media (max-width: 980px) {
  .topnav { display: none; }
  .act-group { grid-template-columns: 1fr; gap: 12px; }
  .act-group h3 { flex-direction: row; align-items: center; }
  .g-ic { width: 2.3rem; height: 2.3rem; font-size: 1.2rem; }
}
@media (max-width: 860px) {
  .clock-place { display: none; }
  .maker-grid { grid-template-columns: 1fr; }
}

/* ---------- Phone: 16 px gutter, the dragon on top, copy and video below, swipeable cards ---------- */
@media (max-width: 700px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .topbar { padding-left: 12px; padding-right: 12px; }
  .brand { padding-right: .8rem; font-size: .95rem; }
  .brand img { width: 1.9rem; height: 1.9rem; }
  .clock, .lang { height: 2.2rem; padding: 0 .65rem; font-size: .8rem; }
  .hero { align-items: flex-end; background: var(--navy-deep); }
  /* the picture keeps to the top of the screen so the dragon's head stays above the title, then fades into navy */
  .hero-bg { bottom: auto; height: 74vh; height: 74svh; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .hero-bg img { object-position: 50% 0; transform-origin: 50% 20%; }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 22, 48, .96) 0%, rgba(8, 22, 48, .82) 48%, rgba(8, 22, 48, 0) 72%), linear-gradient(180deg, rgba(8, 22, 48, .5) 0%, rgba(8, 22, 48, 0) 14%); }
  .hero-copy { padding: 46vh 0 96px; }
  .hero h1 { margin: .8rem 0 .6rem; }
  .video { margin-top: 1.2rem; }
  .actions a { flex: 1 1 100%; }
  .highlights { margin-top: -56px; grid-template-columns: 1fr; }
  .hl { padding: 1rem 1.1rem; }
  .activities { padding: 64px 0 48px; }
  .act-group { padding: 1.1rem 1rem 1.15rem; }
  .act-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .act { padding: .75rem .3rem .65rem; }
  .act-ic { width: 2.7rem; height: 2.7rem; font-size: 1.3rem; }
  .act-name { font-size: .78rem; }
  .act em { font-size: .6rem; padding: .02rem .4rem; }
  .act-g4 .act-list { grid-template-columns: 1fr; }
  .act-g4 .act-list > li { flex: none; }
  .places { padding: 24px 0 72px; }
  .place-list { width: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto; padding: 4px 16px 18px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .place-list::-webkit-scrollbar { display: none; }
  .place { scroll-snap-align: start; }
  .maker { padding: 80px 0 64px; }
  .roles { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 430px) {
  .brand span { display: none; }
  .brand { padding-right: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .hero-bg img { transform: none; }
}
