* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0,0,0,0.02) 30%, rgba(0,0,0,0.02) 70%, transparent 70%);
    background-size: 60px 60px;
    animation: moveBackground 20s linear infinite;
    opacity: 0.5;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
    background: #fff;
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    color: #666;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.icon .ball {
    animation: ballBounce 2s ease-in-out infinite;
}

.icon .runner {
    animation: runnerMove 3s ease-in-out infinite;
}

.icon .swoosh {
    animation: swooshMove 2s ease-in-out infinite;
}

@keyframes ballBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes runnerMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

@keyframes swooshMove {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(0);
    }
    50% {
        opacity: 0.3;
        transform: translateX(5px);
    }
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #666;
}

.message {
    margin: 30px 0;
    line-height: 1.8;
}

.message p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #555;
}

/* Animação de loading */
.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #999;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer-text {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #999;
}

/* Speed Lines - Elementos de movimento */
.speed-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.speed-lines .line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    border-radius: 2px;
}

.speed-lines .line:nth-child(1) {
    width: 80px;
    top: 20%;
    left: -100px;
    animation: speedLine 4s ease-in-out infinite;
}

.speed-lines .line:nth-child(2) {
    width: 60px;
    top: 40%;
    left: -100px;
    animation: speedLine 4s ease-in-out infinite 1s;
}

.speed-lines .line:nth-child(3) {
    width: 100px;
    top: 60%;
    left: -100px;
    animation: speedLine 4s ease-in-out infinite 2s;
}

.speed-lines .line:nth-child(4) {
    width: 70px;
    top: 80%;
    left: -100px;
    animation: speedLine 4s ease-in-out infinite 3s;
}

@keyframes speedLine {
    0% {
        left: -100px;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .content {
        padding: 40px 30px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .message p {
        font-size: 1rem;
    }
    
    .icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 1.4rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .message p {
        font-size: 0.95rem;
    }
}
