/* style/win79-community-event-calendar.css */

:root {
    --page-win79-primary-color: #FFD700;
    --page-win79-secondary-color: #2C3E50;
    --page-win79-accent-color: #E74C3C;
    --page-win79-text-light: #F0F0F0;
    --page-win79-text-dark: #1A1A1A;
    --page-win79-background-light: #F9F9F9;
    --page-win79-background-dark: #1C2833;
    --page-win79-border-color: #4A5A6A;
}

.page-win79-community-event-calendar {
    font-family: 'Arial', sans-serif;
    color: var(--page-win79-text-dark);
    background-color: var(--page-win79-background-light);
    line-height: 1.6;
}

.page-win79-community-event-calendar .highlight {
    color: var(--page-win79-accent-color);
    font-weight: bold;
}

.page-win79-community-event-calendar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-win79-community-event-calendar__section {
    padding: 60px 0;
    text-align: center;
}

.page-win79-community-event-calendar__section:nth-child(even) {
    background-color: var(--page-win79-background-dark);
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__section:nth-child(even) .highlight {
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-win79-secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__section-title {
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-win79-primary-color);
    border-radius: 2px;
}

.page-win79-community-event-calendar__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-win79-community-event-calendar__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.page-win79-community-event-calendar__btn--primary {
    background-color: var(--page-win79-primary-color);
    color: var(--page-win79-text-dark);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-win79-community-event-calendar__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

.page-win79-community-event-calendar__btn--secondary {
    background-color: var(--page-win79-secondary-color);
    color: var(--page-win79-text-light);
    box-shadow: 0 4px 10px rgba(44, 62, 80, 0.4);
}

.page-win79-community-event-calendar__btn--secondary:hover {
    background-color: #23313f;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 62, 80, 0.5);
}

.page-win79-community-event-calendar__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-win79-community-event-calendar__btn--disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
}

.page-win79-community-event-calendar__btn--disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Hero Section */
.page-win79-community-event-calendar__hero {
    background: linear-gradient(135deg, var(--page-win79-secondary-color) 0%, #1A1A1A 100%);
    color: var(--page-win79-text-light);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.page-win79-community-event-calendar__hero-content {
    max-width: 600px;
    text-align: left;
}

.page-win79-community-event-calendar__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-win79-community-event-calendar__hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-win79-community-event-calendar__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 450px;
}

.page-win79-community-event-calendar__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Intro Section Features */
.page-win79-community-event-calendar__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-win79-community-event-calendar__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-win79-community-event-calendar__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-win79-community-event-calendar__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.page-win79-community-event-calendar__feature-item h3 {
    font-size: 1.5em;
    color: var(--page-win79-secondary-color);
    margin-bottom: 10px;
}

.page-win79-community-event-calendar__feature-item p {
    color: #555555;
}

/* Event Filters */
.page-win79-community-event-calendar__event-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.page-win79-community-event-calendar__filter-btn {
    background-color: var(--page-win79-background-dark);
    color: var(--page-win79-text-light);
    border: 1px solid var(--page-win79-border-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.page-win79-community-event-calendar__filter-btn:hover {
    background-color: var(--page-win79-primary-color);
    color: var(--page-win79-text-dark);
    border-color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__filter-btn.active {
    background-color: var(--page-win79-primary-color);
    color: var(--page-win79-text-dark);
    border-color: var(--page-win79-primary-color);
    box-shadow: 0 3px 8px rgba(255, 215, 0, 0.3);
}

/* Event Grid */
.page-win79-community-event-calendar__event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-win79-community-event-calendar__event-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-win79-community-event-calendar__event-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__event-card {
    background-color: var(--page-win79-background-dark);
    color: var(--page-win79-text-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-win79-community-event-calendar__event-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-win79-community-event-calendar__event-content {
    padding: 25px;
}

.page-win79-community-event-calendar__event-title {
    font-size: 1.6em;
    color: var(--page-win79-secondary-color);
    margin-bottom: 10px;
}

.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__event-title {
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__event-date,
.page-win79-community-event-calendar__event-location {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__event-date,
.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__event-location {
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__icon {
    font-size: 1.1em;
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__event-description {
    font-size: 1em;
    color: #444444;
    margin-bottom: 20px;
}

.page-win79-community-event-calendar__section:nth-child(even) .page-win79-community-event-calendar__event-description {
    color: var(--page-win79-text-light);
}

/* How to Join */
.page-win79-community-event-calendar__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-win79-community-event-calendar__step-item {
    background-color: var(--page-win79-background-dark);
    color: var(--page-win79-text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-top: 70px;
}

.page-win79-community-event-calendar__step-number {
    position: absolute;
    top: 20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--page-win79-primary-color);
    color: var(--page-win79-text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.page-win79-community-event-calendar__step-item h3 {
    font-size: 1.5em;
    color: var(--page-win79-primary-color);
    margin-bottom: 10px;
}

.page-win79-community-event-calendar__step-item p {
    font-size: 1em;
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__step-item a {
    color: var(--page-win79-primary-color);
    text-decoration: underline;
}

.page-win79-community-event-calendar__step-item a:hover {
    color: var(--page-win79-accent-color);
}

.page-win79-community-event-calendar__cta-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--page-win79-border-color);
}

.page-win79-community-event-calendar__cta-bottom p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--page-win79-text-dark);
}

.page-win79-community-event-calendar__how-to-join .page-win79-community-event-calendar__cta-bottom p {
    color: var(--page-win79-text-light);
}

/* Responsible Gambling */
.page-win79-community-event-calendar__responsible-gambling {
    background-color: var(--page-win79-background-light);
    color: var(--page-win79-text-dark);
}

.page-win79-community-event-calendar__responsible-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.page-win79-community-event-calendar__responsible-image {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}

.page-win79-community-event-calendar__responsible-content p {
    font-size: 1.05em;
    margin-bottom: 15px;
}

/* Newsletter */
.page-win79-community-event-calendar__newsletter {
    background: linear-gradient(90deg, var(--page-win79-secondary-color) 0%, #1A1A1A 100%);
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__newsletter .page-win79-community-event-calendar__section-title {
    color: var(--page-win79-primary-color);
}

.page-win79-community-event-calendar__newsletter .page-win79-community-event-calendar__section-description {
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-win79-community-event-calendar__form-input {
    padding: 12px 20px;
    border: 1px solid var(--page-win79-border-color);
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    max-width: 350px;
    background-color: var(--page-win79-background-dark);
    color: var(--page-win79-text-light);
}

.page-win79-community-event-calendar__form-input::placeholder {
    color: #999999;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-win79-community-event-calendar__hero {
        flex-direction: column;
        text-align: center;
    }

    .page-win79-community-event-calendar__hero-content {
        text-align: center;
        max-width: 100%;
    }

    .page-win79-community-event-calendar__hero-title {
        font-size: 2.8em;
    }

    .page-win79-community-event-calendar__hero-actions {
        justify-content: center;
    }

    .page-win79-community-event-calendar__hero-image-wrapper {
        max-width: 80%;
    }

    .page-win79-community-event-calendar__section-title {
        font-size: 2.2em;
    }

    .page-win79-community-event-calendar__event-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-win79-community-event-calendar__hero {
        padding: 60px 0;
    }

    .page-win79-community-event-calendar__hero-title {
        font-size: 2.5em;
    }

    .page-win79-community-event-calendar__hero-description {
        font-size: 1.1em;
    }

    .page-win79-community-event-calendar__section {
        padding: 40px 0;
    }

    .page-win79-community-event-calendar__section-title {
        font-size: 2em;
    }

    .page-win79-community-event-calendar__event-filters {
        flex-direction: column;
        align-items: center;
    }

    .page-win79-community-event-calendar__newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .page-win79-community-event-calendar__form-input {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .page-win79-community-event-calendar__hero-title {
        font-size: 2em;
    }

    .page-win79-community-event-calendar__hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .page-win79-community-event-calendar__btn {
        width: 100%;
    }

    .page-win79-community-event-calendar__section-title {
        font-size: 1.8em;
    }

    .page-win79-community-event-calendar__features,
    .page-win79-community-event-calendar__steps {
        grid-template-columns: 1fr;
    }

    .page-win79-community-event-calendar__event-content {
        padding: 15px;
    }

    .page-win79-community-event-calendar__event-title {
        font-size: 1.4em;
    }
}