/* AFK Macro: the look every page of afkmacro.com shares (a Roblox game menu in the macro's own black and gold).
   The colours are the macro's own (Source\src\ui\Theme.xaml). Fonts: Lilita One + Nunito from Google Fonts, linked in each page. */
:root {
  --bg: #101011; --rail: #0a0a0b; --panel: #1a1a1c; --panel2: #212123; --raised: #262628; --line: #2c2c2f;
  --text: #e8e2d0; --text2: #a8a292; --text3: #8a857a;
  --gold: #d4af37; --gold-hi: #f6e9c0; --gold-dark: #947a26; --edge: #3a3119; --on-gold: #241a04;
  --red: #c84b3f; --green: #7ebe5a;
  --game: "Lilita One", "Arial Black", "Segoe UI Black", sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 600 17px/1.6 var(--body); overflow-x: hidden; }
/* like a game menu: nothing to select, drag or long-press */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
img, svg, a { -webkit-user-drag: none; user-drag: none; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

/* a game menu's drifting background: coins and sparkles */
.bgfx { position: fixed; inset: -140px; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='3'%3E%3Ccircle cx='35' cy='35' r='12'/%3E%3Cpath d='M35 28v14M31 31.5h6M31 38.5h6' stroke-width='2.5'/%3E%3C/g%3E%3Cpath d='M105 88l3.5 9 9 3.5-9 3.5-3.5 9-3.5-9-9-3.5 9-3.5z' fill='%23d4af37'/%3E%3C/svg%3E");
  background-size: 140px 140px; animation: drift 24s linear infinite; }
@keyframes drift { to { transform: translate(140px, 140px); } }
/* starts above the hero (behind the HUD) and fades out inside its box, so it has no hard edge anywhere */
.glow { position: absolute; left: 0; right: 0; top: -220px; height: 940px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(212, 175, 55, .16), transparent 70%); }

