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

body {
    background: #1a1a1a;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
                linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
                linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
    background-size: 20px 20px;
    background-color: #222;
    opacity: 0.1;
    z-index: -1;
}

.game-container {
    text-align: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.title {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 0 #ccc,
                 0 2px 0 #c9c9c9,
                 0 3px 0 #bbb,
                 0 4px 0 #b9b9b9,
                 0 5px 0 #aaa,
                 0 6px 1px rgba(0,0,0,.1),
                 0 0 5px rgba(0,0,0,.1),
                 0 1px 3px rgba(0,0,0,.3),
                 0 3px 5px rgba(0,0,0,.2),
                 0 5px 10px rgba(0,0,0,.25),
                 0 10px 10px rgba(0,0,0,.2),
                 0 20px 20px rgba(0,0,0,.15);
    transform: translateZ(20px);
}

.button {
    padding: 1rem 2rem;
    font-size: 1.5rem;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem;
}

.button:hover {
    transform: scale(1.1);
    background: #45a049;
}

.number-display {
    font-size: 5rem;
    color: #fff;
    margin: 2rem 0;
    min-height: 120px;
}

.stats {
    color: #fff;
    font-size: 1.5rem;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
}

.points-display {
    top: 20px;
    right: 20px;
    text-align: right;
}

.clicks-display {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ff4444;
    color: white;
    padding: 20px;
    border-radius: 5px;
    font-size: 24px;
    z-index: 1000;
}

.hidden {
    display: none;
}

.victory {
    color: #4CAF50;
    animation: victory 1s ease infinite;
}

@keyframes victory {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
