.home-container {
    width: min(1120px, calc(100% - 12vw));
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero {
    display: grid;
    align-items: center;
    min-height: min(680px, calc(100vh - 74px));
    padding: 70px 0 82px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse at center, rgba(7, 9, 8, 0.08), rgba(7, 9, 8, 0.56) 72%),
        linear-gradient(180deg, rgba(7, 9, 8, 0.14), rgba(7, 9, 8, 0.08) 44%, rgba(7, 9, 8, 0.78));
}

.home-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 120px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(7, 9, 8, 0.92));
}

.hero-shell {
    text-align: center;
}

.hero-shell h1 {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(2.45rem, 5.25vw, 5.1rem);
    line-height: 0.96;
    text-wrap: balance;
    text-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
}

.hero-shell p:not(.eyebrow) {
    max-width: 690px;
    margin: 22px auto 0;
    color: rgba(255, 248, 233, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.22rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 820px;
    margin: 22px auto 0;
}

.hero-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    background: rgba(7, 9, 8, 0.58);
    border: 1px solid rgba(255, 248, 233, 0.2);
    border-radius: 999px;
    color: rgba(255, 248, 233, 0.92);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.primary-action,
.secondary-action,
.section-link,
.server-actions a,
.review-login,
.review-submit-card button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 850;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.review-login,
.review-submit-card button {
    width: 100%;
}

.review-submit-card button {
    font: inherit;
    cursor: pointer;
}

.primary-action,
.server-actions a,
.review-login,
.review-submit-card button {
    background: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 32px rgba(56, 212, 135, 0.18);
    color: #fff;
}

.secondary-action,
.section-link {
    background: rgba(7, 9, 8, 0.34);
    border: 1px solid var(--border);
    color: var(--text);
}

.primary-action:hover,
.primary-action:focus,
.server-actions a:hover,
.server-actions a:focus,
.review-login:hover,
.review-login:focus,
.review-submit-card button:hover,
.review-submit-card button:focus {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.secondary-action:hover,
.secondary-action:focus,
.section-link:hover,
.section-link:focus {
    border-color: var(--accent-cool);
    color: var(--text);
    transform: translateY(-1px);
}

.home-section {
    padding: 78px 0;
}

.dark-section {
    background:
        linear-gradient(180deg, rgba(7, 9, 8, 0.86), rgba(7, 9, 8, 0.7)),
        rgba(7, 9, 8, 0.68);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(4px);
}

.about-overview {
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 233, 0.06),
        inset 0 -1px 0 rgba(255, 248, 233, 0.04),
        0 -36px 80px rgba(0, 0, 0, 0.28);
}

.centered-intro {
    text-align: center;
}

.centered-intro h2,
.section-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4.2rem);
    line-height: 0.98;
    text-wrap: balance;
}

.centered-intro h2 {
    max-width: 820px;
    margin-inline: auto;
}

.centered-intro p:not(.eyebrow) {
    max-width: 820px;
    margin: 22px auto 0;
    color: rgba(255, 248, 233, 0.9);
    font-size: 1.08rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: 44px;
    align-items: center;
}

.split-layout.reverse {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
}

.section-copy {
    text-align: left;
}

.section-copy p:not(.eyebrow) {
    max-width: 680px;
    margin: 22px 0 0;
    color: rgba(255, 248, 233, 0.88);
    font-size: 1.04rem;
}

.section-copy .section-link {
    margin-top: 30px;
}

.home-card,
.review-submit-card,
.review-card,
.reviews-empty {
    background:
        linear-gradient(180deg, rgba(255, 248, 233, 0.08), rgba(242, 174, 84, 0.028)),
        rgba(14, 18, 16, 0.76);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.home-card {
    min-height: 100%;
    padding: 26px;
}

.home-card h3 {
    margin: 0 0 16px;
    font-size: 1.35rem;
}

.home-card p {
    margin: 14px 0 0;
    color: var(--muted);
}

.home-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-card li {
    position: relative;
    padding-left: 22px;
}

.home-card li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-cool);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(94, 169, 255, 0.28);
}

.reviews-section {
    padding: 70px 0;
}

.reviews-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    gap: 44px;
    align-items: start;
}

.review-submit-card {
    padding: 22px;
}

.review-submit-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}

.review-submit-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.review-user,
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-user {
    margin-bottom: 12px;
}

.review-user img,
.review-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.review-user span,
.review-author span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.review-submit-card form {
    display: grid;
    gap: 9px;
}

.review-submit-card label,
.review-form-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-submit-card textarea {
    width: 100%;
    min-height: 104px;
    padding: 12px 14px;
    background: rgba(255, 248, 233, 0.06);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font: inherit;
    resize: vertical;
}

.rating-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.rating-options label {
    display: block;
    cursor: pointer;
}

.rating-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: 100%;
    padding: 0 8px;
    color: var(--muted);
    background: rgba(255, 248, 233, 0.055);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.rating-options input:checked + span,
.rating-options label:hover span,
.rating-options label:focus-within span {
    color: #fff;
    background: var(--accent);
    border-color: rgba(56, 212, 135, 0.62);
    transform: translateY(-1px);
}

.review-alert {
    max-width: 1120px;
    margin: 22px auto 0;
    padding: 14px 16px;
    border: 1px solid rgba(56, 212, 135, 0.38);
    border-radius: 8px;
    color: #c9ffdf;
    background: rgba(56, 212, 135, 0.09);
}

.reviews-content {
    margin-top: 34px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    padding: 22px;
}

.review-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.review-stars {
    color: var(--accent);
    font-weight: 900;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.review-card p {
    margin: 18px 0 0;
    color: var(--muted);
}

.reviews-empty {
    padding: 22px;
    color: var(--muted);
    text-align: center;
}

.reviews-empty p {
    margin: 0;
}

.join-card {
    display: grid;
    gap: 14px;
}

.server-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.server-detail-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.server-detail-row:last-of-type {
    padding-bottom: 0;
}

.server-detail-row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.server-detail-row strong {
    color: var(--text);
    text-align: right;
}

.server-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

@media (max-width: 1020px) {
    .feature-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .home-container {
        width: min(100% - 32px, 1120px);
    }

    .home-hero {
        min-height: calc(82vh - 74px);
        padding: 64px 0 72px;
    }

    .home-section {
        padding: 68px 0;
    }

    .split-layout,
    .split-layout.reverse,
    .reviews-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-copy,
    .reviews-header .section-copy {
        text-align: center;
    }

    .section-copy p:not(.eyebrow) {
        margin-left: auto;
        margin-right: auto;
    }

    .section-copy .section-link,
    .server-actions {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .hero-shell h1 {
        font-size: 2.7rem;
    }

    .feature-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
