* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

:root {
	--bg: #0b0f1f;
	--bg-soft: rgba(12, 16, 38, 0.85);
	--surface: rgba(18, 24, 52, 0.7);
	--surface-strong: rgba(20, 28, 60, 0.9);
	--text: #f5f7ff;
	--muted: rgba(245, 247, 255, 0.68);
	--accent: #7b7bff;
	--accent-2: #5bf2d7;
	--accent-3: #ff8fd4;
	--stroke: rgba(255, 255, 255, 0.12);
	--shadow: 0 24px 60px rgba(3, 8, 30, 0.45);
	--radius: 24px;
	--glass: blur(20px) saturate(140%);
	--grad-1: linear-gradient(135deg, rgba(123, 123, 255, 0.85), rgba(91, 242, 215, 0.8));
	--grad-2: linear-gradient(135deg, rgba(255, 143, 212, 0.85), rgba(123, 123, 255, 0.8));
	--grad-3: radial-gradient(circle at top, rgba(123, 123, 255, 0.45), transparent 60%);
	--grad-4: radial-gradient(circle at 20% 20%, rgba(91, 242, 215, 0.5), transparent 55%);
	--success: #5bf2d7;
	--error: #ff8fd4;
}

html[data-theme="dark"] {
	--bg: #0b0f1f;
	--bg-soft: rgba(12, 16, 38, 0.85);
	--surface: rgba(18, 24, 52, 0.7);
	--surface-strong: rgba(20, 28, 60, 0.9);
	--text: #f5f7ff;
	--muted: rgba(245, 247, 255, 0.68);
	--accent: #7b7bff;
	--accent-2: #5bf2d7;
	--accent-3: #ff8fd4;
	--stroke: rgba(255, 255, 255, 0.12);
	--shadow: 0 24px 60px rgba(3, 8, 30, 0.45);
	--radius: 24px;
	--glass: blur(20px) saturate(140%);
	--grad-1: linear-gradient(135deg, rgba(123, 123, 255, 0.85), rgba(91, 242, 215, 0.8));
	--grad-2: linear-gradient(135deg, rgba(255, 143, 212, 0.85), rgba(123, 123, 255, 0.8));
	--grad-3: radial-gradient(circle at top, rgba(123, 123, 255, 0.45), transparent 60%);
	--grad-4: radial-gradient(circle at 20% 20%, rgba(91, 242, 215, 0.5), transparent 55%);
	--success: #5bf2d7;
	--error: #ff8fd4;
}

@media (prefers-color-scheme: light) {
	:root {
		--bg: #f4f6ff;
		--bg-soft: rgba(244, 246, 255, 0.95);
		--surface: rgba(255, 255, 255, 0.7);
		--surface-strong: rgba(217, 13, 13, 0.9);
		--text: #0b0f1f;
		--muted: rgba(11, 15, 31, 0.6);
		--stroke: rgba(13, 17, 36, 0.12);
		--shadow: 0 24px 60px rgba(65, 72, 120, 0.18);
	}
}

html[data-theme="light"] {
	--bg: #f4f6ff;
	--bg-soft: rgba(244, 246, 255, 0.95);
	--surface: rgba(255, 255, 255, 0.7);
	--surface-strong: rgba(255, 255, 255, 0.9);
	--text: #0b0f1f;
	--muted: rgba(11, 15, 31, 0.6);
	--stroke: rgba(13, 17, 36, 0.12);
	--shadow: 0 24px 60px rgba(65, 72, 120, 0.18);
}

html[data-theme="light"] .mobile-menu {
	background: rgba(212, 212, 212, 0.328);
	backdrop-filter: blur(8px);
}

