/* style/register.css */

/* Custom CSS Variables for this page if needed, based on global --primary-color and --secondary-color */
:root {
    --page-primary-color: #26A9E0; /* Main brand color */
    --page-secondary-color: #FFFFFF; /* Accent/background color */
    --page-login-color: #EA7C07; /* Specific color for login elements */
    --page-text-dark: #333333;
    --page-text-light: #ffffff;
    --page-bg-light: #f9f9f9;
    --page-border-color: #e0e0e0;
}

.page-register {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-text-dark); /* Default text color for light background */
    background: var(--page-secondary-color); /* Matches body background from shared.css */
}

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

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

.page-register__section {
    padding: 60px 0;
    text-align: center;
}

.page-register__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--page-primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-register__section-title--light {
    color: var(--page-text-light);
}

.page-register__section-intro {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-dark);
}

.page-register__section-intro--light {
    color: var(--page-text-light);
}

.page-register__keyword {
    font-weight: bold;
    color: var(--page-primary-color);
}

.page-register__dark-bg {
    background: var(--page-primary-color); /* Brand primary color as dark background */
    color: var(--page-text-light);
}

.page-register__light-bg {
    background: var(--page-bg-light);
    color: var(--page-text-dark);
}

.page-register__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--page-primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-register__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.page-register__list li {
    margin-bottom: 10px;
    font-size: 16px;
}

/* --- Buttons --- */
.page-register__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none; /* Reset button border */
}

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

.page-register__btn-primary:hover {
    background: #1f8bbf; /* A slightly darker blue */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-register__btn-secondary:hover {
    background: var(--page-primary-color);
    color: var(--page-text-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-register__button-group--center {
    justify-content: center;
}

/* --- Hero Section --- */
.page-register__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--page-primary-color) 0%, #4facfe 100%); /* Example gradient */
    color: var(--page-text-light);
    overflow: hidden; /* Prevent content overflow */
}

.page-register__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-register__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-register__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-register__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-register__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--page-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.page-register__hero-description {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* --- Why Fun88 Section --- */
.page-register__why-fun88 {
    background: var(--page-secondary-color);
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.page-register__feature-item {
    background: var(--page-secondary-color);
    border: 1px solid var(--page-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}