:root {
  --ink: #151515;
  --black: #090b10;
  --navy: #071326;
  --navy-2: #102e62;
  --blue: #0c5fd7;
  --gold: #ffcf45;
  --gold-2: #f49b18;
  --red: #e9282b;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: rgba(10, 26, 52, .12);
  --muted: #627088;
  --max: 1160px;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--soft); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.ab-top { background: #17191d; color: #fff; }
.ab-top-inner { width: min(var(--max), calc(100% - 36px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ab-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; line-height: 1; min-width: 0; }
.ab-brand-mark { width: 58px; height: 58px; border-radius: 8px; display: grid; place-items: center; color: #111; background: linear-gradient(145deg, #ffe06a, #f29a14); border: 2px solid rgba(255,255,255,.18); box-shadow: 0 12px 26px rgba(0,0,0,.35); font-size: 17px; }
.ab-brand-name { display: block; font-size: 40px; color: #f7f4ff; }
.ab-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; min-width: 0; }
.ab-btn { min-width: 0; min-height: 40px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.ab-btn svg { width: 18px; height: 18px; }
.ab-blue { color: #fff; background: linear-gradient(180deg, #4572a8, #24517e); box-shadow: 0 12px 24px rgba(0,0,0,.22); }
.ab-gold { color: #201000; background: linear-gradient(180deg, #ffe66e, #f5a01b); box-shadow: 0 14px 26px rgba(244,155,24,.25); }
.ab-red { color: #fff; background: linear-gradient(180deg, #ff4449, #c80910); box-shadow: 0 12px 24px rgba(233,40,43,.25); }
.ab-nav { background: #020304; color: #fff; }
.ab-nav-inner { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.ab-nav-inner a { flex: 0 0 auto; padding: 18px 13px; font-size: 14px; font-weight: 900; text-transform: uppercase; white-space: nowrap; position: relative; }
.ab-nav-inner a.is-active, .ab-nav-inner a:first-child { color: #f4ff19; }
.ab-nav-inner a.is-active::after, .ab-nav-inner a:first-child::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 10px; height: 3px; background: #f4ff19; }
.ab-home svg { width: 19px; height: 19px; }
.ab-hero { min-height: 520px; color: #fff; background: #061225; position: relative; overflow: hidden; }
.ab-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(2,4,10,.94), rgba(2,4,10,.70) 39%, rgba(2,4,10,.05) 70%), url("/assets/acebet-hero.png"); background-size: cover; background-position: center; }
.ab-hero-inner { position: relative; width: min(var(--max), calc(100% - 36px)); min-height: 520px; margin: 0 auto; display: flex; align-items: center; }
.ab-hero-copy { width: min(610px, 100%); padding: 46px 0; text-shadow: 0 4px 18px rgba(0,0,0,.42); }
.ab-hero-copy h1 { margin: 0 0 18px; color: #fff; font-size: 72px; line-height: .95; font-weight: 900; text-transform: uppercase; overflow-wrap: break-word; }
.ab-hero-copy h1 span { color: var(--gold); display: block; font-size: 40px; line-height: 1.08; margin-top: 10px; }
.ab-hero-copy p { max-width: 560px; margin: 0 0 28px; color: rgba(255,255,255,.88); font-size: 18px; line-height: 1.65; font-weight: 700; }
.ab-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ab-notice { width: min(var(--max), calc(100% - 36px)); min-height: 46px; margin: -23px auto 0; padding: 0 22px; position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 8px; color: #08223f; background: #fff; border: 1px solid rgba(255,207,69,.7); box-shadow: 0 16px 34px rgba(2,10,24,.12); font-size: 14px; font-weight: 800; }
.ab-notice strong { color: #b96b00; }
.ab-section { width: min(var(--max), calc(100% - 36px)); margin: 46px auto 0; }
.ab-intro { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.ab-content-card, .ab-side-card, .ab-feature, .ab-article-card, .ab-detail-card, .ab-detail-side { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 38px rgba(8,22,48,.08); }
.ab-content-card { padding: 34px; }
.ab-side-card { padding: 24px; }
.ab-content-card h2, .ab-side-card h2, .ab-section-title { margin: 0; color: #2a3444; font-size: 30px; line-height: 1.22; font-weight: 900; text-transform: uppercase; overflow-wrap: break-word; }
.ab-content-card h2 span, .ab-section-title span { color: #c08300; }
.ab-content-card p, .ab-side-card p, .ab-feature p, .ab-article-card p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.ab-quote { margin-top: 24px; padding: 18px 20px; border-left: 5px solid var(--gold); border-radius: 8px; background: #f9fbff; color: #33445c; font-weight: 800; line-height: 1.55; }
.ab-side-list { display: grid; gap: 12px; margin-top: 20px; }
.ab-side-list div { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 12px; align-items: center; padding: 14px; border-radius: 8px; background: #0d2a5b; color: #fff; }
.ab-side-list b { width: 46px; height: 46px; display: grid; place-items: center; color: #111; background: linear-gradient(180deg, #ffe66e, #f5a01b); border-radius: 7px; }
.ab-side-list span { font-weight: 900; line-height: 1.25; }
.ab-section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.ab-section-head p { margin: 8px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.ab-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-feature { overflow: hidden; }
.ab-feature-media { min-height: 150px; background-size: cover; background-position: center; }
.ab-feature-body { padding: 20px; }
.ab-feature h3 { margin: 0 0 8px; color: #223047; font-size: 21px; line-height: 1.15; }
.ab-feature a { display: inline-flex; margin-top: 8px; color: #0d57c0; font-weight: 900; text-transform: uppercase; font-size: 13px; }
.ab-promo { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 34px; color: #fff; background: linear-gradient(135deg, #071326, #102e62); border-radius: 8px; box-shadow: 0 22px 48px rgba(8,22,48,.18); }
.ab-promo h2 { margin: 0; color: #fff; font-size: 38px; line-height: 1.05; text-transform: uppercase; }
.ab-promo p { color: rgba(255,255,255,.78); line-height: 1.7; }
.ab-promo img { border-radius: 8px; border: 1px solid rgba(255,255,255,.18); }
.ab-security-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; }
.ab-security-block img { border-radius: 8px; box-shadow: 0 18px 38px rgba(8,22,48,.16); }
.ab-security-block ul { margin: 18px 0 0; padding-left: 22px; color: #40506b; line-height: 1.8; font-weight: 700; }
.ab-article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ab-article-card { overflow: hidden; }
.ab-article-thumb { display: block; min-height: 150px; background-size: cover; background-position: center; }
.ab-article-body { position: relative; padding: 52px 18px 20px; }
.ab-date { position: absolute; left: 18px; top: -28px; width: 56px; height: 56px; display: grid; place-items: center; color: #111; background: linear-gradient(180deg, #ffe66e, #f5a01b); border-radius: 8px; font-weight: 900; box-shadow: 0 12px 22px rgba(244,155,24,.22); }
.ab-date small { display: block; font-size: 10px; text-transform: uppercase; }
.ab-article-card h3 { margin: 0 0 10px; color: #223047; font-size: 19px; line-height: 1.22; }
.ab-subhero { width: min(var(--max), calc(100% - 36px)); margin: 40px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: 24px; align-items: center; padding: 34px; color: #fff; background: linear-gradient(135deg, #071326, #102e62); border-radius: 8px; }
.ab-subhero h1 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: .98; text-transform: uppercase; }
.ab-subhero p { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; font-weight: 700; }
.ab-subhero img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.ab-detail-wrap { width: min(var(--max), calc(100% - 36px)); margin: 30px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.ab-detail-card { padding: clamp(26px, 4vw, 42px); }
.ab-detail-card h2 { margin: 0 0 12px; color: #223047; font-size: 30px; line-height: 1.1; }
.ab-detail-card h2:not(:first-child) { margin-top: 32px; }
.ab-detail-card p, .ab-detail-card li { color: #4f5d75; line-height: 1.85; font-size: 17px; }
.ab-detail-card ul, .ab-detail-card ol { padding-left: 22px; }
.ab-note { margin-top: 28px; padding: 16px; border-radius: 8px; background: #fff8dd; border: 1px solid rgba(255,207,69,.7); color: #3e2a00; }
.ab-mini-list { display: grid; gap: 12px; margin-top: 16px; }
.ab-mini-list a { display: block; padding: 16px; border-radius: 8px; background: #f9fbff; border: 1px solid var(--line); }
.ab-mini-list span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.55; }
.ab-detail-side { padding: 22px; position: sticky; top: 18px; }
.ab-detail-side h3 { margin: 0 0 14px; color: #223047; font-size: 22px; }
.ab-detail-side a { display: block; padding: 12px 0; border-top: 1px solid var(--line); color: #33445c; font-weight: 850; }
.ab-footer { margin-top: 56px; color: #fff; background: #10141c; }
.ab-footer-inner { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 28px; padding: 44px 0; }
.ab-footer p { color: rgba(255,255,255,.72); line-height: 1.7; }
.ab-footer h3 { color: var(--gold); margin-top: 0; }
.ab-footer a:not(.ab-brand) { display: block; color: rgba(255,255,255,.78); margin: 9px 0; }
.ab-copy { padding: 16px 0; text-align: center; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
@media (max-width: 980px) {
  .ab-top-inner { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .ab-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .ab-actions .ab-btn { width: 100%; }
  .ab-hero-copy h1 { font-size: 50px; }
  .ab-hero-copy h1 span { font-size: 30px; }
  .ab-intro, .ab-promo, .ab-security-block, .ab-subhero, .ab-detail-wrap, .ab-footer-inner { grid-template-columns: 1fr; }
  .ab-feature-grid, .ab-article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-detail-side { position: static; }
}
@media (max-width: 560px) {
  .ab-top-inner, .ab-nav-inner, .ab-section, .ab-notice, .ab-hero-inner, .ab-subhero, .ab-detail-wrap, .ab-footer-inner { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .ab-brand-mark { width: 50px; height: 50px; font-size: 15px; }
  .ab-brand-name { font-size: 32px; }
  .ab-actions { grid-template-columns: 1fr; }
  .ab-btn { min-height: 42px; padding: 0 14px; font-size: 12px; }
  .ab-nav-inner a { padding: 15px 10px; font-size: 12px; }
  .ab-hero, .ab-hero-inner { min-height: 600px; }
  .ab-hero::before { background-image: linear-gradient(180deg, rgba(2,4,10,.96), rgba(2,4,10,.78) 45%, rgba(2,4,10,.18) 100%), url("/assets/acebet-hero.png"); background-position: center bottom; }
  .ab-hero-copy { padding: 30px 0 210px; }
  .ab-hero-copy h1 { font-size: 40px; }
  .ab-hero-copy h1 span { font-size: 23px; max-width: calc(100vw - 40px); }
  .ab-hero-copy p { font-size: 15px; max-width: calc(100vw - 54px); }
  .ab-hero-actions .ab-btn { width: 100%; }
  .ab-notice { margin-top: -14px; align-items: flex-start; flex-direction: column; padding: 14px; }
  .ab-content-card, .ab-side-card, .ab-promo, .ab-subhero, .ab-detail-card, .ab-detail-side { padding: 22px; }
  .ab-content-card h2, .ab-side-card h2, .ab-section-title, .ab-promo h2 { font-size: 28px; }
  .ab-section-head { align-items: stretch; flex-direction: column; }
  .ab-feature-grid, .ab-article-grid { grid-template-columns: 1fr; }
  .ab-subhero h1 { font-size: 36px; }
}
