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

body {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 50%, #16213e 100%);
    font-family: 'Arial Black', sans-serif;
    color: #ff6b35;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    text-align: center;
    width: 100%;
}

h1 {
    font-size: 4rem;
    color: #ff6b35;
    text-shadow: 0 0 20px #ff6b35, 0 0 40px #ff00ff;
    margin-bottom: 30px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px #ff6b35, 0 0 40px #ff00ff;
    }
    50% {
        text-shadow: 0 0 30px #ff6b35, 0 0 60px #ff00ff, 0 0 80px #ff00ff;
    }
}

.scoreBoard {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.scoreItem {
    font-size: 1.5rem;
    color: #ff6b35;
    font-weight: bold;
}

.scoreItem span {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.difficultyButtons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.diffBtn {
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    background: rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    border: 3px solid #ff6b35;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.diffBtn:hover {
    background: rgba(255, 107, 53, 0.5);
    transform: scale(1.05);
}

.diffBtn.active {
    background: #ff6b35;
    color: #000;
    box-shadow: 0 0 20px #ff6b35;
}

#game {
    position: relative;
    margin: 0 auto;
}

#gameArea {
    width: 800px;
    height: 600px;
    background: rgba(0, 0, 0, 0.7);
    border: 5px solid #ff6b35;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

#basket {
    position: absolute;
    bottom: 20px;
    left: 350px;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}

#basket:hover {
    transform: scale(1.1);
}

.pumpkin {
    position: absolute;
    font-size: 50px;
    user-select: none;
    pointer-events: none;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#gameOver {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    padding: 50px;
    border: 5px solid #ff6b35;
    border-radius: 20px;
    text-align: center;
    z-index: 100;
}

#gameOver h2 {
    font-size: 3rem;
    color: #ff6b35;
    text-shadow: 0 0 20px #ff6b35;
    margin-bottom: 20px;
}

#gameOver p {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 30px;
}

#finalScore {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.replayBtn {
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    background: #ff6b35;
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px #ff6b35;
    transition: all 0.3s;
}

.replayBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px #ff6b35;
}

#startScreen {
    width: 800px;
    margin: 0 auto;
    padding: 80px;
    background: rgba(0, 0, 0, 0.8);
    border: 5px solid #ff6b35;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
}

.startContent h2 {
    font-size: 3rem;
    color: #ff6b35;
    text-shadow: 0 0 20px #ff6b35;
    margin-bottom: 30px;
}

.startContent p {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
}

.startBtn {
    margin-top: 30px;
    padding: 20px 60px;
    font-size: 2rem;
    font-weight: bold;
    background: #ff6b35;
    color: #000;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 0 30px #ff6b35;
    transition: all 0.3s;
    animation: pulse 2s ease-in-out infinite;
}

.startBtn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px #ff6b35;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 30px #ff6b35;
    }
    50% {
        box-shadow: 0 0 50px #ff6b35, 0 0 70px #ff00ff;
    }
}

#difficultyScreen {
    width: 800px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 5px solid #ff6b35;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.6);
}

.difficultyContent h2 {
    font-size: 3rem;
    color: #ff6b35;
    text-shadow: 0 0 20px #ff6b35;
    margin-bottom: 40px;
}

.diffSelectBtn {
    width: 100%;
    margin-bottom: 20px;
    padding: 25px;
    background: rgba(255, 107, 53, 0.2);
    border: 3px solid #ff6b35;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.diffSelectBtn:hover {
    background: rgba(255, 107, 53, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.6);
}

.diffTitle {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
}

.diffDesc {
    font-size: 1.2rem;
    color: #fff;
}
