* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    position: relative;
    padding: 15px;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../IMG/fundoIndex.png') center/cover no-repeat,
        radial-gradient(circle at 20% 30%, rgba(120, 219, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.container {
    width: 98%;
    max-width: 1000px;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px auto;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    gap: 15px;
}

.side-image {
    width: 120px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.side-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo {
    margin-bottom: 20px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

/* LOGO CENTRAL MAIOR */
.logo img {
    max-width: 300px; /* Aumentado de 250px para 300px */
    margin-bottom: 10px;
}

.logo h1 {
    font-size: 2.8rem; /* Aumentado de 2.5rem para 2.8rem */
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.7);
    background: linear-gradient(to right, #40e0d0, #a0e7ff, #40e0d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: glow 3s ease-in-out infinite alternate;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 450px;
    margin: 0 auto;
    line-height: 1.3;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    width: 100%;
    max-width: 450px;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 350px;
    margin: 0 auto;
}

.button-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 45px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex: 1;
    min-width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGENS AO LADO DOS BOTÕES - LOCALIZAÇÃO */
.btn-icon {
    width: 90px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* AMBOS OS BOTÕES COM O MESMO DESIGN (btn-secondary) */
#btnStart, #btnCreditos {
    padding: 12px 30px;
    border: none;
    border-radius: 45px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    flex: 1;
    min-width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#btnStart:hover, #btnCreditos:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

#btnStart::before, #btnCreditos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

#btnStart:hover, #btnCreditos:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

#btnStart:hover::before, #btnCreditos:hover::before  {
    left: 100%;
}

.footer {
    margin-top: 15px;
    font-size: 0.75rem;
    opacity: 0.7;
    text-align: center;
}

/* REMOVIDO: Partículas flutuantes */
.particles {
    display: none;
}

.particle {
    display: none;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(64, 224, 208, 0.7);
    }
    to {
        text-shadow: 0 0 20px rgba(64, 224, 208, 0.9), 0 0 30px rgba(64, 224, 208, 0.6);
    }
}

/* Responsividade melhorada */
@media (max-width: 1024px) {
    .main-content {
        margin-bottom: 18px;
    }
    
    .side-image {
        width: 100px;
        height: 200px;
    }
    
    .logo img {
        max-width: 250px; /* Ajustado responsivamente */
    }
    
    .logo h1 {
        font-size: 2.3rem; /* Ajustado responsivamente */
    }
    
    .glass-card {
        max-width: 400px;
    }
    
    .btn-icon {
        width: 60px;
        height: 60px;
    }
    
    .btn {
        height: 55px;
        min-width: 140px;
        font-size: 1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 10px auto;
    }
    
    .main-content {
        flex-direction: column;
        margin-bottom: 15px;
        gap: 10px;
    }
    
    .side-image {
        width: 80px;
        height: 150px;
        margin-bottom: 8px;
    }
    
    .logo {
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .logo img {
        max-width: 200px; /* Ajustado responsivamente */
        margin-bottom: 8px;
    }
    
    .logo h1 {
        font-size: 1.8rem; /* Ajustado responsivamente */
        letter-spacing: 1px;
    }
    
    .logo p {
        font-size: 0.8rem;
        max-width: 350px;
    }
    
    .glass-card {
        padding: 20px 15px;
        margin-bottom: 15px;
        max-width: 350px;
    }
    
    .menu-buttons {
        gap: 15px;
        max-width: 300px;
    }
    
    .button-row {
        gap: 15px;
    }
    
    .btn-icon {
        width: 50px;
        height: 50px;
    }
    
    .btn {
        height: 50px;
        padding: 8px 20px;
        font-size: 0.95rem;
        min-width: 130px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        width: 100%;
        margin: 8px auto;
    }
    
    .side-image {
        width: 60px;
        height: 120px;
    }
    
    .logo img {
        max-width: 160px; /* Ajustado responsivamente */
    }
    
    .logo h1 {
        font-size: 1.5rem; /* Ajustado responsivamente */
    }
    
    .logo p {
        font-size: 0.75rem;
        max-width: 280px;
    }
    
    .glass-card {
        padding: 18px 12px;
        max-width: 320px;
        border-radius: 12px;
    }
    
    .menu-buttons {
        max-width: 280px;
        gap: 12px;
    }
    
    .button-row {
        gap: 12px;
    }
    
    .btn-icon {
        width: 45px;
        height: 45px;
    }
    
    .btn {
        height: 45px;
        padding: 7px 16px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .footer {
        font-size: 0.7rem;
        margin-top: 12px;
    }
}

/* Para telas muito pequenas */
@media (max-height: 600px) {
    .container {
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .main-content {
        margin-bottom: 10px;
    }
    
    .glass-card {
        margin-bottom: 10px;
    }
    
    .footer {
        margin-top: 8px;
    }
}