/*
 * Hot IPTV — presentation-only redesign for /, /free/, /m3u/.
 * Loaded only by those three pages; existing PHP, requests, and JS remain unchanged.
 * Logo: replace /assets/your-logo.png in the three HTML pages.
 */
.hotplayer-portal{
  --ink:#17202d;--muted:#68717f;--line:#e2e5ea;--soft:#f6f7fa;
  --surface:#fff;--brand:#ffd34c;--brand-dark:#ffc62a;
  --brand-soft:#fff8d9;--shadow:0 4px 16px rgba(17,24,39,.06),0 1px 3px rgba(17,24,39,.04);
  min-height:100vh;background:#f5f6f8;color:#17202d;font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
.hotplayer-portal::before{display:none}
.hotplayer-portal .page{width:100%;min-height:100vh;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;padding:0}
.hp-header{width:100%;background:#fff;border-bottom:1px solid #e2e5ea;box-shadow:0 1px 4px rgba(20,30,50,.05)}
.hp-header__top{max-width:1000px;min-height:88px;margin:auto;padding:16px 26px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.hotplayer-portal .brand{display:flex;align-items:center;gap:13px;margin:0;min-width:0;color:inherit;text-decoration:none}
.hotplayer-portal .brand__icon{position:relative;flex:0 0 52px;width:52px;height:52px;border:2px dashed #cbd1dc;border-radius:11px;background:#f9fafb;color:#8791a0;box-shadow:none;display:grid;place-items:center;overflow:hidden}
.hotplayer-portal .brand__icon>.hp-svg{width:26px;height:26px}
.brand__logo-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.hotplayer-portal .brand__name{font-size:clamp(1.05rem,2.5vw,1.4rem);font-weight:800;letter-spacing:-.045em;white-space:nowrap}
.hp-svg{width:23px;height:23px;display:block;flex-shrink:0}
.hp-header__tools{display:flex;align-items:center;gap:21px;color:#182231}
.hp-header__tool{display:grid;place-items:center;width:24px;height:28px}
.hp-header__lang{display:grid;place-items:center;min-width:36px;height:35px;border-radius:9px;padding:0 7px;background:#182231;color:#fff;font-size:.8rem;font-weight:750}
.hp-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:1000px;margin:0 auto;width:100%;border-top:1px solid #f0f1f3}
.hp-tab{position:relative;min-height:86px;padding:12px 7px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#202936;text-decoration:none;text-align:center;font-size:.88rem;font-weight:600;line-height:1.35;transition:background .16s}
.hp-tab:hover{background:#fafafb}
.hp-tab .hp-svg{width:23px;height:23px}
.hp-tab:not(:last-child)::after{content:'';position:absolute;right:0;top:23px;height:39px;width:1px;background:#e4e7ec}
.hp-tab.is-active::before{content:'';position:absolute;bottom:0;left:0;right:0;height:4px;background:#ffc33d;border-radius:3px 3px 0 0}
.hp-tab.is-active{font-weight:750;color:#151d2a}
.hp-content{width:min(100% - 36px,820px);margin:25px auto 38px;display:flex;flex-direction:column;gap:20px}
.hp-info-banner{display:flex;align-items:flex-start;gap:15px;width:100%;padding:18px 20px;border:1px solid #c7c9fb;border-radius:10px;background:#eff0ff;color:#4540af}
.hp-info-banner__icon{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border-radius:50%;background:#4c47b7;color:#fff;margin-top:3px}
.hp-info-banner__icon .hp-svg{width:18px;height:18px;stroke-width:2.2}
.hp-info-banner__text{min-width:0}
.hotplayer-portal .card__badge{display:inline-block;min-height:auto;margin:0 9px 4px 0;padding:0;color:#4740b6;border:0;border-radius:0;background:none;font-size:.75rem;letter-spacing:0;text-transform:none}
.hotplayer-portal .card__subtitle{display:inline;color:#4540af;font-size:.86rem;line-height:1.6;margin:0;font-weight:600}
.hotplayer-portal .card{width:100%;max-width:none;border:1px solid #e9ebee;border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden;backdrop-filter:none}
.hotplayer-portal .card__header{padding:26px 26px 21px;text-align:left;border-bottom:1px solid #e5e7eb}
.hotplayer-portal .card__header::after{display:none}
.hotplayer-portal .card__title{color:#18212e;line-height:1.3;font-weight:800;font-size:clamp(1.2rem,3.4vw,1.6rem);letter-spacing:-.04em}
.hotplayer-portal .card__body{padding:28px 26px 26px}
.hotplayer-portal .card__body form{display:flex;flex-direction:column;align-items:stretch;gap:0}
.hotplayer-portal .field-group{margin-bottom:19px}
.hotplayer-portal .field-label{color:#404a5c;font-size:.89rem;font-weight:650;line-height:1.5;margin-bottom:8px}
.hotplayer-portal .field-input{width:100%;height:54px;padding:0 16px;background:#fff;border:1px solid #d3d8e0;border-radius:10px;font-size:.91rem;box-shadow:0 2px 4px rgba(17,24,39,.03);text-align:left}
.hotplayer-portal .field-input--mac{font-family:'JetBrains Mono',ui-monospace,monospace;font-size:.9rem;letter-spacing:.025em;text-transform:uppercase}
.hotplayer-portal .field-input--mac::placeholder{font-size:.85rem}
.hotplayer-portal .field-input:focus{border-color:#b4a6ff;box-shadow:0 0 0 3px rgba(83,76,181,.12)}
.hotplayer-portal .field-hint{font-size:.75rem;color:#808997;margin-top:8px}
.hotplayer-portal .btn-primary{display:inline-flex;align-items:center;justify-content:center;align-self:flex-end;width:auto;max-width:100%;min-width:178px;min-height:52px;padding:14px 21px;margin-top:20px;background:#ffd34c;color:#1d2532;border-radius:10px;border:0;box-shadow:none;font-size:.88rem;font-weight:800;letter-spacing:0;text-decoration:none;cursor:pointer}
.hotplayer-portal .btn-primary::after{content:'›';font-size:1.65rem;font-weight:500;line-height:.65;margin-left:15px}
.hotplayer-portal .btn-primary:hover{background:#ffc73a;transform:none;box-shadow:0 5px 13px rgba(189,138,22,.16)}
.hotplayer-portal .btn-primary:disabled{opacity:.6;cursor:wait}
.hp-features-card{width:100%;border:1px solid #e9ebee;border-radius:12px;background:#fff;box-shadow:var(--shadow);overflow:hidden}
.hotplayer-portal .features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:9px 16px;border:0;background:#fff}
.hotplayer-portal .feature{padding:18px 15px;gap:13px}
.hotplayer-portal .feature+.feature{border-left:1px solid #eceef1}
.hotplayer-portal .feature__icon{flex:0 0 39px;width:39px;height:39px;color:#5043b9;background:#f0effe;border:1px solid #dedbfd;border-radius:11px}
.hotplayer-portal .feature__icon svg{width:19px;height:19px}
.hotplayer-portal .feature__text strong{color:#263040;font-size:.82rem}
.hotplayer-portal .feature__text span{color:#778191;font-size:.74rem;white-space:normal;line-height:1.55}
.hotplayer-portal .steps{margin:0;padding:20px 26px 0;background:#fff}
.hotplayer-portal .step{color:#818a99;font-size:.75rem}
.hotplayer-portal .step.is-active{color:#9a6a00}
.hotplayer-portal .step.is-active .step__dot{color:#1f2937;background:#ffd34c;border-color:#ffd34c;box-shadow:0 0 0 4px #fff6d9}
.hotplayer-portal .step.is-done{color:#11845b}
.hotplayer-portal .product-area{border-top-color:#e3e5e9}
.hotplayer-portal .footer-links{width:100%;max-width:none;min-height:100px;margin:auto 0 0;padding:24px 14px 29px;display:flex;align-items:center;justify-content:center;gap:10px 18px;border-top:1px solid #e6e7eb;background:#f5f6f8}
.hotplayer-portal .footer-links a{font-size:.77rem;color:#697382;font-weight:600;padding:7px 9px;border-radius:6px}
.hotplayer-portal .footer-links a:hover{color:#393cae;background:#eaeaf6}
.hotplayer-portal .message--info{color:#4540af;background:#eff0ff;border-color:#c7c9fb}
.hotplayer-portal .spinner{border-top-color:#dba725}
.hotplayer-portal .modal .btn-primary{min-width:0;min-height:43px;margin-top:0}
@media(max-width:620px){
 .hp-header__top{min-height:77px;padding:13px 18px}
 .hotplayer-portal .brand__icon{flex-basis:43px;width:43px;height:43px;border-radius:9px}
 .hotplayer-portal .brand__name{font-size:1.11rem}
 .hp-header__tools{gap:14px}
 .hp-header__tool{width:22px}
 .hp-header__tool .hp-svg{width:21px;height:21px}
 .hp-tabs .hp-tab{min-height:82px;padding:11px 5px 13px;gap:7px;font-size:.75rem}
 .hp-tab .hp-svg{width:22px;height:22px}
 .hp-content{width:calc(100% - 28px);margin:19px auto 25px;gap:17px}
 .hp-info-banner{padding:15px 16px;gap:12px}
 .hp-info-banner__text .card__subtitle{font-size:.81rem}
 .hotplayer-portal .card__header{padding:24px 22px 19px}
 .hotplayer-portal .card__body{padding:23px 22px 25px}
 .hotplayer-portal .steps{padding:20px 14px 0}
 .hotplayer-portal .features{grid-template-columns:1fr;padding:4px 14px}
 .hotplayer-portal .feature{padding:14px 10px}
 .hotplayer-portal .feature+.feature{border-left:0;border-top:1px solid #eceef1}
 .hotplayer-portal .footer-links{padding:22px 10px;gap:4px 9px}
}
@media(max-width:380px){
 .hotplayer-portal .brand__name{font-size:1rem}
 .hp-header__tools{gap:9px}
 .hp-header__lang{height:31px;min-width:32px;font-size:.72rem}
 .hp-tabs .hp-tab{font-size:.67rem}
 .hotplayer-portal .card__body{padding:21px 17px 22px}
 .hotplayer-portal .card__header{padding:22px 17px 17px}
 .hotplayer-portal .field-input{font-size:.85rem}
 .hotplayer-portal .btn-primary{font-size:.78rem;min-width:0}
}
