/* Landing page — Gotravspeed (full-page fantasy theme) */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap");

/* Wallpaper + veil only on this layer — content stacks above (see z-index below) */
.layout-landing body {
    min-height: 100vh;
    background-color: #0d1114;
}

.landing-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #0d1114;
    background-image: url("../5b4e400c-6059-4c03-b3e0-d87913936734.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.landing-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}

.layout-landing .default__middle,
.layout-landing #cookie {
    position: relative;
    z-index: 1;
}

.layout-landing .default__middle {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 80px;
    box-sizing: border-box;
}

.layout-landing .default__holder {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 24px 36px;
    background: rgba(12, 14, 18, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.layout-landing .default__logo-a {
    display: block;
    text-align: center;
    margin: 0 auto 20px;
}

.layout-landing .landing__logo-img {
    max-width: min(520px, 92vw);
    height: auto;
    display: inline-block;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.75));
}

/* Top actions */
.landing__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.landing__btn {
    font-family: "Cinzel", Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 22px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(30, 30, 34, 0.9);
    color: #f5e6c8;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.landing__btn:hover {
    background: rgba(45, 42, 38, 0.95);
    border-color: rgba(212, 175, 55, 0.75);
}

.landing__btn:active {
    transform: translateY(1px);
}

.landing__btn--primary {
    background: linear-gradient(180deg, #8b6914 0%, #5c470e 100%);
    border-color: #d4af37;
    color: #fff8e7;
}

.landing__btn--primary:hover {
    background: linear-gradient(180deg, #a47e18 0%, #6d5612 100%);
}

/* Intro */
.landing__intro {
    font-family: "Crimson Pro", Georgia, serif;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #e8dfc8;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Version cards */
.landing__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.landing-card {
    font-family: "Crimson Pro", Georgia, serif;
    padding: 20px 22px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(42, 36, 28, 0.92) 0%, rgba(22, 20, 18, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.landing-card__badge {
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 10px;
}

.landing-card h3 {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.15rem;
    color: #fff4dc;
    margin: 0 0 10px;
}

.landing-card p {
    margin: 0;
    color: #d6cbb8;
    font-size: 1.02rem;
    line-height: 1.5;
}

/* Servers */
.landing__servers-title {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0e6d2;
    text-align: center;
    margin: 0 0 18px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.landing-server-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.landing-server {
    flex: 1 1 calc(50% - 10px);
    min-width: 260px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px 18px;
    border-radius: 10px;
    background: rgba(18, 22, 26, 0.88);
    border: 1px solid rgba(160, 140, 100, 0.35);
    position: relative;
    font-family: "Crimson Pro", Georgia, serif;
    color: #e5dcc9;
}

.landing-server--t4 {
    border-color: rgba(64, 145, 108, 0.45);
}

.landing-server__badge-t4 {
    position: absolute;
    top: 10px;
    right: 12px;
    font-family: "Cinzel", Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f8f9fa;
    background: #1b4332;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #40916c;
}

.landing-server__name {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.1rem;
    margin: 0 0 12px;
    padding-right: 48px;
}

.landing-server__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.landing-server__meta span {
    display: block;
}

.landing-server__hint {
    margin-top: 10px;
    font-size: 0.88rem;
    color: #a89880;
    line-height: 1.4;
}

.landing__servers-empty {
    text-align: center;
    font-family: "Crimson Pro", Georgia, serif;
    color: #b5a895;
    padding: 16px;
}

/* Modals */
.landing-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5, 6, 8, 0.82);
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    overflow-y: auto;
}

.landing-modal-overlay.is-open {
    display: flex;
}

.landing-modal {
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, #2a2520 0%, #181614 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    position: relative;
    padding: 28px 24px 24px;
}

.landing-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #c4b89a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 6px;
}

.landing-modal__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.landing-modal h2 {
    font-family: "Cinzel", Georgia, serif;
    font-size: 1.35rem;
    color: #f5e6c8;
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 0.06em;
}

.landing-modal .default__form-group {
    margin-bottom: 14px;
}

.landing-modal .default__form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid rgba(120, 110, 90, 0.5);
    background: rgba(10, 10, 12, 0.65);
    color: #f0e8dc;
    font-size: 16px;
}

.landing-modal .default__form-control:focus {
    outline: none;
    border-color: #d4af37;
}

.landing-modal .default__button-holder {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.landing-modal .default__button {
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 11px 20px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #d4af37;
    background: linear-gradient(180deg, #8b6914 0%, #5c470e 100%);
    color: #fff8e7;
}

.landing-modal .default__button-a {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(40, 38, 34, 0.95);
    color: #e8dcc4;
}

.landing-modal .default__form-control--checkbox {
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.landing-modal label span,
.landing-modal .default__form-group span {
    font-family: "Crimson Pro", Georgia, serif;
    font-size: 0.95rem;
    color: #c9bba5;
}

.landing-modal .default__form-group span a {
    color: #e8c547;
}

.layout-landing .footer {
    color: #c9bba5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

.layout-landing .footer .footer__link,
.layout-landing .footer a {
    color: #e8c547;
}

@media (max-width: 640px) {
    .landing-server {
        flex: 1 1 100%;
    }

    .landing-server__meta {
        grid-template-columns: 1fr;
    }

    .layout-landing .default__holder {
        padding: 20px 14px 28px;
    }
}