html[data-theme="light"] .mobile-menu-panel {
	background: rgba(255, 255, 255, 0.264);
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .mobile-menu-header {
	border-bottom-color: rgba(13, 17, 36, 0.08);
}

html[data-theme="light"] .mobile-menu-links a,
html[data-theme="light"] .menu-link-btn {
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(13, 17, 36, 0.1);
}

html[data-theme="light"] .mobile-menu-links a:hover,
html[data-theme="light"] .menu-link-btn:hover {
	background: rgba(123, 123, 255, 0.08);
	border-color: rgba(123, 123, 255, 0.4);
}

html[data-theme="light"] .menu-close {
	background: rgba(255, 255, 255, 0.6);
	border-color: rgba(13, 17, 36, 0.1);
}

html[data-theme="light"] .menu-close:hover {
	background: rgba(123, 123, 255, 0.08);
	border-color: rgba(123, 123, 255, 0.4);
}

html[data-theme="light"] .config-input {
	background: rgba(255, 255, 255, 0.6);
	border-color: rgba(13, 17, 36, 0.1);
}

html[data-theme="light"] .config-input:focus {
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 0 0 0 3px rgba(123, 123, 255, 0.12);
}

html[data-theme="light"] .mobile-menu-share-config {
		border-top-color: rgba(13, 17, 36, 0.08);
	}

html[data-theme="dark"] .mobile-menu {
	background: rgba(5, 8, 20, 0.6);
	backdrop-filter: blur(4px);
}

html[data-theme="dark"] .mobile-menu-panel {
	background: var(--surface);
}

html[data-theme="dark"] .mobile-menu-header {
	border-bottom-color: var(--stroke);
}

html[data-theme="dark"] .mobile-menu-links a,
html[data-theme="dark"] .menu-link-btn {
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
}

html[data-theme="dark"] .mobile-menu-links a:hover,
html[data-theme="dark"] .menu-link-btn:hover {
	background: rgba(123, 123, 255, 0.1);
	border-color: var(--accent);
}

html[data-theme="dark"] .menu-close {
	background: var(--surface-strong);
	border-color: var(--stroke);
}

html[data-theme="dark"] .menu-close:hover {
	background: rgba(123, 123, 255, 0.1);
	border-color: var(--accent);
}

html[data-theme="dark"] .config-input {
	background: var(--surface-strong);
	border-color: var(--stroke);
}

html[data-theme="dark"] .config-input:focus {
	background: var(--surface);
	box-shadow: 0 0 0 3px rgba(123, 123, 255, 0.1);
}

html[data-theme="dark"] .mobile-menu-share-config {
	border-top-color: var(--stroke);
}

body {
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
}

body::before,
body::after {
	content: "";
	position: fixed;
	inset: -20%;
	z-index: -2;
	background: var(--grad-3), var(--grad-4);
	filter: blur(40px);
}

body::after {
	inset: -30%;
	background: radial-gradient(circle at 70% 10%, rgba(255, 143, 212, 0.35), transparent 55%),
		radial-gradient(circle at 85% 80%, rgba(91, 242, 215, 0.35), transparent 60%);
}

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

button,
a {
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.page {
	padding: 48px 7vw 132px;
	display: flex;
	flex-direction: column;
	gap: 96px;
}

main {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

section {
	scroll-margin-top: 120px;
}

#generator {
	scroll-margin-top: 10px;
}

.generator,
.trending,
.faq {
	padding: 8px 0;
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	position: sticky;
	top: 16px;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--stroke);
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow);
	z-index: 2;
}

.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--stroke);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	padding: 8px;
	gap: 4px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 999px;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	background: rgba(5, 8, 20, 0.6);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 8;
	backdrop-filter: blur(4px);
}

.mobile-menu.open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu-panel {
	width: min(340px, 90vw);
	height: 100%;
	background: var(--surface);
	border-right: 1px solid var(--stroke);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	transform: translateX(-100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow);
	overflow-y: auto;
	border-radius: 0 24px 24px 0;
}

.mobile-menu.open .mobile-menu-panel {
	transform: translateX(0);
}

.mobile-menu-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--stroke);
}

.mobile-menu-header .brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

