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

html {
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
	padding: 0;
}

img,
svg,
canvas {
	display: block;
	max-width: 100%;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	list-style: none;
}

/* =========================================
   ROOT
========================================= */
:root {
	--bg-main: #f4f8ff;
	--bg-soft: #edf4ff;
	--bg-card: #ffffff;
	--bg-card-2: #f9fbff;

	--text-main: #17304a;
	--text-soft: #5d7188;
	--text-light: #7f93a8;

	--primary: #4a8cff;
	--primary-dark: #2d6fe8;
	--primary-light: #dbe9ff;

	--accent: #59d39b;
	--accent-dark: #2db679;

	--warning: #ffb84d;
	--danger: #ff6f7d;
	--success: #2fc07b;

	--border: #dce7f5;
	--shadow-soft: 0 10px 30px rgba(39, 93, 173, 0.08);
	--shadow-card: 0 8px 24px rgba(39, 93, 173, 0.10);

	--radius-s: 10px;
	--radius-m: 16px;
	--radius-l: 24px;
	--radius-xl: 30px;

	--container: 1100px;

	--space-1: 0.4rem;
	--space-2: 0.7rem;
	--space-3: 1rem;
	--space-4: 1.25rem;
	--space-5: 1.75rem;
	--space-6: 2.5rem;

	--transition: 0.2s ease;
}

/* =========================================
   BODY
========================================= */
body {
	min-height: 100vh;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--text-main);
	background:
		radial-gradient(circle at top left, #ffffff 0%, #f4f8ff 35%, #edf4ff 100%);
	line-height: 1.5;
}

/* =========================================
   GENERAL LAYOUT
========================================= */
.page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.page {
	position: relative;
	min-height: 100vh;
}

/* Hintergrund-Logo */
.page::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;

	width: 400px;
	height: 160px;

	background-image: url('logo1.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left top;

	opacity: 1; /* sehr dezent */
	pointer-events: none;
	z-index: 0;
}

.topbar,
.page-main,
.footer {
	position: relative;
	z-index: 1;
}


.container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.section {
	padding: 1.5rem 0;
}

.page-main {
	flex: 1;
	padding: 1rem 0 2rem;
}

/* =========================================
   TOP BAR
========================================= */


.topbar-inner {
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}


.brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--text-main);
}

.brand-badge {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--primary), #78a9ff);
	color: #fff;
	font-weight: 700;
	box-shadow: var(--shadow-soft);
}

.user-menu {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.user-button {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	min-height: 46px;
	padding: 0.55rem 1rem;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: #fff;
	color: var(--text-main);
	box-shadow: var(--shadow-soft);
	cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.user-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(39, 93, 173, 0.14);
	border-color: #c6d8f3;
}

.user-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--primary-light);
	color: var(--primary-dark);
	font-weight: 700;
	font-size: 0.95rem;
}

.user-name {
	font-weight: 700;
	font-size: 0.95rem;
	white-space: nowrap;
}

/* =========================================
   HEADINGS
========================================= */
.page-title {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.page-subtitle {
	margin-top: 0.65rem;
	max-width: 720px;
	color: var(--text-soft);
	font-size: 1rem;
}

.section-title {
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	font-weight: 800;
	margin-bottom: 0.35rem;
}

.section-text {
	color: var(--text-soft);
	margin-bottom: 1.2rem;
}

/* =========================================
   HERO / WELCOME
========================================= */
.hero {
	display: grid;
	gap: 1rem;
	padding: 1.25rem 0 0.75rem;
}

.hero-card {
	background: linear-gradient(145deg, #ffffff, #f3f8ff);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow-card);
	padding: 1.4rem;
}

.hero-stats {
	margin-top: 1.1rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.stat-box {
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--border);
	border-radius: var(--radius-m);
	padding: 0.85rem 1rem;
}

.stat-label {
	color: var(--text-soft);
	font-size: 0.85rem;
}

.stat-value {
	margin-top: 0.2rem;
	font-size: 1.3rem;
	font-weight: 800;
}

/* =========================================
   GRID / CARDS
========================================= */
.grid {
	display: grid;
	gap: 1rem;
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-l);
	box-shadow: var(--shadow-card);
	padding: 1.1rem;
}

.card-transparent {
	background: transparent;
	border: 0px solid var(--border);
	border-radius: var(--radius-l);
	padding: 1.1rem;
}

.card-soft {
	background: var(--bg-card-2);
}

.card-title {
	font-size: 1.05rem;
	font-weight: 800;
	margin-bottom: 0.35rem;
}

.card-text {
	color: var(--text-soft);
	font-size: 0.95rem;
}

.module-card {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	border: 1px solid var(--border);
	border-radius: 26px;
	box-shadow: var(--shadow-card);
	padding: 1.1rem;
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.module-card:hover {
	transform: translateY(-3px);
	border-color: #c5daf7;
	box-shadow: 0 14px 34px rgba(39, 93, 173, 0.14);
}

.module-card::after {
	content: "";
	position: absolute;
	inset: auto -40px -40px auto;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(74, 140, 255, 0.12), transparent 65%);
}

.module-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.9rem;
	margin-bottom: 1rem;
}

