/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tela de Carregamento */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    background-image: url('mobile.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.loading-container {
    text-align: center;
    color: white;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.loading-logo {
    margin-bottom: 40px;
}

.loading-logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    margin-bottom: 20px;
}

.loading-text {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    display: none; /* Escondido por padrão, só aparece se a imagem não carregar */
}

.loading-text .bet {
    color: #ff0000;
}

/* Spinner de Loading */
.loading-spinner {
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-message {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    background-image: url('mobile.jpeg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Container principal */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    opacity: 0; /* Inicialmente escondido até o carregamento */
    transition: opacity 0.5s ease-in;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.logo-image {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    display: block;
    margin: 0 auto;
    width: 100%;
}

/* Fallback para o logo caso a imagem não carregue */
.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: none; /* Escondido por padrão, só aparece se a imagem não carregar */
}

.logo .bet {
    color: #ff0000;
}

/* Container dos links */
.links-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

/* Botões de link */
.link-button {
    display: block;
    background: linear-gradient(145deg, #2d1b1b, #1a0f0f);
    border: 2px solid #ff0000;
    border-radius: 20px;
    padding: 20px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
    border-color: #ff3333;
}

.link-title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-subtitle {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: normal;
}

.link-subtitle i {
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Redes sociais */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff0000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
    background: #ff3333;
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    margin-top: auto;
}

.disclaimer p {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-button {
    animation: fadeInUp 0.6s ease forwards;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }

/* Responsividade */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .link-button {
        padding: 18px;
    }
    
    .link-title {
        font-size: 1rem;
    }
    
    .link-subtitle {
        font-size: 0.85rem;
    }
    
    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Overlay escuro para melhor legibilidade */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