.brand-mark {
	width: 32px;
	height: 32px;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.brand-text {
	font-size: 1.1rem;
	font-weight: 700;
	background: var(--grad-1);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.menu-close {
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	line-height: 1;

	color: var(--text);
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.menu-close:hover {
	background: rgba(123, 123, 255, 0.1);
	border-color: var(--accent);
	transform: rotate(90deg);
}

.mobile-menu-links {
	display: grid;
	gap: 10px;
}

.mobile-menu-links a {
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
	text-align: left;
	display: block;
}

.mobile-menu-links a:hover {
	background: rgba(123, 123, 255, 0.1);
	border-color: var(--accent);
	transform: translateX(4px);
}

.menu-link-btn {
	padding: 12px 16px;
	border-radius: 999px;
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
	color: var(--text);
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 1rem;
	text-align: left;
	width: 100%;
}

.menu-link-btn:hover {
	background: rgba(123, 123, 255, 0.1);
	border-color: var(--accent);
	transform: translateX(4px);
}

.mobile-menu-actions {
	display: grid;
	gap: 10px;
}

.mobile-menu-share-config {
	display: flex;
	flex-direction: column;
	animation: slideDown 0.3s ease;
	padding-top: 12px;
	border-top: 1px solid var(--stroke);
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.share-config-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.config-label {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.label-text {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text);
}

.config-input {
	padding: 10px 12px;
	color: var(--text);
	background: var(--surface-strong);
	border: 1.5px solid var(--stroke);
	border-radius: 999px;
	font-size: 0.95rem;
	transition: all 0.2s ease;
}

.config-input::placeholder {
	color: var(--muted);
}

.config-input:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
	box-shadow: 0 0 0 3px rgba(123, 123, 255, 0.1);
}

.api-status {
	font-size: 0.8rem;
	text-align: center;
	min-height: 20px;
	color: var(--muted);
	transition: color 0.3s ease;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.brand-text {
	font-size: 1.05rem;
	letter-spacing: 0.02em;
}

.brand-mark {
	width: 40px;
	height: 40px;
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
}

.nav-links {
	display: flex;
	gap: 20px;
	font-size: 0.95rem;
	color: var(--muted);
}

.nav-links a:hover {
	color: var(--text);
}

.nav-cta {
	display: flex;
	gap: 12px;
}

.hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 56px;
	align-items: center;
}

.mobile-only {
	display: none;
}

.desktop-only {
	display: block;
}

.hero-content h1 {
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	line-height: 1.1;
	margin-bottom: 16px;
}

.eyebrow {
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-size: 0.7rem;
	color: var(--muted);
	margin-bottom: 16px;
}

.subhead {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 520px;
	margin-bottom: 24px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.primary,
button.primary {
	background: var(--grad-1);
	color: #0b0f1f;
	border: none;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 12px 30px rgba(123, 123, 255, 0.35);
}

.secondary {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--stroke);
	padding: 12px 20px;
	border-radius: 999px;
	backdrop-filter: var(--glass);
}

.primary:hover,
button.primary:hover {
	transform: translateY(-2px);
}

button.ghost {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--stroke);
	padding: 10px 16px;
	border-radius: 999px;
	cursor: pointer;
	backdrop-filter: var(--glass);
}

button.ghost:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

button.ghost.small {
	padding: 6px 12px;
	font-size: 0.75rem;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 16px;
	max-width: 480px;
}

.stat-number {
	font-size: 1.4rem;
	font-weight: 700;
}

.stat-label {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
}

.hero-panel {
	display: flex;
	justify-content: center;
}

.glass-card {
	background: var(--surface);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 24px;
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow);
}

.glass-card,
.result-item,
.trend-card,
.faq-item {
	animation: floatIn 0.6s ease both;
}

.preview-label {
	color: var(--muted);
	font-size: 0.85rem;
}

.preview-name {
	font-size: 2.2rem;
	font-weight: 700;
	margin: 10px 0 16px;
}

.preview-name.fade-swap {
	animation: fadeSwap 0.5s ease;
}

.preview-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.preview-tags span {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
	font-size: 0.75rem;
}

.preview-meter {
	margin: 16px 0;
	height: 10px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
	overflow: hidden;
}

.meter-bar {
	height: 100%;
	width: 72%;
	background: var(--grad-2);
}

.preview-note {
	color: var(--muted);
	font-size: 0.9rem;
}

.section-header {
	max-width: 640px;
	margin-bottom: 28px;
}

.section-header h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: 12px;
}

