/* moriestadbois.com – unique structure, Swedish flag gradient, burger @ 991px */

:root {
	--mob-blue: #006AA7;
	--mob-yellow: #FECC00;
	--mob-white: #fff;
	--mob-dark: #1a1a2e;
	--mob-text: #252525;
	--mob-text-muted: #333;
	--mob-radius: 12px;
	--mob-radius-lg: 20px;
	--mob-shadow: 0 8px 32px rgba(0, 106, 167, 0.15);
	--mob-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--mob-header-h: 72px;
	--mob-burger-breakpoint: 991px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--mob-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--mob-dark);
	background: var(--mob-white);
	position: relative;
	min-height: 100vh;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--mob-blue);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* ========== Background: hockey image + Swedish flag gradient ========== */
.mob-bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: url('../images/bg-hockey.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.mob-bg__gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--mob-blue) 0%, #004d73 40%, var(--mob-yellow) 100%);
	opacity: 0.45;
}

.mob-bg__stripes {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-55deg,
		transparent,
		transparent 40px,
		rgba(254, 204, 0, 0.06) 40px,
		rgba(254, 204, 0, 0.06) 80px
	);
}

.mob-bg__overlay {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 106, 167, 0.12), transparent 60%);
}

/* ========== Header ========== */
.mob-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(0, 106, 167, 0.1);
}

.mob-header__wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: var(--mob-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mob-header__logo {
	display: flex;
	align-items: center;
}

.mob-header__logo-img {
	height: 34px;
	width: auto;
	filter: drop-shadow(2px 4px 6px black);
}

/* Desktop nav: visible above 991px */
.mob-nav__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px 28px;
}

.mob-nav__link {
	font-weight: 500;
	color: var(--mob-dark);
	padding: 8px 4px;
}

.mob-nav__link:hover {
	color: var(--mob-blue);
	text-decoration: none;
}

/* Burger: hidden by default, shown at 991px and below */
.mob-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: none;
	cursor: pointer;
}

.mob-burger__line {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--mob-blue);
	border-radius: 1px;
	transition: transform 0.25s, opacity 0.25s;
}

.mob-header.open .mob-burger__line:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.mob-header.open .mob-burger__line:nth-child(2) {
	opacity: 0;
}

.mob-header.open .mob-burger__line:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Dropdown menu (mobile) */
.mob-menu {
	position: absolute;
	top: var(--mob-header-h);
	left: 0;
	right: 0;
	background: var(--mob-white);
	border-bottom: 1px solid rgba(0, 106, 167, 0.12);
	box-shadow: var(--mob-shadow);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.mob-menu[aria-hidden="false"] {
	max-height: 320px;
}

.mob-menu__list {
	list-style: none;
	margin: 0;
	padding: 16px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mob-menu__link {
	display: block;
	padding: 12px 16px;
	font-weight: 500;
	color: var(--mob-dark);
	border-radius: var(--mob-radius);
}

.mob-menu__link:hover {
	background: rgba(0, 106, 167, 0.08);
	color: var(--mob-blue);
	text-decoration: none;
}

/* At 991px: hide desktop nav, show burger and dropdown */
@media (max-width: 991px) {
	.mob-nav {
		display: none;
	}
	.mob-burger {
		display: flex;
	}
	.mob-menu {
		display: block;
	}
}

@media (min-width: 992px) {
	.mob-menu {
		display: none !important;
	}
}

/* ========== Banner (bento-style hero) ========== */
.mob-banner {
	padding: 48px 24px 56px;
}

.mob-banner__inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.mob-banner__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 28px;
	line-height: 1.25;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.mob-banner__event {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.mob-banner__team img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.mob-banner__date {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 4px;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.5);
}

.mob-banner__time {
	font-size: 1.125rem;
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.5);
}

.mob-sponsor {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	background: var(--mob-white);
	border: 1px solid rgba(0, 106, 167, 0.2);
	border-radius: var(--mob-radius-lg);
	box-shadow: var(--mob-shadow);
	color: var(--mob-dark);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mob-sponsor:hover {
	border-color: var(--mob-blue);
	box-shadow: 0 12px 40px rgba(0, 106, 167, 0.2);
	text-decoration: none;
}

.mob-sponsor__img img {
	height: 36px;
	width: auto;
}

.mob-sponsor__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.mob-sponsor__label {
	font-size: 0.875rem;
	color: var(--mob-text-muted);
}

.mob-sponsor__name {
	font-weight: 700;
	font-size: 1rem;
}

/* ========== Bento grid (unique) ========== */
.mob-bento {
	padding: 56px 24px 64px;
}

.mob-bento__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.mob-bento__headline {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 36px;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.5);
}

.mob-bento__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: auto;
	gap: 20px;
}

