/* style/register.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-color-login: #EA7C07;
    --background-light: #FFFFFF;
    --background-dark: #1a1a1a; /* A darker shade for contrast with light text */
    --border-color: #e0e0e0;
}

/* Base styles for the register page content */
.page-register {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-light); /* Assuming body background is light */
}

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

.page-register__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-register__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
}

/* Button styles */
.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__hero-button,
.page-register__submit-button,
.page-register a[class*="button"],
.page-register a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-register__btn-primary,
.page-register__hero-button,
.page-register__submit-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-register__btn-primary:hover,
.page-register__hero-button:hover,
.page-register__submit-button:hover {
    background-color: #1e8bc3; /* Darker shade of #26A9E0 */
    border-color: #1e8bc3; /* Darker shade of #26A9E0 */
}

.page-register__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-register__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

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

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

.page-register__cta-center {
    text-align: center;
}

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Use var(--header-offset) for spacing below the fixed header. */
    /* If shared.css already applies padding-top to body, this might be redundant or require adjustment. */
    padding-top: var(--header-offset, 120px); 
}

.page-register__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-register__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.page-register__hero-content {
    position: relative;
    z-index: 1;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
}

.page-register__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-register__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Form Section */
.page-register__form-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-register__registration-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__form-group {
    margin-bottom: 20px;
}

.page-register__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.page-register__form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

.page-register__form-input::placeholder {
    color: #aaa;
}

.page-register__checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.page-register__form-checkbox {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.page-register__form-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-register__submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* Benefits Section */
.page-register__benefits-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description {
    color: var(--text-light);
}

.page-register__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register__benefit-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on primary background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-register__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--secondary-color);
}

.page-register__benefit-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: bold;
}

.page-register__benefit-text {
    font-size: 1em;
    color: var(--text-light);
}

/* Games Showcase Section */
.page-register__games-showcase-section {
    padding: 80px 0;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-register__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-register__game-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-register__game-card:hover {
    transform: translateY(-5px);
}

.page-register__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-register__game-title {
    font-size: 1.4em;
    padding: 15px 20px 0;
    color: var(--primary-color);
    font-weight: bold;
}

.page-register__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-register__game-title a:hover {
    text-decoration: underline;
}

.page-register__game-text {
    padding: 0 20px 20px;
    color: #555;
    font-size: 0.95em;
}

/* Promotions Section */
.page-register__promotions-section {
    padding: 80px 0;
    background-color: var(--background-dark); /* Using a darker background for this section */
    color: var(--text-light);
}

.page-register__promotions-section .page-register__section-title,
.page-register__promotions-section .page-register__section-description {
    color: var(--text-light);
}

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