.section-header p {
	color: var(--muted);
}

.generator-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}

.controls {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--muted);
}

.field select,
.field input {
	background: var(--surface-strong);
	color: var(--text);
	border: 1px solid var(--stroke);
	border-radius: 12px;
	padding: 10px 12px;
	font-size: 0.95rem;
}

.action-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hint {
	color: var(--muted);
	font-size: 0.85rem;
}

.results {
	display: flex;
	flex-direction: column;
	gap: 16px;
	scroll-margin-top: 10px;
}

.results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.results-actions {
	display: flex;
	gap: 8px;
}

.results-list {
	display: grid;
	gap: 12px;
}

.results-list.fade-swap .result-item {
	animation: fadeSwap 0.5s ease;
}

.result-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-radius: 16px;
	background: var(--surface-strong);
	border: 1px solid var(--stroke);
}

.result-item button {
	margin-left: auto;
}

.result-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(5, 10, 30, 0.2);
}

.results-footer {
	display: flex;
	justify-content: space-between;
	color: var(--muted);
	font-size: 0.85rem;
}

.trending-grid,
.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.trend-card h4 {
	margin-bottom: 10px;
}

.trend-card p {
	color: var(--muted);
	margin-bottom: 12px;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-cloud span {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--stroke);
	background: var(--surface-strong);
	font-size: 0.75rem;
}

.most-common {
	display: flex !important;
	flex-direction: column !important;
	gap: 0 !important;
	background: linear-gradient(135deg, rgba(30, 20, 70, 0.6) 0%, rgba(60, 30, 80, 0.6) 100%);
	position: relative;
	overflow: hidden;
	padding: 0 !important;
	min-height: 240px;
	width: 100%;
}

@media (prefers-color-scheme: light) {
	.most-common {
		background: linear-gradient(135deg, rgba(238, 235, 252, 0.8) 0%, rgba(243, 232, 255, 0.8) 100%);
	}
}

html[data-theme="light"] .most-common {
	background: linear-gradient(135deg, rgba(238, 235, 252, 0.659) 0%, rgba(239, 225, 255, 0.644) 100%);
}

html[data-theme="dark"] .most-common {
	background: linear-gradient(135deg, rgba(30, 20, 70, 0.6) 0%, rgba(60, 30, 80, 0.6) 100%);
}

.most-common::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
	animation: pulse 8s ease-in-out infinite;
	z-index: 0;
}

.most-common > * {
	position: relative;
	z-index: 1;
}

.most-common-header-section {
	display: flex !important;
	flex-direction: column !important;
	gap: 12px;
	padding: 24px;
	border-bottom: 1px solid var(--stroke);
	width: 100%;
	flex: 0 0 auto;
}

.most-common-header h4 {
	margin: 0 0 6px 0;
	font-size: 1.1rem;
}

.most-common-header p {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

.most-common-name {
	flex-shrink: 0;
}

.name-value {
	font-size: 2.4rem;
	font-weight: 700;
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
	letter-spacing: -0.5px;
	line-height: 1.1;
}

@media (prefers-color-scheme: light) {
	.name-value {
		background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}
}

.most-common-body {
	display: flex !important;
	flex-direction: row !important;
	gap: 0 !important;
	flex: 1;
	align-items: stretch !important;
	width: 100%;
}

.most-common-left {
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 24px;
	padding-bottom: 12px;
	border-right: 1px solid var(--stroke);
	width: 50% !important;
	flex: 0 0 50% !important;
	min-width: 0;
}

#popularityGraph {
	width: 100%;
	height: 100%;
	max-height: 240px;
}

