:root {
    --bg-color: #000000;
    --card-bg: #0b0f19;
    --accent-blue: #00d2ff;
    --neon-glow: rgba(0, 210, 255, 0.35);
    --text-main: #f0f4f8;
    --text-muted: #8fa0b5;
    --success: #00ff66;
    --danger: #ff4444;
    --warning: #ffd166;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.modal-open {
    overflow: hidden;
}

button, a {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
.ip-box:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.hero {
    text-align: center;
    padding: 40px 20px 30px;
    max-width: 850px;
    width: 100%;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.logo-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: none;
}

.server-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.status-badge,
.whitelist-badge {
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.25);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.whitelist-badge {
    color: #dbe7f5;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.status-online {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.status-offline {
    background: var(--danger);
    box-shadow: 0 0 10px var(--danger);
}

.status-unknown {
    background: var(--warning);
    box-shadow: 0 0 10px var(--warning);
}

.hero-text {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--text-muted);
    line-height: 1.6;
}

.ip-box {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 255, 0.4);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 470px;
    margin: 0 auto 38px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px var(--neon-glow);
}

.ip-box:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
    transform: translateY(-2px);
}

.ip-text-container {
    text-align: left;
}

.ip-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ip-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.copy-btn {
    background: var(--accent-blue);
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ip-box:hover .copy-btn {
    background: #fff;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px 60px;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 0 25px var(--neon-glow);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--accent-blue);
}

.card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.card:hover .card-btn {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px var(--neon-glow);
}

footer {
    margin-top: auto;
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #131a2c;
    width: 100%;
}

.mojang-note {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #56687e;
}

.footer-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legal-link {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    color: var(--accent-blue);
    cursor: pointer;
    font-weight: 700;
}

.legal-link:hover {
    text-decoration: underline;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.88);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.modal-content {
    background-color: #0b0f19;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 30px var(--neon-glow);
    padding: 30px;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 84vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
}

.privacy-content {
    max-width: 780px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 16px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    border: 0;
    background: transparent;
}

.close-modal:hover {
    color: var(--accent-blue);
}

.modal h2 {
    margin-bottom: 20px;
    color: #fff;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    padding: 0 45px 10px 0;
}

.modal h3 {
    color: #fff;
    margin: 24px 0 10px;
    font-size: 1.05rem;
}

.modal p {
    margin-bottom: 15px;
    line-height: 1.65;
    color: var(--text-main);
}

.modal a {
    color: var(--accent-blue);
}

.legal-note,
.privacy-updated {
    color: var(--text-muted) !important;
    font-size: 0.88rem;
}

.important-box {
    margin: 16px 0 22px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 209, 102, 0.45);
    background: rgba(255, 209, 102, 0.08);
    border-radius: 10px;
    line-height: 1.6;
}

.todo {
    color: var(--warning);
    font-weight: 800;
}

@media (max-width: 600px) {
    .hero {
        padding-top: 28px;
    }

    .logo-img {
        max-width: 240px;
    }

    .ip-box {
        padding: 14px 16px;
        gap: 10px;
    }

    .ip-value {
        font-size: 1.1rem;
    }

    .copy-btn {
        padding: 9px 12px;
    }

    .modal {
        padding: 10px;
    }

    .modal-content {
        padding: 24px 20px;
        max-height: 90vh;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* =========================================================
   AXONSMP – Minecraft-inspirierter Block-Look
   Keine externen Fonts oder Texturen erforderlich.
   ========================================================= */

:root {
    --mc-green: #62c653;
    --mc-green-dark: #2f7d32;
    --mc-dirt: #6d4b32;
    --mc-stone: #79818c;
    --mc-deepslate: #20242b;
    --mc-gold: #ffd54a;
}

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(0,210,255,.10), transparent 36rem),
        linear-gradient(#000 0 420px, #05080d 760px, #000 100%);
}

.hero::after {
    content: "";
    display: block;
    width: min(760px, 88vw);
    height: 12px;
    margin: 6px auto 0;
    background:
        linear-gradient(to bottom, var(--mc-green) 0 4px, #3f9d3c 4px 7px, var(--mc-dirt) 7px 12px);
    box-shadow: 0 0 22px rgba(98,198,83,.24);
    image-rendering: pixelated;
}

.logo-img {
    image-rendering: auto;
    filter: drop-shadow(0 8px 0 rgba(0,0,0,.45));
}

.whitelist-badge {
    border-radius: 3px;
    border: 2px solid #35414e;
    background: #171d25;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,.35);
    letter-spacing: .7px;
}

.ip-box, .card, .modal-content, .application-section {
    border-radius: 4px;
    box-shadow:
        inset 0 0 0 2px rgba(255,255,255,.025),
        0 0 22px rgba(0,210,255,.18);
}

.ip-box {
    border-width: 2px;
}

.ip-box::before {
    content: "◆";
    color: var(--accent-blue);
    text-shadow: 0 0 10px var(--accent-blue);
    margin-right: -5px;
}

.copy-btn,
.card-btn,
.apply-btn {
    border-radius: 2px !important;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,.3);
    text-transform: uppercase;
    letter-spacing: .6px;
}

.card {
    position: relative;
    overflow: hidden;
    border-top: 4px solid #303a47;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 7px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,.08) 0 18px,
        rgba(0,0,0,.10) 18px 36px
    );
    pointer-events: none;
}

