/**
 * Estilos para Jogos Misteriosos
 * GAMESOFT BR
 */

/* Seção de Jogos Misteriosos */
.mysterious-games-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mysterious-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards de Jogos Misteriosos */
.mysterious-game-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mysterious-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mysterious-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 128, 0.3), rgba(0, 0, 0, 0));
    z-index: 1;
    pointer-events: none;
}

.mysterious-game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mysterious-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: blur(2px);
}

.mysterious-game-card:hover .mysterious-game-image img {
    transform: scale(1.05);
    filter: blur(0);
}

.mysterious-game-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4a0072, #000000);
    color: rgba(255, 255, 255, 0.5);
    font-size: 3rem;
}

.mysterious-game-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.mysterious-level-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.mysterious-level-progress {
    height: 100%;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.mysterious-level-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.mysterious-game-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.mysterious-game-title {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mysterious-game-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.mysterious-game-actions {
    display: flex;
    justify-content: flex-start;
}

.btn-mysterious {
    background: linear-gradient(135deg, #9900cc, #6600cc);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-mysterious:hover {
    background: linear-gradient(135deg, #b300ff, #7700ff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(153, 0, 204, 0.4);
}

/* Página de Jogo Misterioso */
.mysterious-hero {
    position: relative;
    padding: 8rem 0 4rem;
    color: #fff;
    overflow: hidden;
}

.mysterious-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.mysterious-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
}

.mysterious-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
}

.mysterious-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mysterious-hero .mysterious-level {
    max-width: 400px;
    margin: 0 auto 2rem;
}

.mysterious-hero .mysterious-level-bar {
    height: 10px;
    margin-bottom: 0.75rem;
}

.mysterious-hero .mysterious-level-text {
    font-size: 1rem;
    text-align: center;
}

.mysterious-title {
    font-size: 3rem;
    margin: 0 0 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mysterious-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Revelações */
.revelations-section {
    padding: 4rem 0;
}

.revelations-timeline {
    margin-top: 3rem;
    position: relative;
}

.revelations-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.revelation-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.revelation-level {
    flex: 0 0 100px;
    position: relative;
}

.level-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9900cc, #6600cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(153, 0, 204, 0.2);
}

.revelation-item.revealed .level-badge {
    background: linear-gradient(135deg, #00ccff, #0099ff);
    box-shadow: 0 0 0 5px rgba(0, 204, 255, 0.2);
}

.revelation-item.future .level-badge {
    background: linear-gradient(135deg, #333333, #666666);
    box-shadow: 0 0 0 5px rgba(102, 102, 102, 0.2);
}

.level-line {
    position: absolute;
    top: 25px;
    left: 50px;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
}

.revelation-content {
    flex: 1;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.revelation-content::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.revelation-title {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #fff;
}

.revelation-image {
    margin: 1rem 0;
    border-radius: 5px;
    overflow: hidden;
}

.revelation-image img {
    width: 100%;
    height: auto;
    display: block;
}

.revelation-description {
    margin: 1rem 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.revelation-date {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.no-revelations {
    text-align: center;
    padding: 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.game-back-link {
    margin-top: 3rem;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .mysterious-games-grid {
        grid-template-columns: 1fr;
    }
    
    .mysterious-title {
        font-size: 2rem;
    }
    
    .revelations-timeline::before {
        left: 25px;
    }
    
    .revelation-level {
        flex: 0 0 50px;
    }
    
    .level-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .level-line {
        left: 40px;
        width: 20px;
        top: 20px;
    }
}
