/* Web-Shop: ergänzt style.css */
.hidden { display: none !important; }

.shop-hero { position: relative; overflow: hidden; isolation: isolate; padding: 90px clamp(20px, 6vw, 90px) 70px; text-align: center; }
.shop-hero-bg { position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(ellipse at 20% 20%, rgba(255,179,71,0.28), transparent 50%),
	radial-gradient(ellipse at 80% 30%, rgba(181,140,255,0.3), transparent 55%),
	radial-gradient(ellipse at 50% 100%, rgba(111,224,255,0.22), transparent 60%), var(--bg); }
.shop-hero h1 { margin: 16px 0 10px; font: 900 clamp(34px, 6vw, 70px)/1.05 var(--title);
	background: linear-gradient(180deg, #fff3cf, var(--gold) 50%, #c4842e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shop-hero .lead { max-width: 640px; margin: 0 auto; }
.perks { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.perks span { padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,0.07); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }

.account-section { padding-top: 30px; padding-bottom: 30px; }
.account-card { max-width: 620px; margin: 0 auto; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, #17224a, #0e1530);
	border: 1px solid rgba(247,205,110,0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.account-card h2 { font-size: 26px; margin-bottom: 6px; }
.account-card .sub { margin-bottom: 18px; font-size: 15px; }
form label { display: block; margin-bottom: 12px; font-size: 14px; color: var(--dim); font-weight: 600; }
form input { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: #0a1024; color: var(--text); font: 16px "Exo2", sans-serif; }
form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(111,224,255,0.2); }
form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.msg { min-height: 1.4em; margin: 12px 0 0; color: var(--gold); font-size: 14px; text-align: center; }
.me-head { display: flex; align-items: center; gap: 14px; }
.me-head > div:nth-child(2) { flex: 1; }
.me-head h2 { margin: 0; text-align: left; font-size: 24px; }
.me-head .small { margin: 0; }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: linear-gradient(135deg, #ffe08f, var(--gold2)); box-shadow: 0 6px 18px rgba(255,179,71,0.4); }
.label { margin: 20px 0 8px; color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.world { text-align: left; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer; font: inherit; transition: border-color 0.2s, background 0.2s; }
.world b { display: block; }
.world span { font-size: 13px; color: var(--dim); }
.world.on { border-color: var(--gold); background: rgba(247,205,110,0.12); box-shadow: 0 0 0 3px rgba(247,205,110,0.15); }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.shop-grid.gems { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pack { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 22px; border-radius: 22px; overflow: hidden;
	background: linear-gradient(180deg, var(--c1), var(--c2)); border: 2px solid var(--edge); box-shadow: 0 18px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.18);
	transition: transform 0.25s, box-shadow 0.25s; }
.pack::before { content: ""; position: absolute; inset: -40% -40% auto; height: 120%; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%); pointer-events: none; }
.pack:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 30px var(--glow); }
.pack h3 { margin: 10px 0 4px; font: 800 21px var(--title); color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.pack-icon { font-size: 62px; line-height: 1; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45)); animation: float 3.4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.gem-amount { margin: 0; font: 900 24px var(--title); color: #bff3ff; text-shadow: 0 0 18px rgba(111,224,255,0.6); }
.pack-desc { flex: 1; margin: 8px 0 6px; color: rgba(255,255,255,0.85); font-size: 14px; }
.pack-meta { min-height: 1.2em; margin: 0 0 14px; color: rgba(255,255,255,0.6); font-size: 12px; }
.pack .buy { width: 100%; justify-content: center; font-size: 19px; }
.ribbon { position: absolute; top: 16px; right: -38px; transform: rotate(35deg); width: 160px; padding: 5px 0; text-align: center; font-size: 12px; font-weight: 800;
	color: #fff; background: linear-gradient(90deg, #ff4f6a, #ff7b3d); box-shadow: 0 4px 12px rgba(0,0,0,0.35); }

.theme-gem { --c1: #1f4f8a; --c2: #10264a; --edge: rgba(111,224,255,0.6); --glow: rgba(111,224,255,0.45); }
.theme-gold { --c1: #8a5a17; --c2: #3d2508; --edge: rgba(255,214,120,0.8); --glow: rgba(255,200,80,0.5); }
.theme-blue { --c1: #1d5aa0; --c2: #0c2650; --edge: rgba(111,224,255,0.7); --glow: rgba(111,224,255,0.45); }
.theme-green { --c1: #1f7a4c; --c2: #0b3322; --edge: rgba(107,227,154,0.7); --glow: rgba(107,227,154,0.45); }
.theme-violet { --c1: #5a35a8; --c2: #241246; --edge: rgba(181,140,255,0.75); --glow: rgba(181,140,255,0.5); }
.theme-orange { --c1: #a8561c; --c2: #48200a; --edge: rgba(255,170,90,0.75); --glow: rgba(255,150,70,0.45); }
.theme-red { --c1: #a3283c; --c2: #440d18; --edge: rgba(255,110,120,0.75); --glow: rgba(255,90,110,0.45); }
.theme-royal { --c1: #6b2fa0; --c2: #2a0f44; --edge: rgba(255,214,120,0.85); --glow: rgba(255,200,120,0.55); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 140%); max-width: min(560px, 92vw); padding: 14px 20px; border-radius: 14px;
	font-weight: 700; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transition: transform 0.35s; }
.toast.show { transform: translate(-50%, 0); }
.toast.ok { background: linear-gradient(180deg, #2f9a62, #1b6a41); color: #fff; }
.toast.bad { background: linear-gradient(180deg, #a3354a, #6e1d2c); color: #fff; }

@media (max-width: 680px) {
	.shop-hero { padding: 60px 16px 40px; }
	.account-card { padding: 20px; }
	.me-head { flex-wrap: wrap; }
	.toast { bottom: 90px; }
}
