/* styles.css */

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: linear-gradient(180deg, #0b0e13 0%, #12141a 100%);
    color: white;
}

/* Game Image Slider */
.game-slider {
    width: 376px;
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-top: -20px;
}

.game-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.game-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.table-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Always 2 columns by default */
    gap: 20px; /* Adds space between boxes */
    justify-content: center; /* Centers the boxes */
}


/* Withdrawal Proof Slider */
.wd-proof {
    margin: 0 auto;
    padding: 10px 0; /* Reduce padding */
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-top: 50px;
}

/* Reduce H2 Margin */
.wd-proof h2 {
    font-size: 24px;
    margin-bottom: 5px; /* Reduced to minimize space */
}

.wd-slider {
    position: relative;
    width: 100%;
    max-width: 1857px; /* Match banner slider */
    height: 400px; /* Match banner height */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ensure Images Fit Properly */
.wd-slide {
    display: none;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures the whole image is shown without getting cut */
    border-radius: 12px;
}

/* Bet Table (Clickable Card) */
.bet-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top center, #3371d4a9, #0ead5e9f 150%);
    padding: 20px;
    border-radius: 12px;
    width: 180px; /* Keep it square */
    height: 180px;
    box-shadow: 0px 5px 15px rgba(0, 225, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.bet-table:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 255, 200, 0.4);
}

.game-gacor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px; /* Match padding with other sections */
    margin: 0 auto;
    max-width: 90%; /* Prevents it from stretching too wide */
}

.game-gacor h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.game-slider {
    width: 100%;
    max-width: 400px; /* Matches similar elements */
    height: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.game-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Ensure images auto-slide and fit */
.game-slide:first-child {
    display: block; /* Show first image by default */
}

/* Pop UP */
.popup-banner {
    display: block; /* Show immediately */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 721px;
    height: 361px;
    background-color: #101317;
    box-shadow: 0 0 3px 1px #00ff80, 0 0 8px 5px #0057e7;
    border-radius: 15px;
    z-index: 2000;
    padding: 10px;
    border: 3px solid #00ff80;
}

.popup-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Bigger Close Button */
.popup-banner .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 36px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 2100;
}

.popup-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.popup-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.popup-slide.active {
    display: block;
}

.popup-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    width: 100%;
    max-width: 1857px;
    height: auto;
    overflow: hidden;
    margin: 20px auto; /* Centered */
    border-radius: 12px;
    max-height: 400px;
}

.banner-slide {
    display: none; /* Hide all images initially */
    width: 100%;
}

.banner-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* Optional rounded corners */
    max-height: 400px;
    object-fit: cover;
}

/* Promo Text */
.promo {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-top: auto; /* Pushes the text to the bottom */
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.brand-logo {
    width: 100%;
    max-height: 160px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto; /* Centers the logo */
}

/* Target the first logo */
.bet-table:nth-child(1) .brand-logo {
    max-height: 190px; /* Adjust size for the first logo */
    margin-bottom: 15px;
    margin-top: 31px;
    width: 130%;
    margin-left: -20px;
}

/* Target the second logo */
.bet-table:nth-child(2) .brand-logo {
    max-height: 140px; /* Adjust height */
    margin-top: 19px;
}

/* Target the third logo */
.bet-table:nth-child(3) .brand-logo {
    max-height: 130px; /* Adjust height */
    margin-top: 40px;
}

/* Target the fourth logo */
.bet-table:nth-child(4) .brand-logo {
    max-height: 150px; /* Adjust height */
    margin-top: 40px;
}

/* Navbar Base */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #101317;
}

.nav-links {
    display: none;
    flex-direction: column;
    background-color: #101317;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Ensure it appears in front of banner slider */
}

.nav-links.show {
    display: flex;
    z-index: 1000; /* Higher priority over banner */
}

.nav-links a {
    text-decoration: none;
    color: #60eea7;
    font-size: 16px;
    padding: 10px;
    border-bottom: 1px solid #3a3d45; /* Simulates table row */
    width: 100%;
    text-align: left;
    display: block;
}

.nav-links a:last-child {
    border-bottom: none;
}


.nav-links a:hover {
    background-color: #1a1d23; /* Highlight on hover */
}


  /* Hamburger Menu */
.hamburger-menu {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ✅ Responsive Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 90%;
}

