body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.container-experience {
    flex: 1;
    padding: 1rem;
    background-color: #121212;
}

header {
    margin-bottom: 20px;
}

.search-box {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #333;
}

.player-search-form {
    display: flex;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #444;
    border-radius: 6px 0 0 6px;
    background-color: #252525;
    color: #f0f0f0;
    font-size: 1.1rem;
    outline: none;
}

.search-input:focus {
    border-color: #666;
}

.search-submit {
    padding: 0 1.5rem;
    background-color: #333;
    color: #f0f0f0;
    border: 2px solid #444;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-submit:hover {
    background-color: #444;
    border-color: #555;
}

.player-name {
    color: #f0f0f0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.player-stats {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.player-stats li {
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.player-stats li:last-child {
    border-bottom: none;
}

.stat-name {
    color: #e0e0e0;
    font-weight: 500;
    width: 30%;
    font-size: 1.5rem;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
    width: 30%;
    text-align: center;
    font-size: 1.3rem;
}

.stat-rank {
    color: #aaa;
    font-weight: 500;
    width: 40%;
    text-align: right;
    font-style: italic;
    font-size: 1.3rem;
}

.details-btn {
    width: 100%;
    padding: 1rem;
    background-color: #333;
    color: #f0f0f0;
    border: 2px solid #444;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.details-btn:hover {
    background-color: #444;
    border-color: #555;
    transform: translateY(-2px);
}

/* Mantenha todas as regras existentes acima e adicione: */

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        padding-top: 5rem; /* Espaço para o header */
    }

    .container-experience{
        width: auto !important;
    }

    .search-box {
        margin: 1rem auto;
        padding: 1.5rem;
        width: 80%;
    }

    .player-search-form {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .search-input {
        border-radius: 6px;
        margin-bottom: 0.5rem;
    }

    .search-submit {
        border-radius: 6px;
        padding: 1rem;
        width: 100%;
    }

    .player-name {
        font-size: 1.5rem;
    }

    .player-stats {
        margin-bottom: 1rem;
    }

    .player-stats li {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.8rem 0;
    }

    .stat-name,
    .stat-value,
    .stat-rank {
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        margin: 0.2rem 0;
    }

    .stat-rank {
        font-style: normal;
        color: #ccc;
    }

    .details-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }

    /* Ajuste para o header mobile */
    .site-header {
        display: flex;
        align-items: center;
        padding: 0 1rem;
    }
}

/* Ajustes para telas médias (tablets) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .search-box {
        width: 80%;
        padding: 1.5rem;
    }

    .player-name {
        font-size: 1.6rem;
    }

    .stat-name,
    .stat-value,
    .stat-rank {
        font-size: 1.2rem;
    }
}