.most-common-right {
	display: flex !important;
	flex-direction: column !important;
	padding: 24px;
	gap: 16px;
	width: 50% !important;
	flex: 0 0 50% !important;
	min-width: 0;
}

.most-common-header h4 {
	margin: 0 0 6px 0;
	font-size: 1.1rem;
}

.most-common-header p {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
	line-height: 1.4;
}

.most-common-name {
	flex-shrink: 0;
}

.name-value {
	font-size: 2.4rem;
	font-weight: 700;
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
	letter-spacing: -0.5px;
	line-height: 1.1;
}

@media (prefers-color-scheme: light) {
	.name-value {
		background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
	}
}

html[data-theme="light"] .name-value {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

html[data-theme="dark"] .name-value {
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.most-common-stats {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-grow: 1;
	justify-content: flex-start;
}

.stat-box {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--stroke);
}

.stat-percentage {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary);
	line-height: 1;
	margin: 0;
}

.stat-description {
	font-size: 0.85rem;
	color: var(--muted);
	margin: 0;
}

.stat-breakdown {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stat-line {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stat-number {
	font-weight: 700;
	color: var(--primary);
	font-size: 0.95rem;
	min-width: 55px;
}

.stat-label {
	color: var(--muted);
	font-size: 0.8rem;
	margin: 0;
}

@media (max-width: 768px) {
	.most-common {
		min-height: auto;
	}
	
	.most-common-header-section {
		border-bottom: 1px solid var(--stroke);
	}
	
	.most-common-body {
		flex-direction: column !important;
	}
	
	.most-common-left {
		border-right: none;
		border-bottom: 1px solid var(--stroke);
		min-height: 150px;
		width: 100% !important;
		flex: 0 0 auto !important;
	}
	
	.most-common-right {
		width: 100% !important;
		flex: 0 0 auto !important;
	}
	
	#popularityGraph {
		max-height: 160px;
	}
	
	.name-value {
		font-size: 2rem;
	}
	
	.stat-percentage {
		font-size: 1.6rem;
	}
}

.faq-item h4 {
	margin-bottom: 10px;
}

.faq-item p {
	color: var(--muted);
}

.footer {
	display: flex;
	flex-direction: column;
	margin-bottom: 40px;
}

.footer-shell {
	background: var(--surface);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 28px;
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(160px, 1fr));
	gap: 24px;
	align-items: start;
}

.footer-intro p {
	color: var(--muted);
	margin: 12px 0 18px;
	max-width: 360px;
}


.footer-grid {
	display: contents;
}

