/* style/register.css */

/* Base styles for the register page */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherit from body or explicitly set if needed */
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #1a1a2e;
    color: #ffffff;
    overflow: hidden; /* Prevent content overflow */
}

.page-register__hero-section .page-register__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-register__hero-content {
    max-width: 800px;
    text-align: center;
}

.page-register__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-register__hero-image-wrapper {
    width: 100%;
    max-width: 900px; /* Adjust max-width for hero image */
    margin-top: 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-register__why-join-section,
.page-register__steps-section,
.page-register__security-section,
.page-register__bonuses-section,
.page-register__explore-games-section,
.page-register__faq-section {
    padding: 60px 20px;
    background-color: #1a1a2e;
    color: #ffffff;
    overflow: hidden;
}

.page-register__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for main titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    opacity: 0.85;
}

/* Buttons */
.page-register__btn-primary,
.page-register__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-register__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border-color: #26A9E0;
}

.page-register__btn-primary:hover {
    background-color: #1e87c0; /* Slightly darker on hover */
    border-color: #1e87c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
}

.page-register__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand color text on white background */
    border-color: #26A9E0;
}

.page-register__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

.page-register__btn-large {
    padding: 16px 40px;
    font-size: 1.2em;
}

.page-register__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

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

.page-register__feature-card,
.page-register__bonus-card,
.page-register__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle white background for cards */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Ensure image/content doesn't overflow */
}

.page-register__feature-card:hover,
.page-register__bonus-card:hover,
.page-register__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-register__feature-image,
.page-register__bonus-image,
.page-register__game-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size for content images */
    min-height: 200px;
    object-fit: cover;
}

.page-register__card-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-register__card-text {
    font-size: 1em;
    opacity: 0.8;
    flex-grow: 1; /* Allow text to take available space */
    margin-bottom: 20px;
}

.page-register__card-link {
    color: #26A9E0; /* Brand color for links within cards */
    text-decoration: none;
    font-weight: bold;
}

.page-register__card-link:hover {
    text-decoration: underline;
}

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

.page-register__step-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for steps */
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-register__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-register__step-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-register__step-description {
    font-size: 1em;
    opacity: 0.8;
}

/* Security Section */
.page-register__security-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-register__security-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-register__security-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-register__security-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-register__list-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 8px;
}