:root {
    --phfun-primary: #F2C14E;
    --phfun-secondary: #FFD36B;
    --phfun-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --phfun-card-bg: #111111;
    --phfun-background: #0A0A0A;
    --phfun-text-main: #FFF6D6;
    --phfun-border: #3A2A12;
    --phfun-glow: #FFD36B;
    --phfun-dark-text: #333333; /* For sections with light backgrounds */
    --phfun-light-text: #ffffff; /* For sections with dark backgrounds */
}

.page-register {
    background-color: var(--phfun-background);
    color: var(--phfun-text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-register__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-register__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image, 16:9 aspect for 1200 width */
}

.page-register__hero-content {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(10, 10, 10, 0.8);
    border-radius: 8px;
    margin-top: -80px; /* Overlap slightly for visual effect, but text is below image */
    position: relative;
    z-index: 1;
    max-width: 800px;
    box-sizing: border-box;
    border: 1px solid var(--phfun-border);
}

.page-register__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--phfun-secondary);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-register__hero-description {
    font-size: 1.2em;
    color: var(--phfun-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-register__btn-primary {
    background: var(--phfun-button-gradient);
    color: var(--phfun-light-text);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-register__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

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