.competition-grid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.competition-grid .row {
    margin: 0 -10px;
}

.competition-grid .col-lg-3 {
    padding: 0 10px;
    margin-bottom: 20px;
}

.competitionSwiper {
    width: 100%;
    max-width: 1200px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0 auto;
    overflow: visible;
}

.competitionSwiper .swiper-slide {
    width: 280px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
    transform: scale(0.85);
    transition: all 0.3s ease;
}

.competitionSwiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    z-index: 2;
}

.competitionSwiper .swiper-slide-prev,
.competitionSwiper .swiper-slide-next {
    opacity: 0.6;
    transform: scale(0.9);
}

.competitionSwiper .swiper-slide-prev-prev,
.competitionSwiper .swiper-slide-next-next {
    opacity: 0.3;
    transform: scale(0.8);
}

.competitionSwiper .swiper-button-next,
.competitionSwiper .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.competitionSwiper .swiper-button-next:after,
.competitionSwiper .swiper-button-prev:after {
    font-size: 16px;
}

.competitionSwiper .swiper-button-next:hover,
.competitionSwiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.competitionSwiper .swiper-pagination {
    bottom: 0;
}

.competitionSwiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    transition: all 0.3s ease;
}

.competitionSwiper .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.competition-card {
    width: 100%;
    perspective: 1200px;
    height: 100%;
}

.card2 {
    transform-style: preserve-3d;
    position: relative;
    padding-bottom: 60px;
    background: #2a2a3a;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
    transition: all 0.3s ease;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card2:hover {
    transform: translateY(-5px);
}

.card2 .col-md-12 {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}

.team-pic2 {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.team-pic2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.team-pic2 img {
    border-radius: 15px 15px 0 0;
    width: 40%;
    height: auto;
    transition: transform 0.5s ease;
    margin: 15px auto;
    display: block;
}

.competition-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0px 0px 15px rgba(119, 0, 255, 0.6));
}

.card2:hover .team-pic2 img {
    transform: scale(1.05);
}

.team-desc {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-desc h3 {
    margin: 0;
    font-size: 1.1rem;
}

.team-desc .lead {
    margin: 8px 0 2px 0;
    font-size: 0.85rem;
}

.team-desc p {
    margin: 0 0 12px 0;
    flex-grow: 1;
    font-size: 0.9rem;
}

.btn-line {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #3a3a4a;
    transition: all 0.3s ease;
    padding: 6px 20px;
    border-radius: 6px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-line:hover {
    background: #454555;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.small-border {
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 4px auto 15px auto;
}

.lead {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

p {
    color: rgba(255, 255, 255, 0.7);
}

.swiper-hint-left,
.swiper-hint-right {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
    display: block;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .competitionSwiper {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .competitionSwiper .swiper-slide {
        width: 260px;
    }
    .swiper-hint-left,
    .swiper-hint-right {
        bottom: -40px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .competitionSwiper {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .competitionSwiper .swiper-slide {
        width: 240px;
    }
    .swiper-hint-left,
    .swiper-hint-right {
        bottom: -35px;
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

.swiper-hint-left.show,
.swiper-hint-right.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.swiper-hint-left,
.swiper-hint-right {
    transform: translateX(-50%) translateY(10px);
}

@keyframes pulse {
    0% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-2px); }
    100% { transform: translateX(-50%) translateY(0); }
}

.swiper-hint-left.show,
.swiper-hint-right.show {
    animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 1200px) {
    .competitionSwiper {
        display: none;
    }
}

@media (max-width: 1199px) {
    .competition-grid {
        display: none;
    }
}