/* style/ku68-rankings.css */

/* General Page Styling */
.page-ku68-rankings {
    font-family: 'Arial', sans-serif;
    color: #F8F8F8; /* Light gray for general text on dark background */
    background-color: #0A2239; /* Main dark blue background */
    line-height: 1.6;
}

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

.page-ku68-rankings__section-title {
    color: #E0B400; /* Gold for main titles */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-ku68-rankings__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #E0B400;
    border-radius: 2px;
}

.page-ku68-rankings__section-subtitle {
    color: #D3D3D3; /* Lighter gray for subtitles */
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 60px;
}

/* Hero Section */
.page-ku68-rankings__hero-section {
    background: linear-gradient(135deg, #0A2239 0%, #1A3A54 100%); /* Dark blue gradient */
    padding: 100px 0;
    text-align: center;
    border-bottom: 5px solid #E0B400;
}

.page-ku68-rankings__hero-title {
    font-size: 3.5em;
    color: #E0B400; /* Gold for hero title */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-ku68-rankings__hero-description {
    font-size: 1.3em;
    color: #F8F8F8;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-ku68-rankings__cta-button {
    display: inline-block;
    background-color: #E0B400; /* Gold button */
    color: #0A2239; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(224, 180, 0, 0.4);
}

.page-ku68-rankings__cta-button:hover {
    background-color: #F5D74E; /* Lighter gold on hover */
    transform: translateY(-3px);
}

/* Intro Section */
.page-ku68-rankings__intro-section {
    padding: 60px 0;
    background-color: #1A3A54; /* Slightly lighter dark blue */
}

.page-ku68-rankings__intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.page-ku68-rankings__intro-content p {
    flex: 1 1 45%;
    font-size: 1.1em;
    color: #D3D3D3;
}

.page-ku68-rankings__intro-image {
    flex: 1 1 45%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Rankings Overview Section */
.page-ku68-rankings__rankings-overview {
    padding: 80px 0;
    background-color: #0A2239;
}

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

.page-ku68-rankings__ranking-item {
    background-color: #1A3A54; /* Lighter dark blue for item cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ku68-rankings__ranking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(224, 180, 0, 0.3);
}

.page-ku68-rankings__ranking-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-ku68-rankings__ranking-title {
    color: #E0B400; /* Gold for ranking titles */
    font-size: 1.5em;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-ku68-rankings__ranking-description {
    color: #D3D3D3;
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
}

.page-ku68-rankings__detail-button {
    display: inline-block;
    background-color: #E0B400; /* Gold button */
    color: #0A2239; /* Dark blue text on gold */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-ku68-rankings__detail-button:hover {
    background-color: #F5D74E; /* Lighter gold on hover */
}

/* Methodology Section */
.page-ku68-rankings__methodology-section {
    padding: 80px 0;
    background-color: #1A3A54;
}

.page-ku68-rankings__methodology-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-ku68-rankings__methodology-list li {
    background-color: #0A2239; /* Dark blue for list items */
    padding: 20px;
    border-left: 5px solid #E0B400; /* Gold accent */
    border-radius: 5px;
    font-size: 1.1em;
    color: #D3D3D3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-ku68-rankings__methodology-list strong {
    color: #E0B400;
}

/* Responsible Gambling Section */
.page-ku68-rankings__responsible-gambling {
    padding: 80px 0;
    background-color: #0A2239;
}

.page-ku68-rankings__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.page-ku68-rankings__tips-list li {
    background-color: #1A3A54;
    padding: 20px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #F8F8F8;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-left: 40px;
}

.page-ku68-rankings__tips-list li::before {
    content: '✓';
    color: #E0B400;
    font-size: 1.5em;
    position: absolute;
    left: 10px;
    top: 15px;
}

/* FAQ Section */
.page-ku68-rankings__faq-section {
    padding: 80px 0;
    background-color: #1A3A54;
}

.page-ku68-rankings__faq-item {
    background-color: #0A2239;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ku68-rankings__faq-question {
    color: #E0B400; /* Gold for FAQ questions */
    font-size: 1.3em;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-ku68-rankings__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-ku68-rankings__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-ku68-rankings__faq-answer {
    color: #D3D3D3;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    padding-top: 0;
}

.page-ku68-rankings__faq-answer.active {
    max-height: 200px; /* Adjust based on typical answer length */
    padding-top: 10px;
}

/* Floating Ad */
.page-ku68-rankings__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #E0B400; /* Gold background for ad */
    color: #0A2239; /* Dark blue text on gold */
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: page-ku68-rankings__fadeInUp 0.5s ease-out;
}

.page-ku68-rankings__floating-ad-close {
    background: none;
    border: none;
    color: #0A2239;
    font-size: 1.8em;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
    line-height: 1;
}

.page-ku68-rankings__floating-ad-text {
    margin: 0;
    font-weight: bold;
    font-size: 1.1em;
}

.page-ku68-rankings__floating-ad-button {
    background-color: #0A2239; /* Dark blue button on gold ad */
    color: #E0B400; /* Gold text on dark blue */
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-ku68-rankings__floating-ad-button:hover {
    background-color: #2C5274; /* Lighter dark blue on hover */
}

@keyframes page-ku68-rankings__fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-ku68-rankings__hero-title {
        font-size: 2.5em;
    }
    .page-ku68-rankings__hero-description {
        font-size: 1em;
    }
    .page-ku68-rankings__section-title {
        font-size: 2em;
    }
    .page-ku68-rankings__intro-content {
        flex-direction: column;
    }
    .page-ku68-rankings__intro-content p,
    .page-ku68-rankings__intro-image {
        flex: 1 1 100%;
    }
    .page-ku68-rankings__ranking-list,
    .page-ku68-rankings__methodology-list,
    .page-ku68-rankings__tips-list {
        grid-template-columns: 1fr;
    }
    .page-ku68-rankings__floating-ad {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        flex-direction: column;
        text-align: center;
        padding: 15px;
        gap: 10px;
    }
    .page-ku68-rankings__floating-ad-close {
        top: 5px;
        right: 5px;
    }
}

@media (max-width: 480px) {
    .page-ku68-rankings__hero-title {
        font-size: 2em;
    }
    .page-ku68-rankings__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-ku68-rankings__section-title {
        font-size: 1.8em;
    }
    .page-ku68-rankings__ranking-title {
        font-size: 1.3em;
    }
}