/* style/player-stories.css */

/* Base styles for the page */
.page-player-stories {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A2239; /* Main background color */
    line-height: 1.6;
}

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

.page-player-stories__container--center {
    text-align: center;
}

.page-player-stories__section {
    padding: 60px 0;
}

.page-player-stories__section:nth-child(even) {
    background-color: #1a3a5a; /* Slightly lighter dark blue for alternating sections */
}

.page-player-stories__section-title {
    color: #FFD700; /* Gold for main titles */
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-player-stories__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
}

.page-player-stories__text--small {
    font-size: 0.9em;
    opacity: 0.8;
}

.page-player-stories__link-inline {
    color: #FFD700; /* Gold for inline links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-player-stories__link-inline:hover {
    color: #f0c400;
    text-decoration: underline;
}

.page-player-stories__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, transform 0.2s ease;
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

.page-player-stories__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2239; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-player-stories__btn--primary:hover {
    background-color: #f0c400;
    color: #000;
    transform: translateY(-2px);
}

.page-player-stories__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-player-stories__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A2239;
    transform: translateY(-2px);
}

.page-player-stories__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-player-stories__btn--large {
    padding: 15px 30px;
    font-size: 1.2em;
}

.highlight {
    color: #FFD700;
}

.highlight-text {
    color: #FFD700;
    font-weight: bold;
}

/* Hero Section */
.page-player-stories__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #0A2239;
}

.page-player-stories__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-player-stories__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 34, 57, 0.7), rgba(10, 34, 57, 0.9));
    z-index: 2;
}

.page-player-stories__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 800px;
    padding: 20px;
}

.page-player-stories__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-player-stories__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Featured Stories Section */
.page-player-stories__featured-stories .page-player-stories__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-player-stories__story-card {
    background-color: #1a3a5a; /* Darker background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-player-stories__story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-player-stories__story-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-player-stories__story-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-player-stories__story-title {
    color: #FFD700; /* Gold for story titles */
    font-size: 1.6em;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-player-stories__story-excerpt {
    font-size: 1em;
    color: #CCCCCC;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-player-stories__story-content .page-player-stories__btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Tips and Strategies Section */
.page-player-stories__tips-strategies .page-player-stories__text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-player-stories__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-player-stories__tip-card {
    background-color: #0A2239; /* Primary dark blue for tips */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFD700; /* Gold accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-player-stories__tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-player-stories__tip-title {
    color: #FFD700; /* Gold for tip titles */
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-player-stories__tip-text {
    color: #E0E0E0;
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-player-stories__tip-card .page-player-stories__btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Responsible Gaming Section */
.page-player-stories__responsible-gaming .page-player-stories__text {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.page-player-stories__list {
    list-style: none;
    padding: 0;
    margin: 30px auto 40px auto;
    max-width: 600px;
}

.page-player-stories__list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #E0E0E0;
}

.page-player-stories__icon {
    color: #FFD700;
    margin-right: 15px;
    font-size: 1.3em;
}

.page-player-stories__responsible-gaming .page-player-stories__btn {
    display: block;
    margin: 0 auto;
    max-width: 300px;
}

/* CTA Section */
.page-player-stories__cta {
    text-align: center;
}

.page-player-stories__cta .page-player-stories__text {
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* Testimonials Section */
.page-player-stories__testimonials .page-player-stories__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-player-stories__testimonial-card {
    background-color: #1a3a5a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-top: 5px solid #FFD700;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-player-stories__testimonial-text {
    font-style: italic;
    color: #CCCCCC;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-player-stories__testimonial-author {
    display: block;
    text-align: right;
    font-weight: bold;
    color: #FFD700;
    font-size: 1em;
}

/* FAQ Section */
.page-player-stories__faq .page-player-stories__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-player-stories__accordion {
    max-width: 800px;
    margin: 0 auto;
}

.page-player-stories__accordion-item {
    background-color: #0A2239;
    border: 1px solid #FFD700;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-player-stories__accordion-header {
    background-color: #1a3a5a;
    color: #FFD700;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-player-stories__accordion-header:hover {
    background-color: #2c547a;
}

.page-player-stories__accordion-header::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-player-stories__accordion-header.active::after {
    content: '\2212'; /* Minus sign */
    transform: rotate(180deg);
}

.page-player-stories__accordion-content {
    padding: 0 25px;
    background-color: #0A2239;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-player-stories__accordion-content p {
    color: #E0E0E0;
    padding: 15px 0;
    margin: 0;
    font-size: 1em;
}

/* Final CTA Section */
.page-player-stories__final-cta .page-player-stories__btn {
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-player-stories__hero-title {
        font-size: 2.8em;
    }
    .page-player-stories__hero-description {
        font-size: 1.2em;
    }
    .page-player-stories__section-title {
        font-size: 2.2em;
    }
    .page-player-stories__story-grid,
    .page-player-stories__tips-grid,
    .page-player-stories__testimonial-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-player-stories__hero {
        height: 400px;
    }
    .page-player-stories__hero-title {
        font-size: 2.2em;
    }
    .page-player-stories__hero-description {
        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__story-content,
    .page-player-stories__tip-card,
    .page-player-stories__testimonial-card {
        padding: 20px;
    }
    .page-player-stories__story-title {
        font-size: 1.4em;
    }
    .page-player-stories__tip-title {
        font-size: 1.2em;
    }
    .page-player-stories__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-player-stories__accordion-content p {
        padding: 10px 0;
    }
    .page-player-stories__btn--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-player-stories__hero {
        height: 350px;
    }
    .page-player-stories__hero-title {
        font-size: 1.8em;
    }
    .page-player-stories__hero-description {
        font-size: 0.9em;
    }
    .page-player-stories__section-title {
        font-size: 1.5em;
    }
    .page-player-stories__btn {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .page-player-stories__story-grid,
    .page-player-stories__tips-grid,
    .page-player-stories__testimonial-grid {
        grid-template-columns: 1fr;
    }
    .page-player-stories__list li {
        font-size: 1em;
    }
    .page-player-stories__icon {
        font-size: 1.1em;
    }
}