/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #171925;
    color: #ffffff;
    box-sizing: border-box;
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #21232f;
    padding: 0 100px;
    height: 100px;
    box-sizing: border-box;
}

.topbar img.logo {
    height: 60px;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 170px;
        padding: 10px;
    }

    .topbar img.logo {
        margin-bottom: 10px;
    }
}

/* Content Column */
.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    width: calc(100% - 40px);
}

/* Banner Placeholder */
.banner {
    position: relative;
    width: 100%;
    height: 200px; /* Desktop height */
    border-radius: 20px;
    overflow: hidden; /* Crop content if needed */
    margin-bottom: 20px;

    /* Background Image */
    background-image: url('img/banner.webp');
    background-size: cover; /* Stretch to cover the container */
    background-position: center; /* Center the image */
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .banner {
        aspect-ratio: 3 / 2; /* Mobile: 2:3 ratio */
        height: auto; /* Let height adjust naturally based on aspect ratio */
        background-size: auto 100%; /* Height to fill, width scales proportionally */
        background-position: center; /* Center horizontally */
    }
}


/* Rotating Wheel (Desktop Default) */
.rotating-wheel {
    position: absolute;
    top: 50%; /* Center vertically */
    right: 0; /* Align to the right edge */
    transform: translate(50%, -50%); /* Shift center of the wheel to align with the right edge */
    width: 200%; /* Adjust size of container */
    height: 200%; /* Match width for square aspect ratio */
}

.wheel-image {
    position: absolute;
    width: 25%; /* Adjust size of the wheel */
    height: auto; /* Maintain aspect ratio */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg); /* Center and initialize rotation */
    animation: spin 10s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Left-Aligned Image (Desktop Default) */
.left-aligned-image {
    position: absolute;
    top: -5%; /* Align to the top of the banner */
    left: 0%; /* Shift 20% to the left of the banner's border */
    width: 25%; /* Adjust image size relative to banner width */
    height: auto;
    overflow: hidden; /* Ensure image is cropped within the banner */
    animation: levitate 3s ease-in-out infinite; /* Apply levitation animation */
}

.first-image {
    width: 100%; /* Fill the container */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

/* Levitation Keyframes */
@keyframes levitate {
    0%, 100% {
        transform: translateY(0); /* Start and end at original position */
    }
    50% {
        transform: translateY(-10px); /* Move up by 10px at midpoint */
    }
}


/* Mobile Styles (Override for smaller screens) */
@media (max-width: 768px) {
    .rotating-wheel {
        width: 150%; /* Smaller size */
        height: 150%; /* Match width for square aspect ratio */
        right: 0; /* Keep alignment with right border */
        transform: translate(50%, -50%); /* Center horizontally on right edge */
    }

    .wheel-image {
        width: 70%; /* Adjust size of the wheel for mobile */
    }

    .left-aligned-image {
        left: -10%; /* Smaller shift for mobile */
        width: 50%; /* Adjust width of the left image for mobile */
    }
}




/* Headings */
h1, h3 {
    text-align: center;
    margin: 20px 0;
}

h1 {
    color: #f51c8f;
    font-size: 2em;
}

h3 {
    color: #ffffff;
    font-size: 1.5em;
}

/* Button */
.cta-button {
	font-family: 'Montserrat', sans-serif;
    background-color: #f51c8f;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1.2em;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    display: block;
    margin: 40px auto;
    text-align: center;
}

.cta-button:hover {
    box-shadow: 0 0 20px 5px #f51c8f;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 10px #f51c8f;
    }
    50% {
        box-shadow: 0 0 20px #f51c8f;
    }
}

.cta-button {
    animation: pulse 2s infinite;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.grid-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.grid-image:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: 1fr;
    }
}

/* Disclaimer */
.disclaimer {
  margin: 20px 0; /* Top and bottom margin */
  text-align: center;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 2px 2px 5px rgba(92, 55, 171, 0.6); /* Light dark-purple shadow */
  width: 100%; /* Full width of the container */
  padding: 0 20px; /* Add padding for better readability */
  box-sizing: border-box; /* Ensure padding doesn't affect total width */
}

/* Footer images for 18+ and GambleAware */
.footer-images {
  display: flex;
  justify-content: center; /* Horizontally center images */
  align-items: center;
  margin: 20px 0;
  width: 100%; /* Full width of the container */
  padding: 0 20px; /* Ensure images aren't flush against the edges */
  box-sizing: border-box; /* Include padding in the element's width */
}

.footer-images img {
  width: 70px; /* Adjusted size to be smaller */
  height: auto; /* Maintain aspect ratio */
  margin: 0 10px; /* Spacing between images */
}

/* Copyright text */
.copyright {
  text-align: center;
  margin: 20px 0; /* Top and bottom margin */
  color: white;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 2px 2px 5px rgba(92, 55, 171, 0.6); /* Light dark-purple shadow */
  width: 100%; /* Full width of the container */
  padding: 0 20px; /* Add padding for consistent spacing */
  box-sizing: border-box; /* Ensure padding doesn't affect total width */
}



