:root{
  --bg0:#0b0c10;
  --panel: rgba(20,22,30,.72);
  --stroke: rgba(255,255,255,.08);
  --text:#e9ecf1;
  --muted:#b7bdc9;
  --accent:#7a0014;
  --gold:#caa04a;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --r:22px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:
    radial-gradient(1100px 700px at 20% 0%, rgba(122,0,20,.35), transparent 60%),
    radial-gradient(1200px 800px at 80% 10%, rgba(202,160,74,.18), transparent 55%),
    linear-gradient(180deg, #0a0b0f, #07080c);
}

.wrap{
  width:min(1600px, 96vw);
  margin: 18px auto 70px;
}

.header{
  display:flex;
  justify-content:center;
  padding: 18px 10px 10px;
}

.brand{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing:.5px;
  font-weight:700;
  font-size: clamp(30px, 3vw, 46px);
  color: var(--gold);
  text-shadow: 0 10px 40px rgba(202,160,74,.16);
}
.brandLink{
  text-decoration:none;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing:.5px;
  font-weight:700;
  font-size: clamp(26px, 2.6vw, 40px);
  color: var(--gold);
}

/* ===== Top slow scrolling strip (no arrows) ===== */
.strip{
  margin: 10px auto 22px;
  padding: 16px 10px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.marquee{
  overflow:hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.track{
  display:flex;
  gap:18px;
  width:max-content;
  will-change: transform;
  animation: scrollX 140s linear infinite;
}

.strip:hover .track{ animation-play-state: paused; }

@keyframes scrollX{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.thumb{
  min-width: 260px;
  height: 150px;
  border-radius: 20px;
  overflow:hidden;
  background:#13151d;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  cursor:pointer;
  position:relative;
}
.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.02);
}
.thumb .meta{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
  background: rgba(10,11,15,.55);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 8px 10px;
  backdrop-filter: blur(8px);
}
.thumb .dot{
  width:8px; height:8px;
  border-radius:999px;
  background: var(--accent);
  flex:0 0 auto;
}
.thumb .t{ font-weight:900; }
.thumb .p{
  margin-left:auto;
  color: rgba(255,255,255,.75);
  font-weight:800;
  font-size: 12px;
}

/* ===== Room list ===== */
.rooms{
  display:flex;
  flex-direction:column;
  gap: 26px;
}

.roomCard{
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.roomGrid{
  display:grid;
  grid-template-columns: 1.35fr 34px 1fr; /* image | accent bar | info */
  gap: 18px;
  padding: 18px;
  align-items:stretch;
}

@media (max-width: 980px){
  .roomGrid{
    grid-template-columns: 1fr;
  }
  .divider{ display:none; }
}

.carousel{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  background:#0e1016;
  min-height: 480px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.carousel img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.carBtns{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.carBtn{
  pointer-events:auto;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,11,15,.55);
  color: var(--text);
  cursor:pointer;
}
.carBtn:hover{ background: rgba(10,11,15,.78); }
.carBtn:first-child{ left:14px; }
.carBtn:last-child{ right:14px; }

.dots{
  position:absolute;
  left:14px;
  bottom:14px;
  display:flex;
  gap:8px;
  padding:10px 12px;
  border-radius: 999px;
  background: rgba(10,11,15,.55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.dots span{
  width:8px;height:8px;border-radius:999px;
  background: rgba(255,255,255,.35);
}
.dots span.active{ background: var(--accent); }

.divider{
  border-radius: 18px;
  background: var(--accent);
  box-shadow: 0 10px 40px rgba(122,0,20,.22);
}

.panel{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.roomTitleRow{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:12px;
}
.roomTitle{
  font-size: 34px;
  font-weight: 950;
}
.roomPrice{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(202,160,74,.10);
  border: 1px solid rgba(202,160,74,.25);
  font-weight:900;
  white-space:nowrap;
}

.infoBox{
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
}

/* ===== Calendar ===== */
.calWrap{
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,11,15,.65), rgba(10,11,15,.45));
  border: 1px solid rgba(255,255,255,.08);
}

.calTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom: 10px;
}
.calTitle{ font-weight:900; font-size:16px; }
.calNav button{
  width:34px;height:34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
}

.calGrid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.dow{
  font-size: 12px;
  font-weight:800;
  color: rgba(255,255,255,.65);
  text-align:center;
  padding: 2px 0 8px;
}

.day{
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  display:grid;
  place-items:center;
  cursor:pointer;
  user-select:none;
  font-weight:800;
}
.day.muted{ opacity:.35; cursor:default; }
.day.disabled{ opacity:.28; cursor:not-allowed; text-decoration: line-through; }
.day.start,.day.end{
  background: rgba(202,160,74,.20);
  border-color: rgba(202,160,74,.40);
}
.day.inRange{
  background: rgba(202,160,74,.10);
  border-color: rgba(202,160,74,.18);
}

.summaryRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.pill{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  min-height: 48px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.pill .k{ color: rgba(255,255,255,.65); font-weight:800; font-size:12px; }
.pill .v{ font-weight:900; }

.actions{
  display:flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap:wrap;
}
.btn{
  border:none;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight:900;
  letter-spacing:.2px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn.primary{
  background: linear-gradient(180deg, rgba(202,160,74,.95), rgba(165,132,66,.95));
  color:#13151d;
  box-shadow: 0 16px 45px rgba(202,160,74,.18);
}
.btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.errorLine{
  margin-top: 10px;
  min-height: 18px;
  color: #ff5b6a;
  font-weight: 900;
}

/* ===== Checkout page ===== */
.card{
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 18px;
}
.h1{ font-size: 40px; font-weight: 950; }
.h2{ font-size: 22px; font-weight: 950; margin-bottom: 10px; }
.sub{ color: rgba(255,255,255,.72); font-weight: 800; }

.checkoutGrid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
@media (max-width: 980px){ .checkoutGrid{ grid-template-columns: 1fr; } }

.checkoutHeader{ display:flex; justify-content:space-between; align-items:flex-end; gap:12px; }
.checkoutRoom{ font-weight:950; font-size:22px; }
.checkoutInfo{ color: rgba(255,255,255,.72); font-weight: 800; }
.checkoutPrice{ font-weight:950; }
.totalBox{
  margin-top: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  padding: 12px;
}
.totalBox .row{
  display:flex;
  justify-content:space-between;
  font-weight:900;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.totalBox .row:last-child{ border-bottom:none; }

.checkoutActions{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.formRow{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){ .formRow{ grid-template-columns: 1fr; } }

.field label{
  display:block;
  font-weight:900;
  margin-bottom: 6px;
  color: rgba(255,255,255,.75);
}
.field input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10,11,15,.55);
  color: var(--text);
  font-weight: 800;
  outline:none;
}

.contactLines{
  display:flex;
  flex-direction:column;
  gap: 10px;
  font-weight: 900;
}
.contactLines span{ color: rgba(255,255,255,.78); }

.fineprint{
  color: rgba(255,255,255,.65);
  margin-top: 10px;
  font-weight: 800;
}
/* ===== Top strip: dots only ===== */
.strip .thumb .meta .t,
.strip .thumb .meta .p {
  display: none !important;
}

.strip .thumb .meta {
  justify-content: center;
}

.strip .thumb .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
}


