:root {
  color: #f5f0e6;
  background: #0b0b0b;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 80% 0%, #3b2a0b 0, transparent 38%), #0b0b0b; }
.app-shell { max-width: 760px; margin: auto; padding: 24px 16px 96px; }
.site-header { padding: 24px 4px 16px; }
.eyebrow { color: #d6ad55; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 8px 0 6px; font-size: clamp(1.8rem, 7vw, 2.7rem); }
.address { color: #b8ad99; margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; color: #b8ad99; font-size: .85rem; padding: 12px 4px 24px; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.available { background: #24a66a; } .reserved { background: #e4ad28; } .rented { background: #e15b62; }
.floor-plan { display: grid; gap: 14px; }
.floor-card { background: linear-gradient(145deg, #1b1a18, #11100f); border: 1px solid #5e4922; border-radius: 18px; padding: 16px; box-shadow: 0 12px 30px #0008; }
.floor-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.floor-title h2 { margin: 0; font-size: 1rem; color: #d6ad55; } .floor-title small { color: #9f947f; }
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.room-card { text-align: left; border: 1px solid #44391f; border-left: 5px solid; border-radius: 12px; background: #211f1b; color: #f5f0e6; padding: 13px 11px; cursor: pointer; }
.room-card:hover { background: #2c271c; } .room-card strong { display: block; font-size: .95rem; } .room-card span { display: block; color: #b8ad99; font-size: .8rem; line-height: 1.35; }
.room-card.available { border-left-color: #24a66a; } .room-card.reserved { border-left-color: #e4ad28; } .room-card.rented { border-left-color: #e15b62; }
.room-card .status { display: block; clear: both; margin-top: 8px; font-size: .72rem; font-weight: 700; line-height: 1.35; }
.contact-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 16px; background: #0b0b0bee; border-top: 1px solid #5e4922; text-align: center; backdrop-filter: blur(8px); }
.contact-bar a { display: block; max-width: 728px; margin: auto; padding: 13px; border-radius: 12px; color: #17120a; background: linear-gradient(100deg, #b8862f, #f0d38a); font-weight: 800; text-decoration: none; }
dialog { width: min(92vw, 440px); color: #f5f0e6; background: #171614; border: 1px solid #6d5427; border-radius: 18px; padding: 24px; box-shadow: 0 18px 60px #000b; } dialog::backdrop { background: #000b; }
.close-button { float: right; border: 0; background: none; font-size: 1.7rem; cursor: pointer; color: #d6ad55; }
.detail-label { color: #b8ad99; font-size: .85rem; } .detail-price { color: #e7c36f; font-size: 1.5rem; font-weight: 800; margin: 10px 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 18px 0 12px; }
.image-button { display: block; border: 0; padding: 0; cursor: pointer; border-radius: 10px; overflow: hidden; background: #eef2f7; }
.gallery img, .video-frame { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #eef2f7; overflow: hidden; }
.gallery img { display: block; }
.video-frame { position: relative; grid-column: 1 / -1; aspect-ratio: 9 / 16; }
.room-video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.video-frame span { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; border-radius: 6px; color: white; background: #0009; font-size: .75rem; }
.image-dialog { width: min(94vw, 1400px); max-width: 1400px; padding: 44px 0 0; background: #050505; border: 0; border-radius: 8px; }
.image-dialog img { display: block; width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; filter: none; }
.image-dialog .close-button { position: absolute; z-index: 2; top: 4px; right: 8px; border: 0; background: transparent; }
.gallery-nav { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 8px; color: white; background: #0009; font-size: 3rem; line-height: 1; cursor: pointer; }
.gallery-nav.previous { left: 12px; } .gallery-nav.next { right: 12px; }
.image-counter { position: absolute; z-index: 2; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 8px; color: white; background: #000b; font-size: .8rem; }
.zalo-button { position: fixed; right: 18px; bottom: 82px; z-index: 5; width: 54px; height: 54px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: #087be8; font-weight: 900; cursor: pointer; box-shadow: 0 8px 22px #0008; }
.zalo-dialog { width: min(88vw, 390px); text-align: center; background: #fff; color: #18212f; border: 0; border-radius: 18px; }
.zalo-dialog img { display: block; width: min(72vw, 280px); margin: 14px auto; }
.zalo-dialog p { color: #697586; }
@media (min-width: 600px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }
