/* Basic styles for the page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.background-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#logo {
    max-width: 150px;
    margin-bottom: 0.5rem;
}

#app-name {
    color: #333;
    margin: 0.5rem 0 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

p {
    color: #666;
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

/* Button styles */
#shatterButton {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    font-size: 1rem;
    background: #ff6b6b;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#shatterButton:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6);
}

#shatterButton:active {
    transform: translateY(1px) scale(0.95);
}

#shatterButton:focus {
    outline: none;
}

/* Shatter effect styles */
.shatter-piece {
    position: absolute;
    background-size: cover;
    opacity: 1;
    z-index: 1000;
}

.shattered {
    animation: fadeOut 1s ease-out forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translate3d(var(--tx), var(--ty), 0) rotate(var(--rot));
    }
}