/* style/lottery.css */

/* General styles for the page-lottery container */
.page-lottery {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A192F; /* Primary dark background */
    line-height: 1.6;
}

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

/* Section styling */
.page-lottery__section {
    padding: 60px 0;
    text-align: center;
}

.page-lottery__section:nth-child(even) {
    background-color: #0F2038; /* Slightly lighter dark blue for contrast */
}

.page-lottery__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for titles */
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery__section-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #E0E0E0; /* Light gray for body text */
}

/* Buttons */
.page-lottery__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin: 10px;
}

.page-lottery__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A192F; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-lottery__btn--primary:hover {
    background-color: #E0B500; /* Darker gold on hover */
    color: #000;
    transform: translateY(-3px);
}

.page-lottery__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text on dark background */
    border: 2px solid #FFD700;
}

.page-lottery__btn--secondary:hover {
    background-color: #FFD700; /* Gold background on hover */
    color: #0A192F; /* Dark blue text on gold */
    transform: translateY(-3px);
}

.page-lottery__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Hero Section */
.page-lottery__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0A192F 0%, #1A2A40 100%); /* Dark blue gradient */
    min-height: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-lottery__hero-content {
    max-width: 900px;
    z-index: 1;
}

.page-lottery__hero-title {
    font-size: 4em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-lottery__hero-description {
    font-size: 1.3em;
    color: #F0F0F0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-lottery__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-lottery__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15; /* Subtle background image */
    overflow: hidden;
    z-index: 0;
}

.page-lottery__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) blur(5px);
    transform: scale(1.05);
}


/* Introduction Section */
.page-lottery__introduction .page-lottery__section-image {
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Game Types Section */
.page-lottery__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-lottery__game-item {
    background-color: #1A2A40; /* Darker blue for game items */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-lottery__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-lottery__game-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery__game-description {
    font-size: 1em;
    color: #C0C0C0;
}

.page-lottery__image--wide {
    max-width: 100%;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Betting Tips Section */
.page-lottery__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-lottery__tip-item {
    background-color: #1A2A40;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-lottery__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-lottery__tip-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-lottery__tip-description {
    font-size: 1em;
    color: #C0C0C0;
}

/* Responsible Gaming Section */
.page-lottery__responsible-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 40px auto;
    text-align: left;
}

.page-lottery__responsible-list li {
    background-color: #1A2A40;
    padding: 15px 25px;
    margin-bottom: 15px;
    border-left: 5px solid #FFD700;
    border-radius: 5px;
    font-size: 1.1em;
    color: #E0E0E0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* App Promo Section */
.page-lottery__app-promo {
    background: linear-gradient(90deg, #0A192F 0%, #1A2A40 100%);
    padding: 80px 0;
}

.page-lottery__app-promo-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-lottery__app-text-wrapper {
    flex: 1;
}

.page-lottery__app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-lottery__app-features li {
    font-size: 1.1em;
    color: #E0E0E0;
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.page-lottery__app-features li::before {
    content: '✓';
    color: #FFD700;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
}

.page-lottery__app-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-lottery__app-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Why Choose Section */
.page-lottery__advantages-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-lottery__advantages-list li {
    background-color: #1A2A40;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    font-size: 1.1em;
    color: #E0E0E0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-lottery__advantages-list li strong {
    color: #FFD700;
}

.page-lottery__cta-final {
    margin-top: 50px;
    padding: 40px;
    background-color: #1A2A40;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-lottery__cta-text {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 30px;
    font-weight: bold;
}

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

.page-lottery__detail-item {
    background-color: #1A2A40;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-lottery__detail-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-lottery__detail-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-lottery__detail-title a:hover {
    color: #E0B500;
    text-decoration: underline;
}

.page-lottery__detail-description {
    font-size: 0.95em;
    color: #C0C0C0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Animation for sections */
.page-lottery--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.page-lottery--fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-lottery__hero-title {
        font-size: 3em;
    }
    .page-lottery__section-title {
        font-size: 2.2em;
    }
    .page-lottery__app-promo-content {
        flex-direction: column;
        text-align: center;
    }
    .page-lottery__app-text-wrapper,
    .page-lottery__app-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-lottery__app-features {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .page-lottery__hero {
        padding: 60px 20px;
        min-height: 500px;
    }
    .page-lottery__hero-title {
        font-size: 2.5em;
    }
    .page-lottery__hero-description {
        font-size: 1.1em;
    }
    .page-lottery__section-title {
        font-size: 1.8em;
    }
    .page-lottery__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-lottery__game-grid,
    .page-lottery__tips-grid,
    .page-lottery__advantages-list,
    .page-lottery__detail-grid {
        grid-template-columns: 1fr;
    }
    .page-lottery__responsible-list li {
        font-size: 1em;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-lottery__hero-title {
        font-size: 2em;
    }
    .page-lottery__hero-description {
        font-size: 1em;
    }
    .page-lottery__hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }
    .page-lottery__btn {
        width: 80%;
        max-width: 280px;
        margin: 5px auto;
    }
    .page-lottery__section-title {
        font-size: 1.5em;
    }
    .page-lottery__section-text {
        font-size: 0.95em;
    }
}