/* Base styles for the page-banca30 */
.page-banca30 {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    padding-bottom: 80px; /* Space for floating button */
}

.page-banca30__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-banca30__section-title {
    font-size: 2.2em;
    color: #2563eb;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-banca30__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #4a5568;
}

.page-banca30__btn-primary,
.page-banca30__btn-secondary,
.page-banca30__game-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    font-size: 1em;
}

.page-banca30__btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

.page-banca30__btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
    transform: translateY(-2px);
}

.page-banca30__btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page-banca30__btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}

.page-banca30__button-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Hero Section */
.page-banca30__hero-section {
    position: relative;
    padding-top: 10px;
    margin-bottom: 60px;
    overflow: hidden;
}

.page-banca30__hero-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.page-banca30__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.page-banca30__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 15px;
}

.page-banca30__main-title {
    font-size: clamp(1.8em, 4vw, 3.2em);
    color: #2563eb;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-banca30__description {
    font-size: 1.2em;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-banca30__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Floating Promo Button */
.page-banca30__floating-promo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(37, 99, 235, 0.95);
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    text-align: center;
}

.page-banca30__floating-btn {
    display: block;
    color: #ffffff;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
}

.page-banca30__floating-btn:hover {
    color: #f0f0f0;
}

/* Game Showcase Section */
.page-banca30__game-showcase {
    padding: 60px 0;
    background-color: #f8faff;
}

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

.page-banca30__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-banca30__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-banca30__game-title {
    font-size: 1.5em;
    color: #2563eb;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: 700;
}

.page-banca30__game-description {
    font-size: 1em;
    color: #64748b;
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-banca30__game-link {
    background-color: #64748b;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-banca30__game-link:hover {
    background-color: #475569;
}

/* Why Choose Section */
.page-banca30__why-choose {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-banca30__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-banca30__feature-item {
    text-align: center;
    padding: 30px;
    background-color: #f8faff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.page-banca30__feature-item:hover {
    transform: translateY(-5px);
}

.page-banca30__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-banca30__feature-title {
    font-size: 1.4em;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-banca30__feature-description {
    font-size: 0.95em;
    color: #64748b;
}

/* Promotions Section */
.page-banca30__promotions-section {
    padding: 60px 0;
    background-color: #e0f2f7;
}

.page-banca30__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-banca30__promo-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-banca30__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-banca30__promo-title {
    font-size: 1.5em;
    color: #2563eb;
    margin-bottom: 10px;
    padding: 0 15px;
    font-weight: 700;
}

.page-banca30__promo-description {
    font-size: 1em;
    color: #64748b;
    padding: 0 20px;
    margin-bottom: 20px;
}

/* Strategy Guide Section */
.page-banca30__strategy-guide {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-banca30__strategy-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 800px;
    display: grid;
    gap: 15px;
}

.page-banca30__strategy-item {
    background-color: #f8faff;
    padding: 15px 20px;
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    font-size: 1.05em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

/* FAQ Section */
details.page-banca30__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-banca30__faq-item summary.page-banca30__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-banca30__faq-item summary.page-banca30__faq-question::-webkit-details-marker {
  display: none;
}
details.page-banca30__faq-item summary.page-banca30__faq-question:hover {
  background: #f5f5f5;
}
.page-banca30__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-banca30__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-banca30__faq-item .page-banca30__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #4a5568;
}

.page-banca30__faq-section {
    padding: 60px 0;
    background-color: #f8faff;
}

.page-banca30__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Final CTA Section */
.page-banca30__final-cta {
    padding: 80px 0;
    background-color: #2563eb;
    color: #ffffff;
    text-align: center;
}

.page-banca30__final-cta .page-banca30__section-title {
    color: #ffffff;
    font-size: 2.8em;
    margin-bottom: 25px;
}

.page-banca30__final-cta .page-banca30__text-block {
    color: #e0f2f7;
    font-size: 1.3em;
    margin-bottom: 40px;
}

.page-banca30__btn-large {
    padding: 15px 40px;
    font-size: 1.2em;
    border-radius: 10px;
}

/* General image responsiveness */
.page-banca30 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-banca30__section-title {
        font-size: 2em;
    }
    .page-banca30__main-title {
        font-size: clamp(1.6em, 5vw, 2.8em);
    }
    .page-banca30__description {
        font-size: 1.1em;
    }
    .page-banca30__game-grid,
    .page-banca30__features-grid,
    .page-banca30__promo-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .page-banca30__final-cta .page-banca30__section-title {
        font-size: 2.4em;
    }
    .page-banca30__final-cta .page-banca30__text-block {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-banca30 {
        padding-bottom: 70px; /* Adjust for smaller floating button */
    }
    .page-banca30__hero-content {
        margin-top: 20px;
    }
    .page-banca30__main-title {
        font-size: clamp(1.4em, 6vw, 2.2em);
        margin-bottom: 15px;
    }
    .page-banca30__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-banca30__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-banca30__btn-primary,
    .page-banca30__btn-secondary,
    .page-banca30__game-link,
    .page-banca30__btn-large {
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        font-size: 0.95em;
    }
    .page-banca30__floating-btn {
        font-size: 1em;
        padding: 8px 10px;
    }
    .page-banca30__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-banca30__text-block {
        font-size: 0.95em;
        margin-bottom: 25px;
    }
    .page-banca30__game-grid,
    .page-banca30__features-grid,
    .page-banca30__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-banca30__game-card,
    .page-banca30__feature-item,
    .page-banca30__promo-item {
        padding: 20px;
    }
    .page-banca30__game-image {
        height: 180px;
    }
    .page-banca30__promo-image {
        height: 200px;
    }
    .page-banca30__game-title,
    .page-banca30__feature-title,
    .page-banca30__promo-title {
        font-size: 1.3em;
    }
    .page-banca30__strategy-list {
        margin-top: 30px;
        gap: 10px;
        padding: 0 15px;
    }
    .page-banca30__strategy-item {
        font-size: 0.9em;
        padding: 12px 15px;
    }
    .page-banca30__faq-section {
        padding: 40px 0;
    }
    details.page-banca30__faq-item summary.page-banca30__faq-question { padding: 15px; }
    .page-banca30__faq-qtext { font-size: 15px; }
    details.page-banca30__faq-item .page-banca30__faq-answer { padding: 0 15px 15px; }
    .page-banca30__final-cta {
        padding: 50px 0;
    }
    .page-banca30__final-cta .page-banca30__section-title {
        font-size: 2em;
    }
    .page-banca30__final-cta .page-banca30__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Ensure images and containers do not overflow */
    .page-banca30 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-banca30__container,
    .page-banca30__hero-section,
    .page-banca30__game-showcase,
    .page-banca30__why-choose,
    .page-banca30__promotions-section,
    .page-banca30__strategy-guide,
    .page-banca30__faq-section,
    .page-banca30__final-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-banca30__strategy-list {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .page-banca30__strategy-item {
        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;
    }
}

@media (max-width: 480px) {
    .page-banca30__hero-content {
        padding: 0 10px;
    }
    .page-banca30__main-title {
        font-size: clamp(1.2em, 7vw, 1.8em);
    }
    .page-banca30__floating-btn {
        font-size: 0.9em;
    }
    .page-banca30__section-title {
        font-size: 1.5em;
    }
    .page-banca30__faq-qtext { font-size: 14px; }
}