/* outlined game text */
.out { -webkit-text-stroke: .16em #000; paint-order: stroke fill; text-shadow: 0 .09em 0 #000; }

/* chunky buttons that press in */
.btn { position: relative; top: 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 400 22px/1 var(--game); letter-spacing: .5px; padding: 15px 28px 16px; border-radius: 14px; border: 3px solid #000;
  cursor: pointer; user-select: none; white-space: nowrap; transition: top .07s, box-shadow .07s, filter .15s; }
.btn:hover { text-decoration: none; filter: brightness(1.07); }
.btn:active, .btn.press { top: 4px; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-gold { color: var(--on-gold); text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
  background: linear-gradient(180deg, #fbefbd 0%, #ecd06a 28%, #d4af37 58%, #b38f2b 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -4px 0 rgba(0, 0, 0, .16), 0 6px 0 #000; }
.btn-gold:active, .btn-gold.press { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(0, 0, 0, .16), 0 2px 0 #000; }
.btn-dark { color: var(--gold-hi); -webkit-text-stroke: 5px #000; paint-order: stroke fill;
  background: linear-gradient(180deg, #38383d 0%, #26262a 50%, #1a1a1d 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), 0 6px 0 #000; }
.btn-dark:active { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), 0 2px 0 #000; }
.btn-sm { font-size: 17px; padding: 10px 16px 11px; border-radius: 12px; }
.btn-big { font-size: 26px; padding: 18px 32px 19px; border-radius: 16px; }
.btn-big svg { width: 26px; height: 26px; }

/* game panels */
.panel { position: relative; border: 3px solid #000; border-radius: 22px; background: linear-gradient(180deg, #202023 0%, #161618 100%);
  box-shadow: inset 0 0 0 2px var(--edge), 0 8px 0 #000, 0 30px 60px rgba(0, 0, 0, .45); }
.plate { position: absolute; top: 0; left: 50%; transform: translate(-50%, -58%); margin: 0; white-space: nowrap;
  font: 400 24px/1 var(--game); letter-spacing: .5px; color: var(--on-gold); padding: 8px 24px 10px; border: 3px solid #000; border-radius: 12px;
  background: linear-gradient(180deg, #f6e3a0 0%, #d4af37 60%, #ad8a2a 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 4px 0 #000; }
.tag { position: absolute; top: 18px; right: -12px; transform: rotate(8deg); font: 400 18px/1 var(--game); color: #10230a; padding: 7px 14px 8px; border: 3px solid #000; border-radius: 10px;
  background: linear-gradient(180deg, #b6e59a, #7ebe5a 60%, #5e9a3e); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 0 #000; white-space: nowrap; }

/* HUD */
.hud .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 26px/1 var(--game); color: var(--gold-hi); letter-spacing: .5px; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 26px; flex: none; }
.hud-right { display: flex; align-items: center; gap: 18px; }
.hud-link { font: 400 19px/1 var(--game); color: var(--gold-hi); letter-spacing: .3px; white-space: nowrap; }
.hud-link:hover { color: #fff; text-decoration: none; }
.cash { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 8px; border: 3px solid #000; border-radius: 999px;
  background: #0a0a0b; box-shadow: inset 0 0 0 2px var(--edge), 0 4px 0 #000; font: 400 20px/1 var(--game); color: var(--gold-hi); font-variant-numeric: tabular-nums; }
.coin { width: 26px; height: 26px; flex: none; }
.pop { position: absolute; right: 8px; top: 100%; margin-top: 6px; font: 400 20px/1 var(--game); color: var(--gold-hi); white-space: nowrap; opacity: 0; pointer-events: none; }
.pop.go { animation: pop 1.3s ease-out; }
@keyframes pop { 0% { opacity: 0; transform: translateY(-6px) scale(.7); } 15% { opacity: 1; transform: translateY(0) scale(1.08); } 30% { transform: scale(1); } 100% { opacity: 0; transform: translateY(18px); } }

/* hero: a game logo, a ribbon under it */
.hero { position: relative; text-align: center; padding: 34px 0 64px; }
.logo { position: relative; display: inline-block; margin: 0; font: 400 clamp(84px, 17vw, 190px)/.86 var(--game); letter-spacing: 2px; transform: rotate(-3deg); isolation: isolate; }
.logo span { display: block; }
.logo .l2 { font-size: .62em; letter-spacing: 3px; }
.logo-back { position: absolute; inset: 0; z-index: -1; color: #000; -webkit-text-stroke: .17em #000; text-shadow: 0 .07em 0 #000, 0 .1em 0 #000; }
.logo-front { background: linear-gradient(180deg, #fff8dc 0%, #f4d878 34%, #d4af37 56%, #9c7b22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon { display: inline-block; margin: 34px 0 0; max-width: 34em; padding: 12px 26px; border: 3px solid #000; border-radius: 14px; background: #0a0a0b;
  box-shadow: inset 0 0 0 2px var(--edge), 0 5px 0 #000; font-weight: 800; font-size: 19px; line-height: 1.45; color: var(--text); text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 18px; margin-top: 52px; }

/* sections */
.sec { padding: 40px 0 96px; }
.h2 { margin: 0; text-align: center; font: 400 clamp(44px, 6.4vw, 68px)/1 var(--game); letter-spacing: 1px; color: var(--gold-hi); }
.sub { margin: 18px auto 0; text-align: center; max-width: 34em; color: var(--text2); }

/* "it does / it never" panel */
.rules { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; padding: 52px 34px 30px; }
.rules h3 { margin: 0 0 6px; font: 400 26px/1.2 var(--game); color: var(--gold); }
.rules ul { list-style: none; margin: 0; padding: 0; }
.rules li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 2px solid #232326; }
.rules b { display: block; font-weight: 800; font-size: 18px; color: var(--text); line-height: 1.35; }
.rules span { color: var(--text2); font-size: 16px; }
.mark { flex: none; width: 34px; height: 34px; margin-top: 1px; display: grid; place-items: center; border: 3px solid #000; border-radius: 10px; box-shadow: 0 3px 0 #000; }
.mark svg { width: 16px; height: 16px; fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.mark.yes { background: linear-gradient(180deg, #f6e3a0, #d4af37 60%, #ad8a2a); }
.mark.yes svg { stroke: #1a1405; }
.mark.no { background: linear-gradient(180deg, #e2786c, #c84b3f 60%, #9c362c); }
.mark.no svg { stroke: #fff4ef; }

/* questions: two columns, a short answer each (the page's FAQ for search and AI says the same) */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; padding: 40px 34px 18px; }
.faq div { padding: 16px 0; border-top: 2px solid #232326; }
.faq div:nth-of-type(-n+2) { border-top: 0; }
.faq h3 { margin: 0 0 4px; font: 400 22px/1.25 var(--game); letter-spacing: .3px; color: var(--gold); }
.faq p { margin: 0; font-size: 16px; color: var(--text2); }

/* macro cards, like a game's unlock screen */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 24px 30px; color: var(--text); }
a.card:hover { text-decoration: none; }
a.card:hover .btn { filter: brightness(1.07); }
.card img { width: 112px; height: 112px; border-radius: 24px; border: 3px solid #000; box-shadow: 0 5px 0 #000; }
.card h3 { margin: 20px 0 8px; font: 400 34px/1.05 var(--game); letter-spacing: .5px; color: var(--gold-hi); }
.card p { margin: 0 0 6px; color: var(--text2); text-wrap: balance; }
.card .os { font-size: 14px; color: var(--text3); margin-bottom: 22px; }
.card .btn { margin-top: auto; }
.btn-locked { filter: grayscale(1) brightness(.6); cursor: default; }
.btn-locked:hover { filter: grayscale(1) brightness(.6); }
.btn-locked:active { top: 0; }
.card.locked { background: linear-gradient(180deg, #19191b, #121213); }
.card.locked h3 { color: #6f6b61; }
.lock { width: 112px; height: 112px; display: grid; place-items: center; border: 3px dashed #34342f; border-radius: 24px; }
.lock svg { width: 46px; height: 46px; fill: none; stroke: #5d5a52; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* a panel with text and one button */
.talk { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 52px 40px 40px; }
.talk p { margin: 0; max-width: 34em; font-size: 18px; color: var(--text2); text-wrap: pretty; }
.talk p b { color: var(--text); }

footer { border-top: 2px solid #1d1d20; background: var(--rail); padding: 30px 0 44px; color: var(--text3); font-size: 15px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
footer .brand { font-size: 21px; }
footer .brand svg { width: 17px; height: 20px; }
footer .end { display: flex; flex-wrap: wrap; gap: 8px 26px; }

@media (max-width: 860px) {
  .cards { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-left: auto; margin-right: auto; }
  .rules { grid-template-columns: minmax(0, 1fr); padding: 48px 24px 24px; }
  .faq { grid-template-columns: minmax(0, 1fr); padding: 40px 24px 14px; }
  .faq div:nth-of-type(2) { border-top: 2px solid #232326; }
}
@media (max-width: 600px) {
  .hud .wrap { height: 70px; }
  .brand { font-size: 22px; }
  .hud .btn { display: none; }
  .hud-link { font-size: 17px; }
  .cash { font-size: 17px; height: 40px; padding-right: 13px; }
  .cash .coin { width: 22px; height: 22px; }
  .hero { padding-top: 22px; padding-bottom: 80px; }
  .sec { padding: 36px 0 60px; }
  .ribbon { font-size: 17px; padding: 12px 18px; margin-top: 28px; }
  .btn { font-size: 20px; }
  .btn-big { font-size: 22px; padding: 16px 20px 17px; }
  .ctas .btn { width: 100%; }
  .talk { padding: 48px 22px 28px; text-align: center; justify-content: center; }
  footer .wrap, footer .end { justify-content: center; text-align: center; }
  .talk .btn { width: 100%; }
  .tag { right: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bgfx { animation: none; }
}
/* for headings only screen readers need */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
