:root{
  --bg:#333332;
  --panel:#333332;
  --card:#121a2a;
  --ink:#3fff04;
  --muted:#cbd5e1;
  --brand:#3b82f6;
  --shadow:0 10px 25px rgba(0,0,0,.25);
  --radius:0px;
}

*{
  box-sizing:border-box;
}

html,
body{
  height:100%;
}

body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--ink);
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans",Helvetica,Arial,sans-serif;
  display:flex;
  justify-content:center;
  align-items:stretch;
}

/* ===== Main layout ===== */

.phone{
  width:390px;
  max-width:100%;
  height:100vh;
  max-height:100vh;
  background:var(--panel);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:auto;
  position:relative;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.container{
  width:100%;
  max-width:380px;
  margin:0 auto;
  background:linear-gradient(180deg,rgba(223,223,1,.10),rgba(223,223,1,.10));
  border-radius:24px;
  box-shadow:var(--shadow);
}

h1{
  margin:0 0 8px;
  font-size:28px;
  letter-spacing:.5px;
}

.tip{
  margin:0 0 18px;
  color:var(--muted);
}

/* ===== Input area ===== */

.input-row{
  display:flex;
  gap:0;
  margin:14px 0 8px;
}

.input-row input{
  flex:1;
  min-width:0;
  padding:14px 16px;
  border-radius:0;
  border:1px solid rgba(255,255,255,.1);
  background:#0f172a;
  color:var(--ink);
  outline:none;
  font-size:16px;
}

.input-row input::placeholder{
  color:#64748b;
}

.btn{
  padding:12px 18px;
  border-radius:0;
  border:0;
  cursor:pointer;
  background:#ff1818;
  color:#fff;
  font-weight:600;
  letter-spacing:.2px;
}

.btn:hover{
  background:#15e213;
}

.hint{
  color:#8ca0b4;
}

.hint code{
  padding:2px 6px;
  border-radius:6px;
  background:#0f172a;
  border:1px solid rgba(255,255,255,.06);
}

/* ===== Modal ===== */

.modal{
  position:fixed;
  inset:0;
  display:none;
  place-items:center;
  background:rgba(2,6,23,.46);
  backdrop-filter:blur(4px);
  z-index:50;
}

.modal.open{
  display:grid;
}

.modal-box{
  width:min(380px,92vw);
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:18px 18px 20px;
  box-shadow:var(--shadow);
  text-align:center;
  position:relative;
}

.modal-image{
  width:120px;
  height:120px;
  object-fit:contain;
  margin:8px auto 12px;
}

.modal-title{
  margin:8px 0 6px;
  font-size:22px;
}

.modal-desc{
  margin:0 0 12px;
  color:var(--muted);
}

.modal-close{
  position:absolute;
  right:10px;
  top:8px;
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.1);
  background:#0f172a;
  color:#cbd5e1;
  cursor:pointer;
  font-size:20px;
  line-height:1;
}

.btn-primary{
  display:inline-block;
  min-width:120px;
}

/* ===== Header ===== */

.topbar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:64px;
  padding:10px 0;
  background:#1a1f28;
  border-bottom:1px solid #0f141c;
  position:sticky;
  top:0;
  z-index:1000;
}

.brand-logo{
  height:50px;
  width:auto;
  display:block;
  object-fit:contain;
}

/* ===== Brand logos ===== */

.brand-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  padding:12px;
}

.brand-grid .cell{
  height:40px;
}

.brand-grid img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* ===== Intro heading ===== */

.container .intro-headline{
  margin:10px 12px 12px;
  text-align:center;
}

.container .intro-headline__title{
  margin:0;
  text-transform:uppercase;
  font-weight:900;
  line-height:1.05;
  letter-spacing:.06em;
  font-size:clamp(22px,6.2vw,34px);
  background:linear-gradient(180deg,#ffd36e 0%,#f0a500 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  text-shadow:0 2px 0 rgba(0,0,0,.18);
}

.container .intro-headline__sub{
  margin:8px 0 0;
  font-size:clamp(14px,3.6vw,18px);
  font-weight:700;
  color:#f1f5f9;
  letter-spacing:.02em;
}

@supports not (-webkit-background-clip:text){
  .container .intro-headline__title{
    -webkit-text-fill-color:initial;
    color:#f0a500;
    background:none;
    text-shadow:none;
  }
}

/* ===== Official lines ===== */

.lines-card{
  margin:12px 0;
  padding:14px;
  border-radius:16px;
  background:#0f1420;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

.lines-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  font-weight:800;
  color:#ffd88a;
}

.lines-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}

.line-row{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:12px;
  background:#121a2a;
  border:1px solid rgba(255,255,255,.06);
}

.line-num{
  width:28px;
  height:28px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#ff5b56;
  color:#fff;
  font-weight:700;
}

