@import url('mobile.css');

@font-face {
    font-family: 'Minecraft';
    src: url('../fonts/Minecraft-font.otf');
}

@font-face {
    font-family: 'Regular';
    src: url('../fonts/Acumin.otf');
}

@font-face {
    font-family: 'Bold';
    src: url('../fonts/Acumin-Bold.otf');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Minecraft', sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   MAIN MENU (Startseite)
   ========================================================================== */

.mainmenubody {
    background: url('../assets/shots/mainbg.png') center center / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.mcm-titlebar {
    position: relative;
    text-align: center;
    margin-top: 5vh;
    display: inline-block;
}

.mcm-titlebar .gametitle {
    max-width: 90vw;
    width: 520px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
}

.mcm-titlebar .yellow {
    font-family: 'Minecraft', monospace;
    color: #ffff55;
    text-shadow: 2px 2px 0 #3f3f00;
    font-size: 20px;
    position: absolute;
    bottom: -10px;
    right: 20px;
    transform: rotate(-12deg);
    animation: mc-splash 1.8s infinite ease-in-out alternate;
    pointer-events: none;
    white-space: nowrap;
}

@keyframes mc-splash {
    0% { transform: scale(1) rotate(-12deg); }
    100% { transform: scale(1.1) rotate(-12deg); }
}

.mc-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    margin: auto 0;
}

.mc-btn-row {
    display: flex;
    gap: 8px;
    width: 100%;
}

.mc-btn {
    background: url('../assets/button-texture.png') repeat-x center center;
    background-size: 100% 100%;
    color: #e0e0e0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    width: 100%;
    border: 2px solid #000;
    font-family: 'Minecraft', sans-serif;
    font-size: 15px;
    text-shadow: 2px 2px 0 #000;
    cursor: pointer;
    user-select: none;
    transition: none;
    text-align: center;
}

.mc-btn:hover {
    background-image: url('../assets/button-texture-hover.png');
    color: #ffffa0;
}

.mc-btn:active {
    transform: translateY(1px);
}

.mc-btn-half {
    flex: 1;
}

.mc-status-live {
    font-family: 'Minecraft', monospace;
    font-size: 13px;
    color: #55ff55;
    text-shadow: 1px 1px 0 #000;
    background: rgba(0, 0, 0, 0.65);
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #55ff55;
    box-shadow: 0 0 8px #55ff55;
}

/* Bottom corner labels */
.mc-corner-left {
    position: absolute;
    bottom: 6px;
    left: 10px;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
    opacity: 0.85;
}

.mc-corner-right {
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 1px 1px 0 #000;
    opacity: 0.85;
}

/* ==========================================================================
   SECONDARY MENUS (Play, Info, About)
   ========================================================================== */

.mcsplashscreen {
    background: url('../assets/dirt.jpg') repeat;
    background-size: 64px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 30px 16px;
    position: relative;
}

.mcsplashscreen::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.mcsplashscreen h1 {
    font-family: 'Minecraft', sans-serif;
    color: #ffffff;
    font-size: 26px;
    font-weight: normal;
    text-shadow: 2px 2px 0 #2b2b2b;
    margin: 0 0 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mc-dialog-box {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #555555;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    width: 100%;
    max-width: 620px;
    padding: 24px;
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.mc-field-group {
    margin-bottom: 18px;
    text-align: left;
}

.mc-field-label {
    display: block;
    color: #aaaaaa;
    font-size: 13px;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 6px;
}

.mc-input {
    width: 100%;
    background-color: #000000;
    border: 2px solid #666666;
    color: #ffffff;
    font-family: 'Minecraft', monospace;
    font-size: 15px;
    padding: 10px 12px;
    text-shadow: 1px 1px 0 #222;
    outline: none;
}

.mc-input:focus {
    border-color: #ffffff;
}

.mc-input-highlight {
    color: #55ff55;
}

.mc-info-card {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 14px;
    margin-bottom: 14px;
    text-align: left;
}

.mc-info-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mc-info-title {
    color: #ffff55;
    font-size: 16px;
    margin: 0 0 6px 0;
    text-shadow: 1px 1px 0 #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mc-info-desc {
    color: #cccccc;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    text-shadow: 1px 1px 0 #000;
}

.mc-dialog-footer {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    display: flex;
    gap: 10px;
}

@media (max-width: 600px) {
    .mcm-titlebar .yellow {
        position: static;
        display: block;
        transform: rotate(0);
        margin-top: 6px;
    }
    .mc-corner-left, .mc-corner-right {
        position: static;
        text-align: center;
        margin: 6px 0;
    }
    .mainmenubody {
        padding-bottom: 15px;
    }
}
