@import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Dancing+Script:wght@400..700&family=Finlandica+Headline:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

* {
    padding: 0;
    margin: 0;
}

.logo {
    font-family: "dancing script", cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #a359f8;
}

body {
    font-family: "Montserrat", sans-serif;
    background: radial-gradient(circle at center,
            #150d27,
            #0c0618);
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 20px 8px;
}

.titulo {
    max-width: 600px;
}

.topo {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

h1 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
}

p {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    gap: 8px;

}

button {
    margin: 15px;
    box-shadow:
        0 0 10px rgba(181, 140, 255, 0.2),
        0 0 15px rgba(181, 140, 255, 0.2);
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(181, 140, 255, 0.6);
}

.btn {
    display: inline-block;
    padding: 5px 10px;
    background: #a359f8;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: #9980e9;
    border: 2px solid #9980e9;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background: rgba(159, 108, 255, 0.1);
    transform: translateY(-3px);
    box-shadow:
        0 0 10px rgba(181, 140, 255, 0.4),
        0 0 20px rgba (181, 140, 255, 0.6);

}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(181, 140, 255, 0.6);
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: #a359f8
}

main {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.cards .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-modo {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    width: 350px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(181, 140, 255, 0.2);

}

.card-modo p {
    color: white;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.modos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}


.modos h2 {
    font-size: 1rem;
    letter-spacing: 3px;
    color: #a359f8;
    margin-bottom: 30px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.Perfil {
    display: flex;
    gap: 8px;
}

#img img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #a359f8;
    display: block
}

.Perfil a {
    display: flex;
    gap: 15px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    align-items: center;
}

.Perfil a:hover {
    color: #a359f8;
}

.contador {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Quicksand", sans-serif;
    color: white;

}

.contador h2 {
    font-size: 1.1rem;
    color: white;
    margin: 0;
}

#tempo {
    color: #a359f8;
    font-size: 1rem;
    font-family: "Quicksand", sans-serif;
    white-space: nowrap;
}

.card-info,
.card-contador{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(180, 140, 255, 0.158);


}

.card-contador {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    min-height: 180px;
    padding: 30px;
    font-family: "Quicksand", sans-serif;
    text-align: center;
    background: rgba(255, 255, 255, 0.007);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(180, 140, 255, 0.158);

}
.card-contador img {
    width: 48px;
    height: 48px;
}

.card-contador h2 {
    font-size: 1rem;
    line-height: 1.4;
    margin: 0;
}