.mob-bento__card {
	background: var(--mob-white);
	border-radius: var(--mob-radius-lg);
	padding: 24px;
	box-shadow: var(--mob-shadow);
	border: 1px solid rgba(0, 106, 167, 0.08);
}

.mob-bento__card--wide {
	grid-column: 1 / -1;
}

.mob-bento__card-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--mob-blue);
}

.mob-bento__card-text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--mob-text);
}

@media (max-width: 767px) {
	.mob-bento__grid {
		grid-template-columns: 1fr;
	}
}

/* ========== Legal section (diagonal feel) ========== */
.mob-legal {
	padding: 56px 24px 64px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 50, 80, 0.7) 100%);
	clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
}

.mob-legal__inner {
	max-width: 800px;
	margin: 0 auto;
}

.mob-legal__headline {
	font-size: clamp(1.375rem, 2.5vw, 1.625rem);
	font-weight: 700;
	margin: 0 0 28px;
	color: #fff;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.mob-legal__block {
	margin-bottom: 28px;
}

.mob-legal__sub {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 10px;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mob-legal__text {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mob-legal__meta {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 4px 16px;
	margin: 12px 0 0;
	font-size: 0.9375rem;
}

.mob-legal__meta dt {
	margin: 0;
	font-weight: 600;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mob-legal__meta dd {
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mob-legal__disclaimer {
	font-size: 0.875rem;
	line-height: 1.6;
	color: #fff;
	margin: 0 0 24px;
	padding: 16px;
	background: rgba(0, 0, 0, 0.35);
	border-radius: var(--mob-radius);
	border-left: 4px solid var(--mob-yellow);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mob-legal__block--responsible {
	margin-bottom: 0;
}

/* ========== Footer (as on example site) ========== */
.mob-footer {
	padding: 48px 24px 32px;
	background: var(--mob-dark);
	color: var(--mob-white);
}

.mob-footer__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.mob-footer__heading {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 12px;
	color: var(--mob-white);
}

.mob-footer__text-block {
	opacity: 0.85;
}

.mob-footer__text-block p {
	margin: 0 0 6px;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.mob-footer__disclaimer {
	margin-bottom: 32px;
}

.mob-footer__top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 32px;
	margin-bottom: 32px;
}

.mob-footer__contact .mob-footer__btn {
	display: inline-block;
	margin-top: 12px;
	padding: 10px 20px;
	background: var(--mob-blue);
	color: var(--mob-white);
	border-radius: var(--mob-radius);
	font-weight: 600;
	font-size: 0.9375rem;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s, background 0.2s;
}

.mob-footer__contact .mob-footer__btn:hover {
	opacity: 0.95;
	background: #005a8f;
	text-decoration: none;
}

.mob-footer__subscribe-desc {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	opacity: 0.85;
	line-height: 1.5;
}

.mob-footer__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.mob-footer__input {
	flex: 1;
	min-width: 200px;
	padding: 12px 16px;
	font-size: 1rem;
	font-family: var(--mob-font);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: var(--mob-radius);
	background: rgba(255, 255, 255, 0.08);
	color: var(--mob-white);
}

.mob-footer__input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.mob-footer__form .mob-footer__btn {
	padding: 12px 20px;
	background: var(--mob-yellow);
	color: var(--mob-dark);
	border: none;
	border-radius: var(--mob-radius);
	font-weight: 600;
	font-size: 0.9375rem;
	font-family: var(--mob-font);
	cursor: pointer;
	transition: opacity 0.2s;
}

.mob-footer__form .mob-footer__btn:hover {
	opacity: 0.9;
}

.mob-footer__message {
	margin-top: 10px;
	font-size: 0.875rem;
}

.mob-footer__nav {
	margin-bottom: 32px;
}

.mob-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.mob-footer__links a {
	color: var(--mob-white);
	font-size: 0.9375rem;
	opacity: 0.9;
}

.mob-footer__links a:hover {
	text-decoration: underline;
	opacity: 1;
}

.mob-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mob-footer__logo {
	display: inline-block;
}

.mob-footer__logo img {
	height: 40px;
	width: auto;
	opacity: 0.95;
}

.mob-footer__badges {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.mob-footer__badges img {
	height: 40px;
	width: auto;
	opacity: 0.85;
}

.mob-footer a {
	color: var(--mob-white);
}

.mob-footer a:hover {
	text-decoration: none;
	opacity: 0.95;
}

@media (max-width: 767px) {
	.mob-footer__top {
		grid-template-columns: 1fr;
	}
	.mob-footer__bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* ========== Inner pages (about, lottery, overview, etc.) ========== */
.mob-page {
	padding-bottom: 0;
}

.mob-page__hero {
	padding: 48px 24px 32px;
	text-align: center;
}

.mob-page__inner {
	max-width: 900px;
	margin: 0 auto;
}

.mob-page__title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 12px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.5);
}

.mob-page__lead {
	font-size: 1.125rem;
	color: #fff;
	margin: 0 0 8px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.5);
}

.mob-page__intro {
	margin: 0;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.mob-page__content {
	padding: 24px 24px 56px;
}

.mob-page__h2 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 700;
	margin: 0 0 24px;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.5);
}

.mob-events {
	display: grid;
	gap: 24px;
}

.mob-event {
	background: var(--mob-white);
	border-radius: var(--mob-radius-lg);
	padding: 24px;
	box-shadow: var(--mob-shadow);
	border: 1px solid rgba(0, 106, 167, 0.08);
	text-align: center;
}

.mob-event__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 16px;
}

.mob-event__logos img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.mob-event__vs {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--mob-blue);
	margin: 0;
}

.mob-event__title {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--mob-dark);
}

