:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-color: #e0e0e0;
    --bg-light-gray: #f9f9f9;
}

/* Base styles for the lottery page content */
.page-lottery {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background: var(--secondary-color); /* Body background is white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-lottery__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-lottery__section-text {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

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

/* Background colors for sections */
.page-lottery__light-bg {
    background-color: var(--secondary-color); /* White */
    color: var(--text-dark); /* Dark text */
    padding: 60px 0;
}

.page-lottery__dark-bg {
    background-color: var(--primary-color); /* Primary blue */
    color: var(--text-light); /* Light text */
    padding: 60px 0;
}

.page-lottery__dark-bg .page-lottery__section-title {
    color: var(--text-light);
}

.page-lottery__dark-bg .page-lottery__section-text {
    color: var(--text-light);
}

/* Hero Section */
.page-lottery__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #36b9f1 100%); /* Lighter blue gradient */
    overflow: hidden;
}

.page-lottery__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px; /* Internal padding for content */
}

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

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

.page-lottery__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light); /* White text for hero section */
}

.page-lottery__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-lottery__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-lottery__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--login-color); /* Login orange */
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-lottery__cta-button:hover {
    background: #e06c00; /* Slightly darker orange */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-lottery__intro-section .page-lottery__section-text a {
    color: var(--primary-color);
    text-decoration: underline;
}
.page-lottery__intro-section .page-lottery__section-text a:hover {
    color: var(--login-color);
}


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

.page-lottery__type-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-lottery__type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-lottery__type-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-lottery__type-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-light); /* White text for dark section */
}

.page-lottery__type-description {
    font-size: 16px;
    color: var(--text-light); /* White text for dark section */
}

.page-lottery__type-description a {
    color: var(--secondary-color); /* White link for dark background */
    text-decoration: underline;
}
.page-lottery__type-description a:hover {
    color: var(--login-color);
}


/* Guide Section */
.page-lottery__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-lottery__guide-item {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-lottery__guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-lottery__guide-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-lottery__guide-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-lottery__guide-description {
    font-size: 16px;
    color: var(--text-dark);
}

.page-lottery__guide-description a {
    color: var(--primary-color);
    text-decoration: underline;
}
.page-lottery__guide-description a:hover {
    color: var(--login-color);
}


/* Advantages Section */
.page-lottery__advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-lottery__advantage-item {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    color: var(--text-light);
}

.page-lottery__advantage-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.page-lottery__advantage-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-lottery__advantage-description {
    font-size: 16px;
    color: var(--text-light);
}

.page-lottery__advantage-description a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.page-lottery__advantage-description a:hover {
    color: var(--login-color);
}


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

.page-lottery__promotion-card {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-lottery__promotion-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-lottery__promotion-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-lottery__promotion-description {
    font-size: 16px;
    color: var(--text-dark);
}