* {
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #1d1b26 0%, #0d0c12 100%);
    color: #fff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    overflow: hidden;
}

.header {
    text-align: center;
    margin-top: 20px;
}

.score-container {
    font-size: 3rem;
    font-weight: bold;
    color: #f3ba2f;
    text-shadow: 0 0 10px rgba(243, 186, 47, 0.5);
    margin-bottom: 5px;
}

.profit-text {
    font-size: 1rem;
    color: #8a8894;
}

.clicker-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    height: 400px;
}

/* Главная кнопка-хомяк */
.hamster-btn {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, #f3ba2f 0%, #a87700 100%);
    border: 8px solid #2d2b38;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 40px rgba(243, 186, 47, 0.3);
    cursor: pointer;
    outline: none;
    transition: transform 0.05s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    position: relative;
}

.hamster-btn:active {
    transform: scale(0.95);
}

/* Всплывающие цифры при клике (+1, +2 и т.д.) */
.floating-text {
    position: absolute;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    pointer-events: none;
    animation: floatUp 0.6s ease-out forwards;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-120px) scale(0.8);
    }
}

.upgrades-container {
    width: 100%;
    max-width: 450px;
    background: #1b1924;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 20px;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.3);
}

.upgrade-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #252330;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #323042;
    cursor: pointer;
    transition: background 0.2s;
}

.upgrade-card:hover {
    background: #2d2b3d;
}

.upgrade-info h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.upgrade-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #a09eab;
}

.upgrade-cost {
    font-weight: bold;
    color: #f3ba2f;
    background: #1b1924;
    padding: 6px 12px;
    border-radius: 8px;
}
.info-logo{
    width: 150px;
    height: 150px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
footer {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80px;
    color: #D3D3D3;
    background-color: #1f1c2b;
}