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

:root {
    --btn-width: 220px;
    --btn-height-mc: 40px;
}

body, html {
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
}

.panel {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s ease-out;
    overflow: hidden;
}

/* Фоны с запасными цветами */
.panel.left {
    left: 0;
    background: #3d9c3f url('images/minecraft.jpg') center / cover no-repeat;
    transform: translateX(-100%);
}

.panel.right {
    right: 0;
    background: #1a1a2e url('images/wow.jpg') center / cover no-repeat;
    transform: translateX(100%);
}

.panel.left.active {
    transform: translateX(0);
}

.panel.right.active {
    transform: translateX(0);
}

/* Оверлей для читаемости текста */
.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    max-width: 90%;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.content p {
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* === КНОПКА MINECRAFT === */
.mc-button {
    display: inline-block;
    width: var(--btn-width);
    height: var(--btn-height-mc);
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    background: #999 url('images/bgbtn.png') center / cover;
    image-rendering: pixelated;
    border: 2px solid #000;
    text-decoration: none;
    margin-top: 1rem;
}

.mc-button .title {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #DDD;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.65);
    box-shadow: inset -2px -4px rgba(0, 0, 0, 0.38), inset 2px 2px rgba(255, 255, 255, 0.47);
    padding-bottom: 0.3em;
}

.mc-button:hover .title {
    background-color: rgba(100, 100, 255, 0.45);
    text-shadow: 2px 2px rgba(32, 32, 19, 0.8);
    color: #FFFFA0;
}

.mc-button:active .title {
    box-shadow: inset -2px -4px rgba(0, 0, 0, 0.25), inset 2px 2px rgba(255, 255, 255, 0.33);
}

/* === КНОПКА WOW === */
.wow-btn {
    display: inline-block;
    width: var(--btn-width);
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #0d0d1a;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border: 2px solid #8B6F00;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.6), 0 4px 8px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.wow-btn:hover {
    background: linear-gradient(135deg, #ffd700, #daa520);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 6px 12px rgba(0,0,0,0.6);
    transform: scale(1.03);
}

.wow-btn:active {
    transform: scale(0.98);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 768px) {
    .panel {
        width: 100%;
        height: 50%;
        transform: none;
    }

    .panel.left {
        top: 0;
        transform: translateY(-100%);
    }

    .panel.right {
        top: 50%;
        transform: translateY(100%);
    }

    .panel.left.active {
        transform: translateY(0);
    }

    .panel.right.active {
        transform: translateY(0);
    }

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    :root {
        --btn-width: 190px;
        --btn-height-mc: 36px;
    }

    .wow-btn {
        font-size: 0.95rem;
        padding: 10px 0;
    }
}

/* === КОПИРАЙТ ВНИЗУ === */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #ddd;
    text-align: center;
    padding: 10px 0;
    font-size: 0.85rem;
    z-index: 100;
    border-top: 1px solid #333;
}

.copyright a {
    color: #ddd;
    text-decoration: underline;
}

.copyright a:hover {
    color: #ffd700;
}
