* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    min-height: 100vh;
    width: 100%;
    text-align: center;
}

/* Container */
.container {
    margin-top: 5vh;
    padding: 10px;
}

/* Title */
h1 {
    font-size: clamp(24px, 5vw, 48px);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Dice */
.dice {
    font-size: clamp(60px, 12vw, 120px);
    margin: 20px;
    transition: transform 0.6s ease;
}

/* Dice number */
#number {
    font-size: clamp(18px, 4vw, 28px);
}

/* Song box */
.song-box {
    margin: 20px auto;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    min-height: 80px;

    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);

    font-size: clamp(18px, 3.5vw, 28px);
    letter-spacing: clamp(2px, 0.8vw, 6px);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* Buttons */
.controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

button {
    padding: 12px 20px;
    margin: 8px;
    border: none;
    border-radius: 12px;

    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;

    font-size: clamp(14px, 2.5vw, 18px);
    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255,152,0,0.8);
}

/* 📱 Mobile */
@media (max-width: 480px) {
    .song-box {
        padding: 15px;
        letter-spacing: 2px;
    }

    button {
        width: 90%;
        max-width: 250px;
    }
}

/* 📺 Large screens */
@media (min-width: 1200px) {
    .song-box {
        max-width: 900px;
        font-size: 32px;
    }

    .dice {
        font-size: 140px;
    }
}