/* Σελίδα «Παιχνίδια για Χριστούγεννα και ρεβεγιόν» (server/xmas-page.js, ADR-0154, σχέδιο «Α»).
   Πάνω στο landing.css της αρχικής. Οι αφίσες (240x190) μπαίνουν σε κουτιά με την ίδια αναλογία (79.17%), άρα δεν κόβονται.
   Οι νιφάδες είναι σε δικό τους στρώμα πίσω από το κείμενο. Χωρίς CSS variables. */
.xm .snow { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.xm .snow svg { position: absolute; fill: none; stroke: #ffffff; stroke-width: 2; stroke-linecap: round; opacity: 0.22; }
.xm .bar .home { font-size: 1.7em; }
.xm .all { color: #fffaf0; font-weight: 900; text-decoration: none; white-space: nowrap; }

/* Πάνω: κείμενο αριστερά, κάρτα του κουίζ δεξιά */
.xm-hero { display: flex; align-items: center; padding: 14px 0 26px; }
.xm-text { flex: 1 1 0; min-width: 0; padding-right: 48px; }
.xm-pill { display: inline-block; padding: 6px 16px; border: 3px solid #1a1033; border-radius: 999px; background: #e11d48; color: #fffaf0; font-weight: 900; font-size: 0.92em; box-shadow: 0 3px 0 #1a1033; }
.xm h1 { margin: 16px 0 14px; font-family: 'Dela Gothic One', Geologica, sans-serif; font-weight: 400; font-size: 3.4em; line-height: 1.06; color: #fffaf0; text-shadow: 2px 2px 0 #1a1033, -2px 2px 0 #1a1033, 2px -2px 0 #1a1033, -2px -2px 0 #1a1033, 0 6px 0 #1a1033; }
.xm .lead { margin: 0; max-width: 620px; color: #fffaf0; font-weight: 700; font-size: 1.18em; line-height: 1.5; }
.xm-btns { margin-top: 22px; }
.xm-btn { display: inline-flex; align-items: center; margin: 0 14px 14px 0; padding: 13px 22px 13px 14px; border: 4px solid #1a1033; border-radius: 20px; background: #ffcf3a; color: #1a1033; text-decoration: none; font-weight: 900; font-size: 1.12em; box-shadow: 0 6px 0 #1a1033; }
.xm-btn.w { background: #fffaf0; }
.xm-btn:active { transform: translateY(4px); box-shadow: 0 2px 0 #1a1033; }
.xm-btn i { display: inline-block; width: 38px; height: 38px; margin-right: 10px; padding: 6px; border: 3px solid #1a1033; border-radius: 50%; background: #fffaf0; }
.xm-btn.w i { background: #ffcf3a; }
.xm-btn i svg { display: block; width: 100%; height: 100%; }
.xm-quiz { flex: 0 0 380px; display: block; overflow: hidden; color: #1a1033; text-decoration: none; transform: rotate(3deg); border-left-width: 4px; }
.xm-quiz-name { display: block; padding: 14px 20px 0; font-family: 'Dela Gothic One', Geologica, sans-serif; font-size: 1.6em; line-height: 1.15; }
.xm-quiz small { display: block; padding: 4px 20px 18px; font-weight: 800; font-size: 0.95em; color: #4b4370; }

/* Αφίσα: κουτί με την αναλογία της αφίσας (240x190) */
.xm .art { position: relative; display: block; height: 0; padding-top: 79.17%; overflow: hidden; background: #fffaf0; border-bottom: 4px solid #1a1033; }
.xm .art svg { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; }

/* Τα 6 παιχνίδια: 3 σε κάθε σειρά */
.xm-games { padding-top: 18px; }
.xm-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; padding: 0; list-style: none; }
.xm-grid li { width: 31.33%; width: calc(33.333% - 20px); margin: 0 10px 22px; overflow: hidden; border-left-width: 4px; }
.xm-grid a { display: block; height: 100%; color: #1a1033; text-decoration: none; }
.xm-body { display: block; padding: 14px 18px 18px; }
.xm-body h3 { margin: 0; font-family: 'Dela Gothic One', Geologica, sans-serif; font-weight: 400; font-size: 1.35em; line-height: 1.2; }
.xm-body p { margin: 6px 0 8px; color: #3a3160; font-weight: 600; line-height: 1.4; }
.xm-body small { font-weight: 900; color: #6d28d9; }

/* Πώς παίζετε */
.xm-steps { padding-top: 14px; }
.xm-steps ol { display: flex; flex-wrap: wrap; margin: 0 -8px; padding: 0; list-style: none; }
.xm-steps li { width: 31.33%; width: calc(33.333% - 16px); margin: 0 8px 18px; padding: 16px 18px; font-weight: 800; line-height: 1.4; border-left-width: 4px; }
.xm-steps b { display: inline-block; width: 32px; height: 32px; margin-right: 8px; line-height: 32px; text-align: center; border-radius: 50%; background: #e11d48; color: #fffaf0; }
.xm #faq { padding-top: 14px; }
.about-more { margin-top: 10px !important; }
.about-more a { color: #6d28d9; font-weight: 900; }

/* Tablet: 2 σε κάθε σειρά */
@media (max-width: 960px) {
  .xm-hero { display: block; }
  .xm-text { padding-right: 0; }
  .xm-quiz { max-width: 380px; margin: 26px auto 10px; }
  .xm-grid li { width: 48%; width: calc(50% - 20px); }
}
/* Κινητό: μία στήλη */
@media (max-width: 600px) {
  .xm .landing { padding: 0 16px 32px; }
  .xm .bar .home { font-size: 1.3em; }
  .xm h1 { font-size: 2.15em; }
  .xm .lead { font-size: 1em; }
  .xm-btn { display: flex; margin-right: 0; font-size: 1.02em; }
  .xm-quiz { transform: rotate(2deg); }
  .xm-grid li, .xm-steps li { width: 100%; width: calc(100% - 20px); }
  .xm-steps li { width: calc(100% - 16px); }
}
