a,
button {
	color: inherit
}

.app,
body,
html {
	background: var(--bg)
}

.btn-discord:hover,
.btn-shop:hover {
	transform: translateY(-2px)
}


.btn-api {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .375rem .75rem;
    border-radius: 9999px;
    background: #8b5cf6;
    font-size: .875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all .15s;
}
.btn-api:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}
.btn-api svg {
    width: .875rem;
    height: .875rem;
}

.brand span,
.platform-head h1 {
	font-weight: 700;
	letter-spacing: -.02em
}

.brand span,
.platform-head h1,
h1,
h2,
h3,
h4 {
	letter-spacing: -.02em
}

.modal-btn,
a {
	text-decoration: none
}

.header-inner,
footer {
	max-width: 72rem;
	margin: 0 auto
}

:root {
	--bg: #000000;
	--bg-deep: #000000;
	--fg: #f5f5f5;
	--card: #121212;
	--card-2: #181818;
	--muted: #888888;
	--border: #262626;
	--silver: #c4c4c4;
	--silver-bright: #e8e8e8;
	--accent: #ffffff;
	--shadow: 0 20px 60px -20px rgba(0, 0, 0, .8), 0 10px 30px -10px rgba(0, 0, 0, .6);
	--glow: 0 0 40px -10px rgba(255, 255, 255, .1);
	--gradient-silver: linear-gradient(135deg, #ffffff 0%, #a3a3a3 50%, #525252 100%);
	--gradient-glow: radial-gradient(60% 60% at 50% 0%, rgba(245, 245, 245, .05) 0%, transparent 80%);
	--font-sans: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--font-display: "Space Grotesk", system-ui, sans-serif
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0 solid var(--border)
}

html {
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none
}

html::-webkit-scrollbar {
	display: none
}

body,
html {
	color: var(--fg);
	font-family: var(--font-sans);
	-webkit-font-smoothing: antialiased;
	min-height: 100%
}

img,
svg,
video {
	display: block;
	max-width: 100%
}

button {
	font: inherit;
	cursor: pointer;
	background: 0 0
}

.brand span,
.item-name,
h1,
h2,
h3,
h4 {
	font-family: var(--font-display)
}

h1,
h2,
h3,
h4 {
	line-height: 1.1
}

.app {
	position: relative;
	min-height: 100vh
}

.bg-grid {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0
}

.bg-glow,
.bg-top-fade {
	position: fixed;
	inset-inline: 0;
	z-index: 1;
	top: 0;
	pointer-events: none
}

.bg-grid canvas {
	width: 100%;
	height: 100%;
	display: block
}

.bg-vignette {
	display: none
}

.bg-top-fade {
	height: 380px;
	background: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .95) 20%, rgba(0, 0, 0, .8) 45%, rgba(0, 0, 0, .4) 70%, rgba(0, 0, 0, 0) 100%)
}

.bg-glow {
	height: 600px;
	background: var(--gradient-glow)
}

.stack {
	position: relative;
	z-index: 2
}

.text-gradient {
	background: var(--gradient-silver);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent
}

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: rgba(0, 0, 0, .8);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px)
}

.item,
.script-search-input-wrap {
	position: relative
}

.header-inner {
	padding: .75rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem
}

.brand,
.header-cta {
	display: flex;
	align-items: center;
	gap: .5rem
}

.btn-discord,
.btn-shop {
	display: inline-flex;
	gap: .375rem;
	padding: .375rem .75rem;
	transition: .15s;
	font-size: .875rem
}

.brand img {
	height: 2.25rem;
	width: 2.25rem;
	object-fit: contain
}

.btn-discord svg,
.btn-shop svg,
.ext-icon {
	width: .875rem;
	height: .875rem
}

.brand span {
	font-size: 1.125rem
}

.btn-shop {
	align-items: center;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, .03);
	font-weight: 500;
	color: var(--fg)
}

.btn-shop:hover {
	background: #1a1a1a
}

.btn-discord:hover,
.modal-btn.primary:hover {
	background: #e2e2e2
}

.btn-discord {
	align-items: center;
	border-radius: 9999px;
	background: #fff;
	font-weight: 600;
	color: #000;
	box-shadow: var(--glow)
}

