/* =========================
   Grundsetup
========================= */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-color: #001b5e;
    color: white;
}


/* =========================
   Navbar
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: clamp(55px, 6vw, 95px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 clamp(10px, 2vw, 25px);
    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 9999;

    animation: navbarDown 0.8s ease forwards;
}

.logo img {
    height: clamp(28px, 3.5vw, 55px);
    width: auto;
    transition: 0.25s ease;
}

.logo img:hover {
    transform: scale(1.08) rotate(-3deg);
}

.btn {
    color: white;
    text-decoration: none;

    background: #003ece;

    height: auto;
    padding: 12px 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: clamp(14px, 2vw, 20px);
    font-weight: bold;

    border: none;
    border-radius: 8px;

    transition: 0.2s ease;
}

.btn:hover {
    transform: scale(1.08);
    background: #0050ff;
}


/* =========================
   Hero
========================= */

.hero {
    position: relative;
    width: 100%;
    margin-top: 0;
    overflow: hidden;
    animation: fadeIn 1s ease forwards;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px; /* wie weich der Übergang ist */

    background: linear-gradient(
        to bottom,
        rgba(0, 27, 94, 0) 0%,
        rgba(0, 27, 94, 0.12) 20%,
        rgba(0, 27, 94, 0.35) 45%,
        rgba(0, 27, 94, 0.7) 75%,
        #001b5e 100%
    );

    pointer-events: none;
    z-index: 2000;
}

.split-section {
    width: 100%;
    background: #001b5e;
    margin-top: -1px;
    position: relative;
    z-index: 3;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;

    transform: translate(-50%, -50%);

    font-family: 'Minecraft', Arial, sans-serif;
    text-align: center;

    z-index: 4000;

    opacity: 0;
    animation: textPop 1s ease 0.4s forwards;
}

.hero-text h1 {
    --mouse-x: 50%;
    --mouse-y: 50%;

    --spot1: transparent;
    --spot2: transparent;
    --spot3: transparent;

    font-size: clamp(80px, 20vw, 500px);
    line-height: 1;
    margin: 0;

    text-align: center;
    white-space: nowrap;

    background-image:
        radial-gradient(
            circle at var(--mouse-x) var(--mouse-y),
            var(--spot1) 0%,
            var(--spot2) 18%,
            var(--spot3) 38%,
            transparent 60%
        ),
        linear-gradient(
            90deg,
            #0032a6 0%,
            #0050ff 50%,
            #0032a6 100%
        );

    background-size: 100% 100%, 200% 100%;
    background-position: 0 0, 200% 50%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;

    animation: textGradientMove 4s linear infinite;
    cursor: default;
}

.hero-text h1.mouse-active {
    --spot1: #00a6ff;
    --spot2: #006bff;
    --spot3: #003ece;
}

.ghast {
    position: absolute;
    top: 12%;
    left: 50%;
    right: auto;

    width: 40%;
    height: auto;

    transform: translateX(-50%);
    pointer-events: none;

    z-index: 5000;
    opacity: 1;
}


/* =========================
   Minecraft Panel
========================= */

.mc-overlay-section {
    width: 100%;
    background: #001b5e;
    padding: 90px 40px;
    box-sizing: border-box;
}

.mc-panel {
    max-width: 1500px;
    margin: 0 auto;

    background: #0c0e1e;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;

    padding: 35px;
    box-sizing: border-box;

    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;

    font-family: Arial, sans-serif;
    color: white;
}

.mc-panel * {
    font-family: Arial, sans-serif;
}

.mc-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    margin-bottom: 35px;
}

.mc-small {
    color: #00a6ff;
    font-weight: bold;
    margin: 0 0 8px;
    font-size: 16px;
}

.mc-panel-top h2 {
    color: white;
    font-size: 42px;
    margin: 0;
    font-weight: 900;
}

.mc-desc {
    margin: 10px 0 0;
    color: #cbd6ff;
    font-size: 18px;
}

.mc-main-btn {
    background: #003ece;
    color: white;

    padding: 14px 28px;
    border-radius: 10px;

    text-decoration: none;
    font-weight: bold;

    transition: 0.2s ease;
    white-space: nowrap;
}

.mc-main-btn:hover {
    transform: scale(1.07);
    background: #0050ff;
}

.mc-dashboard {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 30px;
}


/* =========================
   Console
========================= */