.module-icon {
	width: 54px;
	height: 54px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--primary-light);
	color: var(--primary-dark);
	font-size: 1.3rem;
	font-weight: 800;
	flex-shrink: 0;
}

.module-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 0.25rem;
}

.module-desc {
	color: var(--text-soft);
	font-size: 0.92rem;
}

.module-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

/* =========================================
   BADGES
========================================= */
.badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	border: 1px solid transparent;
}

.badge-primary {
	background: var(--primary-light);
	color: var(--primary-dark);
}

.badge-success {
	background: #ddf8ea;
	color: #118554;
}

.badge-warning {
	background: #fff1d8;
	color: #b87706;
}

.badge-danger {
	background: #ffe4e8;
	color: #c23a50;
}

.badge-locked {
	background: #eef2f7;
	color: #66788f;
	border-color: #dbe4ef;
}

/* =========================================
   BUTTONS
========================================= */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-height: 48px;
	padding: 0.8rem 1.1rem;
	border-radius: 16px;
	border: 1px solid transparent;
	cursor: pointer;
	font-weight: 700;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--primary), #76a7ff);
	box-shadow: 0 10px 24px rgba(74, 140, 255, 0.28);
}

.btn-primary:hover {
	background: linear-gradient(135deg, var(--primary-dark), #5d96ff);
}

.btn-secondary {
	background: #fff;
	color: var(--text-main);
	border-color: var(--border);
	box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
	border-color: #c5daf7;
}

.btn-success {
	background: linear-gradient(135deg, var(--accent), #7ae0b4);
	color: #fff;
	box-shadow: 0 10px 24px rgba(89, 211, 155, 0.24);
}

.btn-danger {
	background: linear-gradient(135deg, var(--danger), #ff8f99);
	color: #fff;
	box-shadow: 0 10px 24px rgba(255, 111, 125, 0.22);
}

.btn-full {
	width: 100%;
}

/* =========================================
   LOGIN
========================================= */
.auth-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 1.25rem;
}

.auth-shell {
	width: min(100%, 980px);
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(220, 231, 245, 0.95);
	border-radius: 32px;
	box-shadow: 0 18px 45px rgba(39, 93, 173, 0.12);
	overflow: hidden;
	backdrop-filter: blur(12px);
}

.auth-panel {
	padding: 2rem;
}

.auth-info {
	background: linear-gradient(160deg, #4a8cff 0%, #7caeff 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.auth-info::before,
.auth-info::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.11);
}

.auth-info::before {
	width: 220px;
	height: 220px;
	right: -70px;
	top: -50px;
}

.auth-info::after {
	width: 180px;
	height: 180px;
	left: -50px;
	bottom: -60px;
}

.auth-kicker {
	display: inline-block;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-weight: 700;
	font-size: 0.85rem;
	margin-bottom: 1rem;
}

.auth-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	font-weight: 900;
}

.auth-text {
	margin-top: 1rem;
	max-width: 34ch;
	color: rgba(255, 255, 255, 0.92);
}

.auth-features {
	margin-top: 1.5rem;
	display: grid;
	gap: 0.75rem;
}

.auth-feature {
	padding: 0.8rem 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.13);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.login-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.login-title {
	font-size: 1.9rem;
	font-weight: 800;
	margin-bottom: 0.45rem;
}

.login-subtitle {
	color: var(--text-soft);
	margin-bottom: 1.4rem;
}

/* =========================================
   FORMS
========================================= */
.form-group {
	margin-bottom: 1rem;
}

.form-label {
	display: inline-block;
	margin-bottom: 0.45rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	min-height: 50px;
	padding: 0.85rem 1rem;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: #fff;
	color: var(--text-main);
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-textarea {
	min-height: 120px;
	resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	border-color: #93b9ff;
	box-shadow: 0 0 0 4px rgba(74, 140, 255, 0.12);
	background: #fff;
}

.form-help {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.84rem;
	color: var(--text-light);
}

.form-row {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================================
   ALERTS
========================================= */
.alert {
	padding: 0.9rem 1rem;
	border-radius: 16px;
	border: 1px solid transparent;
	margin-bottom: 1rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.alert-info {
	background: #eaf4ff;
	color: #16518d;
	border-color: #cfe4ff;
}

.alert-success {
	background: #e5faef;
	color: #137549;
	border-color: #c9efd9;
}

.alert-warning {
	background: #fff5df;
	color: #986205;
	border-color: #ffe8b3;
}

.alert-error {
	background: #ffe7ea;
	color: #ac2741;
	border-color: #ffc7cf;
}

/* =========================================
   GAME UI
========================================= */
.game-shell {
	display: grid;
	gap: 1rem;
}

.game-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.game-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 42px;
	padding: 0.65rem 0.9rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-soft);
	font-weight: 700;
}

.score-pill {
	color: #145a9f;
	background: #edf5ff;
	border-color: #d2e5ff;
}

.timer-pill {
	color: #985f05;
	background: #fff4de;
	border-color: #ffe3aa;
}

.streak-pill {
	color: #0f8750;
	background: #e6faef;
	border-color: #ccefdc;
}

.game-board {
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	border: 1px solid var(--border);
	border-radius: 30px;
	box-shadow: var(--shadow-card);
	padding: 1.25rem;
}

.game-question {
	text-align: center;
	padding: 1rem 0;
}

.question-label {
	color: var(--text-soft);
	font-size: 0.95rem;
	margin-bottom: 0.45rem;
}

.question-text {
	font-size: clamp(2rem, 6vw, 4rem);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.03em;
}

.game-answer {
	margin-top: 1rem;
	max-width: 420px;
	margin-inline: auto;
}

.answer-input {
	width: 100%;
	min-height: 62px;
	padding: 0.95rem 1rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 800;
	border: 2px solid var(--border);
	border-radius: 20px;
	background: #fff;
	color: var(--text-main);
	outline: none;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.answer-input:focus {
	border-color: #93b9ff;
	box-shadow: 0 0 0 5px rgba(74, 140, 255, 0.12);
}

.game-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

/* =========================================
   PROGRESS / LEADERBOARD
========================================= */
.progress-wrap {
	display: grid;
	gap: 0.5rem;
}

.progress-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.92rem;
	color: var(--text-soft);
}

.progress-bar {
	width: 100%;
	height: 14px;
	border-radius: 999px;
	background: #e8effa;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--primary), #7cadff);
}

.rank-list {
	display: grid;
	gap: 0.75rem;
}

.rank-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.8rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: #fff;
}

.rank-number {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--primary-light);
	color: var(--primary-dark);
	font-weight: 800;
}

