.main-title {
    color: #333;
    font-family: 'Moirai One', cursive;
    font-size: 4em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    word-break: break-word;
    margin-bottom: 0;
}

body {
    margin: 0;
    font-family: "Moirai One", system-ui;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f2f5 0%, #e0e5ec 100%);
    overflow: hidden;
    flex-direction: column;
}

.counter-container {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 60px 40px 60px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1),
                            0 6px 6px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15),
                            0 8px 8px rgba(0, 0, 0, 0.08);
}

.counter-value {
    font-size: 6em;
    font-weight: 900;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    text-align: center;
    text-shadow: 4px 4px 8px rgba(21, 21, 21, 0.2);
}

.buttons-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 15px;
    padding: 20px 35px;
    font-size: 2.5em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1),
                            inset 0 0 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    color: #555;
    outline: none;
}

.button:hover {
    background-color: rgba(240, 240, 240, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15),
                            inset 0 0 8px rgba(255, 255, 255, 0.7);
}

.button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1),
                            inset 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(230, 230, 230, 0.9);
}

.button.increment {
    color: #333;
    font-weight: 900;
    font-family: "Moirai One", system-ui;
}

.button.decrement {
    color: #333;
    font-size: 3em;
    font-weight: 900;
    font-family: "Moirai One", system-ui;
}

.button.reset {
    background-color: #d43e33;
    color: white;
    font-weight: 900;
    font-family: "Moirai One", system-ui;
}

.button.reset:hover {
    background-color: #d32f2f;
}

.under-title {
    font-size: 1.5em;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #333;
    margin: 0 1em 1em 1em;
}