@font-face {
    font-family: "Minecraft";
    src: url(fonts/minecraft.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "MinecraftTen";
    src: url(fonts/minecraft.woff2) format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to top, #7822b4, #000000 65%, #000000 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    font-family: "Minecraft", sans-serif;
    padding: 50px 20px;
    overflow-x: hidden;
    -webkit-font-smoothing: none; /* Keeps pixelated font crisp */
    font-smooth: never;
}

/* Scrollbar Styling in Minecraft Block Style */
::-webkit-scrollbar {
    width: 14px;
}
::-webkit-scrollbar-track {
    background: #1e1e1e;
    border-left: 4px solid #000;
}
::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border: 4px solid #000;
    border-top-color: #8b8b8b;
    border-left-color: #8b8b8b;
}
::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
}

.logo {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    image-rendering: pixelated;
}

/* Main Hub Layout Grid */
.main-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;
}

@media (min-width: 950px) {
    .main-layout {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
}

/* Navigation Container */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 340px;
    flex-shrink: 0;
    padding-top: 5%;
}

.mc-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: "Minecraft", sans-serif;
    font-size: 26px; /* Increased from 22px */
    color: #E0E0E0;
    background-color: #4A4A4A;
    
    border: 4px solid #000;
    border-top-color: #8B8B8B;
    border-left-color: #8B8B8B;
    
    box-shadow: 0px 5px 0px #000000;
    
    padding: 12px;
    height: 60px; /* Increased size */
    cursor: pointer;
    position: relative;
    transition: background 0.05s;
    image-rendering: pixelated;
    text-shadow: 2px 2px #2e2e2e;
}

.mc-button:hover {
    background-color: #5A82DF;
    border-top-color: #7DA2FF;
    border-left-color: #7DA2FF;
    color: #FFFCA0;
    text-shadow: 2px 2px #2a3d66;
}

.mc-button:active {
    border: 4px solid #000;
    border-top-color: #2e2e2e;
    border-left-color: #2e2e2e;
    box-shadow: 0px 0px 0px #000000;
    transform: translateY(5px);
}

/* Dashboard Content Windows (Minecraft Menu Style) */
.content-panel {
    flex-grow: 1;
    background-color: #2c2c2c;
    border: 5px solid #000;
    border-top-color: #1e1e1e;
    border-left-color: #1e1e1e;
    border-right-color: #4a4a4a;
    border-bottom-color: #4a4a4a;
    box-shadow: inset 0 0 25px rgba(0,0,0,0.6);
    padding: 32px;
    width: 100%;
    max-width: 800px;
}

/* Panel Title Styling */
.panel-title {
    font-family: "MinecraftTen", "Minecraft", sans-serif;
    font-size: 36px;
    color: #ffd800;
    text-shadow: 3px 3px #3f3500;
    margin-bottom: 24px;
    border-bottom: 4px dashed #4a4a4a;
    padding-bottom: 14px;
    text-transform: uppercase;
    line-height: 1.4; /* Leicht erhöht für den Spielraum der Punkte */
    display: block;
}

.section-subtitle {
    font-size: 28px;
    color: #55ff55; /* Minecraft Green */
    text-shadow: 2px 2px #153e15;
    margin-bottom: 16px;
    line-height: 1.3;
}

.mc-text {
    font-size: 24px;
    line-height: 1.7;
    color: #bfbfbf;
    text-shadow: 2px 2px #1e1e1e;
    margin-bottom: 22px;
}

.gamemode-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (min-width: 650px) {
    .gamemode-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mode-card {
    background: #1a1a1a;
    border: 4px solid #000;
    padding: 20px;
    border-radius: 0;
    position: relative;
}

.mode-card.stone { border-left: 6px solid #a370e8; }
.mode-card.sky { border-left: 6px solid #3caeff; }

.mode-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ffffff;
}

.mc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 4px solid #000;
}

.mc-table th {
    background-color: #141414;
    font-family: "Minecraft", sans-serif;
    color: #ffff55; /* MC Yellow */
    padding: 14px;
    text-align: left;
    font-size: 24px;
    border-bottom: 4px solid #000;
    text-shadow: 2px 2px #333311;
}

.mc-table td {
    background-color: #222222;
    padding: 14px;
    font-size: 24px;
    color: #e0E0E0;
    border-bottom: 2px solid #3a3a3a;
    text-shadow: 1px 1px #1a1a1a;
}

.mc-table tr:nth-child(even) td {
    background-color: #282828;
}

/* Custom Highlight Tiers */
.tier-common { color: #aaaaaa; }
.tier-super-rare { color: #55ffff; text-shadow: 2px 2px #113333; }
.tier-epic { color: #aa00aa; text-shadow: 2px 2px #330033; }
.tier-ultimate { color: #ff5555; font-weight: bold; text-shadow: 2px 2px #331111; }

/* Season Badge Widget */
.season-alert {
    background-color: #4a0f1a;
    border: 4px dashed #ff5555;
    padding: 16px;
    text-align: center;
    color: #ff5555;
    font-size: 24px;
    text-shadow: 2px 2px #331111;
    margin-top: 24px;
    line-height: 1.4;
    animation: mc-pulse 2s infinite alternate;
}

@keyframes mc-pulse {
    0% { opacity: 0.85; box-shadow: 0 0 5px rgba(255,85,85,0.4); }
    100% { opacity: 1; box-shadow: 0 0 15px rgba(255,85,85,0.8); }
}

.mc-umlaut-title {
    position: relative;
    display: inline-block;
    vertical-align: top;
    letter-spacing: normal;
}

.mc-umlaut-title::before {
    content: "..";
    position: absolute;
    top: -0.60em; 
    left: 44%;
    transform: translateX(-50%);
    font-size: 0.65em;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #ffd800; 
    text-shadow: 3px 3px #3f3500;
}