/* style/no-hu.css */

/* --- General Styles for page-no-hu --- */
.page-no-hu {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly set for clarity, assuming shared.css default */
    line-height: 1.6;
}

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

.page-no-hu__section-title {
    font-size: clamp(28px, 4vw, 42px); /* Responsive H2 font size */
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-no-hu__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* --- Buttons --- */
.page-no-hu__btn-primary,
.page-no-hu__btn-secondary,
.page-no-hu__card-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-no-hu__btn-primary {
    background-color: #C30808; /* Custom color for register/login type buttons */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-no-hu__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-no-hu__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-no-hu__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-no-hu__card-btn {
    background-color: #017439;
    color: #FFFFFF;
    border: 1px solid #017439;
    padding: 10px 20px;
    font-size: 15px;
    width: fit-content; /* Adjust width to content */
    margin-top: 15px;
}

.page-no-hu__card-btn:hover {
    background-color: #005f2f;
    border-color: #005f2f;
}

.page-no-hu__btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.page-no-hu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
}

/* --- Image Styles --- */
.page-no-hu img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

/* --- Hero Section --- */
.page-no-hu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for first content block */
    background-color: #017439; /* Fallback background */
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-no-hu__hero-image {
    width: 100%;
    height: 600px; /* Fixed height for desktop hero image */
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-no-hu__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF;
    max-width: 900px;
    width: 90%;
    z-index: 1; /* Ensure text is above image */
    padding: 20px;
    box-sizing: border-box;
}

.page-no-hu__main-title {
    font-size: clamp(36px, 6vw, 60px); /* Responsive H1 font size */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #FFFF00; /* Custom color for H1 in hero */
}

.page-no-hu__hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: #FFFFFF;
}

/* --- Intro Section --- */
.page-no-hu__intro-section {
    padding: 60px 20px;
    background-color: #017439; /* Dark background for intro */
    color: #FFFFFF;
}

.page-no-hu__intro-section .page-no-hu__section-title {
    color: #FFFF00; /* Yellow title on dark background */
}

.page-no-hu__intro-section .page-no-hu__intro-text {
    font-size: 18px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #f0f0f0;
}

/* --- Why Choose Section --- */
.page-no-hu__why-choose-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

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

.page-no-hu__feature-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-no-hu__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-no-hu__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for feature images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-no-hu__card-title {
    font-size: 24px;
    color: #017439;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-no-hu__card-text {
    font-size: 16px;
    color: #555555;
    line-height: 1.7;
}

/* --- Game Types Section --- */
.page-no-hu__game-types-section {
    padding: 80px 20px;
    background-color: #f0f0f0; /* Medium light background */
}

.page-no-hu__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.page-no-hu__game-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-no-hu__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-no-hu__game-image {
    width: 100%;
    height: 220px; /* Fixed height for game card images */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-no-hu__game-card .page-no-hu__card-title {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-no-hu__game-card .page-no-hu__card-text {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allow text to grow */
}

/* --- How to Play Section --- */
.page-no-hu__how-to-play-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.page-no-hu__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-no-hu__step-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    position: relative;
}

.page-no-hu__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #017439;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-no-hu__step-card .page-no-hu__card-title {
    font-size: 22px;
    color: #017439;
}

.page-no-hu__step-card .page-no-hu__card-text {
    font-size: 16px;
    color: #666666;
}