.page-arcade-games { background-color: #1A1A1A; color: #ffffff; font-family: Arial, sans-serif; line-height: 1.6; }
.page-arcade-games__hero-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 10px; margin-bottom: 40px; }
.page-arcade-games__hero-image-wrapper { width: 100%; max-width: 1920px; margin-bottom: 20px; }
.page-arcade-games__hero-image { width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
.page-arcade-games__hero-content { max-width: 900px; padding: 0 20px; }
.page-arcade-games__main-title { font-size: clamp(2.5em, 5vw, 3.5em); color: #FFD700; margin-bottom: 15px; font-weight: bold; line-height: 1.2; letter-spacing: -0.02em; }
.page-arcade-games__description { font-size: 1.1em; margin-bottom: 30px; }
.page-arcade-games__hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.page-arcade-games__button { display: inline-block; padding: 12px 25px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; cursor: pointer; border: none; }
.page-arcade-games__button--primary { background-color: #FFD700; color: #1A1A1A; }
.page-arcade-games__button--primary:hover { background-color: #e6c200; }
.page-arcade-games__button--secondary { background-color: transparent; color: #FFD700; border: 2px solid #FFD700; }
.page-arcade-games__button--secondary:hover { background-color: #FFD700; color: #1A1A1A; }

.page-arcade-games__games-grid-section, .page-arcade-games__popular-section, .page-arcade-games__info-cards-section, .page-arcade-games__how-to-play-section, .page-arcade-games__history-section, .page-arcade-games__themes-section, .page-arcade-games__features-section, .page-arcade-games__faq-section, .page-arcade-games__cta-section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.page-arcade-games__section-title { font-size: 2.5em; color: #FFD700; text-align: center; margin-bottom: 20px; font-weight: bold; }
.page-arcade-games__section-description { font-size: 1.05em; text-align: center; max-width: 800px; margin: 0 auto 40px; color: #D0DDE7; }

.page-arcade-games__games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.page-arcade-games__game-card { display: block; background-color: #2a2a2a; border-radius: 10px; overflow: hidden; text-decoration: none; color: #ffffff; transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; padding-bottom: calc(234 / 336 * 100%); /* Aspect ratio 336x234 */ }
.page-arcade-games__game-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.page-arcade-games__game-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.page-arcade-games__game-title { position: absolute; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.7); padding: 10px; font-size: 1em; font-weight: bold; text-align: center; }

.page-arcade-games__popular-section { text-align: center; }
.page-arcade-games__popular-grid { display: flex; justify-content: center; gap: 25px; margin-bottom: 30px; flex-wrap: wrap; }
.page-arcade-games__popular-avatar { background: none; border: none; cursor: pointer; padding: 0; transition: transform 0.2s ease; display: flex; flex-direction: column; align-items: center; color: #ffffff; text-align: center; }
.page-arcade-games__popular-avatar:hover { transform: scale(1.05); }
.page-arcade-games__popular-avatar.is-active img { border: 4px solid #FFD700; }
.page-arcade-games__popular-avatar img {   border-radius: 50%; object-fit: cover; border: 4px solid transparent; transition: border-color 0.2s ease; margin-bottom: 10px; min- min- }
.page-arcade-games__popular-name { font-weight: bold; font-size: 1.1em; }
.page-arcade-games__popular-desc { font-size: 1.05em; max-width: 800px; margin: 0 auto 30px; color: #D0DDE7; min-height: 70px; display: flex; align-items: center; justify-content: center; }
.page-arcade-games__button--popular { margin-top: 20px; }

.page-arcade-games__info-cards-grid, .page-arcade-games__themes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.page-arcade-games__info-card, .page-arcade-games__theme-card { background-color: #2a2a2a; border-radius: 10px; overflow: hidden; padding: 25px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.page-arcade-games__info-card-image, .page-arcade-games__theme-image { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.page-arcade-games__info-card-title, .page-arcade-games__theme-title { font-size: 1.4em; color: #FFD700; margin-bottom: 10px; font-weight: bold; }
.page-arcade-games__info-card-text, .page-arcade-games__theme-text { color: #D0DDE7; font-size: 0.95em; }

.page-arcade-games__how-to-play-section { background-color: #1A1A1A; }
.page-arcade-games__steps-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.page-arcade-games__step-item { background-color: #2a2a2a; border-radius: 10px; padding: 30px; text-align: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; justify-content: space-between; }
.page-arcade-games__step-title { font-size: 1.5em; color: #FFD700; margin-bottom: 15px; font-weight: bold; }
.page-arcade-games__step-text { color: #D0DDE7; margin-bottom: 20px; flex-grow: 1; }
.page-arcade-games__button--small { padding: 8px 18px; font-size: 0.9em; }

.page-arcade-games__history-content { display: flex; align-items: flex-start; gap: 40px; }
.page-arcade-games__history-text { flex: 1; }
.page-arcade-games__history-subtitle { font-size: 1.8em; color: #FFD700; margin-top: 25px; margin-bottom: 15px; font-weight: bold; }
.page-arcade-games__history-paragraph { color: #D0DDE7; margin-bottom: 15px; }
.page-arcade-games__history-image { flex-shrink: 0; width: 600px; height: 400px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }

.page-arcade-games__features-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.page-arcade-games__feature-item { background-color: #2a2a2a; border-radius: 10px; padding: 25px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.page-arcade-games__feature-title { font-size: 1.4em; color: #FFD700; margin-bottom: 10px; font-weight: bold; }
.page-arcade-games__feature-text { color: #D0DDE7; font-size: 0.95em; }

.page-arcade-games__faq-list { display: flex; flex-direction: column; gap: 15px; }
.page-arcade-games__faq-item { background-color: #2a2a2a; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.page-arcade-games__faq-question { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; font-size: 1.1em; font-weight: bold; color: #FFD700; cursor: pointer; background-color: #3a3a3a; border-bottom: 1px solid #444; }
.page-arcade-games__faq-question:hover { background-color: #444; }
.page-arcade-games__faq-toggle { font-size: 1.5em; line-height: 1; margin-left: 15px; }
.page-arcade-games__faq-item[open] .page-arcade-games__faq-question { border-bottom: none; }
.page-arcade-games__faq-answer { padding: 15px 25px 20px; color: #D0DDE7; font-size: 1em; }

.page-arcade-games__cta-section { background-color: #2a2a2a; text-align: center; padding: 50px 20px; border-radius: 10px; margin-top: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); }
.page-arcade-games__cta-title { font-size: 2.8em; color: #FFD700; margin-bottom: 20px; font-weight: bold; }
.page-arcade-games__cta-description { font-size: 1.15em; max-width: 800px; margin: 0 auto 30px; color: #D0DDE7; }
.page-arcade-games__cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .page-arcade-games__games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .page-arcade-games__popular-grid { gap: 15px; }
  .page-arcade-games__popular-avatar img {   min- min- }
  .page-arcade-games__info-cards-grid, .page-arcade-games__themes-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .page-arcade-games__history-content { flex-direction: column; align-items: center; }
  .page-arcade-games__history-image { width: 100%; max-width: 600px; height: auto; }
  .page-arcade-games__features-list { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 768px) {
  .page-arcade-games__hero-section { padding-top: 10px; margin-bottom: 30px; }
  .page-arcade-games__main-title { font-size: clamp(2em, 8vw, 2.8em); margin-bottom: 10px; }
  .page-arcade-games__description { font-size: 1em; margin-bottom: 20px; }
  .page-arcade-games__hero-buttons { flex-direction: column; gap: 10px; }
  .page-arcade-games__button { width: 100%; max-width: 300px; box-sizing: border-box; white-space: normal; word-wrap: break-word; margin: 0 auto; }

  .page-arcade-games__games-grid-section, .page-arcade-games__popular-section, .page-arcade-games__info-cards-section, .page-arcade-games__how-to-play-section, .page-arcade-games__history-section, .page-arcade-games__themes-section, .page-arcade-games__features-section, .page-arcade-games__faq-section, .page-arcade-games__cta-section { padding: 30px 15px; }
  .page-arcade-games__section-title { font-size: 2em; margin-bottom: 15px; }
  .page-arcade-games__section-description { font-size: 0.95em; margin-bottom: 30px; }

  .page-arcade-games__games-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .page-arcade-games__game-title { font-size: 0.9em; padding: 8px; }

  .page-arcade-games__popular-grid { gap: 10px; }
  .page-arcade-games__popular-avatar img {   min- min- }
  .page-arcade-games__popular-name { font-size: 0.9em; }
  .page-arcade-games__popular-desc { font-size: 0.9em; min-height: 60px; }

  .page-arcade-games__info-cards-grid, .page-arcade-games__themes-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-arcade-games__info-card, .page-arcade-games__theme-card { padding: 20px; }
  .page-arcade-games__info-card-image, .page-arcade-games__theme-image { height: 180px; margin-bottom: 15px; }
  .page-arcade-games__info-card-title, .page-arcade-games__theme-title { font-size: 1.2em; }
  .page-arcade-games__info-card-text, .page-arcade-games__theme-text { font-size: 0.9em; }

  .page-arcade-games__steps-list { grid-template-columns: 1fr; gap: 20px; }
  .page-arcade-games__step-item { padding: 25px; }
  .page-arcade-games__step-title { font-size: 1.3em; }
  .page-arcade-games__step-text { font-size: 0.9em; }

  .page-arcade-games__history-image { width: 100%; height: auto; min-width: 200px; min-height: 200px; }
  .page-arcade-games__history-subtitle { font-size: 1.5em; }
  .page-arcade-games__history-paragraph { font-size: 0.9em; }

  .page-arcade-games__features-list { grid-template-columns: 1fr; gap: 20px; }
  .page-arcade-games__feature-item { padding: 20px; }
  .page-arcade-games__feature-title { font-size: 1.2em; }
  .page-arcade-games__feature-text { font-size: 0.9em; }

  .page-arcade-games__faq-question { padding: 15px 20px; font-size: 1em; }
  .page-arcade-games__faq-answer { padding: 10px 20px 15px; font-size: 0.9em; }

  .page-arcade-games__cta-section { padding: 40px 15px; }
  .page-arcade-games__cta-title { font-size: 2em; margin-bottom: 15px; }
  .page-arcade-games__cta-description { font-size: 1em; margin-bottom: 25px; }
  .page-arcade-games__cta-buttons { flex-direction: column; gap: 10px; }
  .page-arcade-games img { max-width: 100% !important; height: auto !important; min-width: 200px; min-height: 200px; }
}