:root{
  --bg:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --card:#ffffff;
  --card2:#fafafa;
  --shadow: 0 24px 80px rgba(17,24,39,0.10);
  --r:18px;

  /* Colors (tuned) */
  --gold:#FFD400;
  --goldSoft: rgba(255,212,0,0.16);

  /* ✅ brighter red */
  --red:#FF0033;
  --redSoft: rgba(255,0,51,0.14);

  --container: 1120px;
}

/* ===== Global overflow + center fix ===== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden; /* ✅ stop left-right movement */
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.container{
  width:min(100% - 28px, var(--container));
  margin:0 auto;
}
.icon svg{ width:18px; height:18px; display:block; }
code{ background:#f3f4f6; border:1px solid var(--line); padding:2px 6px; border-radius:8px; }

.section{ padding:72px 0; }
.main{ padding-bottom: 92px; } /* ✅ safe for bottom bar */
.muted{ color: var(--muted); }

/* ===== HEADER (hide on scroll) ===== */
.header{
  position: fixed; /* ✅ real fixed */
  top:0; left:0;
  width:100%;
  z-index: 999;

  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);

  transition: transform .33s ease, box-shadow .33s ease, background .33s ease;
}
.header.hide{ transform: translateY(-110%); }
.header.show{
  transform: translateY(0);
  box-shadow: 0 12px 40px rgba(17,24,39,0.08);
}

/* header content */
.header-row{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  position:relative;
}

/* main starts after header */
.main{ padding-top: 78px; }

.brand{ display:flex; align-items:center; gap:12px; min-width:0; }
.brand-mark{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: var(--gold);
  box-shadow: 0 16px 45px rgba(255,212,0,0.20);
  font-weight: 1000;
  flex: 0 0 auto;
}
.brand-photo{ overflow:hidden; padding:0; background: transparent; border:2px solid rgba(255,212,0,0.55); }
.brand-photo img{ width:100%; height:100%; object-fit:cover; }

.brand-text{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.brand-name{ font-weight: 950; line-height:1.1; }
.brand-sub{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.menu-btn{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(17,24,39,0.06);
  cursor:pointer;
}

.nav{
  display:flex;
  gap: 6px;
  align-items:center;
}
.nav-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-link:hover{
  background: var(--card2);
  border-color: var(--line);
  color: var(--text);
}
.nav-link.active{
  background: var(--goldSoft);
  border-color: rgba(255,212,0,0.35);
  color: var(--text);
}

.section-head{ margin-bottom: 18px; }
.section-head h2{ margin:0 0 6px; font-size: 34px; letter-spacing: -0.7px; }

/* ===== HERO ===== */
.hero-card{
  border:1px solid rgba(17,24,39,0.10);
  border-radius: 26px;
  background:
    radial-gradient(900px 450px at 12% 0%, rgba(255,212,0,0.18), transparent 60%),
    radial-gradient(900px 450px at 90% 30%, rgba(255,0,51,0.10), transparent 62%),
    #ffffff;
  box-shadow: 0 26px 80px rgba(17,24,39,0.10);
  padding: 18px;
  overflow:hidden;
  max-width:100%;
}
.hero-top{
  display:flex;
  gap: 16px;
  align-items:flex-start;
}
.avatar{
  width:92px; height:92px;
  border-radius: 26px;
  background: var(--gold);
  display:grid;
  place-items:center;
  font-weight: 1000;
  font-size: 34px;
  flex: 0 0 auto;
}
.avatar-photo{
  overflow:hidden;
  padding:0;
  background: transparent !important;
  border: 2px solid rgba(255,212,0,0.55);
  box-shadow: 0 16px 45px rgba(17,24,39,0.10);
}
.avatar-photo img{ width:100%; height:100%; object-fit:cover; }

.hero-text{ min-width:0; }
.hero-text h1{
  margin: 8px 0 6px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -1.2px;
  line-height: 1.06;
}
.subtitle{
  margin:0 0 14px;
  color: var(--muted);
  font-weight: 800;
}
.typing{
  border-right: 2px solid var(--red);
  padding-right: 6px;
  color: var(--text);
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--card2);
}
.pill.gold{ background: var(--goldSoft); border-color: rgba(255,212,0,0.35); }
.pill.red{
  background: var(--redSoft);
  border-color: rgba(255,0,51,0.35);
  color:#7a0018;
}
.pill.outline{ background: transparent; }

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  cursor:pointer;
  transition: transform .10s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select:none;
  box-shadow: 0 10px 28px rgba(17,24,39,0.08);
}
.btn:hover{ background: var(--card2); transform: translateY(-1px); box-shadow: 0 18px 45px rgba(17,24,39,0.10); }
.btn:active{ transform: translateY(0); }

.btn.gold{
  background: var(--gold);
  border-color: rgba(255,212,0,0.75);
  color:#111;
  font-weight: 1000;
  box-shadow: 0 18px 45px rgba(255,212,0,0.20);
}
.btn.outline{ background: transparent; }
.btn.soft{
  background: var(--goldSoft);
  border-color: rgba(255,212,0,0.35);
  font-weight: 900;
}

