.page-1win-polska {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

.page-1win-polska__section-title {
    font-size: 2.5em;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    font-weight: bold;
}

.page-1win-polska__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

/* Hero Section */
.page-1win-polska__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small padding to ensure content is not directly at the edge, relying on body padding for main offset */
}

.page-1win-polska__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__hero-content {
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    max-width: 90%;
}

.page-1win-polska__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #ffd700; /* Gold color for emphasis */
}

.page-1win-polska__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-1win-polska__hero-cta-button {
    display: inline-block;
    background-color: #007bff; /* Blue for primary action */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
}

.page-1win-polska__hero-cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-1win-polska__hero-cta-button--secondary {
    background-color: #28a745; /* Green for secondary action */
}

.page-1win-polska__hero-cta-button--secondary:hover {
    background-color: #218838;
}

/* Introduction Section */
.page-1win-polska__introduction-section {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

.page-1win-polska__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__feature-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-1win-polska__feature-item:hover {
    transform: translateY(-5px);
}

.page-1win-polska__feature-icon {
    width: 250px; /* Min 200x200 */
    height: 250px; /* Min 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__feature-title {
    font-size: 1.8em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-1win-polska__feature-description {
    font-size: 1em;
    color: #666;
}

/* Quick Access Section */
.page-1win-polska__quick-access-section {
    padding: 60px 20px;
    background-color: #e0e0e0;
    text-align: center;
}

.page-1win-polska__access-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-1win-polska__access-button {
    display: inline-block;
    background-color: #ffc107; /* Yellow for quick access */
    color: #333;
    padding: 15px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-1win-polska__access-button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

/* Games Section */
.page-1win-polska__games-section {
    padding: 60px 20px;
    background-color: #fff;
}

.page-1win-polska__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__game-category-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-1win-polska__game-category-item:hover {
    transform: translateY(-5px);
}

.page-1win-polska__game-category-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__game-category-title {
    font-size: 1.6em;
    color: #1a1a1a;
    margin: 20px 15px 10px 15px;
}

.page-1win-polska__game-category-description {
    font-size: 0.95em;
    color: #666;
    padding: 0 15px 20px 15px;
}

/* Promotions Section */
.page-1win-polska__promotions-section {
    padding: 60px 20px;
    background-color: #e0e0e0;
}

.page-1win-polska__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__promo-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-1win-polska__promo-item:hover {
    transform: translateY(-5px);
}

.page-1win-polska__promo-image {
    width: 100%;
    height: 200px; /* Ensuring min 200px height for promo images */
    object-fit: cover;
    margin-bottom: 20px;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__promo-title {
    font-size: 1.8em;
    color: #1a1a1a;
    margin: 0 15px 10px 15px;
}

.page-1win-polska__promo-description {
    font-size: 1em;
    color: #666;
    padding: 0 15px 20px 15px;
}

.page-1win-polska__promo-button {
    display: inline-block;
    background-color: #dc3545; /* Red for promotions */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-1win-polska__promo-button:hover {
    background-color: #c82333;
}

/* Security & Support Section */
.page-1win-polska__security-support-section {
    padding: 60px 20px;
    background-color: #fff;
}

.page-1win-polska__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__info-item {
    background-color: #f0f0f0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-1win-polska__info-icon {
    width: 250px; /* Min 200x200 */
    height: 250px; /* Min 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__info-title {
    font-size: 1.8em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-1win-polska__info-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.page-1win-polska__payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-1win-polska__payment-logo {
    height: 40px; /* gamelogo type, height controlled by CSS */
    object-fit: contain;
    max-width: 100% !important; /* Mobile responsive */
    width: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-1win-polska__social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease;
}

.page-1win-polska__social-icon:hover {
    transform: translateY(-3px);
}

.page-1win-polska__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

/* FAQ Section */
.page-1win-polska__faq-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.page-1win-polska__faq-container {
    max-width: 900px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-1win-polska__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    user-select: none;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.page-1win-polska__faq-question:hover {
    background-color: #e9e9e9;
}

.page-1win-polska__faq-question-title {
    margin: 0;
    font-size: 1.2em;
    color: #1a1a1a;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-1win-polska__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevent span from blocking click event */
    color: #007bff;
}

.page-1win-polska__faq-item.active .page-1win-polska__faq-toggle {
    transform: rotate(45deg);
    color: #dc3545;
}

.page-1win-polska__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
}

.page-1win-polska__faq-item.active .page-1win-polska__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px !important;
    opacity: 1;
}

.page-1win-polska__faq-answer p {
    margin: 0;
    font-size: 1em;
    color: #555;
}

/* Blog Section */
.page-1win-polska__blog-section {
    padding: 60px 20px;
    background-color: #e0e0e0;
}

.page-1win-polska__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0 auto;
    padding: 0 20px;
}

.page-1win-polska__blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-1win-polska__blog-card:hover {
    transform: translateY(-5px);
}

.page-1win-polska__blog-image {
    width: 100%;
    height: 220px; /* Min 200px height for blog images */
    object-fit: cover;
    max-width: 100% !important; /* Mobile responsive */
    height: auto !important; /* Mobile responsive */
    box-sizing: border-box !important; /* Mobile responsive */
}

.page-1win-polska__blog-content {
    padding: 20px;
}

.page-1win-polska__blog-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-1win-polska__blog-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-1win-polska__blog-title a:hover {
    color: #007bff;
}

.page-1win-polska__blog-excerpt {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.page-1win-polska__blog-read-more {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-1win-polska__blog-read-more:hover {
    background-color: #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-1win-polska__hero-section {
        height: 500px;
    }

    .page-1win-polska__hero-content {
        padding: 20px;
    }

    .page-1win-polska__hero-title {
        font-size: 2.2em;
    }

    .page-1win-polska__hero-description {
        font-size: 1.1em;
    }

    .page-1win-polska__hero-cta-button {
        padding: 12px 20px;
        font-size: 1em;
        margin: 5px;
    }

    .page-1win-polska__section-title {
        font-size: 2em;
        padding-top: 30px;
    }

    .page-1win-polska__section-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-1win-polska__features-grid,
    .page-1win-polska__game-categories,
    .page-1win-polska__promo-grid,
    .page-1win-polska__info-grid,
    .page-1win-polska__blog-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    /* List item responsive requirements */
    .page-1win-polska__features-grid > div,
    .page-1win-polska__game-categories > div,
    .page-1win-polska__promo-grid > div,
    .page-1win-polska__info-grid > div,
    .page-1win-polska__blog-grid > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
    }

    .page-1win-polska__feature-icon,
    .page-1win-polska__info-icon {
        width: 200px; /* Minimum size */
        height: 200px; /* Minimum size */
    }

    .page-1win-polska__game-category-image,
    .page-1win-polska__promo-image,
    .page-1win-polska__blog-image {
        height: 180px; /* Adjust height for mobile */
    }

    .page-1win-polska__payment-logos,
    .page-1win-polska__social-links {
        gap: 10px;
    }

    .page-1win-polska__payment-logo,
    .page-1win-polska__social-icon {
        height: 30px;
        width: 30px;
    }

    .page-1win-polska__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-1win-polska__faq-question-title {
        font-size: 1em;
    }

    .page-1win-polska__faq-answer {
        padding: 15px !important;
    }

    .page-1win-polska__faq-answer p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-1win-polska__hero-title {
        font-size: 1.8em;
    }
    .page-1win-polska__hero-description {
        font-size: 1em;
    }
    .page-1win-polska__hero-content {
        padding: 15px;
    }
    .page-1win-polska__hero-section {
        height: 400px;
    }
}