:root{
  --bg0:#0b2d23;
  --bg1:#103b2e;

  --gold:#d4b15c;
  --gold2:#b8923e;

  --text:#eaf3ef;
  --muted:rgba(234,243,239,.82);

  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --radius: 22px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }

body{
  background:
    radial-gradient(1200px 700px at 25% 0%, rgba(212,177,92,.12), transparent 60%),
    radial-gradient(900px 600px at 85% 15%, rgba(212,177,92,.10), transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  overflow:hidden;
}

/* =========================
   TV Outer Wrapper
========================= */
.tv{
  width:100vw;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 2.2vh 2.6vw;
}

.frame{
  width: 100%;
  height: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 4px solid rgba(212,177,92,.35);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.06));
  position: relative;

  /* REPLACE flex -> grid (ini kunci anti-overlap) */
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* header | line | main | bottombar */
  gap: 0; /* kita atur spacing di elemennya */

  padding: 2.2vh 2.2vw;
  min-height: 0;
}


/* =========================
   Header
========================= */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 1.2vh 0 1.6vh 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 1.2vw;
}

.logo{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.18);
  border: 2px solid rgba(212,177,92,.55);
  overflow:hidden;
}

.logo img{
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.brand-title{
  font-size: clamp(20px, 2.4vw, 40px);
  font-weight: 800;
  letter-spacing: .6px;
}

.brand-sub{
  color: var(--gold);
  font-weight: 650;
  font-size: clamp(12px, 1.25vw, 20px);
  margin-top: .3vh;
}

.gold-line{ margin-bottom: 0; }
.topbar{ padding-bottom: 1.6vh; }
.gold-line{ margin-top: 0; }
.main{ padding-top: 2.2vh; } /* ini pengganti margin-bottom gold-line */


/* =========================
   Main Layout
========================= */
.main{
  display:grid;
  grid-template-columns: 1.55fr 1.05fr;
  gap: 1.6vw;
  align-items:stretch;

  /* penting biar tidak maksa tinggi */
  min-height: 0;
  overflow: hidden; /* optional, tapi membantu */
}



/* Shared card look */
.card, .panel-right{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.10));
  border: 2px solid rgba(234,243,239,.08);
  box-shadow: 0 14px 35px rgba(0,0,0,.28);
  overflow:hidden;
  position:relative;
}

/* =========================
   Left Video Card
========================= */
.card-left{
  display:flex;
  flex-direction:column;
  min-height: 0;
}

/* Title area removed (as requested earlier) */
/* If you want it back later, delete this block */
.card-left-head{
  display:none;
}

.media-area{
    position: relative;
  flex: 1;
  min-height: 0;
  padding: .9vw;
  display:flex;
}

/* video element */
video.yt,
iframe.yt{
  width:100%;
  height:100%;
  display:block;
  border-radius: 18px;
  border: 1px solid rgba(234,243,239,.10);
  background:#000;

  /* FIT without cropping */
  object-fit: contain;
}

/* Left pill label */
.pill{
  position: absolute;
  left: 1.4vw;
  bottom: 1.2vw;
  display:inline-flex;
  align-items:center;
  gap: .55vw;
  padding: .7vh 1.0vw;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(212,177,92,.45);
  font-weight: 800;
  letter-spacing: .6px;
  font-size: clamp(12px, 1.0vw, 18px);
  color: var(--gold);
}

.pill-icon{
  width: 22px;
  height: 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(212,177,92,.18);
  border-radius: 999px;
  border: 1px solid rgba(212,177,92,.5);
}

.pill svg{
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

/* =========================
   Right Sidebar (QR centered)
========================= */
.panel-right{
  padding: 2.2vh 1.8vw;
  display:flex;
  flex-direction:column;
  gap: 1.2vh;
  min-height: 0;
}

.badge{
  display:inline-flex;
  align-items:center;
  padding: .55vh 1.0vw;
  border-radius: 999px;
  background: rgba(212,177,92,.18);
  border: 1px solid rgba(212,177,92,.55);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .7px;
  width: fit-content;
  text-transform: uppercase;
  font-size: clamp(12px, 1.0vw, 18px);
}

.big-title{
  margin: .4vh 0 .2vh 0;
}

.big-title .b1,
.big-title .b2{
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: clamp(26px, 2.6vw, 54px);
  line-height: 1.02;
}

.desc{
  color: var(--muted);
  font-weight: 650;
  font-size: clamp(14px, 1.15vw, 20px);
  line-height: 1.35;
  margin: .6vh 0 0 0;
  max-width: 44ch;
}

/* QR wrapper centered */
.panel-bottom.center-only{
  margin-top: auto;
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top: 1.4vh;
}

.panel-bottom.center-only .qr-box{
  width: min(360px, 78%);
  text-align:center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(212,177,92,.25);
  border-radius: 18px;
  padding: 1.4vh 1.2vw;
}

.qr-label{
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .6px;
  font-size: clamp(11px, .95vw, 14px);
  margin-bottom: .8vh;
}

.qr-frame{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(234,243,239,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  max-width: 280px;
  margin: 0 auto;
}

.qr-frame img{
  width: 92%;
  height: 92%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}

.qr-hint{
  margin-top: .9vh;
  color: rgba(234,243,239,.78);
  font-weight: 650;
  font-size: clamp(10px, .9vw, 13px);
}

/* =========================
   Bottom Bar
========================= */
.bottombar{
  position: relative;
  width: 100%;
  height: 54px;

  /* hapus margin-top supaya spacing konsisten */
  margin-top: 0;

  border-radius: 999px;
  display:flex;
  align-items:center;
  gap: 1.2vw;
  padding: 0 1.4vw;
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(212,177,92,.35);
}


.bottom-item{
  display:flex;
  align-items:center;
  gap: .7vw;
  color: rgba(234,243,239,.90);
  font-weight: 750;
  font-size: clamp(12px, 1.0vw, 16px);
  white-space: nowrap;
}

.bottom-strong{
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .5px;
}

.bottom-phone{
  color: rgba(234,243,239,.95);
  font-weight: 900;
}

.sep{
  color: rgba(212,177,92,.9);
  font-weight: 900;
}

.bottom-divider{
  width: 1px;
  height: 60%;
  background: rgba(212,177,92,.35);
}

.bottom-right{
  margin-left:auto;
  display:flex;
  align-items:center;
}

.info-badge{
  padding: .55vh 1.0vw;
  border-radius: 999px;
  background: rgba(212,177,92,.14);
  border: 1px solid rgba(212,177,92,.45);
  color: var(--gold);
  font-weight: 950;
  letter-spacing: .6px;
  font-size: clamp(11px, .95vw, 16px);
  text-transform: uppercase;
}
