:root {
  color-scheme: dark;
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: #f3eeee;
  background: #171313;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --panel: #211b1b;
  --muted: #aaa0a0;
  --red: #d94b48;
  --line: #3a2c2c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, transparent 49px, rgba(198, 71, 66, .035) 50px, transparent 51px),
    linear-gradient(transparent 49px, rgba(198, 71, 66, .035) 50px, transparent 51px),
    #171313;
  background-size: 50px 50px;
}
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(ellipse at 78% 12%, rgba(196, 65, 60, .09), transparent 32rem); content: ""; pointer-events: none; }
.scroll-progress { position: fixed; z-index: 10; inset: 0 auto auto 0; width: 100%; height: 2px; transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; background: linear-gradient(90deg, #9e302e, #f08072, #f2b47e); box-shadow: 0 0 10px rgba(225, 93, 85, .45); pointer-events: none; }
a { color: inherit; text-decoration: none; }
.topbar, main, .footer { width: min(1000px, calc(100% - 40px)); margin-inline: auto; }
.topbar { position: sticky; z-index: 2; top: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(23, 19, 19, .95); backdrop-filter: blur(10px); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.brand-logo { width: 38px; height: 31px; border: 1px solid #563131; border-radius: 5px; object-fit: cover; }
.brand-accent { color: #f2766e; }
.top-links { display: flex; align-items: center; gap: 20px; color: #c9bebe; font-size: 11px; }
.top-links a:hover, .shop-link { color: #f08a7e; }
.discord-link { padding: 7px 10px; border: 1px solid #67403e; border-radius: 4px; color: #efaaa3; transition: color .18s, background .18s, border-color .18s; }
.discord-link:hover { border-color: #e77870; background: #382020; color: #fff; }

.hero { position: relative; isolation: isolate; min-height: 345px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 55px; padding-block: 48px; border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; z-index: -1; inset: 4% 0; background: radial-gradient(ellipse at 78% 43%, rgba(183, 53, 48, .16), transparent 57%); content: ""; animation: ambient-drift 11s ease-in-out infinite alternate; pointer-events: none; }
.eyebrow { margin: 0 0 12px; color: #e77870; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.pixel-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Trebuchet MS", Arial, sans-serif; letter-spacing: -.045em; }
h1 { margin-bottom: 14px; font-size: clamp(40px, 5.8vw, 63px); line-height: 1.02; }
h1 span { color: #e96d65; }
.hero-description { max-width: 440px; margin-bottom: 20px; color: #bdb2b2; font-size: 13px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 17px; }
.primary-link, .submit-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 14px; border: 1px solid #e15d55; border-radius: 5px; background: #c84340; color: white; font: 700 11px "Trebuchet MS", Arial, sans-serif; cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s, background .2s; }
.primary-link:hover, .submit-button:hover { transform: translateY(-2px); background: #dd514c; box-shadow: 0 7px 18px rgba(201, 67, 64, .2); }
.primary-link:active, .submit-button:active { transform: translateY(0) scale(.98); }
.secondary-link { color: #d5caca; font-size: 11px; }
.secondary-link:hover { color: #fff; }
.hero-server { position: relative; min-height: 174px; display: flex; align-items: center; gap: 16px; overflow: hidden; padding: 23px; border: 1px solid #583535; border-radius: 7px; background: #211919; box-shadow: 5px 5px 0 #2e2020; animation: card-arrive .7s .12s both ease-out, float-soft 6s 1s infinite ease-in-out; }
.hero-logo { width: 77px; height: 63px; border: 1px solid #67403e; border-radius: 5px; object-fit: cover; }
.server-label { margin: 0 0 6px; color: #e77870; font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.server-title { margin: 0 0 3px; font-size: 20px; font-weight: 800; }
.server-subtitle { margin: 0; color: #a89b9b; font-size: 10px; }
.hero-pixels { position: absolute; right: 15px; bottom: 13px; display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; transform: rotate(45deg); opacity: .55; }
.hero-pixels span { width: 7px; height: 7px; background: #a93b39; animation: pixel-glow 2.8s infinite ease-in-out; }
.hero-pixels span:nth-child(2), .hero-pixels span:nth-child(3) { opacity: .4; }
.hero-pixels span:nth-child(2) { animation-delay: .5s; }
.hero-pixels span:nth-child(3) { animation-delay: 1s; }
.hero-pixels span:nth-child(4) { animation-delay: 1.5s; }
.hero-copy > * { animation: rise-in .55s both ease-out; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }

.status-section, .join-section, .reviews-section { padding-block: 47px 54px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
h2 { margin-bottom: 0; font-size: clamp(24px, 3.5vw, 32px); }
.updated-label, .section-number { margin: 0 0 3px; color: #877c7c; font-size: 10px; }
.maintenance-note { margin: 0 0 14px; color: #9b9090; font-size: 10px; }
.status-error { min-height: 0; margin: 0; color: #e7a09a; font-size: 11px; }
.status-error:not(:empty) { margin-bottom: 12px; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.status-card { padding: 16px; border: 1px solid #3b3030; border-radius: 6px; background: #211c1c; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.status-card:hover { transform: translateY(-3px); border-color: #714340; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.status-card-heading { display: flex; align-items: center; gap: 10px; }
.edition-icon { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #624040; border-radius: 5px; background: #382424; color: #ef8980; font-size: 12px; font-weight: 800; }
.bedrock-icon { color: #a9d78a; border-color: #425238; background: #222d20; }
.status-card-heading h3 { margin: 0 0 3px; font-size: 12px; }
.status-card-heading p { margin: 0; color: #928787; font-family: Consolas, monospace; font-size: 9px; }
.status-pill { margin-left: auto; padding: 5px 7px; border: 1px solid #454040; border-radius: 4px; color: #b5abab; font-size: 9px; white-space: nowrap; }
.status-online { border-color: #37593f; color: #9bd4a1; background: #1b2b1e; }
.status-online::before { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #75c982; content: ""; box-shadow: 0 0 0 0 rgba(117, 201, 130, .5); animation: online-pulse 2s infinite; }
.status-offline { border-color: #653b3a; color: #f09a91; background: #321e1e; }
.status-unknown { color: #c6b878; }
.server-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0 13px; padding: 12px 0; border-top: 1px solid #3b2c2c; border-bottom: 1px solid #3b2c2c; }
.server-facts div { display: grid; gap: 4px; }
.server-facts dt { color: #8f8484; font-size: 9px; }
.server-facts dd { margin: 0; color: #e8dede; font-family: Consolas, monospace; font-size: 10px; }
.copy-button { padding: 6px 9px; border: 1px solid #514040; border-radius: 4px; background: #2b2222; color: #e6dada; font: 10px "Trebuchet MS", Arial, sans-serif; cursor: pointer; }
.copy-button:hover { border-color: #a75a54; color: #fff; }

.join-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 19px; }
.join-card { display: grid; grid-template-columns: 32px 1fr; align-content: start; gap: 11px; padding: 17px; border: 1px solid #3b3030; border-radius: 6px; background: #211c1c; transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .2s ease, box-shadow .2s ease; }
.join-card:hover { transform: translateY(-3px); border-color: #714340; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); }
.join-number { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #624040; border-radius: 4px; color: #ef8980; font-size: 10px; font-weight: 800; }
.join-card h3 { margin: 0 0 6px; font-size: 13px; }
.join-card p { margin: 0; color: #b4a9a9; font-size: 10px; line-height: 1.6; }
.join-card strong { color: #e7dada; }
.address-chip { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; padding: 8px 9px; border: 1px solid #3d3030; border-radius: 4px; background: #181414; color: #e8dede; font-family: Consolas, monospace; font-size: 10px; }
.port-note { grid-column: 1 / -1; margin-top: -3px !important; }
.port-note code { color: #e8dede; }
.join-hint { margin: 13px 0 0; color: #8f8484; font-size: 10px; }

.shop-section { display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 30px; margin-block: 39px; padding: 27px 30px; border: 1px solid #583535; border-radius: 6px; background: linear-gradient(115deg, #211919 0%, #271b1b 55%, #211919 100%); background-size: 160% 100%; transition: background-position .7s ease, border-color .25s ease; }
.shop-section:hover { border-color: #714340; background-position: 100% 0; }
.shop-copy h2 { margin-bottom: 10px; }
.shop-copy > p:not(.eyebrow) { max-width: 520px; margin-bottom: 15px; color: #bdb2b2; font-size: 11px; line-height: 1.7; }
.shop-side { min-height: 108px; display: grid; grid-template-columns: 42px 1fr; align-content: center; align-items: center; column-gap: 11px; padding: 14px; border-left: 1px solid #483232; }
.shop-emblem { grid-row: span 2; width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid #734340; border-radius: 5px; background: #392020; color: #ee8277; font-size: 20px; font-weight: 900; }
.shop-side p { margin: 0 0 4px; color: #e77870; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.shop-side span:last-child { color: #d8caca; font-family: Consolas, monospace; font-size: 10px; }

.review-summary { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.summary-stars, .review-stars { color: #f0b759; letter-spacing: .06em; }
.summary-score { color: #fff; font-size: 15px; font-weight: 800; }
.list-status { min-height: 18px; color: var(--muted); font-size: 11px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.review-card { min-height: 135px; padding: 14px; border: 1px solid #3b3030; border-radius: 5px; background: #211c1c; }
.review-card { animation: rise-in .38s both ease-out; transition: transform .18s ease, border-color .18s ease; }
.review-card:hover { transform: translateY(-2px); border-color: #66403e; }
.review-card-top { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.avatar { width: 30px; height: 30px; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid #624040; border-radius: 4px; background: #382424; color: #ef8980; font-size: 12px; font-weight: 800; }
.review-author { margin: 0 0 2px; font-size: 11px; font-weight: 800; }
.review-date { margin: 0; color: #8e8282; font-size: 9px; }
.review-stars { margin-left: auto; font-size: 10px; white-space: nowrap; }
.review-comment { margin: 0; color: #c8bebe; font-size: 10px; line-height: 1.65; overflow-wrap: anywhere; }
.empty-state { grid-column: 1 / -1; padding: 22px; border: 1px dashed #4a3939; border-radius: 5px; color: var(--muted); text-align: center; font-size: 11px; }
.show-more-button { display: block; margin: 15px auto 0; padding: 8px 12px; border: 1px solid #514040; border-radius: 4px; background: #2b2222; color: #e6dada; font: 10px "Trebuchet MS", Arial, sans-serif; cursor: pointer; }

.form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-block: 40px; padding: 29px; border: 1px solid #4a3030; border-radius: 6px; background: #211919; }
.form-intro h2 { margin-bottom: 11px; }
.form-intro > p:not(.eyebrow) { max-width: 300px; color: #bdb2b2; font-size: 11px; line-height: 1.7; }
.form-intro .privacy-note { margin-top: 20px; color: #8f8484 !important; font-size: 10px !important; }
.review-form { display: flex; flex-direction: column; }
.review-form > label, .rating-field legend { margin-bottom: 7px; color: #eee5e5; font-size: 10px; font-weight: 800; }
.field-hint { float: right; color: #918686; font-size: 9px; font-weight: 400; }
.review-form input[type="text"], .review-form textarea { width: 100%; margin-bottom: 13px; padding: 10px 11px; border: 1px solid #483737; border-radius: 4px; outline: none; background: #171313; color: #fff; font: 11px "Trebuchet MS", Arial, sans-serif; }
.review-form input[type="text"]:focus, .review-form textarea:focus { border-color: #bc5a52; }
.review-form textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.review-form input::placeholder, .review-form textarea::placeholder { color: #786e6e; }
.rating-field { margin: 0 0 13px; padding: 0; border: 0; }
.rating-picker { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.rating-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating-picker label { color: #5b4d4d; font-size: 23px; cursor: pointer; }
.rating-picker label:hover, .rating-picker label:hover ~ label, .rating-picker input:checked ~ label { color: #f0b759; }
.rating-picker input:focus-visible + label { outline: 2px solid white; outline-offset: 3px; }
.form-meta { display: flex; justify-content: space-between; margin: -6px 0 11px; color: #8f8484; font-size: 9px; }
.moderation-note { margin: 0 0 6px; color: #9d9292; font-size: 9px; line-height: 1.6; }
.form-status { min-height: 17px; margin: 0 0 7px; color: #ee958b; font-size: 10px; }
.form-status.success { color: #9ad2a6; }
.submit-button { width: 100%; }
.submit-button:disabled { opacity: .6; cursor: wait; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.copy-status { position: fixed; z-index: 5; right: 20px; bottom: 16px; margin: 0; padding: 9px 12px; border: 1px solid #624040; border-radius: 4px; background: #211919; color: #e8dede; font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.copy-status.visible { opacity: 1; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 13px; padding-block: 20px 27px; border-top: 1px solid var(--line); color: #817575; font-size: 9px; }
.footer a:hover { color: #f08a7e; }
.footer-brand { color: #e77870; font-weight: 800; letter-spacing: .1em; }

.js-reveal { opacity: 0; transform: translateY(20px) scale(.99); transition: opacity .65s ease var(--reveal-delay, 0ms), transform .65s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms); }
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes card-arrive { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float-soft { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes pixel-glow { 0%, 100% { opacity: .28; } 50% { opacity: .95; } }
@keyframes online-pulse { 70% { box-shadow: 0 0 0 5px rgba(117, 201, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(117, 201, 130, 0); } }
@keyframes ambient-drift { from { transform: translate3d(-1%, -1%, 0) scale(.96); opacity: .65; } to { transform: translate3d(1%, 1%, 0) scale(1.04); opacity: 1; } }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 25px; }
  .hero-server { max-width: 470px; }
  .status-grid, .join-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-section { grid-template-columns: 1fr; gap: 18px; }
  .shop-side { min-height: 65px; border-top: 1px solid #483232; border-left: 0; }
  .form-section { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 520px) {
  .topbar, main, .footer { width: calc(100% - 30px); }
  .topbar { height: auto; min-height: 60px; align-items: center; }
  .brand { gap: 6px; font-size: 10px; }
  .brand-logo { width: 32px; height: 27px; }
  .top-links { gap: 10px; font-size: 9px; }
  .top-links a:nth-child(2) { display: none; }
  .top-links { gap: 8px; }
  .discord-link { padding: 6px 7px; }
  .discord-hero-link { display: none; }
  .hero { padding-block: 36px; }
  .hero-server { min-height: 135px; padding: 15px; }
  .hero-logo { width: 58px; height: 48px; }
  .section-heading { align-items: start; flex-direction: column; }
  .reviews-grid { grid-template-columns: 1fr; }
  .form-section, .shop-section { padding: 20px 15px; }
  .footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
}