.rank-name {
	font-weight: 700;
}

.rank-points {
	color: var(--text-soft);
	font-weight: 700;
}

/* =========================================
   TABLES
========================================= */
.table-wrap {
	width: 100%;
	overflow-x: auto;
	border-radius: 20px;
	border: 1px solid var(--border);
	background: #fff;
	box-shadow: var(--shadow-soft);
}

.table {
	width: 100%;
	border-collapse: collapse;
	min-width: 620px;
}

.table th,
.table td {
	padding: 0.95rem 1rem;
	text-align: left;
	border-bottom: 1px solid #edf2f9;
}

.table th {
	background: #f7faff;
	color: var(--text-soft);
	font-size: 0.88rem;
	font-weight: 800;
}

.table tr:last-child td {
	border-bottom: none;
}

/* =========================================
   FOOTER
========================================= */
.footer {
	padding: 1.2rem 0 2rem;
	color: var(--text-light);
	font-size: 0.9rem;
	text-align: center;
}

/* =========================================
   UTILITIES
========================================= */
.text-center {
	text-align: center;
}

.text-soft {
	color: var(--text-soft);
}

.text-light {
	color: var(--text-light);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 0.8rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.4rem; }
.mt-5 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 0.8rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.4rem; }
.mb-5 { margin-bottom: 2rem; }

