﻿body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    overflow-x: hidden;
    background: url(../../willbetgamebettingsa/image/main_banner.jpg) no-repeat top center #e4ddc4;
    background-size: 100%;
}

header {
    height: 5.78vw;
    background: rgba(0, 0, 0, 0);
}

.logo {
    height: 6.125vw;
    width: 8.125vw;
    margin: 0.04vw 0 0 3.76vw;
}

.logomobile {
    display: none;
}

.header-btns {
    margin: 0 2.76vw 0 auto;
    order: 2;
}

.btn:focus {
    outline: none;
    box-shadow: none;
}

.btn-signup {
    width: 8vw;
    height: 2.4vw;
    border-radius: 1.25vw;
    margin: 1.35vw 0 0 0.31vw;
    color: #fff;
    background: #e83242;
    font-size: 0.9vw;
    font-weight: 500;
}

.btn-login {
    width: 8vw;
    height: 2.4vw;
    border-radius: 1.25vw;
    margin: 1.35vw 0 0 0.31vw;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
    border-color: #fff;
    font-size: 0.9vw;
    font-weight: 500;
    border-width: 0.104vw;
    /* Converted 2px to vw */
}

.btn-cta {
    width: 15.73vw;
    height: 3.073vw;
    border-radius: 3vw;
    color: #fff;
    background: #e83242;
    font-size: 1.146vw;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0;
    border: 0vw solid transparent;
}

button:focus {
    outline: none;
}

.btn-cta:hover {
    color: #fff;
    /* background: #e83242; */
    background-image: linear-gradient(#e83242, #df7880);
}

.hero-text a {
    width: 40.063vw;
    height: 25vw;
}

.hero-text {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 3.54vw;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4vw 0 16vw 0;
    gap: 2vw;
}

.hero-text .p1 {
    text-align: center;
    font: normal normal 800 2.604vw/3.177vw Montserrat;
    letter-spacing: 0px;
    text-shadow: 0.156vw 0.156vw 0.104vw #FFFFFF42;
    opacity: 1;
}

span.herotext {
    font: normal normal 800 3.646vw/3.854vw Montserrat;
    letter-spacing: 0px;
    text-shadow: 0.156vw 0.156vw 0.104vw #FFFFFF42;
    opacity: 1;
    display: block;
    width: 85vw;
    word-wrap: break-word;
    white-space: normal;
}

.img-fluid {
    width: 8vw;
    padding: 0 0.2vw;
}

.row {
    flex-direction: column;
}

footer {
    padding-bottom: 1.145vw;
    margin-top: 3vw;
    text-align: center;
    font-size: 0.833vw;
    line-height: 1.094vw;
    letter-spacing: 0px;
    color: #220707;
    opacity: 1;
    background: url(../../willbetgamebettingsa/image/footer.jpg) no-repeat top center #e4ddc4;
    font-weight:600;
}

footer p {
    padding: 0 11vw;
}

/* Slots Section */
.slots-section {
    padding: 2.5vw 1.04vw;
    /* Converted 30px 20px */
}

.slots-section h2 {
    margin-bottom: 1.04vw;
    /* Converted 20px */
    text-align: center;
    font: normal normal 700 1.46vw/3.177vw Montserrat;
}

.games-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.04vw;
    /* Converted 20px */
}

.game-card {
    background: #f5f5f5;
    border: 0.052vw solid #ddd;
    /* Converted 1px */
    border-radius: 0.52vw;
    /* Converted 10px */
    width: 13.02vw;
    /* Converted 250px */
    overflow: hidden;
    text-align: center;
    box-shadow: 0 0.208vw 0.313vw rgba(0, 0, 0, 0.1);
    /* Converted shadow px */
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-0.26vw);
    /* Converted 5px */
    box-shadow: 0 0.313vw 0.52vw rgba(0, 0, 0, 0.2);
    /* Converted shadow px */
}

.game-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 0.104vw solid #003366;
    /* Converted 2px */
}

.game-card h3 {
    font-size: 1.04vw;
    /* Converted 20px */
    color: #003366;
    margin: 0.52vw 0;
    /* Converted 10px */
}

.game-card p {
    font-size: 0.833vw;
    /* Converted 16px */
    padding: 0 0.52vw 0.52vw;
    /* Converted 10px */
}

.image-slider {
    overflow: hidden;
    position: relative;
    width: 100vw;
    /* Full viewport width */
    margin: 0 auto;
    text-align: center;
}

.image-slider h2 {
    font: normal normal 700 1.46vw/3.177vw Montserrat;
    text-align: center;
}

.slider-wrapper {
    display: flex;
    transition: transform 1.5s ease-in-out;
    will-change: transform;
    width: calc(100vw * 3);
    /* Total width is number of rows times 100vw */
}

.slider-row {
    display: flex;
    flex: 0 0 100vw;
    justify-content: center;
    gap: 1.04vw;
    /* Converted 20px */
    align-items: center;
}

.slider-row img {
    flex: 0 0 10vw;
    /* Each image occupies space for 4 images in a row */
    height: fit-content;
    margin: 0.52vw 0.52vw;
    /* Converted 10px */
    /* Adds spacing between images */
}

/* Testimonials Section */
/* General Styling for the Testimonial Slider */
.testimonials-section {
    padding: 2vw 1vw;
    background: #dbc78263;
}

.testimonials-section h2 {
    font-size: 1.5vw;
    margin-bottom: 1vw;
    text-align: center;
}

/* Slider Layout */
.testimonials-slider {
    display: flex;
    align-items: center;
    position: relative;
}

.testimonials-viewport {
    width: 100%;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.testimonial {
    flex: 0 0 23%;
    /* 4 testimonials visible per row */
    margin: 1%;
    background: #fff;
    text-align: center;
    padding: 1vw;
    border-radius: 0.5vw;
    box-shadow: 0 0.2vw 0.4vw rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    margin-bottom: 1vw;
}

.testimonial-text {
    font-size: 1vw;
    margin-bottom: 1vw;
    color: #333;
}

.testimonial strong {
    font-size: 1.1vw;
    color: #003366;
}

/* Buttons Styling */
.slider-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    /* Ensure buttons are above the slider */
}

.slider-btn img {
    width: 3vw;
    height: 3vw;
}

.testimonials-back {
    left: -3vw;
    /* Positioned to the left of the slider */
}

.testimonials-next {
    right: -3vw;
    /* Positioned to the right of the slider */
}
