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

html, body {
    margin: 0;
    padding: 0;
    background-color: #000;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background text */
.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(500px) rotateY(-5deg) rotateX(2deg);
    font-size: clamp(60px, 10vw, 140px);
    font-weight: bold;
    color: #1a1a1a;
    text-align: center;
    z-index: 1;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 3px;
    text-shadow: 
        -1px -1px 1px rgba(255, 255, 255, 0.1),
        1px 1px 1px rgba(0, 0, 0, 0.8),
        2px 2px 2px rgba(0, 0, 0, 0.7),
        3px 3px 3px rgba(0, 0, 0, 0.6),
        4px 4px 4px rgba(0, 0, 0, 0.5),
        5px 5px 5px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.05),
        0 0 20px rgba(255, 255, 255, 0.03),
        6px 6px 12px rgba(0, 0, 0, 0.9),
        8px 8px 16px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

/* Bouncing Container */
.bounce-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 500;
    overflow: hidden;
}

.bouncing-element {
    position: absolute;
    user-select: none;
    will-change: transform;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 130px;
    height: 130px;
    object-fit: cover;
    cursor: pointer;
}

.bouncing-element:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

.bouncing-element.circle {
    border-radius: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .background-text {
        font-size: clamp(40px, 8vw, 80px);
    }
}

.hidden {
    display: none !important;
}