:root{
  --mb-blue-top:#0c3767;
  --mb-blue:#0f4f97;
  --mb-blue-bright:#1f7de2;
  --mb-blue-hover:#2f8cf0;
  --mb-blue-deep:#0a2f59;

  --mb-orange:#ff5a1f;
  --mb-orange-hover:#ff6b33;

  --mb-white:#ffffff;
  --mb-white-soft:#f3f6fb;
  --mb-white-soft-2:#eef3fa;

  --mb-text:#111827;
  --mb-text-soft:#3f4b5f;
  --mb-border:#d8e2f0;
  --mb-shadow:0 12px 35px rgba(6,24,56,.18);
}

*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:linear-gradient(180deg,var(--mb-blue-top) 0%, var(--mb-blue) 32%, #155ead 100%);
  color:var(--mb-text);
  min-height:100vh;
}
a{text-decoration:none;color:inherit}

/* SIDEBAR */
.sidebar{
  width:300px;
  background:linear-gradient(180deg,#0c3767 0%, #0f4f97 55%, #155ead 100%);
  border-right:1px solid rgba(255,255,255,.14);
  display:flex;
  flex-direction:column;
  position:fixed;
  top:0;
  left:0;
  height:100vh;
  overflow-y:auto;
  overflow-x:hidden;
  z-index:50;
  box-shadow:8px 0 30px rgba(0,0,0,.24);
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.sidebar::-webkit-scrollbar{display:none;}

.sidebar .logo{padding:18px 18px 10px;font-size:0;}
.sidebar .logo img{width:200px;height:auto;display:block;}

.sidebar nav{padding:6px 0 10px;}
.sidebar nav a{
  position:relative;
  display:block;
  padding:11px 18px;
  color:rgba(255,255,255,.88);
  font-size:16px;
  transition:all .22s ease;
  opacity:.95;
}
.sidebar nav a::before{
  content:'';
  position:absolute;
  left:0;
  top:0;
  height:100%;
  width:0;
  background:var(--mb-orange);
  border-radius:0 4px 4px 0;
  transition:width .2s ease;
}
.sidebar nav a:hover::before,
.sidebar nav a.active::before{
  width:4px;
}
.sidebar nav a:hover,
.sidebar nav a.active{
  color:#fff;
  background:rgba(255,255,255,.10);
}

.sidebar .sidebar-banner{
  margin:12px;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.sidebar .sidebar-banner img{width:100%;display:block;}

.sidebar .dl-btns{
  padding:10px 12px 6px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.dl-btn{
  display:flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.14);
  color:#fff;
  border:1px solid rgba(255,255,255,.18);
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  font-weight:600;
  transition:all .25s ease;
}
.dl-btn:hover{
  background:rgba(255,255,255,.22);
  transform:translateY(-1px);
}
.dl-btn-icon{
  width:20px;
  height:20px;
  border-radius:4px;
  background:rgba(0,0,0,.16);
  overflow:hidden;
}
.dl-btn-icon img{width:100%;height:100%;object-fit:cover;}
.dl-btn-text{flex:1;}
.dl-btn-label{font-size:11px;color:rgba(255,255,255,.78);display:block;}
.dl-btn-platform{font-size:15px;font-weight:700;}
.dl-btn-arrow{width:14px;height:14px;}
.dl-btn-arrow img{width:100%;height:100%;}

.sidebar .auth-btns{
  display:flex;
  gap:8px;
  padding:12px;
}
.btn-login,
.btn-register{
  flex:1;
  border-radius:8px;
  padding:11px 0;
  font-size:15px;
  cursor:pointer;
  font-weight:800;
  border:none;
  text-align:center;
  display:inline-block;
  transition:all .22s ease;
}
.btn-login{
  background:linear-gradient(180deg,#3da0ff 0%, #1f7de2 100%);
  color:#fff;
  box-shadow:0 6px 18px rgba(31,125,226,.28);
}
.btn-login:hover{
  background:linear-gradient(180deg,#57adff 0%, #2b89ee 100%);
  transform:translateY(-1px);
}
.btn-register{
  background:linear-gradient(180deg,#ff6b2d 0%, #ff5a1f 100%);
  color:#fff;
  box-shadow:0 6px 18px rgba(255,90,31,.3);
}
.btn-register:hover{
  background:linear-gradient(180deg,#ff7a42 0%, #ff6b33 100%);
  transform:translateY(-1px);
}

.sidebar .support{
  padding:10px 18px 6px;
  font-size:14px;
  color:rgba(255,255,255,.72);
  line-height:1.5;
}
.sidebar .support strong{color:#fff;}
.sidebar .mail-icon{padding:4px 18px 16px;}
.sidebar .mail-icon img{width:22px;height:22px;}

/* CONTENT */
.content-area{
  margin-left:300px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.content-inner{
  max-width:980px;
  margin:0 auto;
  padding:26px 22px 34px;
  flex:1;
}

/* BANNERS */
.banners{
  display:flex;
  gap:18px;
  margin-bottom:22px;
}
.banner{
  flex:1;
  border-radius:28px;
  overflow:hidden;
  position:relative;
  min-height:220px;
  width:460px;
  padding:32px 30px;
  display:flex;
  align-items:center;
  isolation:isolate;
  box-shadow:var(--mb-shadow);
}

.banner-deposit{
  background:linear-gradient(180deg,#0f4f97 0%, #1765b6 100%);
}
.banner-drop{
  background:linear-gradient(180deg,#155ead 0%, #1f7de2 100%);
}

.banner::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.18), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,.08), transparent 34%);
  pointer-events:none;
}

.banner-bubbles{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  z-index:0;
}
.banner-bubbles span{
  position:absolute;
  bottom:-40px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  box-shadow:0 0 12px rgba(255,255,255,.55);
  opacity:0;
  animation:bannerParticle 10s linear infinite;
}
.banner-bubbles span:nth-child(1){left:10%;width:4px;height:4px;animation-duration:11s;animation-delay:-2s;}
.banner-bubbles span:nth-child(2){left:28%;width:5px;height:5px;animation-duration:9s;animation-delay:-5s;}
.banner-bubbles span:nth-child(3){left:46%;width:6px;height:6px;animation-duration:12s;animation-delay:-7s;}
.banner-bubbles span:nth-child(4){left:64%;width:5px;height:5px;animation-duration:10s;animation-delay:-3s;}
.banner-bubbles span:nth-child(5){left:82%;width:7px;height:7px;animation-duration:13s;animation-delay:-6s;}

@keyframes bannerParticle{
  0%{transform:translate3d(0,0,0) scale(.6);opacity:0;}
  10%{opacity:.55;}
  40%{opacity:.9;}
  80%{opacity:.35;}
  100%{transform:translate3d(0,-220px,0) scale(1);opacity:0;}
}

.banner-content{
  position:relative;
  z-index:1;
}
.banner-deposit h2{
  font-size:25px;
  font-weight:900;
  color:#fff;
  text-transform:uppercase;
  line-height:1.2;
  margin-bottom:14px;
}

.banner-deposit .now-btn{
  display: inline-block;
  border:none;
  border-radius:10px;
  padding:12px 24px;
  font-size:15px;
  font-weight:800;
  text-transform:uppercase;
  background:linear-gradient(180deg,#ff6b2d 0%, #ff5a1f 100%);
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(255,90,31,.28);
  transition:all .2s ease;
}
.banner-deposit .now-btn:hover{
  background:linear-gradient(180deg,#ff7a42 0%, #ff6b33 100%);
  transform:translateY(-1px);
}

.banner-drop .amount-label{
  font-size:14px;
  color:rgba(255,255,255,.92);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.banner-drop .amount{
  font-size:34px;
  font-weight:900;
  color:#ffffff;
  margin:4px 0 10px;
}
.banner-drop .drop-btns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.banner-drop .btn-yellow{
  background:linear-gradient(180deg,#ff6b2d 0%, #ff5a1f 100%);
  color:#fff;
  border:none;
  border-radius:10px;
  padding:10px 20px;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  transition:all .2s ease;
}
.banner-drop .btn-yellow:hover{
  background:linear-gradient(180deg,#ff7a42 0%, #ff6b33 100%);
  transform:translateY(-1px);
}
.banner-drop .btn-outline{
  background:#ffffff;
  color:#174a85;
  border:none;
  border-radius:999px;
  padding:10px 20px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}
.banner-drop .btn-outline:hover{
  background:#f2f7ff;
  transform:translateY(-1px);
}

/* ARTICLE AREA */
.article{
  background:var(--mb-white);
  color:var(--mb-text);
  border-radius:34px;
  padding:42px 44px;
  box-shadow:var(--mb-shadow);
}
.toc{
  margin:16px 0 20px;
  border-radius:14px;
  overflow:hidden;
  background:var(--mb-white-soft);
  border:1px solid var(--mb-border);
}
.toc img{width:100%;display:block;}

.article h1{
  font-size:25px;
  font-weight:800;
  color:#0f1728;
  margin-bottom:10px;
  line-height:1.3;
}
.article p, .article ul, .article ol{
  font-size:15px;
  color:var(--mb-text-soft);
  line-height:1.8;
  margin-bottom:12px;
}
.article h2{
  font-size:21px;
  color:#0f1728;
  margin:24px 0 12px;
}

/*GG*/
table {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:18px 0 24px;
  font-size:16px;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--mb-border);
}
table tr:nth-child(odd){background:#f7faff;}
table tr:nth-child(even){background:#eef4fb;}
table th, td {
  padding:12px 18px;
  border:none;
}
table td:first-child{color:#4c5b71;width:20%;}
table td:last-child{color:#142033;font-weight:500;}

.page-image {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.page-image img {
  width: 800px;
  max-width: 100%;
  height: auto;
  display: block;

  border-radius: 12px;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.45),
    0 0 20px rgba(240,199,102,0.08);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-image img:hover {
  transform: scale(1.02);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.6),
    0 0 30px rgba(240,199,102,0.18);
}
/*  /GG  */

/* MOBILE HEADER */
.mobile-header{
  display:none;
  position:sticky;
  top:0;
  z-index:60;
  background:linear-gradient(180deg,#0c3767 0%, #0f4f97 100%);
  box-shadow:0 6px 24px rgba(0,0,0,.22);
}
.mobile-header-inner{
  max-width:980px;
  margin:0 auto;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.mobile-logo img{
  height:32px;
  width:auto;
  display:block;
}
.mobile-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.mobile-actions .btn-login,
.mobile-actions .btn-register{
  padding:8px 16px;
  font-size:13px;
}
.burger{
  border:none;
  border-radius:8px;
  width:36px;
  height:32px;
  background:rgba(255,255,255,.14);
  color:#fff;
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s,transform .15s;
}
.burger:hover{
  background:rgba(255,255,255,.22);
  transform:translateY(-1px);
}

.mobile-nav{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(11,50,95,.96);
  z-index:80;
}
.mobile-nav.open{display:block;}
.mobile-nav-inner{
  max-width:360px;
  margin:0 auto;
  padding:18px 18px 24px;
}
.mobile-nav-close{
  border:none;
  background:transparent;
  color:#fff;
  font-size:26px;
  cursor:pointer;
  margin-left:auto;
  display:block;
}
.mobile-nav-menu{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.mobile-nav-menu a{
  padding:12px 8px;
  border-bottom:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:14px;
}
.mobile-nav-menu a:hover{
  background:rgba(255,255,255,.1);
}

/* FOOTER */
.footer{
  background:transparent;
  padding:24px 24px 26px;
  margin-top:12px;
}
.footer-inner{
  max-width:980px;
  margin:0 auto;
  background:var(--mb-white);
  border-radius:28px;
  padding:24px;
  box-shadow:var(--mb-shadow);
}

.footer-top-row{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:16px;
  margin-bottom:18px;
}
.footer-support-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(180deg,#0f4f97 0%, #1f7de2 100%);
  min-height:120px;
}
.footer-support-bg{position:absolute;inset:0;}
.footer-support-bg img{
  width:30%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.18;
  margin:0 0 0 300px;
}
.footer-support-content{
  position:absolute;
  inset:0;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.footer-support-label{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
}
.footer-support-title{
  font-size:15px;
  font-weight:700;
  color:#ffffff;
}
.footer-support-badge{
  background:#fff;
  color:#0f4f97;
  font-size:11px;
  font-weight:800;
  padding:3px 8px;
  border-radius:999px;
}
.footer-support-text{
  font-size:13px;
  color:rgba(255,255,255,.92);
  margin-bottom:10px;
}
.footer-support-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  font-size:13px;
  font-weight:800;
  border-radius:10px;
  background:linear-gradient(180deg,#ff6b2d 0%, #ff5a1f 100%);
  color:#fff;
  max-width:220px;
  transition:all .2s ease;
}
.footer-support-btn:hover{
  background:linear-gradient(180deg,#ff7a42 0%, #ff6b33 100%);
  transform:translateY(-1px);
}

.footer-small-card{
  border-radius:18px;
  background:#f5f8fd;
  padding:12px 14px;
  display:flex;
  align-items:center;
  border:1px solid var(--mb-border);
}
.footer-small-card-inner{width:100%;}
.footer-small-title{
  font-size:13px;
  color:#617089;
  margin-bottom:6px;
}
.footer-small-mail{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#162133;
}
.footer-small-mail img{
  width:20px;
  height:20px;
  display:block;
  object-fit:contain;
}

.footer-apps-row{
  display:grid;
  grid-template-columns:2fr 1.3fr 1.3fr;
  gap:16px;
  margin-bottom:22px;
}
.footer-app-card{
  border-radius:18px;
  background:#f5f8fd;
  overflow:hidden;
  display:flex;
  align-items:stretch;
  border:1px solid var(--mb-border);
}
.footer-app-card-main{
  background:linear-gradient(180deg,#0f4f97 0%, #1f7de2 100%);
}
.footer-app-img{
  flex:0 0 140px;
  height:120px;
  object-fit:cover;
  display:block;
}
.footer-app-card-main .footer-app-img{
  flex:0 0 150px;
  height:130px;
}
.footer-app-content{
  padding:14px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
}
.footer-app-title{
  font-size:14px;
  font-weight:700;
  color:#122033;
}
.footer-app-card-main .footer-app-title,
.footer-app-card-main .footer-app-text{
  color:#fff;
}
.footer-app-text{
  font-size:12px;
  color:#596a83;
}
.footer-app-btn{
  margin-top:6px;
  align-self:flex-start;
  padding:8px 14px;
  font-size:12px;
  font-weight:800;
  border-radius:10px;
  background:linear-gradient(180deg,#ff6b2d 0%, #ff5a1f 100%);
  color:#fff;
  transition:all .2s ease;
}
.footer-app-btn:hover{
  background:linear-gradient(180deg,#ff7a42 0%, #ff6b33 100%);
  transform:translateY(-1px);
}

.footer-links-row{
  display:flex;
  gap:60px;
  margin-bottom:22px;
}
.footer-links-col{min-width:160px;}
.footer-links-title{
  font-size:15px;
  font-weight:700;
  color:#122033;
  margin-bottom:10px;
}
.footer-links-col ul{list-style:none;}
.footer-links-col li{margin-bottom:6px;}
.footer-links-col a{
  font-size:13px;
  color:#5e6e86;
  transition:color .2s;
}
.footer-links-col a:hover{color:#1f7de2;}

.footer-bottom-row{
  border-top:1px solid var(--mb-border);
  padding-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.footer-social{
  display:flex;
  gap:8px;
}
.footer-social-icon{
  width:32px;
  height:32px;
  border-radius:8px;
  background:#eef4fb;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .2s,transform .15s;
}
.footer-social-icon img{
  width:24px;
  height:24px;
  display:block;
  object-fit:contain;
}
.footer-social-icon:hover{
  background:#dfeafb;
  transform:translateY(-1px);
}
.footer-copy-line{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:#6c7c92;
}
.footer-age{font-weight:700;color:#122033;}

/* ADAPTIVE */
@media(max-width:900px){
  .content-inner{max-width:100%;}
  .banners{flex-direction:column;}
  .footer-top-row{grid-template-columns:1fr;}
  .footer-apps-row{grid-template-columns:1fr;}
  .footer-links-row{flex-direction:column;gap:18px;}
}
@media(max-width:768px){
  .sidebar{display:none;}
  .mobile-header{display:block;}
  .content-area{margin-left:0;}
  .content-inner{padding:14px 12px 22px;}
  .article{padding:28px 22px;border-radius:24px;}
}
@media(max-width:600px){
  .footer{padding:18px 14px 20px;}
  .footer-inner{padding:18px;}
  .footer-bottom-row{flex-direction:column;align-items:flex-start;}
}
