/* Lupo Games — shared styles added on top of each page's stylesheet. */
:root { --lupo-lime: #C0ED14; --lupo-lav: #9A8BF4; --lupo-logo-h: 52px; }
body { margin: 0; background: #18181E; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Count-up numbers (any value, set per stat) */
@property --n { syntax: '<integer>'; initial-value: 0; inherits: false; }
.lg-count { counter-reset: n var(--n); animation: lgcount 1.4s ease-out both; }
.lg-count::after { content: counter(n); }
@keyframes lgcount { from { --n: var(--n0); } }
@supports (animation-timeline: view()) {
  .lg-count { animation-timeline: view(); animation-range: entry 10% entry 60%; }
}

/* Teams */
.team-card { transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-color .25s, box-shadow .35s; }
.team-card:hover { transform: translateY(-8px) rotate(-.6deg); border-color: var(--team) !important; box-shadow: 0 20px 0 -6px var(--team); }
.team-card .team-logo img { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.team-card:hover .team-logo img { transform: scale(1.06) rotate(-1.5deg); }

/* Footer social icons */
.lg-social a { width: 40px; height: 40px; border-radius: 12px; background: #22212A; color: #D6D4E4; display: inline-flex; align-items: center; justify-content: center; transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s, color .2s; }
.lg-social a:hover { background: var(--lupo-lime); color: #18181E; transform: translateY(-3px) rotate(-4deg); }

/* Privacy page: content written in the page editor */
.pp-intro p { margin: 0 0 12px; } .pp-intro p:last-child { margin-bottom: 0; }
.pp-body > *:first-child { margin-top: 0; } .pp-body > *:last-child { margin-bottom: 0; }
.pp-body p { margin: 0 0 16px; }
.pp-body h3, .pp-body h4 { color: #FFFFFF; font-size: 20px; margin: 24px 0 8px; }
.pp-body ul, .pp-body ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pp-body li { background: #22212A; border-radius: 14px; padding: 14px 18px 14px 50px; position: relative; }
.pp-body ul > li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; background: var(--lupo-lime); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.pp-body ol { counter-reset: pp; } .pp-body ol > li { counter-increment: pp; }
.pp-body ol > li::before { content: counter(pp, lower-alpha) "."; position: absolute; left: 20px; top: 14px; color: var(--lupo-lime); font-weight: 700; }
/* Lists that are only links become pills */
.pp-body ul:has(> li > a:only-child) { flex-direction: row; flex-wrap: wrap; }
.pp-body ul:has(> li > a:only-child) > li { background: none; padding: 0; }
.pp-body ul:has(> li > a:only-child) > li::before { display: none; }
.pp-body ul:has(> li > a:only-child) a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #3A3846; color: #D6D4E4; text-decoration: none; font-weight: 600; font-size: 15px; box-sizing: border-box; transition: transform .25s cubic-bezier(.34,1.56,.64,1), border-color .2s; }
.pp-body ul:has(> li > a:only-child) a:hover { transform: translateY(-3px); border-color: var(--lupo-lime); color: #FFFFFF; }
.pp-body p > strong:only-child { display: block; background: var(--lupo-lav); color: #18181E; border-radius: 14px; padding: 16px 20px; }
.pp-contact .pp-body, .pp-contact .pp-body a { color: #2A3005; }
.pp-contact .pp-body li { background: rgba(24,24,30,.08); }

/* Any other page or post */
.lg-main { max-width: 820px; margin: 0 auto; padding: 48px 24px 96px; font-family: 'Lexend', system-ui, sans-serif; color: #C9C6D8; font-size: 17px; line-height: 1.75; }
.lg-main h1 { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 72px; line-height: .9; text-transform: uppercase; color: #FFFFFF; margin: 0 0 32px; }
.lg-main h2, .lg-main h3 { color: #FFFFFF; }
.lg-main h2 a { color: #FFFFFF; text-decoration: none; }
.lg-main img { max-width: 100%; height: auto; border-radius: 16px; }
.lg-main article + article { margin-top: 48px; }

@media (max-width: 760px) {
  .lg-main h1 { font-size: 52px; }
}
@media (max-width: 760px) {
  .hero-h { font-size: min(84px, 17vw) !important; }
  .sec-h { font-size: min(56px, 13vw) !important; }
}

/* LGI staff login button (header) */
.lgi-header-login { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 19px; box-sizing: border-box; border: 1px solid var(--lupo-lime); border-radius: 12px; color: var(--lupo-lime); font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.lgi-header-login:hover, .lgi-header-login:focus-visible { background: var(--lupo-lime); color: #18181E; outline-offset: 3px; }
@media (max-width: 760px) {
  .lgi-header-login { min-height: 40px; padding: 8px 14px; font-size: 14px; }
}
