@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root{
    --primary-color: #76009c;
    --bg-color: #290634;
    --text-color: #ffffff;
}
body{
    background-color: var(--bg-color);
}

/* Make navbar fixed on all pages */


/* Slider Styles */
.slider-container {
    position: relative;
    width: 80%;
    height: 65vh;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 15px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s ease;
    border-radius: 15px;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    border-radius: 15px;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
}

.slide-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: var(--text-color);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
    z-index: 3;  /* Increased z-index to be above overlay */
    pointer-events: none; /* Allow clicks to pass through the content container */
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all; /* Re-enable pointer events for active slide */
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    pointer-events: none; /* Text shouldn't block button clicks */
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    color: #ffcc00;
    pointer-events: none; /* Text shouldn't block button clicks */
}

.cta-btn {
    position: relative;
    padding: 12px 30px;
    background: linear-gradient(45deg,  rgb(98, 66, 252),  rgb(59, 30, 201));
    border: none;
    border-radius: 25px;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 0, 255, 0.3);
    border: 1px solid #ffffff65;
    z-index: 4; /* Higher than slide-content */
    pointer-events: all; /* Ensure button is always clickable */
}

.cta-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 47, 255, 0.4);
    opacity: 1;
}

/* Remove or comment out the slider-nav button styles */
.slider-nav {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
    padding: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

.dot.active {
    background: #ff4444;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-container {
        width: 95%;
        height: 50vh;
    }

    .slider-container {
        height: 60vh;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 8px 20px;
        font-size: 1rem;
    }

    .slide::before {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }
}

/* Popular Games Section */
.popular-games {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.section-title {
    text-align: left;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.section-title h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 0.5rem;
    font-family: noto sans;
}

.section-title p {
    font-size: 1.1rem;
    color: #ffcc00;
}

.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-10px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
    color: var(--text-color);
}

.game-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-info p {
    font-size: 0.9rem;
    color: #ffcc00;
}

@media (max-width: 768px) {
    .popular-games {
        padding: 2rem 5%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .game-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .game-info {
        padding: 1rem;
    }
}
.cards {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding: 20px;
    margin-top: -40px;
}

.card {
    width: 200px;
    height: 220px;
    background: var(--primary-color);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: fill;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.1);
}

.wave-container {
    display: none;
    position: relative;
    height: 30px;
    overflow: hidden;
    background: var(--primary-color);
}

.wave {
    position: absolute;
    width: 100%;
    height: 30px;
    background: var(--primary-color);
}

.wave::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background: inherit;
    clip-path: polygon(
        0% 100%,
        2% 90%, 4% 100%, 6% 90%, 
        8% 100%, 10% 90%, 12% 100%, 
        14% 90%, 16% 100%, 18% 90%, 
        20% 100%, 22% 90%, 24% 100%, 
        26% 90%, 28% 100%, 30% 90%,
        32% 100%, 34% 90%, 36% 100%, 
        38% 90%, 40% 100%, 42% 90%,
        44% 100%, 46% 90%, 48% 100%, 
        50% 90%, 52% 100%, 54% 90%,
        56% 100%, 58% 90%, 60% 100%, 
        62% 90%, 64% 100%, 66% 90%,
        68% 100%, 70% 90%, 72% 100%, 
        74% 90%, 76% 100%, 78% 90%,
        80% 100%, 82% 90%, 84% 100%, 
        86% 90%, 88% 100%, 90% 90%,
        92% 100%, 94% 90%, 96% 100%, 
        98% 90%, 100% 100%
    );
}

.card-info {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.card-info h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-info p {
    color: #ffcc00;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.card:hover .card-info p {
    opacity: 1;
    transform: translateY(0);
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ff4444, #ff8f8f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .cards {
        width: 100%;
        gap: 15px;
        padding: 10px;
    }

    .card {
        flex: 1 1 0;
        height: 194px;
    }

    .card img {
        height: 130px;
    }

    .card-info {
        padding: 15px;
    }

    .card-info h3 {
        font-size: 1rem;
    }

    .card-info p {
        font-size: 0.8rem;
    }
}
.loader {
    width: 100%;
    height: 30px;
    aspect-ratio: 5;
    --c: #ffffff 90deg,#0000 0;
    background:
     conic-gradient(from 135deg at top   ,var(--c)),
     conic-gradient(from -45deg at bottom,var(--c)) 12.5% 100%;
    background-size: 20% 70%;
    background-repeat: repeat-x;
    animation: l1 .8s infinite linear;
  }
  /* @keyframes l1{
    to {background-position: 25% 0,37.5% 100%}
  } */

/* About Section Styles */
.about-section {
    padding: 4rem 10%;
    background-color: var(--primary-color);
    margin-top: 50px;
}

.about-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.about-title h2 {
    color: var(--text-color);
    font-size: 32px;
    margin-bottom: 1rem;
    font-family: 'Noto Sans', sans-serif;
}

.about-title p {
    color: #ffcc00;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.service-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.07);
}

.service-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(45deg, rgb(98, 66, 252), rgb(59, 30, 201));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 28px;
    color: var(--text-color);
}

.service-content {
    flex: 1;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.service-card p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 5%;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 15px;
        gap: 15px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 28px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}

/* Payment Methods Section */
.payment-methods {
    padding: 3rem 10%;
    background-color: var(--bg-color);
}

.payment-title {
    text-align: center;
    margin-bottom: 2rem;
}

.payment-title h2 {
    color: var(--text-color);
    font-size: 32px;
    margin-bottom: 1rem;
    font-family: 'Noto Sans', sans-serif;
}

.payment-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.payment-option {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.payment-option:hover {
    transform: translateY(-5px);
}

.payment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.payment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-name {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.payment-desc {
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .payment-methods {
        padding: 2rem 5%;
    }
    
    .payment-option {
        width: 150px;
        padding: 15px;
    }
    
    .payment-icon {
        width: 60px;
        height: 60px;
    }
}

/* Footer Styles */
.footer {
    background: var(--primary-color);
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer span {
    color: #ffcc00;
}