.store-section {
    padding: 0 0 40px 0;
}

.custom-grid-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 15px;
}

.team-item {
    flex: 0 0 auto;
    margin-bottom: 15px;
    cursor: pointer;
}

.store-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition:
        border-color 0.5s ease,
        box-shadow 0.5s ease;
    padding: 0px !important;
}

.store-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.store_name {
    margin-top: 6px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e0e0e0;
    transition: color 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "arial", sans-serif;
}

.team-item:hover .store-img {
    border-color: #ea580c;
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.3);
}

.team-item:hover .store_name {
    color: #ea580c;
}

.team-item:hover .store-img img {
    transform: scale(1.02);
}

.tab-buttons-center {
    top: 0;
    z-index: 1000;
    background-color: #1f1f1f;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 1rem 0 1rem 0;
}

.page-title-left,
.page-title-right {
    content: "";
    background: #ea580c;
    height: 2px;
    flex: 0 1 200px;
    display: inline-block;
}

.page-title h3 {
    font-size: 32px;
    font-family: "arial", sans-serif;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
    white-space: nowrap;
}

.team-item a.game-link {
    text-decoration: none !important;
    display: block;
}

.team-item a.game-link:hover,
.team-item a.game-link:focus {
    text-decoration: none !important;
    color: inherit;
}

.team-item a.game-link:hover .store_name {
    text-decoration: none !important;
}

.team-item a.game-link img {
    border: none;
    outline: none;
}

.menu-principal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-derecha {
    display: flex;
    align-items: center;
    gap: 15px;
}

.store-img {
    padding: 0px !important;
}

.btn-registro {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    position: relative;
    z-index: 1;
    font-family: "Arial Black", sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff !important;
    text-transform: uppercase;
    padding: 15px 40px;
    border: 2px solid #ffcc00;
    border-radius: 12px;
    background: linear-gradient(to bottom, #ff8a00, #e52e00);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: visible;
}

.btn-registro::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #ffcc00 0%, #ff4800 70%, transparent 100%);
    filter: blur(20px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-registro::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 10%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffcc00;
    opacity: 0;
    box-shadow:
        20px -10px 0 #ff8a00,
        40px -30px 0 #ff4800,
        60px -15px 0 #ffcc00,
        80px -40px 0 #ff8a00,
        100px -20px 0 #ff4800;
}

@keyframes fire-flicker {
    0% {
        box-shadow:
            0 -5px 20px #ff8a00,
            0 0 10px #ffcc00;
    }
    50% {
        box-shadow:
            0 -10px 35px #ff4800,
            0 0 15px #ffcc00;
    }
    100% {
        box-shadow:
            0 -5px 25px #ff8a00,
            0 0 10px #ffcc00;
    }
}

@keyframes sparks-fly {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-60px) scale(0);
        opacity: 0;
    }
}

.btn-registro:hover {
    transform: scale(1.1) translateY(-5px);
    animation: fire-flicker 0.6s infinite alternate;
}

.btn-registro:hover::before {
    opacity: 0.7;
}

.btn-registro:hover::after {
    opacity: 1;
    animation: sparks-fly 0.8s infinite linear;
}

.btn-registro:active {
    transform: scale(0.95);
}

@media (max-width: 2500px) {
    #mobileMenuCasino {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 8px;
    }

    .menu-principal,
    .menu-derecha {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .team-item {
        flex: 0 1 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 0px auto;
    }
    .store-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .custom-grid-5 {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .page-title h3 {
        font-size: 24px;
    }

    .contact-inner {
        gap: 10px;
    }
}

@media (min-width: 2500px) {
    #mobileMenuCasino.collapse:not(.show) {
        display: block !important;
    }
}

@media (min-width: 1024px) {
    .custom-grid-5 {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: flex-start;
    }

    .team-item {
        flex: 0 0 calc(20% - 12px) !important;
        width: calc(20% - 12px) !important;
        max-width: none !important;
        margin: 0 0 0px 0 !important;
    }
}