@font-face {
    font-family: 'Minecraft';
    src: url('https://fonts.cdnfonts.com/s/14772/Minecraft.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

.container {
    background: #1e1e1e; /* Тёмный фон для контейнера */
    border-radius: 10px;
    padding: 1.5rem;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Усиленная тень для тёмной темы */
}

h1 {
    text-align: center;
    color: #ff70bb; /* Цвет лого сохранён */
    margin-bottom: 1rem;
}

.preview-wrapper {
    background: #2a2a2a; /* Тёмный фон для превью */
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 1rem;
}

.preview {
    font-family: 'Minecraft', monospace;
    font-weight: 400;
    font-size: 1.5rem;
    color: #e5e7eb; /* Светлый текст для читаемости */
}

.color-picker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.color-or-text {
    font-weight: 500;
    color: #d1d5db; /* Светлый текст для тёмной темы */
}

.color-input {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-input:hover {
    transform: scale(1.1);
}

input[type="color"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

.color-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
}

.command-output {
    background: #2a2a2a; /* Тёмный фон для вывода команды */
    color: #e5e7eb; /* Светлый текст */
    padding: 1rem;
    border-radius: 5px;
    font-family: monospace;
    margin-bottom: 1rem;
    word-break: break-all;
}

.button {
    background: #ff70bb; /* Цвет лого сохранён */
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.button:hover {
    background: #db2777; /* Тот же цвет при наведении, как в modpack.css */
}

.button-group {
    text-align: center;
    margin-top: 1rem;
}

#copy-message {
    text-align: center;
    color: #ff70bb; /* Цвет лого сохранён */
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

#copy-message.visible {
    opacity: 1;
}

@media (max-width: 480px) {
    .color-picker {
        flex-direction: column;
        gap: 0.5rem;
    }
    .preview {
        font-size: 1.3rem;
    }
}