.mob-event__date {
	margin: 0 0 8px;
	font-size: 1rem;
	color: var(--mob-text-muted);
}

.mob-event__meta {
	margin: 0 0 16px;
	font-size: 0.9375rem;
	color: var(--mob-text);
}

.mob-event__btn {
	display: inline-block;
	padding: 12px 24px;
	background: var(--mob-blue);
	color: var(--mob-white);
	border-radius: var(--mob-radius);
	font-weight: 600;
	transition: opacity 0.2s;
}

.mob-event__btn:hover {
	opacity: 0.9;
	text-decoration: none;
	color: var(--mob-white);
}

.mob-event__note {
	margin: 12px 0 0;
	font-size: 0.8125rem;
	color: var(--mob-text-muted);
}

.mob-nav__link--active {
	color: var(--mob-blue);
	font-weight: 600;
}

/* Page content blocks (info, responsible, overview, etc.) – on background, white text */
.mob-content-block {
	margin-bottom: 28px;
}

.mob-content-block h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 12px;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 12px rgba(0, 0, 0, 0.5);
}

.mob-content-block h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 8px;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.mob-content-block p,
.mob-content-block li {
	margin: 0 0 10px;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.4);
}

.mob-content-block ul {
	margin: 0 0 16px;
	padding-left: 1.25rem;
}

.mob-content-block a {
	color: #fff;
	text-decoration: underline;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.mob-content-block a:hover {
	color: var(--mob-yellow);
}

/* Forms (contact, banning) – white box, keep text dark inside */
.mob-form {
	max-width: 520px;
	margin: 0 auto 32px;
	background: var(--mob-white);
	padding: 28px;
	border-radius: var(--mob-radius-lg);
	box-shadow: var(--mob-shadow);
	border: 1px solid rgba(0, 106, 167, 0.08);
}

.mob-form .mob-page__h2,
.mob-form p {
	color: var(--mob-dark);
	text-shadow: none;
}

.mob-form__row {
	margin-bottom: 16px;
}

.mob-form__label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.9375rem;
}

.mob-form__input,
.mob-form__textarea {
	width: 100%;
	padding: 12px 16px;
	font-size: 1rem;
	font-family: var(--mob-font);
	border: 1px solid rgba(0, 106, 167, 0.25);
	border-radius: var(--mob-radius);
}

.mob-form__textarea {
	min-height: 120px;
	resize: vertical;
}

.mob-form__btn {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: var(--mob-blue);
	color: var(--mob-white);
	border: none;
	border-radius: var(--mob-radius);
	font-weight: 600;
	font-size: 1rem;
	font-family: var(--mob-font);
	cursor: pointer;
	transition: opacity 0.2s;
}

.mob-form__btn:hover {
	opacity: 0.95;
}

.mob-form__message {
	margin-top: 16px;
	padding: 12px;
	border-radius: var(--mob-radius);
	display: none;
}

.mob-form__message.show {
	display: block;
	background: rgba(0, 106, 167, 0.1);
	color: var(--mob-dark);
}

/* Banning: period options */
.mob-banning-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
}

.mob-banning-options input[type="radio"] {
	margin-right: 6px;
}

.mob-form__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0;
}

.mob-form__check input {
	margin-top: 4px;
}

/* ========== Form success popup (only popup, no inline messages) ========== */
.mob-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.mob-popup.is-open {
	display: flex;
}

.mob-popup__box {
	background: var(--mob-white);
	border-radius: var(--mob-radius-lg);
	padding: 28px 32px;
	max-width: 400px;
	width: 100%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	text-align: center;
}

.mob-popup__text {
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--mob-dark);
}

.mob-popup__btn {
	display: inline-block;
	padding: 12px 28px;
	background: var(--mob-blue);
	color: var(--mob-white);
	border: none;
	border-radius: var(--mob-radius);
	font-weight: 600;
	font-size: 1rem;
	font-family: var(--mob-font);
	cursor: pointer;
	transition: opacity 0.2s;
}

.mob-popup__btn:hover {
	opacity: 0.95;
}