#tempo {
    color: #a359f8;
    font-size: 1.2rem;
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    white-space: nowrap;
}
.palavras {
    font-family: "Corinthia", cursive;
    color: rgb(147, 28, 194);
    translate(30px, -20px);
    filter: blur(0px);
    opacity: 65%;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.palavras span {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 40px;
    white-space: nowrap;
    display: block;
    opacity: 0;
    text-shadow: 0 0 10px rgba(162, 22, 218, 0.5);
}

.sobre-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sobre-secao {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(181, 140, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sobre-secao p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.objetivo {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.grid-midia {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 20px;
}

.card-midia {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid rgba(181, 140, 255, 0.2);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    flex-shrink: 0;
}

.card-midia img,
.card-midia video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.area-midia {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.grid-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    padding: 20px;
}

.slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(181, 140, 255, 0.3);
    border-radius: 10px;
    padding: 8px;
    overflow: hidden;
    min-width: 0;
}

.numero-slot {
    color: #a359f8;
    font-weight: bold;
    font-size: 1rem;
}

.slot-midia {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    border: 2px dashed rgba(181, 140, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    min-width: 0;
}

.slot-vazio {
    color: rgba(181, 140, 255, 0.4);
    font-size: 2rem;
}

.slot-data {
    display: flex;
    gap: 8px;
}

.select-mes,
.select-dia {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: bold;
    border: 1px solid rgba(181, 140, 255, 0.3);
    border-radius: 5px;
    padding: 4px 8px;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    font-size: 0.8rem;
}

.select-mes option,
.select-dia option {
    background: #150d27;
    color: white;
}

.card-midia.selecionado {
    border: 2px solid #a359f8;
    box-shadow: 0 0 15px rgba(163, 89, 248, 0.6);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;

}

.modal.escondido {
    display: none;
}

.modal-conteudo {
    max-width: 900px;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;
}

.modal-conteudo img,
.modal-conteudo video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.dica-certo {
    border: 2px solid #4caf50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.6);
}

.dica-errado {
    border: 2px solid #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.6);
}

.tela-resultado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.tela-resultado.escondido {
    display: none;
}

.resultado-conteudo {
    text-align: center;
    padding: 40px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(181, 140, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 500px;
}

.resultado-conteudo h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.resultado-conteudo p {
    color: #a359f8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.bonus-data {
    color: #f9f871;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

.player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(21, 13, 39, 0.95);
    border: 1px solid rgba(181, 140, 255, 0.3);
    border-radius: 15px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(163, 89, 248, 0.2);
    min-width: 220px;
}

.player-info {
    color: white;
    font-size: 0.85rem;
    font-family: "Quicksand", sans-serif;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controles {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.btn-player {
    background: transparent;
    border: none;
    color: #a359f8;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.btn-player:hover {
    transform: scale(1.2);
    box-shadow: none;
}

.controles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(181, 140, 255, 0.15);
    border-radius: 15px;
}

#contadorChances,
#contadorDicas {
    color: white;
    font-family: "Quicksand", sans-serif;
    font-size: 0.95rem;
    background: rgba(181, 140, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(181, 140, 255, 0.2);
}

.area-slots h2,
.area-midia h2 {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #a359f8;
    margin-bottom: 15px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    main {
        padding: 20px;
    }

    .topo {
        flex-direction: column;
        gap: 20px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
    }

    .cards-modo {
        width: 90%;
        max-width: 400px;
        padding: 20px;
    }

    .contador {
        flex-direction: column;
        text-align: center;
    }

    .player {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        min-width: auto;
    }

    .grid-midia,
    .grid-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .controles {
        flex-wrap: wrap;
    }

    #card2 {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .grid-midia,
    .grid-slots {
        grid-template-columns: 1fr;

    }

}

@media (max-width: 768px) {
    .grid-midia {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .card-midia {
        flex-shrink: 0;
        width: 150px;
        height: 150px;
        scroll-snap-align: start;
    }

    .grid-slots {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .slot {
        flex-shrink: 0;
        width: 150px;
        scroll-snap-align: start;
    }
}

.ranking-container {
    max-width: 900px;
    margin: 0 auto;

}

.ranking-container h1 {
    text-align: center;
    margin-bottom: 30px;
}

.ranking-item {
    display: grid;
    grid-template-columns: 60px 1fr 100px 100px 80px 120px;
    gap: 12px;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(181, 140, 255, 0.2);
    border-radius: 12px;
    color: white;
}

.ranking-item strong {
    color: #a359f8;
}

@media (max-width: 768px) {
    .ranking-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.perfil-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.perfil-card,
.perfil-conquistas {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(181, 140, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.perfil-foto {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #a359f8;
    box-shadow: 0 0 20px rgba(163, 89, 248, 0.4);
}

.perfil-card label {
    color: white;
    align-self: flex-start;
    font-size: 0.9rem;
}

.perfil-card input[type="file"] {
    width: 100%;
    color: white;
}

.perfil-conquistas h2 {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .perfil-container {
        grid-template-columns: 1fr;
    }
}

.acervo-bloqueado {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.bloqueio-conteudo {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);;
    border: 1px solid rgba(181, 140, 255, 0.2);
    border-radius: 20px;
    padding: 50px;
}

.cadeado {
    font-size: 4rem;
}

.acervo-secao {
    margin-bottom: 40px;
}

.acervo-secao h2 {
    font-size: 1rem;
    letter-spacing: 2px;
    color:#a359f8;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.acervo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.acervo-item:hover {
    border-color: #a359f8;
    box-shadow: 0 0 15px rgba(163, 89, 248, 0.4);
    transform: scale(1.03);
}

.acervo-item img,
.acervo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.acervo-secreto {
    border-radius: 10px;
    border: 2px solid rgba(181, 140, 255, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.acervo-secreto.bloqueado {
    opacity: 0.5;
    cursor: not-allowed;
}

.secreto-cadeado {
    font-size: 2rem;
}

.acervo-vazio {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}