/* Presentation-only additions. Payment, catalog and global page styles stay intact. */
.vexa-home .hero { min-height: auto; padding: 68px 0 72px; }
.vexa-home .hero__inner { grid-template-columns: 1.12fr .88fr; gap: 54px; }
.vexa-home .hero__title { font-size: clamp(2.5rem, 4.7vw, 4.25rem); }
.vexa-home .hero__text { max-width: 580px; font-size: 1.05rem; }
/* Seasonal artwork is scoped to the homepage; the regular theme remains available. */
.vexa-home--halloween .hero__bg {
  background:
    linear-gradient(90deg, rgba(12,9,7,.30), rgba(12,9,7,.08) 72%),
    linear-gradient(0deg, rgba(12,9,7,.84), transparent 60%),
    url('../img/seasonal/halloween-hero-1600.webp') center center / cover no-repeat;
}
.vexa-home--halloween .hero__text { color: #d4c2aa; }
.vexa-home--halloween .hero-preview img { object-position: center 54%; }
.vexa-home--halloween .hero-preview::after { background: linear-gradient(transparent 32%, #130e0a); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.hero-tags li { border: 1px solid #ffffff29; border-radius: 6px; padding: 4px 10px; font-size: .75rem; color: var(--text); background: #120d09a6; }
.vexa-home .hero__card { padding: 0; overflow: hidden; background: #130e0af2; }
.hero-preview { position: relative; height: 174px; overflow: hidden; }
.hero-preview img { width: 100%; height: 100%; object-fit: cover; }
.hero-preview::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #130e0a); }
.hero-preview span { position: absolute; z-index: 1; bottom: 18px; left: 24px; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-server-content { padding: 0 24px 24px; }
.vexa-home .hero-card-title { font-size: 1.05rem; }
.vexa-home .home-online-total { padding: 10px 14px; margin: 10px 0; }
.vexa-home .online-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 10px 0; }
.vexa-home .online-stat { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff05; }
.vexa-home .online-stat span { color: var(--muted); font-size: .72rem; line-height: 1.35; }
.vexa-home .online-stat strong { flex: 0 0 auto; color: var(--text); font-family: 'Russo One',sans-serif; font-size: 1rem; }
.vexa-home .home-server { padding: 14px; }
.hero-footnote { margin: 16px 0 0; font-size: .78rem; color: var(--muted); }
.vexa-home .section { padding: 76px 0; }
.experience-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; margin-bottom: 30px; }
.experience-intro h2 { margin-bottom: 0; max-width: 600px; }
.experience-intro > p { margin: 0; color: var(--muted); max-width: 460px; }
.experience-intro .eyebrow { margin-bottom: 14px; }
.gameplay-story { display: grid; grid-template-columns: 1.32fr 1fr; gap: 20px; }
.scene { margin: 0; min-width: 0; border-radius: 18px; overflow: hidden; position: relative; border: 1px solid var(--line); background: var(--panel); }
.scene img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.scene figcaption { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scene figcaption strong { font-size: .9rem; }
.scene figcaption span { color: var(--muted); font-size: .76rem; }
.scene--lead { display: flex; flex-direction: column; }
.scene--lead img { aspect-ratio: auto; height: 100%; min-height: 390px; }
.scene--lead figcaption { position: absolute; inset: auto 0 0; padding: 90px 26px 26px; background: linear-gradient(transparent, #090705eb); display: block; }
.scene--lead strong { display: block; font-family: 'Russo One', sans-serif; font-size: 1.6rem !important; margin-bottom: 8px; }
.scene--lead figcaption span { font-size: .88rem; }
.scene-stack { display: grid; gap: 20px; }
.scene-stack img { max-height: 190px; }
.features-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.feature-note { border-top: 1px solid var(--line); padding: 22px 0 0; min-width: 0; }
.feature-note .feature-number { color: var(--accent); display: inline-block; font-size: .74rem; font-weight: 800; margin-bottom: 12px; letter-spacing: .1em; }
.feature-note h3 { font-size: 1.06rem; }
.feature-note p { color: var(--muted); font-size: .87rem; margin-bottom: 0; }
.vexa-home .worlds-section { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid #ffffff08; }
.worlds-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; }
.world-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-width: 0; position: relative; overflow: hidden; }
.world-card::before { content: ''; position: absolute; width: 150px; height: 150px; right: -70px; top: -70px; border: 28px solid #ff962e12; border-radius: 50%; pointer-events: none; }
.world-label { color: var(--accent-2); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.world-card h3 { font-size: 1.65rem; margin: 12px 0; }
.world-card p { font-size: .88rem; color: var(--muted); }
.world-card .home-online-bar { display: block; margin-top: 12px; }
.world-card__online { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .8rem; margin-top: 24px; }
.world-card__online span:first-child { color: var(--muted); }
.world-card__actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.worlds-note { color: var(--muted); font-size: .85rem; text-align: center; margin: 22px 0 0; }
.start-section { position: relative; }
.start-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.start-copy p { color: var(--muted); }
.start-steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.start-steps li { counter-increment: steps; padding: 0 0 25px 58px; position: relative; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.start-steps li::before { content: '0' counter(steps); position: absolute; top: 0; left: 0; color: var(--accent); font-weight: 800; font-size: 1rem; }
.start-steps li:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.start-steps h3 { font-size: 1.1rem; }
.start-steps p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.start-steps code { color: var(--text); font-size: .95rem; overflow-wrap: anywhere; }
.guide-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.guide-link { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); position: relative; }
.guide-link strong { display: block; margin-bottom: 8px; padding-right: 20px; }
.guide-link small { color: var(--muted); display: block; }
.guide-link::after { content: '↗'; position: absolute; top: 18px; right: 18px; color: var(--accent); }
.guide-link:hover { border-color: var(--accent); }
.vexa-home #newsGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.vexa-home #newsGrid .news-card { display: grid; grid-template-columns: 180px minmax(0,1fr); }
.vexa-home #newsGrid .news-card__cover { height: 100%; min-height: 220px; aspect-ratio: auto; border-radius: 0; }
.vexa-home #newsGrid .news-card__image { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.vexa-home #newsGrid .news-card--poster .news-card__image { object-fit: contain; background: #071424; }
.vexa-home #newsGrid .news-card__body { padding: 20px; gap: 10px; }
.vexa-home #newsGrid .news-card__body h3 { font-size: 1rem; }
.vexa-home #newsGrid .news-card__body > p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: none; margin: 0; font-size: .82rem; }
.vexa-home #newsGrid .news-card__more { margin-top: auto; font-size: .8rem; }
.vexa-home #newsGrid .eyebrow { font-size: .63rem; letter-spacing: .1em; }
.vexa-home #newsGrid .news-card__date { align-self: flex-start; font-size: .65rem; }
.vexa-home .community-section { padding: 0 0 76px; }
.community-panel { border: 1px solid var(--line); border-radius: 22px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); overflow: hidden; background: var(--panel); }
.community-copy { padding: 42px; align-self: center; min-width: 0; }
.community-copy p { color: var(--muted); font-size: .95rem; }
.community-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.community-discord { padding: 24px; display: grid; justify-items: center; gap: 12px; min-width: 0; background: #171410; }
.community-discord__frame { display: block; width: 100%; max-width: 350px; height: 500px; border: 0; border-radius: 12px; background: #1e1f22; }
.community-discord__fallback { max-width: 350px; margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.community-discord__fallback a { color: var(--accent-2); }
.community-photo { position: relative; min-height: 280px; }
.community-photo img { width: 100%; height: 100%; object-fit: cover; }
.community-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,var(--panel), transparent 35%); }
.vexa-home .shop-preview { padding-top: 0; }
.shop-preview .cta { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(110deg,#27180d,var(--bg-2)); padding: 34px; text-align: left; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.shop-preview .cta h2 { font-size: 1.55rem; }
.shop-preview .cta p { margin: 0; color: var(--muted); font-size: .88rem; max-width: 660px; }
.shop-preview .cta__actions { margin: 0; }
.shop-preview .eyebrow { font-size: .7rem; }
.rank-comparison { margin: 22px 0 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); min-width: 0; }
.vexa-shop .donate-store { grid-template-columns: minmax(0,1fr); }
.vexa-shop .donate-content { min-width: 0; }
.rank-comparison summary { cursor: pointer; padding: 18px 22px; font-weight: 800; color: var(--accent-2); }
.rank-comparison[open] summary { border-bottom: 1px solid var(--line); }
.rank-comparison__body { padding: 0 22px 20px; }
.rank-comparison__body > p { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.rank-comparison__scroll { overflow-x: auto; max-width: 100%; border-radius: 6px; }
.rank-comparison table { width: 100%; min-width: 730px; margin: 0; font-size: .85rem; }
.rank-comparison caption { text-align: left; padding: 14px 0; font-weight: 700; }
.rank-comparison th, .rank-comparison td { padding: 12px; text-align: left; white-space: nowrap; }
.rank-comparison th:nth-child(4), .rank-comparison td:nth-child(4) { display: table-cell; }
.rank-comparison tbody th { color: var(--text); }
.rank-comparison tbody tr:hover { background: #ffd07309; }
.vexa-shop .server-choice { padding: 18px 22px; }
.vexa-shop .server-choice.is-active { box-shadow: inset 3px 0 var(--accent); }
@media (max-width: 1020px) {
  .vexa-home .hero__inner { gap: 30px; }
  .vexa-home #newsGrid .news-card { grid-template-columns: 140px minmax(0,1fr); }
  .start-layout { gap: 40px; }
}
@media (max-width: 860px) {
  .vexa-home .hero { padding: 46px 0; }
  .vexa-home--halloween .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(12,9,7,.62), rgba(12,9,7,.30) 56%, rgba(12,9,7,.88)),
      url('../img/seasonal/halloween-hero-mobile-768.webp');
    background-position: center, center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .vexa-home .hero__inner, .experience-intro, .start-layout { grid-template-columns: 1fr; gap: 28px; }
  .vexa-home .hero__card { max-width: none; }
  .hero-preview { height: 190px; }
  .vexa-home .section { padding: 54px 0; }
  .gameplay-story { grid-template-columns: 1fr; }
  .scene--lead img { min-height: 0; height: auto; aspect-ratio: 16/9; }
  .scene-stack { grid-template-columns: 1fr 1fr; }
  .scene-stack img { max-height: none; }
  .scene figcaption { padding: 14px; display: block; }
  .scene figcaption span { display: block; margin-top: 4px; }
  .scene--lead figcaption { padding: 65px 22px 22px; }
  .vexa-home #newsGrid { grid-template-columns: 1fr; }
  .vexa-home #newsGrid .news-card { grid-template-columns: 220px minmax(0,1fr); }
  .community-panel { grid-template-columns: 1fr; }
  .community-photo { min-height: 0; }
  .community-photo img { aspect-ratio: 16/9; height: auto; }
  .community-photo::after { background: linear-gradient(var(--panel), transparent 35%); }
  .shop-preview .cta { grid-template-columns: 1fr; gap: 22px; }
  .shop-preview .cta__actions { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .vexa-home .hero__title { font-size: clamp(2rem,8.3vw,2.8rem); }
  .vexa-home .hero__text { font-size: .96rem; }
  .hero-tags { gap: 6px; }
  .hero-tags li { font-size: .66rem; }
  .hero-server-content { padding: 0 18px 18px; }
  .hero-preview { height: 145px; }
  .hero-preview span { left: 18px; }
  .features-strip, .worlds-grid, .guide-links, .scene-stack { grid-template-columns: 1fr; }
  .scene--lead strong { font-size: 1.2rem !important; }
  .scene--lead figcaption span { font-size: .76rem; }
  .scene--lead figcaption { padding: 48px 16px 16px; }
  .world-card { padding: 22px; }
  .world-card__actions .btn { flex: 1; }
  .world-card h3 { font-size: 1.4rem; }
  .start-steps li { padding-left: 44px; }
  .vexa-home #newsGrid .news-card { grid-template-columns: minmax(0,1fr); }
  .vexa-home #newsGrid .news-card__body { padding: 16px; }
  .vexa-home #newsGrid .news-card__cover { height: 180px; min-height: 180px; }
  .vexa-home #newsGrid .news-card__body h3 { font-size: .91rem; }
  .vexa-home #newsGrid .news-card__body > p { -webkit-line-clamp: 2; font-size: .77rem; }
  .community-copy { padding: 26px 22px; }
  .community-discord { padding: 16px; }
  .community-actions .btn { flex: 1; }
  .shop-preview .cta { padding: 26px 22px; }
  .rank-comparison__body { padding: 0 12px 16px; }
  .rank-comparison summary { padding: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .guide-link, .world-card { transition: border-color .2s ease; }
  .world-card:hover { border-color: #9b6637; }
}
