/* [bm_contact] – the Kapcsolat page, scoped to .bm-contact: e-mail card, social tiles,
   quick links, company details and the 18+ note – glass panels on the stadium. */

.bm-contact { width: 100%; margin: 0 auto; color: #fff; font-family: var(--bm-body); }
.bm-contact *, .bm-contact *::before, .bm-contact *::after { box-sizing: border-box; }
.bm-contact :is(h2, p, ul, address) { margin: 0; padding: 0; }

.bm-contact__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 16px; }
.bm-contact__grid:not(:has(.bm-contact-mail)) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* E-mail: the main card */
.bm-contact-mail { position: relative; display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(26px, 4vw, 42px); overflow: hidden; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); background: linear-gradient(140deg, rgba(123, 77, 255, .55), rgba(255, 63, 216, .32) 55%, rgba(29, 107, 255, .45)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.bm-contact-mail::after { content: ""; position: absolute; right: -50px; bottom: -80px; width: 260px; height: 260px; background: rgba(255, 255, 255, .08); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6l8.5 7 8.5-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6l8.5 7 8.5-7'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.bm-contact-mail > * { position: relative; z-index: 1; }
.bm-contact-mail .bm-kicker { color: #fff; }
.bm-contact-mail__address, .bm-contact-mail__address:visited { color: #fff !important; font: 700 clamp(32px, 3.8vw, 50px)/.95 var(--bm-display); overflow-wrap: anywhere; text-decoration: none !important; }
.bm-contact-mail__address:hover { color: var(--bm-cyan-soft) !important; }
.bm-contact-mail p { max-width: 460px; color: #e6edff; font-size: 16px; line-height: 1.55; }
.bm-contact-mail .bm-button { margin-top: 8px; }

/* Social media tiles */
.bm-contact-social, .bm-contact-social:visited { position: relative; display: grid; align-content: start; gap: 4px; padding: 28px 26px; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); background: linear-gradient(160deg, rgba(10, 22, 64, .84), rgba(4, 10, 34, .88)); color: #fff !important; text-decoration: none !important; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bm-contact-social:hover { border-color: rgba(63, 240, 255, .55); box-shadow: 0 0 30px rgba(63, 240, 255, .16); transform: translateY(-4px); }
.bm-contact-social__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 20px; background: var(--bm-navy-3); }
.bm-contact-social--instagram .bm-contact-social__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.bm-contact-social--tiktok .bm-contact-social__icon { background: #000; box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
.bm-contact-social--facebook .bm-contact-social__icon { background: linear-gradient(160deg, #3b8bff, #1259d6); }
.bm-contact-social--youtube .bm-contact-social__icon { background: linear-gradient(160deg, #ff4d4d, #c4000f); }
.bm-contact-social__name { font: 700 34px/.9 var(--bm-display); text-transform: uppercase; }
.bm-contact-social__handle { color: var(--bm-muted); font-size: 15px; }
.bm-contact-social__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--bm-cyan-soft); font: 700 12px/1 var(--bm-hud); letter-spacing: .12em; text-transform: uppercase; }
.bm-contact-social__cta::after { content: ""; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* Quick help */
.bm-contact__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
.bm-contact__links .bm-quicklink { border: 1px solid var(--bm-line); border-radius: var(--bm-radius); background: linear-gradient(160deg, rgba(10, 22, 64, .84), rgba(4, 10, 34, .88)); }

/* Company details and responsible gambling */
.bm-contact__bottom { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 28px; }
.bm-contact-box { display: grid; align-content: start; gap: 14px; padding: 26px 28px; border: 1px solid var(--bm-line); border-radius: var(--bm-radius); background: rgba(4, 10, 34, .82); }
.bm-contact-box h2 { font: 700 30px/.9 var(--bm-display); text-transform: uppercase; }
.bm-contact-box address { display: grid; gap: 2px; color: #dfe7ff; font-size: 15px; font-style: normal; line-height: 1.6; }
.bm-contact-box__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; }
.bm-contact-box__legal a, .bm-contact-box__legal a:visited { color: var(--bm-cyan-soft) !important; font-size: 14px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }
.bm-contact-box--responsible { grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 18px; }
.bm-contact-box--responsible p { color: var(--bm-muted); font-size: 15px; line-height: 1.6; }
.bm-contact-box--responsible > div { display: grid; gap: 8px; }
.bm-contact-box__badge { display: grid; place-items: center; width: 56px; height: 56px; border: 2.5px solid #ff4d6a; border-radius: 50%; color: #ff4d6a; font: 700 18px/1 var(--bm-hud); }

@media (max-width: 1000px) {
	.bm-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bm-contact-mail { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.bm-contact__grid { grid-template-columns: 1fr; }
	.bm-contact-social { padding: 22px 18px; }
	.bm-contact-box { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.bm-contact-social { transition: none; }
	.bm-contact-social:hover { transform: none; }
}
