/* gr81iptv.com (PREVIEW, 26 Oct 2026, not uploaded): the website of GR81 IPTV Studio, a GR81 Tech Inc. product.
   Sam, 26 Oct 2026 (night): the same family as gr81tech.com, gr81blue.com and gr81aqua.com. Built on gr81blue.com's own
   colours and layout (services/customer-portal: tailwind.config.js + index.css), with the Studio's orange where BLUE
   has its light blue. */
:root {
  --bg: #001932; --surface: #002845; --card: #063354; --border: #0e3f63;
  --ink: #eaf4fc; --muted: #8fc7e8; --white: #fff;
  --accent: #f7941d; --accent-dark: #e07d0a; --accent-ink: #2a1600;
  --blue: #61cbf4; --green: #4ade80; --red: #ff8080;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; scrollbar-color: #2a5a80 transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a5a80; border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: #3a74a2; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); font: 16px/1.6 var(--font); min-height: 100vh; -webkit-font-smoothing: antialiased;
  background-color: #001120;
  background-image:
    radial-gradient(900px 500px at 75% -5%, rgba(247, 148, 29, 0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(97, 203, 244, 0.07), transparent 55%),
    linear-gradient(180deg, #002845 0%, #001932 45%, #000c18 100%);
  background-attachment: fixed; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.brandword b, h1 b, h2 b { color: var(--accent); font-weight: inherit; }

/* Preview band (only while PREVIEW in build.cjs) */
.preview-band { text-align: center; font-size: 13px; padding: 6px 16px; color: #ffd9a3; background: #2b1c05; border-bottom: 1px solid #5a3a0b; }

/* Header: as gr81blue.com */
header { border-bottom: 1px solid rgba(14, 63, 99, .6); }
.nav { max-width: 1152px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand span { font-size: 20px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand span b { color: var(--accent); font-weight: 700; }
.nav nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
.nav nav a { color: var(--muted); }
.nav nav a:hover, .nav nav a.on { color: var(--white); text-decoration: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--border); color: var(--white); border-radius: 10px; padding: 6px 11px; font-size: 16px; }

/* Buttons: the gr81blue.com set */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 12px;
  font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap; transition: all .15s; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn svg.i { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(90deg, var(--accent), var(--accent-dark)); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); box-shadow: 0 8px 28px rgba(247, 148, 29, .35); }
.btn-secondary { border-color: var(--border); color: var(--white); background: rgba(255, 255, 255, .02); }
.btn-secondary:hover { border-color: var(--accent); background: rgba(247, 148, 29, .08); color: var(--white); }
.btn[disabled], .btn.off { opacity: .45; cursor: not-allowed; filter: none; box-shadow: none; }
.btn.wide { width: 100%; }

/* Cards: the gr81blue.com "glass" */
.glass { border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(20, 27, 45, .35)); box-shadow: 0 8px 32px rgba(0, 0, 0, .35); }

/* Sections */
main { padding-bottom: 32px; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: 48px; line-height: 1.15; font-weight: 800; margin: 0 0 16px; letter-spacing: -.01em; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.hero .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .shot { position: relative; }
.hero .shot::before { content: ''; position: absolute; inset: -16px; border-radius: 32px; background: rgba(247, 148, 29, .10); filter: blur(40px); }
.screen { position: relative; border-radius: 20px; overflow: hidden; background: #0a0e1a;
  box-shadow: 0 0 0 1px rgba(247, 148, 29, .35), 0 20px 60px rgba(0, 0, 0, .5); }
.screen.small { border-radius: 16px; box-shadow: 0 0 0 1px rgba(247, 148, 29, .35), 0 16px 40px rgba(0, 0, 0, .5); }
.page-head { text-align: center; padding: 48px 0 32px; }
.page-head h1 { font-size: 40px; line-height: 1.15; font-weight: 800; margin: 0 0 10px; }
.page-head p { color: var(--muted); font-size: 18px; margin: 0 auto; max-width: 700px; }
.block { margin: 72px 0; }
.block > h2 { font-size: 24px; font-weight: 700; text-align: center; margin: 0 0 8px; }
.block > .sub { color: var(--muted); text-align: center; margin: 0 auto 36px; max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.more { text-align: center; margin-top: 22px; font-size: 14px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shots figure { margin: 0; }
.shots figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }
.shots .screen img { aspect-ratio: 16 / 9.5; object-fit: cover; object-position: top left; width: 100%; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 24px; display: flex; gap: 16px; }
.feature .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--card); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--accent); }
.feature .t { font-weight: 600; }
.feature .d { font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step { padding: 24px; }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: rgba(247, 148, 29, .2); color: var(--accent); font-weight: 700;
  display: grid; place-items: center; margin-bottom: 16px; }
.step .t { font-weight: 600; margin-bottom: 4px; }
.step .d { font-size: 14px; color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan.top { border-color: rgba(247, 148, 29, .5); }
.plan .name { font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.plan .tag { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 3px 10px; border-radius: 999px; }
.plan .price { font-size: 44px; font-weight: 800; margin: 10px 0 2px; }
.plan .price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .for { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin: 9px 0; font-size: 15px; }
.plan li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

/* Download */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform { padding: 28px; text-align: center; }
.platform .ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--accent); }
.platform .ico svg.i { width: 26px; height: 26px; }
.platform h3 { margin: 0 0 4px; font-size: 18px; }
.platform p { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

/* Free lists */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba > div { padding: 18px; }
.ba .label { font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.ba .label.before { color: var(--red); }
.ba .label.after { color: var(--green); }
.ba pre { margin: 0; white-space: pre-wrap; word-break: break-all; font: 12.5px/1.6 Consolas, monospace; color: #cfe4f5;
  background: rgba(0, 10, 22, .6); border: 1px solid var(--border); border-radius: 10px; padding: 14px; max-height: 340px; overflow: auto; }
.tvl { padding: 18px; }
.tvl-head { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding: 0 4px 10px;
  border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.tvl .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tvl .chips b { font-weight: 600; color: var(--white); background: rgba(97, 203, 244, .12); border: 1px solid var(--border);
  border-radius: 999px; padding: 2px 10px; }
.tvl-row { display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid rgba(14, 63, 99, .5); font-size: 15px; }
.tvl-row .lg { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 12px;
  font-weight: 800; color: #fff; }
.tvl-row .lg.none { background: #24384b; color: #6d8599; border: 1px dashed #3b5469; }
.tvl-row .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvl-row.bad .nm { color: #a9bccb; }
.tvl-row .why { flex: none; font-size: 12px; font-weight: 600; color: var(--red); background: rgba(255, 128, 128, .1);
  border: 1px solid rgba(255, 128, 128, .3); border-radius: 999px; padding: 2px 10px; }
.tvl-row .cat { flex: none; font-size: 13px; color: var(--muted); }
.tvl-row .ok { flex: none; font-size: 12px; font-weight: 600; color: var(--green); background: rgba(74, 222, 128, .1);
  border: 1px solid rgba(74, 222, 128, .3); border-radius: 999px; padding: 2px 10px; }
.tvl-more { font-size: 13px; color: var(--muted); padding: 12px 4px 0; }
.tvl-more.good { color: var(--green); }
.soon-card { max-width: 640px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: center;
  gap: 10px; color: var(--muted); }
.soon-card svg.i { color: var(--accent); }
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.list { padding: 22px; }
.list h3 { margin: 0; font-size: 17px; }
.list .count { color: var(--muted); font-size: 14px; margin: 2px 0 16px; }
.list .row { display: flex; gap: 10px; }
.list .btn { padding: 8px 14px; font-size: 14px; }
.list { position: relative; }
.soon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(247, 148, 29, .12);
  border: 1px solid rgba(247, 148, 29, .35); border-radius: 999px; padding: 2px 10px; }

/* GR81 Players page */
.c-blue { color: #61cbf4; } .c-aqua { color: #00fff0; }
.players { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.player { padding: 28px; display: flex; gap: 24px; align-items: flex-start; }
.player img { width: 84px; flex: none; }
.player h2 { margin: 0 0 6px; font-size: 24px; }
.player p { color: var(--muted); margin: 0 0 12px; }
.player .ok { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 14px; }
.player .ok.soon-line { color: var(--accent); }

/* Forms and account */
.form { display: grid; gap: 14px; }
label { font-size: 14px; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { font: 15px var(--font); color: var(--white); background: rgba(0, 10, 22, .55); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
select option { background: var(--surface); }
textarea { min-height: 120px; resize: vertical; }
.box { max-width: 460px; margin: 0 auto; padding: 32px; }
.box.wide { max-width: 640px; }
.providers { display: grid; gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0 16px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { display: flex; gap: 10px; align-items: flex-start; padding: 14px; color: var(--white); cursor: pointer; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.choice label:has(input:checked) { border-color: var(--accent); background: rgba(247, 148, 29, .08); }
.choice input { accent-color: var(--accent); margin-top: 4px; }
.choice small { display: block; color: var(--muted); font-size: 13px; }
.acct { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; padding-top: 32px; }
.acct .side { padding: 10px; display: grid; gap: 2px; }
.acct .side a { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 10px 12px; border-radius: 10px; font-size: 15px; white-space: nowrap; }
.acct .side a svg.i { width: 18px; height: 18px; }
.acct .side a:hover, .acct .side a.on { color: var(--white); background: rgba(255, 255, 255, .06); text-decoration: none; }
.acct .panel { display: none; padding: 28px; }
.acct .panel.on { display: block; }
.acct .panel h2 { margin: 0 0 16px; font-size: 22px; }
.acct .plans { max-width: none; margin-top: 22px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rows div:last-child { border-bottom: 0; }
.rows div span:first-child { color: var(--muted); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--green); background: rgba(74, 222, 128, .12); }
.note { background: rgba(97, 203, 244, .08); border: 1px solid rgba(97, 203, 244, .25); border-radius: 12px; padding: 12px 16px; color: #d6efff; font-size: 14px; }
.warn { background: rgba(255, 128, 128, .08); border-color: rgba(255, 128, 128, .35); color: #ffd6d6; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 36px 40px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal p, .legal li { color: #d6e9f7; }
.legal ul { padding-left: 22px; }

/* Footer: as gr81blue.com */
footer { border-top: 1px solid rgba(14, 63, 99, .6); margin-top: 48px; padding: 32px 24px; text-align: center; font-size: 14px; color: var(--muted); }
footer p { margin: 0 auto 10px; max-width: 560px; }
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; margin-bottom: 10px; }
footer nav a { color: var(--muted); padding: 0 12px; border-left: 1px solid var(--border); }
footer nav a:first-child { border-left: 0; }
footer nav a:hover { color: var(--white); }

.nav nav .only-phone { display: none; }

/* App Preview: the gr81blue.com/preview way (Sam, 27 Oct 2026): numbered spots on each picture, the same numbers in
   the text next to it. Spots are placed in % of the picture, so they stay on their place at every size. */
.cap { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin: 0 0 12px; }
.slide { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; padding: 56px 0; }
.slide h2 { font-size: 36px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; margin: 0 0 12px; }
.slide > div > p.lead { color: var(--muted); font-size: 18px; margin: 0 0 28px; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.legend li { display: flex; gap: 16px; }
.num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 14px;
  font-weight: 700; display: grid; place-items: center; }
.legend b { display: block; font-weight: 600; }
.legend span.t { color: var(--muted); font-size: 15px; }
.pinned { position: relative; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  color: var(--accent-ink); font-size: 14px; font-weight: 700; display: grid; place-items: center; border: 2px solid #2a1600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 16px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; margin: 6px 4px 0 0; border: solid var(--accent);
  border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 10px; }
.faq p { color: var(--muted); margin: 12px 0 0; }
@media (max-width: 960px) { .slide { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; } .slide h2 { font-size: 30px; } }
@media (max-width: 640px) { .pin { width: 22px; height: 22px; font-size: 11px; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 24px; }
  .hero .btns { justify-content: center; }
  .cards, .shots { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.three, .platforms { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: relative; flex-wrap: wrap; }
  .nav nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 0; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 8px 0; }
  .nav > .btn { display: none; }
  .nav nav .only-phone { display: inline-flex; }
  .hero h1 { font-size: 38px; }
  .cards, .shots, .steps, .steps.three, .platforms, .plans, .ba, .acct, .choice, .players { grid-template-columns: 1fr; }
  .player { flex-direction: column; align-items: center; text-align: center; } .player .ok { justify-content: center; }
  .wrap { padding: 0 16px; }
  .legal, .box, .acct .panel { padding: 24px 20px; }
  .acct .side { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
}
