/* Home sections below the hero. Shared chrome and other pages keep their styles. */
.home-section {
  --home-accent: #f36b78;
  --home-muted: #b0a6ac;
  padding: clamp(72px, 8vw, 120px) clamp(22px, 6vw, 80px);
  background: #0b090c;
}
.home-section--content { background: linear-gradient(180deg, #08060a, #0b090c 24%); }
.home-section--tools { border-block: 1px solid #ffffff0d; background: #100d11; }
.home-section--coaching { background: linear-gradient(180deg, #0b090c, #08060a); }
.home-heading { display: grid; grid-template-columns: 1.45fr 1fr; gap: 44px; align-items: end; margin-bottom: 46px; }
.home-eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; color: var(--home-accent); font-size: 11px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; }
.home-eyebrow__number { color: #978b93; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0; }
.home-eyebrow__line { width: 32px; height: 1px; background: #f36b7870; flex: 0 0 auto; }
.home-section .sec__title { margin: 0; max-width: 620px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -1.5px; text-wrap: balance; }
.home-heading__lead { margin: 0 0 3px auto; max-width: 345px; color: var(--home-muted); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

.collection-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.collection-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; overflow: hidden; isolation: isolate; border: 1px solid #ffffff14; border-radius: 10px; background: #141015; text-decoration: none; scroll-margin-top: 100px; transition: border-color .25s, box-shadow .25s; }
.collection-card:hover { border-color: #ba657477; box-shadow: 0 16px 40px #00000030; }
.collection-card--ranking { grid-column: span 7; min-height: 360px; background: radial-gradient(ellipse at 80% 35%, #46232d, transparent 65%), #171014; }
.collection-card--builds { grid-column: span 5; min-height: 360px; background: radial-gradient(ellipse at 80% 0, #352337, transparent 65%), #151017; }
.collection-card__body { position: relative; z-index: 2; padding: 30px; }
.collection-card h3, .home-tool h3 { margin: 0 0 10px; font-family: 'Oswald', sans-serif; font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -.25px; text-transform: uppercase; }
.collection-card--ranking h3, .collection-card--builds h3 { font-size: 38px; }
.collection-card p { max-width: 320px; margin: 0; color: #c0b5bd; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.collection-card--ranking p { max-width: 280px; }
.collection-card__tag { position: absolute; z-index: 3; left: 30px; top: 28px; color: #f6b8c0; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.collection-card__tag::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 9px; border-radius: 50%; background: #f36b78; vertical-align: 2px; }
.card-arrow { position: absolute; z-index: 3; top: 24px; right: 24px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff26; border-radius: 50%; color: #ded1d7; background: #100b1080; font-size: 18px; transition: background .25s, color .25s, border-color .25s; }
.collection-card:hover .card-arrow { background: #e11d2e; color: #fff; border-color: #e11d2e; }
.card-link { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #f1dbe1; font-size: 12px; font-weight: 600; }
.card-link > :last-child { transition: transform .25s; }
.collection-card:hover .card-link > :last-child { transform: translateX(4px); }
.ranking-art { position: absolute; inset: 0; z-index: -1; }
.ranking-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #171014 2%, #171014dd 25%, transparent 70%), linear-gradient(0deg, #171014 0%, transparent 70%); }
.ranking-art img { position: absolute; height: 100%; width: auto; max-width: none; object-fit: contain; filter: saturate(.55); transition: transform .6s; }
.ranking-art__back { right: 22%; top: 3%; opacity: .45; transform: scale(.85); }
.ranking-art__front { right: -6%; bottom: -5%; transform: scale(1.12); }
.collection-card:hover .ranking-art__front { transform: scale(1.16); }
.perk-composition { position: absolute; top: 28px; right: 62px; display: grid; grid-template-columns: repeat(2, 68px); gap: 13px; transform: rotate(-12deg); opacity: .85; }
.perk-composition span { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid #b180b245; border-radius: 5px; background: linear-gradient(135deg, #493449, #201925); }
.perk-composition img { width: 61px; height: 61px; object-fit: contain; }
.collection-card--builds .collection-card__body { background: linear-gradient(0deg, #151017 30%, #15101700); padding-top: 60px; }
.collection-card--resource { grid-column: span 4; min-height: 310px; }
.collection-card--resource .collection-card__body { flex: 1; display: flex; flex-direction: column; padding-top: 9px; }
.collection-card--resource .card-link { margin-top: auto; padding-top: 22px; }
.resource-art { position: relative; height: 118px; flex: 0 0 auto; overflow: hidden; color: #8c707e; }
.resource-art svg { display: block; width: 100%; height: 100%; opacity: .8; }
.resource-art--map { background: linear-gradient(0deg, #141015, transparent), repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 24px), repeating-linear-gradient(90deg, #ffffff03 0 1px, transparent 1px 24px); }
.resource-art--map img { display: block; width: 100%; height: 100%; padding: 8px 20px; object-fit: contain; }
.resource-art--notes { background: radial-gradient(ellipse at 50% 100%, #32202a, transparent 70%); }
.resource-art--landscape img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.45) brightness(.7); transition: transform .6s; }
.resource-art--landscape::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #141015, transparent 90%); }
.collection-card--daily:hover img { transform: scale(1.06); }
.collection-card--daily .collection-card__tag { top: 28px; text-shadow: 0 1px 8px #000; }
.card-link--countdown { flex-wrap: wrap; gap: 7px; font-size: 11px; }
#dgCountdown { color: #f6a2ae; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-variant-numeric: tabular-nums; }

.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-tool { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #ffffff14; border-radius: 10px; background: #181319; text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.home-tool:hover { border-color: #ba657477; box-shadow: 0 16px 40px #00000030; }
.home-tool__visual { display: grid; place-items: center; position: relative; height: 190px; overflow: hidden; background: radial-gradient(ellipse at 50% 80%, #37232e, transparent 70%); border-bottom: 1px solid #ffffff08; }
.home-tool__visual::before { content: ''; position: absolute; width: 170px; height: 170px; border: 1px solid #ffffff07; border-radius: 50%; }
.home-tool__visual::after { content: ''; position: absolute; width: 235px; height: 235px; border: 1px solid #ffffff04; border-radius: 50%; }
.home-tool__body { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.home-tool h3 { font-size: clamp(23px, 2.2vw, 28px); }
.home-tool p { flex: 1; margin: 0 0 25px; color: var(--home-muted); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.tool-action { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 0 0; border-top: 1px solid #ffffff12; color: #f3e7ed; font-size: 13px; font-weight: 600; }
.tool-action > :last-child { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffffff08; transition: background .25s, transform .25s; }
.home-tool:hover .tool-action > :last-child { transform: translateX(3px); background: #7a293b; }
.home-tool--build .tool-action { color: #ff97a4; }
.perk-strip { position: relative; z-index: 1; display: flex; gap: 9px; transform: rotate(-8deg); transition: transform .4s; }
.perk-strip span { width: 53px; height: 65px; display: grid; place-items: center; border: 1px solid #b382b04d; background: linear-gradient(140deg, #483149, #211824); border-radius: 5px; box-shadow: 0 8px 18px #00000040; }
.perk-strip span:nth-child(even) { transform: translateY(-10px); }
.perk-strip img { width: 50px; height: 50px; object-fit: contain; }
.perk-strip__unknown { color: #dabbcf; font: 400 32px 'Oswald', sans-serif; }
.home-tool:hover .perk-strip { transform: rotate(-3deg) translateY(-3px); }
.killer-wheel { position: relative; z-index: 1; width: 138px; height: 138px; border: 1px solid #bd7f8a60; border-radius: 50%; background: repeating-conic-gradient(from 15deg, #683040 0deg 44deg, #ad718255 44deg 45deg, #231b23 45deg 89deg, #ad718255 89deg 90deg); box-shadow: 0 0 0 6px #ffffff03, 0 12px 35px #00000040; }
.killer-wheel::before { content: ''; position: absolute; top: -9px; left: calc(50% - 6px); border-inline: 6px solid transparent; border-top: 13px solid #f394a3; z-index: 3; }
.killer-wheel img { position: absolute; inset: 24px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: #20151c; border: 1px solid #bc788977; filter: saturate(.5); transition: transform .4s; }
.home-tool:hover .killer-wheel img { transform: scale(1.07); }
.troll-dice { position: relative; z-index: 1; width: 220px; height: 150px; transition: transform .4s; }
.home-tool:hover .troll-dice { transform: rotate(5deg) translateY(-3px); }

.coaching-feature { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; max-width: 1240px; margin-inline: auto; overflow: hidden; isolation: isolate; border: 1px solid #92616c45; border-radius: 12px; background: #181116; }
.coaching-feature__content { position: relative; z-index: 2; padding: clamp(32px, 4.5vw, 62px); }
.coaching-feature .home-eyebrow { font-size: 10px; letter-spacing: 1.6px; }
.coaching-feature h2 { margin: 0 0 16px; font: 500 clamp(40px, 4.7vw, 64px)/1.05 'Oswald', sans-serif; letter-spacing: -1px; text-transform: uppercase; }
.coaching-feature__lead { margin: 0 0 16px; color: #f0dde5; font-size: 20px; line-height: 1.4; }
.coaching-feature__description { max-width: 430px; margin: 0; color: var(--home-muted); font-size: 16px; line-height: 1.65; text-wrap: pretty; }
.coaching-feature__details { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-block: 26px 30px; color: #d4c1ca; font-size: 12px; }
.coaching-feature__details span::before { content: ''; display: inline-block; width: 4px; height: 4px; margin-right: 8px; background: #ec7a8c; vertical-align: 2px; }
.coaching-feature__cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; padding: 16px 22px; border: 1px solid #ffffff12; border-radius: 5px; background: #e11d2e; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s; }
.coaching-feature__cta:hover { background: #ff2a3d; }
.coaching-feature__cta > :last-child { font-size: 18px; line-height: 1; }
.coaching-feature__membership { max-width: 350px; margin: 18px 0 0; color: #b0a0aa; font-size: 12px; line-height: 1.6; }
.coaching-feature__brand { position: relative; display: grid; place-items: center; min-height: 460px; padding: 24px 16px 110px; background: radial-gradient(ellipse at 50% 42%, #4b1c2d80, transparent 70%), #151015; }
.coaching-feature__brand > img { position: relative; z-index: 1; width: min(100%, 360px); height: auto; object-fit: contain; mix-blend-mode: screen; }
.coaching-feature__brand::before { content: ''; position: absolute; width: min(80%, 330px); aspect-ratio: 1; border: 1px solid #dd7a9320; border-radius: 50%; top: 15%; left: 50%; transform: translateX(-50%); }
.coaching-feature__brand::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #181116, #18111600 30%); }
.coaching-feature__signature { position: absolute; z-index: 2; left: 34px; bottom: 38px; display: flex; flex-direction: column; gap: 5px; }
.coaching-feature__signature > :first-child { font: 500 30px 'Oswald', sans-serif; letter-spacing: -.5px; }
.coaching-feature__signature > :last-child { color: #bcabb7; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.coaching-feature__price { position: absolute; z-index: 2; right: 26px; bottom: 30px; display: flex; flex-direction: column; gap: 3px; padding: 19px 24px; border: 1px solid #ffffff20; border-radius: 8px; background: #171017d9; backdrop-filter: blur(8px); }
.coaching-feature__price span { color: #cebac6; font-size: 11px; }
.coaching-feature__price strong { font: 500 42px/1.2 'Oswald', sans-serif; color: #fff; }

.home-section a:focus-visible { outline: 2px solid #ff99a8; outline-offset: 5px; }
@media (min-width: 1500px) { .home-section .sec__title { max-width: 600px; } }
@media (max-width: 1000px) {
  .home-heading { gap: 28px; }
  .collection-card__body { padding: 24px; }
  .collection-card__tag { left: 24px; }
  .collection-card--ranking p { max-width: 240px; }
  .perk-composition { right: 40px; top: 38px; }
  .tool-grid { gap: 16px; }
  .home-tool__body { padding: 24px; }
  .perk-strip span { width: 47px; height: 60px; }
  .perk-strip img { width: 45px; height: 45px; }
  .coaching-feature { grid-template-columns: 1.3fr 1fr; }
  .coaching-feature__signature { left: 24px; }
  .coaching-feature__price { right: 20px; padding: 16px; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .collection-card--resource { grid-column: span 6; }
  .collection-card--resource:last-child { grid-column: span 12; min-height: 255px; }
  .collection-card--resource:last-child .resource-art { height: 95px; }
  .tool-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-tool { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
  .home-tool__visual { height: auto; min-height: 210px; border-bottom: 0; border-right: 1px solid #ffffff08; }
  .home-tool__body { padding: 26px; }
  .home-tool h3 { font-size: 27px; }
  .perk-strip { gap: 5px; }
  .perk-strip span { width: 36px; height: 48px; }
  .perk-strip img { width: 35px; height: 35px; }
  .killer-wheel { width: 114px; height: 114px; }
  .killer-wheel img { inset: 18px; width: 76px; height: 76px; }
  .troll-dice { width: 165px; }
}
@media (max-width: 760px) {
  .home-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .home-heading__lead { margin: 0; max-width: 440px; font-size: 16px; }
  .home-eyebrow { margin-bottom: 20px; font-size: 10px; letter-spacing: 1.8px; }
  .home-section .sec__title { max-width: 500px; font-size: clamp(38px, 7vw, 52px); }
  .collection-card--ranking, .collection-card--builds { grid-column: span 6; min-height: 340px; }
  .collection-card--resource { grid-column: span 6; }
  .collection-card--resource:last-child { grid-column: span 12; min-height: 255px; }
  .collection-card--resource:last-child .resource-art { height: 95px; }
  .collection-card--ranking .ranking-art__front { right: -60%; }
  .ranking-art::after { background: linear-gradient(0deg, #171014 5%, #171014a8 45%, #17101430); }
  .ranking-art__back { display: none; }
  .perk-composition { top: 35px; right: 50%; transform: translateX(50%) rotate(-12deg); }
  .home-tool p { font-size: 14px; }
  .tool-action { font-size: 12px; }
  .coaching-feature { grid-template-columns: 1fr; }
  .coaching-feature__brand { min-height: 340px; padding: 0 16px 110px; }
  .coaching-feature__brand > img { width: 270px; }
  .coaching-feature__brand::before { width: 235px; top: 0; }
  .coaching-feature__brand::after { background: linear-gradient(180deg, #181116, transparent 30%); }
  .coaching-feature__content { padding: 32px; }
  .coaching-feature__description { max-width: 520px; }
}
@media (max-width: 560px) {
  .home-section { padding-block: 64px; }
  .collection-grid { gap: 14px; }
  .collection-card--ranking, .collection-card--builds, .collection-card--resource { grid-column: span 12; }
  .collection-card--ranking, .collection-card--builds { min-height: 310px; }
  .collection-card--resource, .collection-card--resource:last-child { min-height: 275px; }
  .collection-card--ranking .ranking-art__front { right: -8%; }
  .ranking-art::after { background: linear-gradient(90deg, #171014bb, transparent), linear-gradient(0deg, #171014 3%, #171014a0 35%, transparent 80%); }
  .collection-card--ranking p { max-width: 230px; }
  .collection-card--builds .perk-composition { right: 62px; transform: rotate(-12deg); }
  .collection-card--builds .collection-card__body { padding-top: 80px; }
  .collection-card--resource .resource-art { height: 100px; }
  .collection-card--resource:last-child .resource-art { height: 100px; }
  .tool-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-tool__body { padding: 24px; }
  .home-tool__visual { height: 170px; }
  .home-tool h3 { font-size: 27px; }
  .home-tool p { font-size: 15px; }
  .perk-strip { gap: 9px; }
  .perk-strip span { width: 53px; height: 65px; }
  .perk-strip img { width: 50px; height: 50px; }
  .killer-wheel { width: 130px; height: 130px; }
  .killer-wheel img { inset: 22px; width: 84px; height: 84px; }
  .troll-dice { width: 200px; }
  .tool-action { font-size: 13px; }
  .coaching-feature__content { padding: 30px 24px; }
  .coaching-feature .home-eyebrow { gap: 9px; font-size: 9px; letter-spacing: 1px; }
  .coaching-feature .home-eyebrow__line { width: 18px; }
  .coaching-feature__lead { font-size: 18px; }
  .coaching-feature__details { flex-direction: column; gap: 12px; }
  .coaching-feature__brand { min-height: 340px; }
  .coaching-feature__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-section *, .home-section *::before, .home-section *::after { animation: none !important; transition: none !important; }
  .home-section .reveal { opacity: 1 !important; transform: none !important; }
}