.hero-info{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.info{
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.65);
}
.info-title{ display:block; font-size:12px; color: var(--muted); margin-bottom: 6px; }
.info-value{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== CARDS ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.card{
  border:1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
  padding: 18px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  max-width:100%;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(17,24,39,0.10);
  border-color: rgba(17,24,39,0.16);
}
.card h3{ margin:0 0 10px; }
.list{ margin:0; padding-left: 18px; color: var(--muted); }
.list li{ margin: 6px 0; }
.pill-row{ display:flex; flex-wrap:wrap; gap: 10px; }

/* ===== LINKS ===== */
.links-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.link-card{
  display:flex;
  align-items:center;
  gap: 12px;
  border:1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(17,24,39,0.06);
  padding: 14px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  min-width:0;
  max-width:100%;
}
.link-card:hover{
  transform: translateY(-2px);
  background: var(--card2);
  box-shadow: 0 22px 55px rgba(17,24,39,0.10);
  border-color: rgba(17,24,39,0.16);
}
.link-ic{
  width:46px; height:46px;
  border-radius: 16px;
  display:grid; place-items:center;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}
.link-ic svg{ width:22px; height:22px; }
.link-ic.gold{ background: var(--goldSoft); border-color: rgba(255,212,0,0.35); color:#111; }
.link-ic.red{ background: var(--redSoft); border-color: rgba(255,0,51,0.32); color:#7a0018; }

.link-title{ font-weight: 1000; }
.link-sub{ font-size: 12px; color: var(--muted); margin-top: 2px; }
.arrow{ margin-left:auto; color: var(--muted); font-weight: 900; }

/* ===== CONTACT ===== */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:start;
}
.contact-cards{ display:grid; gap: 10px; margin-top: 12px; }

.mini{
  display:flex;
  align-items:center;
  gap: 12px;
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  background: var(--card2);
}
.mini-ic{
  width:44px; height:44px;
  border-radius: 16px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  flex: 0 0 auto;
}
.mini-ic svg{ width:22px; height:22px; }
.mini-ic.gold{ background: var(--goldSoft); border-color: rgba(255,212,0,0.35); }
.mini-ic.red{ background: var(--redSoft); border-color: rgba(255,0,51,0.35); color:#7a0018; }

.mini-title{ font-size: 12px; color: var(--muted); }
.mini-value{ font-weight: 950; }

.qr-wrap{
  margin-top: 16px;
  border-top: 1px dashed var(--line);
  padding-top: 16px;
}
.qr-box{
  border:1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 12px;
  overflow:hidden;
}
.qr-box img{
  border-radius: 14px;
  border: 1px solid #f3f4f6;
}

.form{ display:grid; gap: 12px; margin-top: 10px; }
.field{ display:grid; gap: 6px; }
label{ font-size: 13px; color: var(--muted); font-weight: 800; }
input, textarea{
  width:100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(255,212,0,0.8);
  box-shadow: 0 0 0 4px rgba(255,212,0,0.12);
}

.small-note{ margin-top: 10px; font-size: 13px; }

/* ===== FOOTER ===== */
.footer{
  border-top: 1px solid var(--line);
  padding: 22px 0 96px;
}
.footer-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.to-top{
  width:42px; height:42px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card2);
  display:grid; place-items:center;
  color: var(--muted);
}

/* ===== reveal ===== */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.show{ opacity:1; transform: translateY(0); }

/* ===== Bottom bar (smaller icons + centered) ===== */
.bottom-bar{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  width: min(520px, calc(100% - 18px));
  z-index: 60;

  display:none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;

  padding: 10px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 16px 40px rgba(17,24,39,.12);
}

.bb-link{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  gap: 5px;
  text-align:center;

  padding: 8px 6px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;

  min-width:0;
  overflow:hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.bb-ic{
  width:20px;
  height:20px;
  display:grid;
  place-items:center;
}
.bb-ic svg{
  width:20px;
  height:20px;
}

.bb-link.active{
  background: var(--goldSoft);
  color: var(--text);
  border: 1px solid rgba(255,212,0,0.35);
}

@media (max-width: 360px){
  .bottom-bar{
    width: calc(100% - 14px);
    bottom: 8px;
    padding: 9px 8px;
    gap: 6px;
  }
  .bb-ic, .bb-ic svg{
    width:18px;
    height:18px;
  }
  .bb-link{
    font-size: 10px;
    padding: 7px 4px;
  }
}

/* ===== responsive ===== */
@media (max-width: 980px){
  .hero-top{ flex-direction: column; }
  .hero-info{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .links-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .brand-sub{ display:none; }
  .menu-btn{ display:inline-grid; place-items:center; }

  .nav{
    position: absolute;
    right: 16px;
    top: 72px;
    width: min(92vw, 340px);
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 10px;

    display:none;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;
  }
  .nav.open{ display:flex; }
  .nav-link{ justify-content:center; }

  .bottom-bar{ display:grid; }
}
