/* store.css */
#store_page {
    padding: 20px;
    width: 100%;
    background: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#store_page button {
    /* background: rgba(2, 126, 91, 0.737); */
}

.store_tabs {
    width: 50%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.store_tab {
    padding: 10px 20px;
    border: none;
    background-color: transparent;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1em;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.store_tab:hover {
    border-bottom: 2px solid #3a8;
    color: #3a8;
}

.store_tab.active {
    border-bottom: 2px solid #3a8;
    color: #3a8;
    font-weight: bold;
}

#store_content {
    width: 100%;
}

.heroes_section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-height: 90vh;
    overflow-y: auto;
    padding-top: 30px;
    box-sizing: border-box;
}

.hero_card {
    border: none;
    border-radius: 10px;
    width: 20vw;
    margin: 10px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    overflow: visible;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.hero_image {
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
    height: 300px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero_image img {
    height: 110%;
    width: auto;
}

.hero_info {
    padding: 5px;
    padding-top: 15px;
    text-align: center;
}

.hero_name {
    font-size: 1.4em;
    margin-bottom: 5px;
}

.hero_price {
    color: #555;
    margin-bottom: 10px;
}

.buttons {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.buttons button {
    width: 45%;
    margin-bottom: 10px;
    padding: 10px 20px;
    /* background-color: #3a8; */
    /* color: white; */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9em;
}

.buttons button:hover {
    /* background-color: #37a; */
    transform: scale(1.05);
}

.additional_info {
    width: 100%;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-picking-center-lower-panel-additional-description-graph {
    width: 90%;
}

#store_page .hero-picking-center-lower-panel-additional-description-text div {
    font-size: 1em;
}

/* Avatars section */
.avatars_section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 80px 25%;
    overflow-y: auto;
    height: 80vh;
}

.avatar_card {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar_blob {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.avatar_blob img {
    width: 100%;
    height: auto;
}

.avatar_info {
    text-align: center;
}

.avatar_name {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.avatar_price {
    color: #555;
    margin-bottom: 10px;
}

/* Skins section */
.skins_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
}

.skins_hero_group {
    background: #fff;
    border-radius: 15px;
    width: 80%;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.skins_hero_title {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    color: #2a2a2a;
}

.skins_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.skin_card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    padding: 10px;
    background: #f0f0f0;
}

.skin_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.skin_image {
    width: 280px;
    height: 280px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.skin_image img {
    height: 100%;
    width: auto;
}

.skin_info {
    text-align: center;
    margin-bottom: 10px;
}

.skin_name {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.skin_price {
    color: #555;
}

.buy_skin_button {
    /* background-color: #3a8; */
    /* color: white; */
    border: none;
    border-radius: 5px;
    width: 80%;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 0.9em;
}

.buy_skin_button:hover {
    /* background-color: #37a; */
    transform: scale(1.05);
}
