/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333; /* Dark gray for general text for good contrast on light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for main content */
}

.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-index-section-title {
    color: #0A2463; /* Main brand color for titles */
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Auxiliary color for accent */
    border-radius: 2px;
}

.page-index-section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    white-space: nowrap; /* Prevent text wrapping */
}

.page-index-btn-primary {
    background-color: #FFD700; /* Auxiliary color for primary action */
    color: #0A2463; /* Main brand color for text on primary button */
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    color: #0A2463;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #0A2463; /* Main brand color for text */
    border: 2px solid #0A2463; /* Main brand color for border */
}

.page-index-btn-secondary:hover {
    background-color: #0A2463;
    color: #fff; /* White text on hover for contrast */
}

.page-index-btn-outline {
    background-color: transparent;
    color: #0A2463;
    border: 2px solid #0A2463;
}

.page-index-btn-outline:hover {
    background-color: #0A2463;
    color: #fff;
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-index-img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A2463, #3A5C9B); /* Gradient from main color to a lighter variant */
    color: #fff;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-index-hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Auxiliary color for hero title */
}

.page-index-hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #e0e0e0; /* Light gray for description */
}

.page-index-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-index-hero-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%; /* Adjust size as needed */
    opacity: 0.3;
    z-index: 0;
}

.page-index-hero-image img {
    width: 100%;
    height: auto;
}

/* About Section */
.page-index-about {
    padding: 60px 0;
    background-color: #fff;
}

.page-index-about-content {
    font-size: 1.1em;
    color: #444;
}

.page-index-about-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-index-about-image {
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Promotions & Platforms Grid */
.page-index-promotions,
.page-index-platforms {
    padding: 60px 0;
    background-color: #f0f2f5; /* Light gray background for these sections */
}

.page-index-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.page-index-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-index-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.page-index-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-index-card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #0A2463;
}

.page-index-card-title .page-index-card-link {
    color: #0A2463;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-card-title .page-index-card-link:hover {
    color: #FFD700;
}

.page-index-card-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-index-card-content .page-index-btn {
    align-self: flex-start;
}

.page-index-view-all {
    text-align: center;
    margin-top: 20px;
}

/* Why Us Section */
.page-index-why-us {
    padding: 60px 0;
    background-color: #fff;
}

.page-index-why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-index-why-us-item {
    text-align: center;
    padding: 30px;
    background-color: #fdfdfd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-index-why-us-item:hover {
    transform: translateY(-5px);
}

.page-index-why-us-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-index-why-us-title {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-index-why-us-description {
    color: #555;
    font-size: 1em;
    text-align: justify;
}

/* Responsible Gambling Section */
.page-index-responsible-gambling {
    padding: 60px 0;
    background-color: #e6eaf0; /* A lighter shade of the main color */
    color: #333;
}

.page-index-responsible-gambling-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1em;
}

.page-index-responsible-gambling-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.page-index-responsible-gambling-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-index-responsible-gambling-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.page-index-responsible-gambling-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0A2463; /* Main color for bullet point */
    font-weight: bold;
    font-size: 1.2em;
}

.page-index-responsible-gambling-image {
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Affiliate Section */
.page-index-affiliate {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
}

.page-index-affiliate p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    color: #444;
}

.page-index-affiliate-image {
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* CTA Banner */
.page-index-cta-banner {
    background: linear-gradient(90deg, #0A2463, #3A5C9B); /* Gradient using main color */
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-index-cta-content {
    max-width: 800px;
}

.page-index-cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
}

.page-index-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

/* Floating Ad Menu */
.page-index-floating-ad-menu {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0A2463; /* Main brand color */
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: translateX(0); /* Default state: visible */
    transition: transform 0.3s ease-in-out;
    max-width: 280px;
    text-align: center;
}

.page-index-floating-ad-menu.hidden {
    transform: translateX(calc(100% + 20px)); /* Hide by moving off screen */
}

.page-index-floating-title {
    font-size: 1.3em;
    color: #FFD700;
    margin: 0;
}

.page-index-floating-description {
    font-size: 0.9em;
    margin: 0;
    color: #e0e0e0;
}

.page-index-btn-floating {
    background-color: #FFD700;
    color: #0A2463;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-index-btn-floating:hover {
    background-color: #e6c200;
}

.page-index-floating-close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.page-index-floating-close-btn:hover {
    color: #FFD700;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-hero-title {
        font-size: 3em;
    }
    .page-index-hero-description {
        font-size: 1.2em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
}