.item,
.price {
	border: 1px solid var(--border)
}

main {
	animation: .8s cubic-bezier(.4, 0, .2, 1) both fade-in
}

@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(12px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.platform {
	max-width: 64rem;
	margin: 0 auto;
	padding: 3rem 1rem
}

.platform-head {
	margin-bottom: 3rem
}

.platform-kicker {
	margin-bottom: .75rem;
	font-size: .75rem;
	text-transform: uppercase;
	letter-spacing: .3em;
	color: var(--muted)
}

.platform-head h1 {
	font-size: 2.25rem
}

.item-name,
.price,
.section h2 {
	font-weight: 600
}

.platform-head .rule {
	margin-top: 1rem;
	height: 1px;
	width: 6rem;
	background: linear-gradient(to right, rgba(255, 255, 255, .3), transparent)
}

.sections {
	display: flex;
	flex-direction: column;
	gap: 3rem
}

.groups,
.item-right {
	flex-direction: column
}

.section h2 {
	margin-bottom: 1.5rem;
	font-size: 1.5rem
}

.group h3,
.price {
	font-size: .75rem
}

.groups {
	display: flex;
	gap: 2rem
}

.group h3 {
	margin-bottom: .75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .15em;
	color: var(--muted)
}

.items {
	display: grid;
	gap: .5rem
}

@media (min-width:640px) {
	.items {
		grid-template-columns: 1fr 1fr
	}
}

.item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	background: rgba(255, 255, 255, .02);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: .75rem;
	padding: .85rem 1rem;
	transition: transform .08s, border-color .08s, background .08s, box-shadow .08s, backdrop-filter .08s;
	opacity: 0;
	transform: translateY(8px);
	animation: .45s cubic-bezier(.2, .7, .2, 1) forwards item-in
}

@keyframes item-in {
	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.item-main {
	flex: 1;
	min-width: 0
}

.item-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem
}

.item-right {
	display: flex;
	align-items: flex-end;
	gap: .25rem
}

.price {
	background: rgba(255, 255, 255, .05);
	padding: .25rem .5rem;
	border-radius: .375rem
}

.script-search {
    max-width: 40rem;          /* vorher 64rem – jetzt schmaler */
    margin: -1.5rem auto 2.5rem; /* zentriert */
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.script-search-input-wrap svg {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1rem;
	height: 1rem;
	color: var(--muted);
	pointer-events: none
}

.script-search input {
	width: 100%;
	padding: .85rem 1rem .85rem 2.5rem;
	font: inherit;
	font-family: var(--font-sans);
	font-size: .95rem;
	color: var(--fg);
	background: linear-gradient(180deg, var(--card), var(--card-2));
	border: 1px solid var(--border);
	border-radius: .75rem;
	outline: 0;
	transition: .15s;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04)
}

.script-search input::placeholder {
	color: var(--muted)
}

.script-search input:focus {
	border-color: rgba(255, 255, 255, .25);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .05), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.script-status {
	font-size: .825rem;
	color: var(--muted);
	min-height: 1.1em
}

.modal-btn,
a.item:hover .ext-icon {
	color: var(--fg)
}

.script-status.error {
	color: #ff8a8a
}

.modal-btn {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .5rem .9rem;
	border-radius: .5rem;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, .04);
	font-size: .825rem;
	font-weight: 500;
	transition: .15s
}

.ext-icon,
footer {
	color: var(--muted)
}

.modal-btn:hover {
	background: rgba(255, 255, 255, .1);
	transform: translateY(-1px)
}

.modal-btn.primary {
	background: #fff;
	color: #000;
	border-color: #fff
}

.modal-btn svg {
	width: .9rem;
	height: .9rem
}

.ext-icon {
	transition: color .15s
}

footer {
	padding: 2.5rem 1rem;
	text-align: center;
	font-size: .875rem
}

@media (min-width:768px) {
	.header-inner {
		padding: .75rem 1.5rem
	}

	.platform {
		padding: 4rem 1.5rem
	}

	.platform-head h1 {
		font-size: 3.75rem
	}

	.script-search {
		padding: 0 1.5rem;
		margin-top: -1rem
	}

	footer {
		padding: 2.5rem 1.5rem
	}
}