/* style/news-latest-platform-updates.css */

/* Base styles for the page content container */
.page-news-latest-platform-updates {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color, light enough for dark backgrounds, dark enough for light backgrounds */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for overall page */
}

/* Container for responsive layout */
.page-news-latest-platform-updates__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-news-latest-platform-updates__hero {
    background: linear-gradient(135deg, #2C3E50, #F39C12); /* Gradient from primary to secondary color */
    color: #FFFFFF; /* White text on dark gradient */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-news-latest-platform-updates__hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.3;
    animation: page-news-latest-platform-updates__pulse 15s infinite alternate;
}

@keyframes page-news-latest-platform-updates__pulse {
    0% { transform: scale(0.8); opacity: 0.1; }
    100% { transform: scale(1.2); opacity: 0.4; }
}

.page-news-latest-platform-updates__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* White text for main title */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.page-news-latest-platform-updates__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0; /* Slightly off-white for subtitle */
    position: relative;
    z-index: 1;
}

/* Section Styling */
.page-news-latest-platform-updates__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

.page-news-latest-platform-updates__section:last-of-type {
    border-bottom: none;
}

.page-news-latest-platform-updates__section-title {
    font-size: 2.5em;
    color: #2C3E50; /* Dark text for section titles */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.page-news-latest-platform-updates__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #F39C12; /* Accent line */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-news-latest-platform-updates__description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

/* Feature Grid */
.page-news-latest-platform-updates__feature-grid,
.page-news-latest-platform-updates__security-grid,
.page-news-latest-platform-updates__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-latest-platform-updates__feature-item,
.page-news-latest-platform-updates__security-item,
.page-news-latest-platform-updates__promo-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news-latest-platform-updates__feature-item:hover,
.page-news-latest-platform-updates__security-item:hover,
.page-news-latest-platform-updates__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-news-latest-platform-updates__feature-icon,
.page-news-latest-platform-updates__security-icon,
.page-news-latest-platform-updates__promo-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #F39C12;
}

.page-news-latest-platform-updates__feature-title,
.page-news-latest-platform-updates__security-title,
.page-news-latest-platform-updates__promo-title {
    font-size: 1.5em;
    color: #2C3E50;
    margin-bottom: 15px;
}

.page-news-latest-platform-updates__feature-text,
.page-news-latest-platform-updates__security-text,
.page-news-latest-platform-updates__promo-text {
    color: #666666;
    font-size: 1em;
}

/* Call to Action Blocks */
.page-news-latest-platform-updates__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background-color: #EBF5FB; /* Light blue background for CTA */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-news-latest-platform-updates__cta-text {
    font-size: 1.4em;
    color: #2C3E50;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Buttons */
.page-news-latest-platform-updates__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-news-latest-platform-updates__btn--primary {
    background-color: #F39C12; /* Orange/Gold */
    color: #2C3E50; /* Dark text on orange */
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.page-news-latest-platform-updates__btn--primary:hover {
    background-color: #e08e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.6);
}

.page-news-latest-platform-updates__btn--secondary {
    background-color: #2C3E50; /* Dark blue/grey */
    color: #FFFFFF; /* White text on dark blue */
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.4);
}

.page-news-latest-platform-updates__btn--secondary:hover {
    background-color: #1a2b3c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.6);
}

.page-news-latest-platform-updates__btn--tertiary {
    background-color: transparent;
    border: 2px solid #2C3E50;
    color: #2C3E50;
    padding: 13px 28px;
}

.page-news-latest-platform-updates__btn--tertiary:hover {
    background-color: #2C3E50;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.page-news-latest-platform-updates__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 25px;
    background-color: #F39C12;
    color: #2C3E50;
    margin-top: 15px;
}

.page-news-latest-platform-updates__btn--small:hover {
    background-color: #e08e0b;
}

.page-news-latest-platform-updates__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* App Download Section */
.page-news-latest-platform-updates__app-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-news-latest-platform-updates__app-qr {
    text-align: center;
    flex-shrink: 0;
}

.page-news-latest-platform-updates__qr-code {
    width: 200px;
    height: 200px;
    border: 5px solid #F39C12;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: contain;
}