.hidden {
	display: none !important;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 980px) {
	.auth-shell {
		grid-template-columns: 1fr;
	}

	.auth-info {
		min-height: 260px;
	}

	.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.container {
		width: min(100% - 1rem, var(--container));
	}

	.topbar-inner {
		min-height: 64px;
	}

	.user-name {
		display: none;
	}

	.hero-card,
	.card,
	.module-card,
	.game-board,
	.auth-panel {
		padding: 1rem;
	}

	.hero-stats,
	.grid-2,
	.grid-3,
	.grid-4,
	.form-row {
		grid-template-columns: 1fr;
	}

	.question-text {
		font-size: clamp(1.8rem, 10vw, 3rem);
	}

	.answer-input {
		min-height: 56px;
		font-size: 1.3rem;
	}

	.btn,
	.form-input,
	.form-select,
	.form-textarea {
		border-radius: 14px;
	}
}

@media (max-width: 480px) {
	.auth-page {
		padding: 0.75rem;
	}

	.auth-shell {
		border-radius: 24px;
	}

	.page-main {
		padding-top: 0.75rem;
	}

	.module-top {
		align-items: center;
	}

	.module-icon {
		width: 48px;
		height: 48px;
		border-radius: 16px;
	}

	.pill {
		min-height: 38px;
		padding: 0.55rem 0.8rem;
		font-size: 0.9rem;
	}
}


.modules-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.module-link {
	display: block;
}

.module-tile {
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	border-radius: 24px;
	border: 1px solid var(--border);
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.module-link:hover .module-tile {
	transform: translateY(-3px);
	border-color: #c5daf7;
	box-shadow: 0 14px 34px rgba(39, 93, 173, 0.14);
}

.module-tile-disabled {
	opacity: 0.3;
}

.module-tile-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.module-tile-icon {
	width: 52px;
	height: 52px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--primary-light);
	color: var(--primary-dark);
	font-size: 1.2rem;
	font-weight: 800;
	flex-shrink: 0;
}

.module-tile-body {
	margin-top: 1rem;
}

.module-tile-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.module-tile-text {
	color: var(--text-soft);
	font-size: 0.9rem;
	line-height: 1.35;
}

@media (max-width: 1200px) {
	.modules-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.modules-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.modules-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.module-tile {
		border-radius: 20px;
	}
}

@media (max-width: 480px) {
	.modules-grid {
		grid-template-columns: 1fr;
	}
}

.modules-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
}

.module-link {
	display: block;
}

.module-tile {
	aspect-ratio: 1 / 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	border-radius: 24px;
	border: 1px solid var(--border);
	background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
	box-shadow: var(--shadow-card);
	transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.module-link:hover .module-tile {
	transform: translateY(-3px);
	border-color: #c5daf7;
	box-shadow: 0 14px 34px rgba(39, 93, 173, 0.14);
}

.module-tile-disabled {
	opacity: 0.3;
}

.module-tile-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.module-tile-icon {
	width: 52px;
	height: 52px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background: var(--primary-light);
	color: var(--primary-dark);
	font-size: 1.2rem;
	font-weight: 800;
	flex-shrink: 0;
}

.module-tile-body {
	margin-top: 1rem;
}

.module-tile-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}

.module-tile-text {
	color: var(--text-soft);
	font-size: 0.9rem;
	line-height: 1.35;
}

@media (max-width: 1200px) {
	.modules-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.modules-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.modules-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.modules-grid {
		grid-template-columns: 1fr;
	}
}

.register-button {
	background: #f4c542;
	color: #111111;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.register-button .user-avatar,
.register-button .user-name {
	color: #111111;
}