* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: #333; }
a { color: inherit; text-decoration: none; }

/* Header */
#header {
  background: #2a2e3f;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .brand { font-weight: bold; color: #fff; }
#header .link-login { color: #fff; display: flex; align-items: center; gap: 6px; }
#header .link-login:hover { opacity: 0.9; }
#header .icon { width: 18px; height: 18px; vertical-align: middle; }
#header .btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6ab04c;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}
#header .btn-login:hover { background: #5a9e3e; }
#header .btn-login svg { width: 16px; height: 16px; fill: #fff; }

/* Banners */
.ny_j { background: #ebedf5; padding: 10px 0; }
.month { max-width: 600px; margin: 0 auto; padding: 0 15px; }
.month a { display: block; margin-bottom: 5px; }
.month a:hover { opacity: 0.9; }
.month img { width: 100%; display: block; }

/* Main content */
.main { background: #fff; padding: 20px 15px 30px; max-width: 800px; margin: 0 auto; }
.box.p { margin: 0; }
.box-head { font-size: 1.5em; margin: 0 0 15px; color: #2a2e3f; }
.cont h2 { font-size: 1.2em; margin: 0 0 12px; }
.cont p { margin: 0 0 12px; text-align: justify; line-height: 1.5; }
.clearboth { clear: both; height: 1px; }

/* Year selects */
.select-holder { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; margin-top: 15px; }
.select-holder div { display: flex; align-items: center; gap: 8px; }
.select-holder h3 { margin: 0; font-size: 1em; }
.select-holder select { border: 1px solid #5a5a5a; padding: 6px 10px; font-size: 14px; min-width: 120px; }

/* Footer green (index) */
.footer_top_mobil { background: #8dc63f; padding: 15px 20px; display: flex; justify-content: center; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer_top_mobil_img1, .footer_top_mobil_img2 { width: 50px; height: 50px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.footer_top_mobil_img1 { background-image: url('../images/footer_logo-szrt.png'); }
.footer_top_mobil_img2 { background-image: url('../images/footer_logo-maradjon-jatek.png'); }
.footer_top_mobil a { display: block; width: 100%; height: 100%; }
.footer_top_mobil_18 { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: 14px; font-weight: bold; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer_resz_text { text-align: center; background: #8dc63f; margin: 0; padding: 15px 20px; color: #fff; font-size: 16px; line-height: 1.4; }
.footer_center_mobil { background: #8dc63f; padding: 15px 20px; display: flex; justify-content: center; gap: 15px; align-items: center; }
.footer_center_mobil a { display: block; }
.footer_center_mobil img { height: 28px; width: auto; padding: 8px; border-radius: 50%; border: 2px solid #fff; filter: brightness(0) invert(1); }
.footer_cookie_link { text-align: center; padding: 10px; background: #8dc63f; }
.footer_cookie_link a { color: #fff; text-decoration: underline; }
.footer_bottom_mobil { background: #2a2e3f; padding: 25px 20px; text-align: center; }
.footer_bottom_mobil p { margin: 0; color: #fff; font-size: 16px; line-height: 1.4; }

/* Back to top */
.totop { position: fixed; bottom: 20px; right: 20px; background: #2a2e3f; color: #fff; padding: 12px 20px; border-radius: 6px; cursor: pointer; font-size: 14px; display: none; z-index: 100; }
.totop.visible { display: block; }
.totop:hover { background: #3d4254; }

/* Prize page */
body.prize-page { background: #f0f0f0; }
.main-wrap { max-width: 900px; margin: 0 auto; padding: 20px 15px 40px; }
.main-content { background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.1); padding: 24px 20px; margin-bottom: 20px; }
.main-content h1 { font-size: 1.4em; margin: 0 0 20px; color: #2a2e3f; }
.back-link { display: inline-block; margin-bottom: 20px; color: #6ab04c; font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.prize-table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.prize-table thead { background: #6ab04c; color: #fff; }
.prize-table th { padding: 12px 10px; text-align: left; font-weight: 600; }
.prize-table td { padding: 12px 10px; border-bottom: 1px solid #eee; }
.prize-table tbody tr:nth-child(even) { background: #f9f9f9; }
.prize-table tbody tr:hover { background: #f0f8ed; }
.table-note { font-size: 12px; color: #666; margin: 0 0 24px; }
.terms-block { font-size: 14px; line-height: 1.6; color: #444; }
.terms-block h2 { font-size: 1.1em; margin: 20px 0 10px; color: #2a2e3f; }
.terms-block p { margin: 0 0 10px; }
.terms-block ol, .terms-block ul { margin: 0 0 10px; padding-left: 20px; }
.footer-green { background: #6ab04c; color: #fff; padding: 24px 20px; text-align: center; }
.footer-green .share-icons { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.footer-green .share-icons a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 18px; }
.footer-green .share-icons a:hover { background: rgba(255,255,255,0.4); }
.footer-green .megosztas { font-size: 14px; margin-bottom: 8px; }
.footer-green .copy { font-size: 13px; opacity: 0.95; margin-bottom: 16px; }
.footer-green .age-icons { display: flex; justify-content: center; gap: 16px; }
.footer-green .age-icons span { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
.footer-dark { background: #2a2e3f; padding: 16px 20px; text-align: center; }
.footer-dark a { color: #fff; margin: 0 12px; font-size: 14px; }
.footer-dark a:hover { text-decoration: underline; }

/* Simple pages */
body.simple-page { background: #f5f5f5; }
.page-simple .main { max-width: 600px; margin: 40px auto; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.page-simple .main h1 { margin: 0 0 20px; font-size: 1.5em; }
.page-simple .main p { margin: 0 0 15px; color: #555; line-height: 1.5; }
.page-simple .back { display: inline-block; margin-top: 20px; color: #2a2e3f; text-decoration: underline; }
