.page-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6;
    background: #0D0E12;
}

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

.page-news__hero-section {
    position: relative;
    color: #FFF3E6;
    padding-top: 10px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-news__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-news__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.page-news__hero-content-wrapper {
    padding: 20px 15px;
    max-width: 800px;
    box-sizing: border-box;
}

.page-news__main-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFA53A;
    line-height: 1.2;
}

.page-news__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #FFF3E6;
}

.page-news__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-news__btn-primary,
.page-news__btn-secondary,
.page-news__read-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-news__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    border: none;
}

.page-news__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-news__btn-secondary {
    background: transparent;
    color: #FFA53A;
    border: 2px solid #FFA53A;
}

.page-news__btn-secondary:hover {
    background: rgba(255, 165, 58, 0.1);
    transform: translateY(-2px);
}

.page-news__latest-news-section {
    padding: 40px 0;
    margin-bottom: 40px;
}

.page-news__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #FFA53A;
}

.page-news__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.page-news__news-card {
    background: #17191F;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #A84F0C;
}

.page-news__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-news__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-news__card-content {
    padding: 20px;
}

.page-news__card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFA53A;
    line-height: 1.3;
}

.page-news__card-meta {
    font-size: 14px;
    color: #FFF3E6;
    opacity: 0.7;
    margin-bottom: 15px;
}

.page-news__card-excerpt {
    font-size: 15px;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-news__read-more-btn {
    background: #FF8C1A;
    color: #ffffff;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block;
}

.page-news__read-more-btn:hover {
    background: #D96800;
}

.page-news__view-all-button-wrapper {
    text-align: center;
}

.page-news__faq-section {
    padding: 40px 0 60px;
    background: #0D0E12;
}

.page-news__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F;
}
details.page-news__faq-item summary.page-news__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;
  color: #FFA53A;
}
details.page-news__faq-item summary.page-news__faq-question::-webkit-details-marker {
  display: none;
}
details.page-news__faq-item summary.page-news__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}
.page-news__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-news__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-news__faq-item .page-news__faq-answer {
  padding: 0 20px 20px;
  background: rgba(23, 25, 31, 0.8);
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
}
.page-news__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.page-news__copyright-section {
    padding: 20px 0;
    text-align: center;
    background: #0D0E12;
    border-top: 1px solid #A84F0C;
    color: #FFF3E6;
    font-size: 14px;
}

.page-news__copyright-text {
    margin: 0;
}

@media (min-width: 1024px) {
    .page-news__hero-section {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    .page-news__hero-image-wrapper {
        flex: 1;
        padding-right: 30px;
    }
    .page-news__hero-content-wrapper {
        flex: 1;
        padding-left: 30px;
    }
    .page-news__cta-buttons {
        justify-content: flex-start;
    }

    .page-news__section-title {
        font-size: 42px;
    }

    .page-news__news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
  .page-news__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot {
    display: none !important;
  }
  .page-news__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-news__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-topbar,
  .page-news__game-trial-bottombar {
    display: none !important;
  }
  .page-news__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-news__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-news__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-news__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-news__hero-brand,
  .page-news__hero-jackpot,
  .page-news__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-news__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-news__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-news__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-news__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-news__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

@media (max-width: 768px) {
    .page-news {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-news__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news__hero-section {
        padding-top: 5px;
        margin-bottom: 20px;
    }

    .page-news__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 10px;
    }

    .page-news__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-news__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-news__btn-primary,
    .page-news__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 15px;
        font-size: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-news__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-news__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news__card-image {
        height: 180px;
    }

    .page-news__card-title {
        font-size: 18px;
    }

    .page-news__card-excerpt {
        font-size: 14px;
    }

    .page-news img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    details.page-news__faq-item summary.page-news__faq-question { padding: 15px; }
    .page-news__faq-qtext { font-size: 16px; }
    .page-news__faq-toggle { font-size: 20px; width: 24px; }
    details.page-news__faq-item .page-news__faq-answer { padding: 0 15px 15px; }
    .page-news__faq-answer p { font-size: 15px; }

    .page-news__promo-strip-track { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        overflow-x: hidden;
    }
    .page-news__hot-games-grid { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .page-news__winner-ticker { 
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 999;
        background: rgba(0,0,0,0.8);
        padding: 8px 0;
    }
    body {
        padding-bottom: 40px;
    }
    main.page-news {
        margin-bottom: 40px;
    }
}