body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: sans-serif;
    min-height: 100vh;
    margin: 0;
}

.container {
    text-align: center;
    padding: 2rem;
    background-color: #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 2rem;
}

.input-container {
    display: flex;
    margin-bottom: 2rem;
}

#long-url {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: #3a3a3a;
    color: #fff;
    font-size: 1rem;
}

#shorten-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#shorten-btn:hover {
    background-color: #0056b3;
}

/* Fireworks Section Styles */
.fireworks-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

.fireworks-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #81C784; /* A nice accent color */
}

#show-number-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 5px;
    background-color: #FFC107; /* Another accent color */
    color: #2a2a2a;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

#show-number-btn:hover {
    background-color: #e0a800;
}

#displayed-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2196F3; /* Yet another accent color */
    min-height: 3rem; /* To prevent layout shift when number appears */
    display: block; /* Ensure it takes up space */
}

#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Ensure fireworks are in the background */
    pointer-events: none; /* Allows clicks to pass through to elements beneath */
}

body {
    overflow: hidden; /* Hide scrollbars when fireworks canvas is full screen */
}