.line-domain{
  color:#e6eef9;
  font-weight:700;
  word-break:break-all;
}

.line-btn{
  padding:8px 12px;
  border:0;
  border-radius:10px;
  cursor:pointer;
  background:#ff3a2f;
  color:#fff;
  font-weight:700;
}

.line-btn:active{
  transform:translateY(1px);
}

/* ===== Information boxes ===== */

.why-box{
  position:relative;
  margin:16px 12px 12px;
  padding:14px 16px;
  border-radius:16px;
  background:#0e141f;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 8px 24px rgba(0,0,0,.28);
}

.why-box::before{
  content:"";
  position:absolute;
  left:10px;
  top:10px;
  bottom:10px;
  width:3px;
  border-radius:3px;
  background:linear-gradient(180deg,#fdd835,#ffb300);
}

.why-box h2{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.35;
  font-weight:800;
  color:#ffd88a;
  letter-spacing:.2px;
}

.why-box p{
  margin:0;
  font-size:14px;
  line-height:1.65;
  color:#cbd5e1;
}

.why--gold{
  border:1px solid transparent;
  background:
    linear-gradient(#0e141f,#0e141f) padding-box,
    linear-gradient(90deg,#fdd835,#ffb300) border-box;
}

.why--green{
  border:1px solid transparent;
  background:
    linear-gradient(#0e141f,#0e141f) padding-box,
    linear-gradient(90deg,#34d399,#059669) border-box;
}

.why--green h2{
  color:#34d399;
}

/* ===== Floating buttons ===== */

.fab-stack{
  position:fixed;
  right:14px;
  bottom:18px;
  display:grid;
  gap:12px;
  z-index:9999;
}

.fab{
  width:56px;
  height:56px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#111;
  color:#fff;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  border:2px solid rgba(255,255,255,.15);
  transition:transform .15s ease;
}

.fab:hover{
  transform:translateY(-2px);
}

.fab img,
.fab svg{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}

.fab.fab--cover img,
.fab.fab--cover svg{
  width:100%;
  height:100%;
}

/* ===== Network access help ===== */

.network-help-card{
  width:calc(100% - 24px);
  margin:12px;
  padding:15px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  border-radius:16px;
  background:linear-gradient(145deg,#171c24,#0d1118);
  border:1px solid rgba(246,184,0,.55);
  box-shadow:
    0 8px 24px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.network-help-card .network-help-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:#f6b800;
  color:#111;
  -webkit-text-fill-color:#111;
  font-size:22px;
  line-height:1;
}

.network-help-card .network-help-content{
  min-width:0;
  flex:1;
}

.network-help-card .network-help-content h2{
  margin:0 0 7px;
  padding:0;
  color:#ffd86a;
  -webkit-text-fill-color:#ffd86a;
  background:none;
  font-size:17px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:0;
  text-transform:none;
  text-shadow:none;
}

.network-help-card .network-help-content p{
  margin:0;
  padding:0;
  color:#d7dee9;
  -webkit-text-fill-color:#d7dee9;
  background:none;
  font-size:13px;
  font-weight:400;
  line-height:1.55;
}

.network-help-card .network-help-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:12px;
}

.network-help-card a.network-help-btn{
  width:100%;
  min-height:40px;
  padding:9px 10px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  box-sizing:border-box;
  text-decoration:none;
  text-align:center;
  font-size:13px;
  line-height:1.2;
  font-weight:800;
  cursor:pointer;
}

.network-help-card a.network-help-btn--primary,
.network-help-card a.network-help-btn--primary:link,
.network-help-card a.network-help-btn--primary:visited,
.network-help-card a.network-help-btn--primary:hover,
.network-help-card a.network-help-btn--primary:active{
  background:#f6b800;
  color:#111;
  -webkit-text-fill-color:#111;
  text-decoration:none;
}

.network-help-card a.network-help-btn--secondary,
.network-help-card a.network-help-btn--secondary:link,
.network-help-card a.network-help-btn--secondary:visited,
.network-help-card a.network-help-btn--secondary:hover,
.network-help-card a.network-help-btn--secondary:active{
  background:#202936;
  color:#fff;
  -webkit-text-fill-color:#fff;
  border:1px solid rgba(255,255,255,.14);
  text-decoration:none;
}

.network-help-card a.network-help-btn:hover{
  opacity:.92;
}

.fab--vpn{
  background:#f6b800 !important;
  border-color:rgba(255,216,106,.65) !important;
}

/* ===== Responsive ===== */

@media (max-width:420px){
  .fab{
    width:50px;
    height:50px;
  }

  .fab img,
  .fab svg,
  .fab.fab--cover img,
  .fab.fab--cover svg{
    width:100%;
    height:100%;
  }
}

@media (max-width:350px){
  .network-help-card .network-help-actions{
    grid-template-columns:1fr;
  }
}
