/* Custom Styles for Free Bets */

.stadium-bg {
    background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
}

.stadium-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 0;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stadium-bg {
        background-attachment: scroll;
    }
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.events-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.events-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 1rem;
}

.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.event-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.event-slide.prev {
    transform: translateX(-100%) scale(0.8);
    opacity: 0;
}

.event-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    z-index: 10;
    padding: 0 1rem;
}

@media (max-width: 640px) {
    .carousel-indicators {
        margin-top: 1rem;
        gap: 0.5rem;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #02fd02;
    width: 32px;
    border-radius: 6px;
    border-color: #02fd02;
}

@media (max-width: 1024px) {
    .events-carousel {
        height: 450px;
    }
}

.event-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    flex: 1;
}

@media (max-width: 768px) {
    .events-carousel {
        height: 60vh;
        min-height: 400px;
        max-height: 600px;
    }
    
    .event-image {
        object-fit: contain;
    }
    
    .event-card {
        background-color: rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 640px) {
    .events-carousel {
        height: 50vh;
        min-height: 350px;
        max-height: 500px;
        border-radius: 0.75rem;
    }
    
    .event-slide {
        height: 100%;
    }
    
    .event-card {
        height: 100%;
        justify-content: center;
        align-items: center;
        padding: 0.5rem;
    }
    
    .event-image {
        object-fit: contain;
        height: 100%;
        max-height: 100%;
        width: 100%;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 24px;
    }
    
    .events-carousel-wrapper {
        padding: 0 0.5rem;
        width: 100%;
    }
    
    .events-carousel-wrapper .events-carousel {
        width: 100%;
    }
}

/* Custom Green Color (#02fd02) */
.text-green-custom {
    color: #02fd02;
}

.bg-green-custom {
    background-color: #02fd02;
}

.hover\:text-green-custom:hover {
    color: #02fd02;
}

.hover\:bg-green-custom:hover {
    background-color: #02cc02;
}

/* Free Bet Section Styles */
.free-bet-section {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(2, 253, 2, 0.2);
    box-shadow: 0 20px 60px rgba(2, 253, 2, 0.1);
}

.free-bet-steps {
    margin-bottom: 2rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #02fd02 0%, #02cc02 100%);
    color: black;
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(2, 253, 2, 0.3);
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(2, 253, 2, 0.5);
}

.step-title {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1.4;
}

.rewards-text {
    text-shadow: 0 0 20px rgba(2, 253, 2, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(2, 253, 2, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(2, 253, 2, 0.8), 0 0 40px rgba(2, 253, 2, 0.6);
    }
}

.free-bet-description {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .free-bet-section {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .step-title {
        font-size: 0.875rem;
    }
    
    .rewards-text {
        font-size: 1.25rem;
    }
    
    .free-bet-description p {
        font-size: 0.9rem;
    }
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    border: 2px solid rgba(2, 253, 2, 0.3);
    box-shadow: 0 20px 60px rgba(2, 253, 2, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #02fd02;
    transform: rotate(90deg);
}

.modal-body {
    text-align: center;
    padding: 1rem 0;
}

.modal-icon {
    color: #02fd02;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.modal-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-button {
    background-color: #02fd02;
    color: black;
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-button:hover {
    background-color: #02cc02;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(2, 253, 2, 0.3);
}

.modal-button:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .modal-container {
        width: 95%;
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-message {
        font-size: 0.9rem;
    }
    
    .modal-icon {
        width: 3rem;
        height: 3rem;
    }
}

