*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:#f4f4f4;
  color:#111;
  font-family:
    Arial,
    sans-serif;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0;
  overflow-x:hidden;
}

html{
  height:100%;
}

body.dark-mode{
  background:#111;
  color:white;
}

/* =====================
   HEADER
===================== */
.top-header{
  position:sticky;
  top:0;
  z-index:999;
  background:black;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 12px;
  box-shadow:
    0 2px 8px rgba(0,0,0,.2);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:10px;
}

.header-logo{
  width:37px;
  height:37px;
  object-fit:contain;
  display:block;
}

.brand-title{
  color:white;
  font-family:'Rubik Marker Hatch', sans-serif;
  font-size:28px;
  letter-spacing:2px;
  line-height:1;
}
/* =====================
   PAGE WRAPPER
===================== */
.page-wrapper{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:10px 16px 100px;
  flex:1;
}

.content-wrapper{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:
    10px
    16px
    100px;
  flex:1;
}

.page-title{
  text-align:center;
  font-size:24px;
  font-weight:800;
  margin:
    6px 0 18px;
}

.card{
  background:white;
  border-radius:14px;
  overflow:hidden;
}

body.dark-mode .page-title{
  color:white;
}

/* =====================
   FOOTER
===================== */
.bottom-footer{
  background:black;
  color:white;
  text-align:center;
  font-size:11px;
  font-style:italic;
  letter-spacing:1px;
  padding:6px 10px;
  opacity:.9;
}

/* =====================
   FLOATING BUTTON
===================== */
.floating-buttons{
  position:fixed;
  right:16px;
  bottom:30px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:999;
}

.floating-buttons button{
  width:44px;
  height:44px;
  border:none;
  border-radius:12px;
  background:#1f1f1f;
  color:white;
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
  box-shadow:
    0 4px 10px rgba(0,0,0,.25);
}

/* =====================
   BUTTON
===================== */
.main-btn{
  border:none;
  background:black;
  color:white;
  border-radius:10px;
  padding:10px 16px;
  cursor:pointer;
}

body.dark-mode .main-btn{
  background:white;
  color:black;
}