.page-news-latest-platform-updates__app-qr p {
    font-size: 1.1em;
    color: #2C3E50;
    font-weight: bold;
}

.page-news-latest-platform-updates__app-details {
    flex-grow: 1;
    max-width: 500px;
    text-align: left;
}

.page-news-latest-platform-updates__app-title {
    font-size: 1.8em;
    color: #2C3E50;
    margin-bottom: 20px;
}

.page-news-latest-platform-updates__app-title--login {
    margin-top: 30px;
}

.page-news-latest-platform-updates__app-steps {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 30px;
    color: #555555;
    font-size: 1.05em;
}

.page-news-latest-platform-updates__app-steps li {
    margin-bottom: 10px;
}

/* Responsible Gambling Section */
.page-news-latest-platform-updates__responsible-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.page-news-latest-platform-updates__responsible-list li {
    background-color: #FFFFFF;
    padding: 25px;
    border-left: 5px solid #F39C12;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #555555;
    font-size: 1.05em;
}

.page-news-latest-platform-updates__responsible-list li strong {
    color: #2C3E50;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Final CTA */
.page-news-latest-platform-updates__final-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background-color: #2C3E50;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animation for section fade-in */
.page-news-latest-platform-updates--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-news-latest-platform-updates--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation for image icons */
.page-news-latest-platform-updates--fade-in {
    animation: page-news-latest-platform-updates__fadeInScale 0.6s ease-out forwards;
}

@keyframes page-news-latest-platform-updates__fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-news-latest-platform-updates__hero-title {
        font-size: 2.5em;
    }
    .page-news-latest-platform-updates__hero-subtitle {
        font-size: 1.1em;
    }
    .page-news-latest-platform-updates__section-title {
        font-size: 2em;
    }
    .page-news-latest-platform-updates__feature-grid,
    .page-news-latest-platform-updates__security-grid,
    .page-news-latest-platform-updates__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-news-latest-platform-updates__app-info {
        flex-direction: column;
        text-align: center;
    }
    .page-news-latest-platform-updates__app-details {
        text-align: center;
        max-width: 100%;
    }
    .page-news-latest-platform-updates__app-steps {
        text-align: left;
        margin: 0 auto 30px;
        max-width: 400px; /* Constrain list width for better readability */
    }
}

@media (max-width: 768px) {
    .page-news-latest-platform-updates__hero {
        padding: 60px 15px;
    }
    .page-news-latest-platform-updates__hero-title {
        font-size: 2em;
    }
    .page-news-latest-platform-updates__hero-subtitle {
        font-size: 1em;
    }
    .page-news-latest-platform-updates__section {
        padding: 40px 0;
    }
    .page-news-latest-platform-updates__section-title {
        font-size: 1.8em;
    }
    .page-news-latest-platform-updates__description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-news-latest-platform-updates__cta-block {
        padding: 30px;
    }
    .page-news-latest-platform-updates__cta-text {
        font-size: 1.2em;
    }
    .page-news-latest-platform-updates__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news-latest-platform-updates__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-news-latest-platform-updates__responsible-list {
        grid-template-columns: 1fr;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-news-latest-platform-updates__hero-title {
        font-size: 1.8em;
    }
    .page-news-latest-platform-updates__hero-subtitle {
        font-size: 0.9em;
    }
    .page-news-latest-platform-updates__section-title {
        font-size: 1.5em;
    }
    .page-news-latest-platform-updates__feature-item,
    .page-news-latest-platform-updates__security-item,
    .page-news-latest-platform-updates__promo-item {
        padding: 20px;
    }
    .page-news-latest-platform-updates__feature-title,
    .page-news-latest-platform-updates__security-title,
    .page-news-latest-platform-updates__promo-title {
        font-size: 1.3em;
    }
    .page-news-latest-platform-updates__app-qr {
        order: -1; /* QR code moves to top */
    }
    .page-news-latest-platform-updates__qr-code {
        width: 150px;
        height: 150px;
    }
    .page-news-latest-platform-updates__final-cta {
        padding: 30px;
    }
}