.footer-column {
	display: grid;
	gap: 10px;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-column h4 {
	color: var(--text);
	font-size: 1rem;
}

.footer-column a:hover {
	color: var(--text);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	color: var(--muted);
	font-size: 0.85rem;
	border-top: 1px solid var(--stroke);
	padding-top: 18px;
}

.loader {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(6, 9, 22, 0.6);
	backdrop-filter: blur(8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 10;
}

.loader.active {
	opacity: 1;
	pointer-events: auto;
}

.loader-card {
	display: grid;
	place-items: center;
	gap: 16px;
	padding: 28px 34px;
	background: var(--surface);
	border-radius: 20px;
	border: 1px solid var(--stroke);
	box-shadow: var(--shadow);
}

.loader-ring {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 4px solid rgba(255, 255, 255, 0.12);
	border-top-color: rgba(123, 123, 255, 0.9);
	border-right-color: rgba(91, 242, 215, 0.9);
	border-bottom-color: rgba(255, 143, 212, 0.9);
	animation: spin 1s linear infinite;
}

.loader-glow {
	width: 120px;
	height: 8px;
	border-radius: 999px;
	background: var(--grad-2);
	animation: glow 0.9s ease-in-out infinite;
}

.loader p {
	color: var(--muted);
	font-size: 0.95rem;
}

.fade-swap {
	animation: fadeSwap 0.5s ease;
	will-change: opacity, transform;
	transform: translate3d(0, 0, 0);
}

.mobile-sticky {
	display: none;
}

body.is-mobile .mobile-sticky {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 12px;
	background: var(--surface);
	border-radius: 20px;
	border: 1px solid var(--stroke);
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow), 0 24px 40px rgba(0, 0, 0, 0.35);
	z-index: 9;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

body.is-mobile .mobile-sticky.hidden {
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
}

body.is-mobile .page {
	padding-bottom: 140px;
}

@media (max-width: 720px) {
	.nav {
		flex-direction: column;
		border-radius: 28px;
	}

	.nav-links {
		flex-wrap: wrap;
		justify-content: center;
	}

	.results-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

body.is-mobile .page {
	padding: 28px 6vw 56px;
	gap: 72px;
}

body.is-mobile main {
	gap: 72px;
}

body.is-mobile .nav {
	position: static;
	border-radius: 24px;
	padding: 16px;
	flex-direction: row;
	justify-content: space-between;
}

body.is-mobile .nav-links,
body.is-mobile .nav-cta {
	display: none;
}

body.is-mobile .nav-toggle {
	display: inline-flex;
}

body.is-mobile .desktop-only {
	display: none;
}

body.is-mobile .mobile-only {
	display: block;
}

body.is-mobile .hero {
	grid-template-columns: 1fr;
	gap: 24px;
}

body.is-mobile .mobile-hero {
	display: grid;
	gap: 16px;
}

body.is-mobile .mobile-hero-head h1 {
	font-size: 2.2rem;
	line-height: 1.1;
	margin-bottom: 10px;
}

body.is-mobile .mobile-hero-head p {
	color: var(--muted);
}

body.is-mobile .mobile-hero-card {
	background: var(--surface);
	border: 1px solid var(--stroke);
	border-radius: 20px;
	padding: 18px;
	backdrop-filter: var(--glass);
	box-shadow: var(--shadow);
}

body.is-mobile .mobile-hero-actions {
	margin-top: 16px;
	display: flex;
	gap: 10px;
}

body.is-mobile .mobile-hero-actions button.primary {
	flex: 1;
}

.cog-btn {
	background: var(--grad-1);
	border: none;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 12px 30px rgba(123, 123, 255, 0.35);
	padding: 0;
}

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

.cog-btn img {
	width: 20px;
	height: 20px;
	filter: brightness(0) invert(1);
}

body.is-mobile .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 10px;
	width: 100%;
	text-align: center;
}

body.is-mobile .hero-actions {
	width: 100%;
}

body.is-mobile .hero-actions a,
body.is-mobile .action-row button {
	flex: 1 1 100%;
	text-align: center;
}

body.is-mobile .generator-grid {
	grid-template-columns: 1fr;
	gap: 20px;
}

body.is-mobile .controls {
	gap: 14px;
}

body.is-mobile .results-list {
	gap: 8px;
}

body.is-mobile .result-item {
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

body.is-mobile .results-actions {
	width: 100%;
	justify-content: space-between;
}

body.is-mobile .results-header {
	gap: 10px;
}

body.is-mobile .results-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 8px;
}

body.is-mobile .results-footer {
	flex-direction: column;
	gap: 6px;
}

body.is-mobile .footer-shell {
	padding: 22px;
}

body.is-mobile .footer-top {
	grid-template-columns: 1fr;
}

body.is-mobile .footer-intro {
	text-align: left;
}

body.is-mobile .footer-cta {
	flex-direction: column;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes glow {
	0%,
	100% {
		opacity: 0.5;
		transform: scaleX(0.8);
	}
	50% {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes floatIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeSwap {
	0% {
		opacity: 0.15;
		transform: translateY(6px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
