/* style/player-stories.css */

/* Base styles for the player stories page */
.page-player-stories {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0; /* Light grey for general text on dark background */
    background-color: #0A192F; /* Primary dark blue background */
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.page-player-stories__hero {
    background: linear-gradient(135deg, #0A192F, #1A3A5F); /* Dark blue gradient */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.page-player-stories__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Overlay for readability */
    z-index: 1;
}

.page-player-stories__hero .page-player-stories__container {
    position: relative;
    z-index: 2;
}

.page-player-stories__title {
    font-size: 3.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFD700; /* Golden yellow for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-player-stories__subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-player-stories__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Golden yellow button */
    color: #0A192F; /* Dark blue text on button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
}

.page-player-stories__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-player-stories__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-player-stories__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

/* General Section Styling */
.page-player-stories__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-player-stories__section:last-of-type {
    border-bottom: none;
}

.page-player-stories__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Golden yellow for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-player-stories__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-player-stories__introduction p,
.page-player-stories__community-values p,
.page-player-stories__responsible-gaming p,
.page-player-stories__cta-final p,
.page-player-stories__disclaimer {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #cccccc; /* Slightly lighter grey for paragraph text */
}

.page-player-stories__introduction strong,
.page-player-stories__community-values strong,
.page-player-stories__responsible-gaming strong,
.page-player-stories__cta-final strong {
    color: #FFD700; /* Highlight keywords */
}

/* Featured Stories Grid */
.page-player-stories__featured-stories {
    background-color: #1A3A5F; /* Slightly lighter dark blue background for contrast */
}

.page-player-stories__story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-player-stories__story-card {
    background-color: #0A192F;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-player-stories__story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-player-stories__story-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

.page-player-stories__story-card h3 {
    font-size: 1.5em;
    color: #FFD700;
    padding: 20px 20px 10px;
    margin: 0;
    font-weight: bold;
}

.page-player-stories__story-description {
    font-size: 1em;
    color: #cccccc;
    padding: 0 20px 20px;
    flex-grow: 1; /* Make description take up available space */
}

.page-player-stories__button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 20px 20px;
    align-self: flex-start; /* Align button to start within flex container */
}

.page-player-stories__button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Community Values Section */
.page-player-stories__community-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 40px auto 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid #FFD700;
}

/* CTA Final Section */
.page-player-stories__cta-final {
    text-align: center;
    background-color: #0A192F;
    padding-bottom: 80px;
}

.page-player-stories__cta-buttons {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-player-stories__cta-button--primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-player-stories__cta-button--primary:hover {
    background-color: #e6c200;
}

.page-player-stories__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-player-stories__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
}

.page-player-stories__cta-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 50px auto 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFD700;
}

.page-player-stories__disclaimer {
    font-size: 0.9em;
    color: #999;
    margin-top: 30px;
}

/* Animation for scroll-in effect */
.page-player-stories--hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.page-player-stories--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-player-stories__title {
        font-size: 2.8em;
    }
    .page-player-stories__subtitle {
        font-size: 1.2em;
    }
    .page-player-stories__section-title {
        font-size: 2em;
    }
    .page-player-stories__story-card h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-player-stories__hero {
        padding: 60px 0;
        min-height: 350px;
    }
    .page-player-stories__title {
        font-size: 2.2em;
    }
    .page-player-stories__subtitle {
        font-size: 1em;
    }
    .page-player-stories__section {
        padding: 40px 0;
    }
    .page-player-stories__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-player-stories__introduction p,
    .page-player-stories__community-values p,
    .page-player-stories__responsible-gaming p,
    .page-player-stories__cta-final p,
    .page-player-stories__disclaimer {
        font-size: 1em;
    }
    .page-player-stories__story-grid {
        grid-template-columns: 1fr;
    }
    .page-player-stories__story-image {
        height: 200px;
    }
    .page-player-stories__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-player-stories__cta-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .page-player-stories__hero {
        padding: 40px 0;
        min-height: 300px;
    }
    .page-player-stories__title {
        font-size: 1.8em;
    }
    .page-player-stories__subtitle {
        font-size: 0.9em;
    }
    .page-player-stories__section {
        padding: 30px 0;
    }
    .page-player-stories__section-title {
        font-size: 1.5em;
    }
    .page-player-stories__story-card h3 {
        font-size: 1.2em;
    }
    .page-player-stories__button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-player-stories__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}