header .logo {
    font-size: 24px;
    background: linear-gradient(90deg, #00ff80, #0057e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

h1 {
    font-size: 48px;
    margin: 10px 0;
    line-height: 1.2;
    font-weight: 900;
}

.subtext {
    font-size: 18px;
}

.highlight {
    font-size: 48px;
    background: linear-gradient(90deg, #00ff80, #0057e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rune-price {
    font-size: 12px;
    background: linear-gradient(90deg, #00ff80, #0057e7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ✅ Responsive Quote Estimator */
.section-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    margin-top: -90px;
}

.content {
    max-width: 90%;
}

.interactive {
    width: 100%;
    max-width: 400px;
}


h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 900;
    color: white;
}

h2 .highlight {
    background: linear-gradient(90deg, #38e8c6, #3a77ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #b0b3b8;
}

.description .highlight {
    color: #38e8c6;
    font-weight: bold;
}

.interactive {
    max-width: 45%;
    position: relative;
}

.quote-estimator {
    background: #1a1d23;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0px 0px 20px rgba(0, 255, 200, 0.2);
}

.quote-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-size: 14px;
    color: #b0b3b8;
}

form select, form input {
    padding: 10px;
    border: 1px solid #3a3d45;
    border-radius: 8px;
    background: #0b0e13;
    color: white;
    font-size: 14px;
}

form select:focus, form input:focus {
    outline: none;
    border-color: #38e8c6;
}

.btn-quote {
    padding: 12px 20px;
    background: linear-gradient(90deg, #0ceba9, #3a77ff);
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-quote:hover {
    opacity: 0.9;
}

/* Section 3 */
.section-three {
    color: #ffffff;
    text-align: center;
    padding: 50px 20px;
    font-family: Arial, sans-serif;
}

.section-header .label {
    text-transform: uppercase;
    font-size: 14px;
    color: #00ffa6;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 40px;
}

.section-header h2 .highlight {
    color: #00ffa6;
}

/* Grid Layout */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Card Base */
.stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center;
    padding: 20px;
    width: 200px;
    height: 150px;
    border-radius: 12px;
}

.stat-card:hover {
    transform: scale(1.05);
}

.stat-card .stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    flex-grow: 1; /* Forces it to take up the full height */
}

.stat-card h3 {
    text-align: center;
    margin: 5px 0;
    line-height: 1.2;
}

/* Gradient Overlay */
.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: radial-gradient(circle at bottom center, rgba(0, 255, 166, 0.4), rgba(0, 103, 255, 0.1) 70%);
    opacity: 0.8;
    pointer-events: none;
    z-index: -1;
}

/* Unique Gradients for Each Box */
.site-1{
    background: radial-gradient(circle at top center, #000000, #19b17c7c, #032346);
}

.card-1{
    background: radial-gradient(circle at top center, rgba(0, 103, 255, 0.1), rgba(0, 255, 166, 0.4) 150%);
}

.card-2{
    background: radial-gradient(circle at bottom center, rgba(0, 103, 255, 0.4), rgba(118, 74, 241, 0.1) 70%);
}

.card-3{
    background: radial-gradient(circle at bottom center, rgba(118, 74, 241, 0.4), rgba(0, 255, 166, 0.1) 70%);
}

.card-4{
    background: radial-gradient(circle at bottom center, rgba(0, 255, 166, 0.4), rgba(118, 74, 241, 0.1) 70%);
}

.card-5{
    background: radial-gradient(circle at bottom center, rgba(118, 74, 241, 0.4), rgba(0, 103, 255, 0.1) 70%);
}


/* ✅ Mobile Adjustments */
@media (max-width: 768px) {
    /* Adjust Navbar */
    .nav-links {
        display: none; /* Hide links by default */
        flex-direction: column;
        background-color: #101317;
        position: absolute;
        top: 60px;
        right: 20px;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .nav-links.show {
        display: flex; /* Show links when menu is toggled */
    }
    
    .hamburger-menu {
        display: block; /* Show hamburger menu on small screens */
    }
    
    .rune-price {
        display: none; /* Optionally hide the price for smaller screens */
    }

    /* Adjust Hero Section */
    h1 {
        font-size: 40px;
    }

    .subtext {
        font-size: 16px;
    }

    /* Adjust Quote Estimator */
    .interactive {
        width: 100%;
    }

    /* Adjust Grid for Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        gap: 10px;
    }

    .stat-card {
        width: 160px; /* Adjust for mobile */
        height: 140px;
        padding: 15px;
    }

    .stat-title {
        font-size: 14px; /* Smaller font for better fit */
    }

    h3 {
        font-size: 16px;
    }

    .game-gacor {
        max-width: 100%;
        padding: 40px 15px;
    }

    .game-gacor h2 {
        font-size: 36px;
    }

    .game-slider {
        max-width: 300px; /* Smaller screens get a smaller slider */
        height: 200px;
    }

    .wd-proof {
        padding: 10px 0;
    }

    .wd-slider span {
        font-size: 14px;
    }

    .table-container {
        grid-template-columns: repeat(2, 1fr); /* Ensures 2 columns on mobile */
        gap: 10px;
        margin-bottom: 40px;
    }

    .bet-table {
        width: 140px; /* Adjust size for mobile */
        height: 140px;
        padding: 15px;
    }

    .brand-logo {
        width: 100%; /* Increase width dynamically */
        max-height: 100px; /* Increase height limit */
        object-fit: contain; /* Ensures the aspect ratio is preserved */
        margin-bottom: 10px;
    }    

    .promo {
        font-size: 12px;
    }

    .banner-slider {
        max-width: 100%;
    }

    .popup-banner {
        width: 90%;
        height: auto;
    }
}

/* ✅ Small Screens (Mobile) */
@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    .subtext {
        font-size: 14px;
    }

    .hero-text {
        max-width: 100%;
    }

    .quote-estimator {
        width: 100%;
    }

    .navbar {
        padding: 10px 20px;
    }

    .logo {
      font-size: 18px; /* Adjust logo size */
    }

    .hamburger-menu {
      font-size: 20px; /* Adjust hamburger icon size */
    }

    /* Hero Section */
    .hero {
        padding: 30px 20px;
        text-align: center;
    }

    h1 {
      font-size: 28px; /* Smaller font size for the main heading */
    }

    .subtext {
      font-size: 14px; /* Reduce subtext size */
        margin: 10px 0;
    }

    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    /* Hero Images */
    .hero-images {
      display: none; /* Hide extra images for very small screens */
    }

    /* Section Two (Quote Estimator) */
    .section-two {
        flex-direction: column;
        padding: 20px 15px;
        margin-top: -40px !important;
    }

    .interactive {
        width: 100%;
        padding: 0;
    }

    .quote-estimator {
        padding: 15px;
    }

    form select, form input {
        font-size: 12px;
        padding: 8px; /* Reduce padding for form elements */
    }

    .btn-quote {
        font-size: 14px;
        padding: 10px;
    }

    /* Statistics Section */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Stack 1 by 1 for extra small screens */
        margin-top: -15px !important;
        gap: 10px !important;
    }

    .stat-card {
        max-width: 140px;
        height: 130px;
    }

    .stat-card h3 {
        font-size: 14px;
    }

    h2 {
      font-size: 24px; /* Adjust section headers */
    }

    .wd-proof {
        margin-top: 0px !important; /* Pull the entire section closer */
        padding-top: 0 !important; /* Remove extra spacing */
        padding-bottom: 0 !important; /* Remove space below */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wd-proof h2 {
        margin-top: 20px !important; /* Force heading closer to section */
        margin-bottom: -20px !important; /* Reduce space before images */
        padding-bottom: 0 !important;
        line-height: 1 !important; /* Prevent large gaps */
    }

    .wd-slider {
        margin-top: -35px !important; /* Move images closer to heading */
        margin-bottom: -30px !important; /* Reduce gap before next section */
    }

    .wd-slide {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
        object-fit: contain !important;
        display: block;
    }

    .table-container {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns even on small devices */
        gap: 10px;
    }

    .game-gacor {
        margin-top: -35px !important; /* Bring it closer */
    }

    /* Ensure "Game Gacor" images are fully visible */
    .game-slider {
        width: 100% !important;
        height: auto !important;
    }

    .game-slide img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Prevents image cut-off */
    }

    .game-gacor h2 {
        font-size: 28px;
    }

    .game-slider {
        max-width: 100%;
        height: 180px;
    }

    .section-three {
        margin-top: -40px !important;
        padding-bottom: 20px;
    }
}

@media (max-width: 375px) { 
    .table-container, .stats-grid {
        display: grid !important;  /* Enforce grid */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}