.mc-console {
    background: #111322;
    border-radius: 18px;
    padding: 25px;

    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mc-console-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.green-dot {
    width: 13px;
    height: 13px;
    background: #00ff4c;
    border-radius: 50%;
    box-shadow: 0 0 15px #00ff4c;
    flex-shrink: 0;
    position: relative;
    top: -2px;
}

.mc-console-header h3 {
    margin: 0;
    font-size: 28px;
    color: white;
    font-weight: 900;
    position: relative;
    top: -2px;
}

.mc-console-box {
    background: #050713;
    border-radius: 12px;

    padding: 25px;
    height: 360px;

    font-family: Consolas, monospace;
    font-size: 16px;
    line-height: 1.6;

    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mc-console-box::-webkit-scrollbar {
    display: none;
}

.console-tab {
    margin-bottom: 18px;
}

.mc-console-box p {
    margin: 6px 0;
    color: #ffffff;
    font-family: Consolas, monospace;
}

.mc-console-box span {
    font-family: Consolas, monospace;
    font-weight: bold;
}

.info {
    color: #00a6ff;
}

.sys {
    color: #a7b6e3;
}

.net {
    color: #00d9ff;
}

.success {
    color: #00ff66;
}

.warn {
    color: #ffd447;
}



/* =========================
   Interaktive Console
========================= */

.mc-console-input-row {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;
    padding: 13px 15px;

    background: #050713;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;

    font-family: Consolas, monospace;
}

.mc-console-prompt {
    color: #00ff66;
    font-weight: bold;
    font-family: Consolas, monospace;
}

.mc-console-input-row input {
    width: 100%;

    background: transparent;
    border: none;
    outline: none;

    color: white;
    font-size: 15px;
    font-family: Consolas, monospace;
}

.mc-console-input-row input::placeholder {
    color: #7f8db8;
}

.mc-console-input-row input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.command-line {
    color: #ffffff;
    font-family: Consolas, monospace;
}

.console-link {
    color: #00a6ff;
    font-weight: bold;
    text-decoration: none;
    font-family: Consolas, monospace;
}

.console-link:hover {
    color: #66cfff;
}

.mc-console-locked {
    margin-top: 14px;
    padding: 28px 20px;

    background: #050713;
    border: 1px solid rgba(255, 95, 87, 0.45);
    border-radius: 14px;

    text-align: center;
}

.mc-console-locked i {
    color: #ff5f57;
    font-size: 34px;
    margin-bottom: 12px;
}

.mc-console-locked h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 22px;
}

.mc-console-locked p {
    margin: 0;
    color: #cbd6ff;
}


/* =========================
   Rechte Karten
========================= */

.mc-stats {
    display: flex;
    flex-direction: column;
}

.mc-stats .mc-stat-card {
    margin-bottom: 25px;
}

.mc-stats .mc-stat-card:last-child {
    margin-bottom: 0;
}

.mc-stat-card {
    background: #15182a;

    border-radius: 16px;
    padding: 22px;

    display: flex;
    align-items: center;
    gap: 18px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.mc-stat-card i {
    font-size: 34px;
    color: #0050ff;
    min-width: 40px;
    text-align: center;
}

.mc-stat-card p {
    margin: 0 0 6px;
    color: #a7b6e3;
    font-weight: bold;
    font-size: 15px;
}

.mc-stat-card h3 {
    margin: 0;
    font-size: 21px;
    color: white;
    font-weight: 900;
}


/* =========================
   Untere Karten
========================= */

.mc-bottom-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 22px;
}

.mc-bottom-card {
    background: #15182a;

    border-radius: 16px;
    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;

    transition: 0.25s ease;
}

.mc-bottom-card:hover {
    transform: none;
    background: #15182a;
}

.mc-bottom-card i {
    font-size: 26px;
    color: #0050ff;
    margin-bottom: 10px;
}

.mc-bottom-card h3 {
    margin: 0 0 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.mc-bottom-card p {
    margin: 0;
    color: #cbd6ff;
    font-size: 15px;
    line-height: 1.4;
}


/* =========================
   File Manager
========================= */

.mc-files-card {
    width: 100%;
    margin-top: 35px;

    background: #111322;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;

    padding: 26px;
    box-sizing: border-box;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.mc-files-title {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;

    font-size: 28px;
    font-weight: 900;
    color: white;
}

.mc-files-title i {
    color: #1f63ff;
    font-size: 24px;
}

.mc-files-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mc-file-dropdown {
    background: #15182a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
}

.mc-file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 18px;

    background: #15182a;
    color: white;
}

.mc-file-row.folder {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.mc-file-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mc-file-left i {
    color: #1f63ff;
    font-size: 20px;
}

.mc-file-left span {
    font-size: 16px;
    font-weight: 700;
}

.mc-file-type {
    color: #9eb7ff;
    font-size: 14px;
}

.mc-file-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.mc-file-dropdown summary::-webkit-details-marker {
    display: none;
}

.mc-file-dropdown[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mc-file-preview {
    background: #0a0d18;
    padding: 18px;
}

.mc-file-path {
    color: #98a8d8;
    font-size: 14px;
    margin-bottom: 14px;
}

.mc-file-preview pre {
    margin: 0;
    padding: 18px;

    background: #05070f;
    border-radius: 12px;

    color: #dce6ff;
    font-size: 15px;
    line-height: 1.7;

    overflow-x: auto;
    white-space: pre-wrap;
}



/* Klickbare Datei im File Manager */
.mc-file-row.file-link {
    width: 100%;
    box-sizing: border-box;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: white;
    text-decoration: none !important;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    transition: none;
}

.mc-file-row.file-link *,
.mc-file-row.file-link:hover *,
.mc-file-row.file-link:focus * {
    text-decoration: none !important;
}

.mc-file-row.file-link:hover {
    background: #15182a;
    border-color: rgba(255, 255, 255, 0.08);
}

.mc-file-row.file-link.jar-file .mc-file-left i {
    color: #00a6ff;
}

.mc-file-row.file-link .mc-file-type {
    color: #9eb7ff;
}


/* =========================
   Footer
========================= */

.footer {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;

    background: #00113ada;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 35px 80px;
    box-sizing: border-box;

    border-top: 2px solid rgba(255, 255, 255, 0.15);
}

.footer-logo img {
    height: 80px;
    width: auto;
}

.footer-center {
    flex: 1;

    text-align: center;
    color: white;
}

.footer-center p {
    margin: 4px 0;
}

.footer-center a {
    color: white;
    font-weight: bold;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-socials a {
    color: white;
    font-size: 32px;

    transition: 0.25s ease;
}

.footer-socials a:hover {
    transform: scale(1.15);
    color: #a7b6e3;
}


/* =========================
   Impressum Seite
========================= */

.impressum-section {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 160px 20px 80px;
    box-sizing: border-box;
}

.impressum-box {
    width: 100%;
    max-width: 900px;

    background: #0032a6;
    color: white;

    padding: 50px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.impressum-box h1 {
    font-size: 48px;
    margin: 0 0 30px;
}

.impressum-box h2 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 10px;
}

.impressum-box p {
    font-size: 18px;
    line-height: 1.7;
}


/* =========================
   Animationen
========================= */

@keyframes navbarDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.03);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes textPop {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes textGradientMove {
    from {
        background-position: 0 0, 200% 50%;
    }

    to {
        background-position: 0 0, 0% 50%;
    }
}


/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {

    .mc-overlay-section {
        padding: 60px 20px;
    }

    .mc-panel-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .mc-dashboard {
        grid-template-columns: 1fr;
    }

    .mc-bottom-cards {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 35px 20px;
    }

    .footer-logo img {
        height: 60px;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 600px) {

    .navbar {
        height: 50px;
        padding: 0 8px;
    }

    .logo img {
        height: 30px;
    }

    .btn {
        height: 30px;
        font-size: 14px;
        padding: 0 12px;
        border-radius: 10px;
    }
}

@media (max-width: 430px) {

    .navbar {
        height: 45px;
        padding: 0 6px;
    }

    .logo img {
        height: 25px;
    }

    .btn {
        height: 26px;
        font-size: 12px;
        padding: 0 10px;
    }
}

@media (max-width: 411px) {

    .ghast {
        display: none;
    }

    .hero {
        height: 180px;
        overflow: hidden;
    }

    .hero-text {
        top: 55% !important;
        left: 50% !important;

        width: 100%;
        transform: translate(-50%, -50%) !important;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 40px;
        line-height: 0.9;
        margin: 0;
    }

    .mc-panel {
        padding: 22px;
        border-radius: 18px;
    }

    .mc-panel-top h2 {
        font-size: 28px;
    }

    .mc-console-box {
        font-size: 13px;
        padding: 15px;
        min-height: 260px;
        overflow-x: auto;
    }

    .mc-stat-card {
        padding: 18px;
    }

    .mc-stat-card h3 {
        font-size: 16px;
    }

    .mc-files-title {
        font-size: 22px;
    }

    .mc-file-row {
        padding: 14px;
    }

    .mc-file-left span {
        font-size: 14px;
    }

    .mc-file-type {
        font-size: 12px;
    }
}

/* buy.jar ohne Hover-Effekt */
.mc-file-row.file-link.jar-file:hover {
    background: #15182a;
    border-color: rgba(255, 255, 255, 0.08);
    transform: none;
}
