/* style/resources.css */

/* Base Styles for the Page */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFCC00; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #CC0000 0%, #880000 100%);
    color: #ffffff;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFCC00;
    font-weight: bold;
}

.page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f0f0;
}

.page-resources__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-resources__btn-primary {
    background-color: #FFCC00;
    color: #CC0000;
    border: 2px solid #FFCC00;
}

.page-resources__btn-primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-3px);
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-resources__btn-secondary:hover {
    background-color: #FFCC00;
    color: #CC0000;
    transform: translateY(-3px);
}

.page-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15; /* Subtle background image */
    overflow: hidden;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.7); /* Darken image slightly */
}

/* General Section Styling */
.page-resources__introduction-section,
.page-resources__guide-section,
.page-resources__registration-section,
.page-resources__security-section,
.page-resources__games-section,
.page-resources__promotions-section,
.page-resources__support-section,
.page-resources__faq-section,
.page-resources__cta-final-section {
    padding: 80px 0;
}

.page-resources__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body bg for contrast */
    color: #ffffff;
}

/* Features Grid */
.page-resources__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__feature-icon {
    width: 100%;
    max-width: 250px; /* Ensure images are not too wide */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources__feature-title {
    font-size: 1.8em;
    color: #FFCC00;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources__feature-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Guide Steps */
.page-resources__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__step-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #CC0000;
}

.page-resources__step-title {
    font-size: 1.5em;
    color: #CC0000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources__step-text {
    font-size: 1em;
    color: #cccccc;
}

/* CTA Block within sections */
.page-resources__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

/* Security Features */
.page-resources__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}