/**
 * Eteam Addon - Frontend Styles
 *
 * Add your custom styles here.
 */

.eteam-addon-highlight {
    background-color: #f5f9ff;
    border-left: 4px solid #0073aa;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 14px;
}

.eteam-addon-button {
    display: inline-block;
    background-color: #0073aa;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 3px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.eteam-addon-button:hover,
.eteam-addon-button:focus {
    background-color: #005177;
}

/* Game Repeater Grid Styles */
.eteam-game-repeater-grid {
    display: grid;
    width: 100%;
}

.eteam-game-repeater-grid-1 {
    grid-template-columns: repeat(1, 1fr);
}

.eteam-game-repeater-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.eteam-game-repeater-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.eteam-game-repeater-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.eteam-game-repeater-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.eteam-game-repeater-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.eteam-game-repeater-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #FFFFFF12;
    justify-content: center;
    padding: 7px;
    clip-path: polygon(4% 0, 100% 0, 96% 100%, 0% 100%);
}

.eteam-game-repeater-label {
    font-weight: 600;
    color: #B8B9BF;
}

.eteam-game-repeater-separator {
    margin: 0 5px;
    color: #fff;
}

.eteam-game-repeater-value {
    font-weight: 400;
    color: #fff;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .eteam-game-repeater-grid-4,
    .eteam-game-repeater-grid-5,
    .eteam-game-repeater-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .eteam-game-repeater-grid-3,
    .eteam-game-repeater-grid-4,
    .eteam-game-repeater-grid-5,
    .eteam-game-repeater-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .eteam-game-repeater-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Game Rating Stars Styles */
.eteam-game-rating-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.eteam-game-rating-stars {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.eteam-game-rating-star {
    display: inline-block;
    font-size: 20px;
    color: #FFD700;
    margin-right: 5px;
    line-height: 1;
    position: relative;
    font-family: Arial, sans-serif;
}

.eteam-game-rating-star.empty {
    color: #CCCCCC;
}

.eteam-game-rating-star.half {
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: hidden;
}

.eteam-game-rating-star.half::before {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    color: #FFD700;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.eteam-game-rating-star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #CCCCCC;
    z-index: -1;
}

.eteam-game-rating-value {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}
.eteam-game-repeater-item.eteam-game-type-item span{
    color: #6FBA47;
}

/* Game Gallery Carousel Styles */
.eteam-gallery-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.eteam-gallery-carousel .swiper-wrapper {
    display: flex;
}

.eteam-gallery-carousel-item {
    width: 100%;
    box-sizing: border-box;
}

.eteam-gallery-carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.eteam-gallery-carousel-content {
    padding: 15px 0;
    text-align: center;
}

.eteam-gallery-carousel-title {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.eteam-gallery-carousel-subtitle {
    margin: 0;
    line-height: 1.6;
}
.eteam-gallery-carousel .swiper-wrapper .swiper-slide:nth-child(odd){
    background: var(--gold-color);
}
.eteam-gallery-carousel .swiper-wrapper .swiper-slide:nth-child(even){
    background: #0E193C;
}
/* Swiper Navigation Buttons */
.eteam-gallery-carousel .swiper-button-next,
.eteam-gallery-carousel .swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.eteam-gallery-carousel .swiper-button-next:after,
.eteam-gallery-carousel .swiper-button-prev:after {
    font-size: 14px;
    font-weight: bold;
}

.eteam-gallery-carousel .swiper-button-next:hover,
.eteam-gallery-carousel .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Swiper Pagination */
.eteam-gallery-carousel .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.eteam-gallery-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.eteam-gallery-carousel .swiper-pagination-bullet-active {
    background-color: #333;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .eteam-gallery-carousel .swiper-button-next,
    .eteam-gallery-carousel .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .eteam-gallery-carousel .swiper-button-next:after,
    .eteam-gallery-carousel .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Game Player Button Styles */
.eteam-button-wrapper {
    display: inline-block;
}

.eteam-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
}

.eteam-button:focus {
    outline: none;
}

.eteam-button-text {
    display: inline-block;
}

.eteam-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.eteam-button-icon svg {
    display: block;
}

/* Button Sizes */
.eteam-button-xs {
    font-size: 12px;
    padding: 6px 12px;
}

.eteam-button-sm {
    font-size: 14px;
    padding: 8px 16px;
}

.eteam-button-md {
    font-size: 16px;
    padding: 10px 20px;
}

.eteam-button-lg {
    font-size: 18px;
    padding: 12px 24px;
}

.eteam-button-xl {
    font-size: 20px;
    padding: 14px 28px;
}

/* Alignment */
.elementor-align-left .eteam-button-wrapper {
    text-align: left;
}

.elementor-align-center .eteam-button-wrapper {
    text-align: center;
}

.elementor-align-right .eteam-button-wrapper {
    text-align: right;
}


/* Eteam Game Player Styles */
.eteam-player-iframe-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.5);
    display: none;
    z-index: 100;
}
.eteam-player-iframe-wrapper.active{
    display: flex;
}
i.fa-solid.fa-xmark.eteam-player-iframe-close {
    position: absolute;
    top: 50px;
    right: 50px;
    color: #fff;
    font-size: 32px;
}