.card-highlight {
    border-color: rgba(98,198,83,.55);
    box-shadow: 0 0 20px rgba(98,198,83,.16);
}

.card-highlight:hover {
    border-color: var(--mc-green);
    box-shadow: 0 0 28px rgba(98,198,83,.28);
}

.card-highlight:hover .card-btn {
    background: var(--mc-green);
    border-color: var(--mc-green);
}

.build-strip {
    width: min(1000px, calc(100% - 40px));
    margin: -10px auto 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #10151d;
    border: 2px solid #293440;
    box-shadow: 0 8px 0 #05070a, 0 0 20px rgba(0,210,255,.10);
}

.build-item {
    min-height: 92px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    border-right: 1px solid #293440;
}

.build-item:last-child { border-right: 0; }
.build-item > span { grid-row: 1 / 3; font-size: 1.75rem; }
.build-item strong { color: #fff; font-size: .95rem; }
.build-item small { color: var(--text-muted); line-height: 1.35; }

.application-section {
    grid-column: 1 / -1;
    background:
        linear-gradient(rgba(11,15,25,.96), rgba(11,15,25,.98)),
        repeating-linear-gradient(45deg, #18202a 0 16px, #121821 16px 32px);
    border: 2px solid rgba(98,198,83,.45);
    border-top: 6px solid var(--mc-green);
    padding: 34px;
    margin-top: 10px;
    scroll-margin-top: 20px;
}

.application-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.pixel-kicker {
    display: inline-block;
    color: #081007;
    background: var(--mc-green);
    padding: 5px 9px;
    margin-bottom: 12px;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    box-shadow: 4px 4px 0 #244f27;
}

.application-heading h2 {
    font-size: clamp(1.65rem, 4vw, 2.3rem);
    color: #fff;
    margin-bottom: 10px;
}

.application-heading p {
    color: var(--text-muted);
    line-height: 1.65;
}

.application-form {
    display: grid;
    gap: 22px;
}

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

.field {
    display: grid;
    gap: 7px;
}

.field > span,
.playstyle legend {
    color: #eaf2fa;
    font-weight: 750;
    font-size: .92rem;
}

.field small,
.playstyle small {
    color: var(--text-muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    color: #f4f7fa;
    background: #080b10;
    border: 2px solid #303946;
    border-radius: 2px;
    padding: 12px 13px;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.field textarea {
    resize: vertical;
    min-height: 92px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0,210,255,.12);
}

.field-wide { width: 100%; }

.playstyle {
    border: 2px solid #293440;
    padding: 17px;
    background: rgba(0,0,0,.18);
}

.playstyle legend {
    padding: 0 8px;
}

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

.check-grid label {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
    background: #0b1017;
    border: 1px solid #293440;
    padding: 10px;
    cursor: pointer;
}

.check-grid label:has(input:checked) {
    color: #fff;
    border-color: var(--mc-green);
    background: rgba(98,198,83,.08);
}

.consent {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: var(--text-muted);
    line-height: 1.55;
    font-size: .88rem;
}

.consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.inline-legal {
    border: 0;
    background: none;
    color: var(--accent-blue);
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.apply-btn {
    border: 2px solid #89e47c;
    background: var(--mc-green);
    color: #071006;
    padding: 13px 22px 16px;
    font-weight: 900;
    cursor: pointer;
}

.apply-btn:hover {
    background: #7be16f;
    box-shadow: 0 0 20px rgba(98,198,83,.35);
}

.form-note {
    color: #6f8093;
    font-size: .8rem;
}

.form-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 2px solid var(--mc-green);
    background: rgba(98,198,83,.10);
    color: #eaffea;
    line-height: 1.5;
}

.form-message.error {
    border-color: #ff5c5c;
    background: rgba(255,92,92,.09);
    color: #ffe6e6;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 760px) {
    .build-strip { grid-template-columns: 1fr; }
    .build-item { border-right: 0; border-bottom: 1px solid #293440; }
    .build-item:last-child { border-bottom: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .application-section { padding: 25px 18px; }
}

@media (max-width: 430px) {
    .check-grid { grid-template-columns: 1fr; }
}
