:root {
    --primary-color: #FF69B4;
    --secondary-color: #FFF0F5;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--secondary-color);
    font-family: var(--font-family);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

p.task {
    text-align: center;
    color: #5D5D5D;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(255, 182, 193, 0.5);
}

/* КОНТЕЙНЕРЪТ, КОЙТО ОПРАВЯ РАЗМЕСТВАНЕТО */
#interaction-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px; /* Разстояние между инпута и бутона */
}

input.answer {
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    border: 2px solid #FFB6C1;
    border-radius: 50px;
    background-color: white;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 182, 193, 0.3);
    text-align: center;
}

input.answer:focus {
    border-color: #FF69B4;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.5);
}

button.checkbutton {
    background: linear-gradient(45deg, #FF69B4, #FF1493);
    color: white;
    width: 100%;
    max-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 10px rgba(255, 20, 147, 0.3);
}

button.checkbutton:hover {
    background: #C71585;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 20, 147, 0.5);
}

/* СТИЛОВЕ ЗА ПОМОЩТА И СНИМКАТА */
.timer-style {
    font-size: 1.2em;
    color: #FF1493;
    margin-bottom: 15px;
    font-weight: bold;
}

.hint-img {
    width: 90%;
    max-width: 280px;
    height: auto;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    border: 3px solid #FFB6C1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* АНИМАЦИИ */
.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

p.task .emojii {
    font-size: 1.8em;
    display: inline-block;
    margin-left: 5px;
}