.slot-machine {
	width: 100%;
	padding: 200px 0 16px 0;
	background: url('/img/machine/lmbg.jpg') no-repeat center -20px;
	overflow: hidden;
	position: relative;
}
#textToDisplay {
	position: absolute;
	left: 185px;
	top: 25px;
	font-size: 22pt;
	font-weight: bold;
}
.machine-header {
	text-align: center;
}
.slots {
	width: 80%;
	margin: 20px 0 20px 70px;;
	float: left;
	position: relative;
	background: gray;
}
.slot {
	width: 150px;
	margin: 5px;
	height: 201px;
	overflow: hidden;
	float: left;
	position: relative;
	border: 10px inset gray;
}
.slot:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(64, 64, 64, 0);
	background: -moz-linear-gradient(top, rgba(64, 64, 64, 0.5) 0%, rgba(179, 179, 179, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(179, 179, 179, 0) 80%, rgba(64, 64, 64, 0.5) 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(64, 64, 64, 0.5)), color-stop(20%, rgba(179, 179, 179, 0)), color-stop(50%, rgba(255, 255, 255, 0)), color-stop(80%, rgba(179, 179, 179, 0)), color-stop(100%, rgba(64, 64, 64, 0.5)));
	background: -webkit-linear-gradient(top, rgba(64, 64, 64, 0.5) 0%, rgba(179, 179, 179, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(179, 179, 179, 0) 80%, rgba(64, 64, 64, 0.5) 100%);
	background: -o-linear-gradient(top, rgba(64, 64, 64, 0.5) 0%, rgba(179, 179, 179, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(179, 179, 179, 0) 80%, rgba(64, 64, 64, 0.5) 100%);
	background: -ms-linear-gradient(top, rgba(64, 64, 64, 0.5) 0%, rgba(179, 179, 179, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(179, 179, 179, 0) 80%, rgba(64, 64, 64, 0.5) 100%);
	background: linear-gradient(to bottom, rgba(64, 64, 64, 0.5) 0%, rgba(179, 179, 179, 0) 20%, rgba(255, 255, 255, 0) 50%, rgba(179, 179, 179, 0) 80%, rgba(64, 64, 64, 0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#808080', endColorstr='#808080', GradientType=0);
}
.spinner {
	position: relative;
}
#slot1.spin .spinner {
	animation: spin 0.8s ease-out 0s infinite normal;
}
#slot2.spin .spinner {
	animation: spin 0.7s ease-out 0.15s infinite normal;
}
#slot3.spin .spinner {
	animation: spin 0.6s ease-out 0.3s infinite normal;
}
.slot img {
	width: 100%;
	//margin-bottom: 10px;
}
#afterSpin {
	height: 30px;
	line-height: 30px;
	font-size: 20px;
	text-align: center;
	float: left;
	clear: both;
	width: 100%;
}
.actions-continer {
	float: left;
	clear: both;
	margin-left: 80px;
	margin-top: 30px;
}
#coins,
#bet,
#buttons,
#actions span {
	float: left;
}
#actions span {
	margin: 20px 5px;
	font-size: 18px;
	line-height: 29px;
}
#coins,
#bet {
	border: 1px solid white;
	padding: 4px 12px;
	font-size: 18px;
}
#coins {
	margin: 20px 15px 20px 5px;
}
#bet {
	margin: 20px 5px;
}
#buttons {
	height: 72px;
	padding: 0;
	position: relative;
}
#buttons button {
	font-size: 16px;
	border: 0;
	box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.5);
	background-color: white;
}
#buttons button:active {
	-webkit-transform: scale(0.9, 0.9);
	-ms-transform: scale(0.9, 0.9);
	transform: scale(0.9, 0.9);
	transition: transform 0.25s ease;
}
#betup,
#betdown {
	position: absolute;
	left: 0;
	width: 29px;
	height: 29px;
	border-radius: 0;
	line-height: 29px;
}
#betup {
	top: 6px;
}
#betdown {
	bottom: 6px;
}
#spin {
	margin-left: 100px;
	margin-top: 10px;
	padding: 15px 20px;
	border-radius: 0;
	font-size: 25px!important;
}
.misc-info {
	width: 100%;
}
.misc-info th {
	background: rgba(50, 50, 80, 1);
	color: white;
	padding: 3px 7px;
}
.misc-info td {
	border-bottom: 1px solid rgba(50, 50, 80, 1);
	padding: 4px 7px;
	vertical-align: middle;
	text-align: left;
	color: rgba(50, 50, 80, 1);
}
.misc-info td[rowspan] {
	width: 10px;
	padding: 0;
	text-align: center;
}
.orange-card,
.blue-card,
.logo-card {
	display: block;
	height: 22px;
	width: 14px;
	float: left;
	margin: 0 1px;
}
.orange-card {
	background: rgba(255, 127, 0, 1);
}
.blue-card {
	background: rgba(0, 100, 200, 1);
}
.logo-card {
	background: url('/img/machine/slot0.jpg') no-repeat 0 0;
	background-size: cover;
}

@keyframes spin {
	0% {top: 0;}
	16.666% {top: -100%;}
	33.333% {top: -200%;}
	50% {top: -300%;}
	66.666% {top: -400%;}
	83.333% {top: -500%;}
	100% {top: -600%;}
}

/* ===== Coins-Leiste, LOS-Button, Kauf-Fenster ===== */
:root {
	--gold: #f5c518;
	--gold-deep: #b8860b;
	--ink: #0b0809;
	--ink-2: #1a1013;
	--arcade-red: #d0202a;
}
#actions.actions-continer {
	display: grid;
	grid-template-columns: 1fr auto auto;
	grid-template-areas: "wallet info spin";
	align-items: center;
	column-gap: 16px;
	row-gap: 8px;
	float: none;
	clear: both;
	box-sizing: border-box;
	width: 90%;
	margin: 0 auto;
}
#actions .wallet {
	grid-area: wallet;
}
#actions .wallet-display {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	padding: 8px 16px 6px;
	background: linear-gradient(180deg, #050304 0%, var(--ink-2) 100%);
	border: 2px solid var(--gold-deep);
	border-radius: 6px;
	box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(245, 197, 24, 0.25), 0 4px 14px rgba(160, 20, 30, 0.35);
}
#actions .wallet-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
#actions .wallet-coins {
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.04em;
	color: var(--gold);
	text-shadow: 0 0 6px rgba(245, 197, 24, 0.75), 0 0 16px rgba(208, 32, 42, 0.45);
}
#actions .wallet-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
}
#actions .wallet-sub {
	white-space: nowrap;
	padding-left: 4px;
	font-size: 13px;
	line-height: 1.3;
	color: #9a8f93;
}
#actions .wallet-sub #coins {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
	font-size: inherit;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: #c9bfc3;
}
#actions .btn-buy {
	flex: none;
	white-space: nowrap;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #1a1204;
	background: linear-gradient(180deg, #ffe27a 0%, var(--gold) 50%, #d99f08 100%);
	border: 1px solid #8a6508;
	border-radius: 999px;
	box-shadow: 0 2px 0 #7a5906, 0 4px 10px rgba(0, 0, 0, 0.5);
	cursor: pointer;
	touch-action: manipulation;
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
#actions .btn-buy:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}
#actions .btn-buy:active {
	transform: translateY(2px);
	box-shadow: 0 0 0 #7a5906, 0 2px 6px rgba(0, 0, 0, 0.5);
}
#actions #buttons {
	grid-area: spin;
	float: none;
	height: auto;
	position: static;
}
#actions #spin {
	display: block;
	width: 106px;
	height: 106px;
	padding: 0;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #fff;
	text-shadow: 0 2px 2px rgba(0, 0, 0, 0.55);
	background: radial-gradient(circle at 35% 28%, #ff6a6f 0%, var(--arcade-red) 45%, #7d0c14 100%);
	border: 4px solid #3a0a0e;
	border-radius: 50%;
	box-shadow: 0 7px 0 #4f0a10, 0 12px 20px rgba(0, 0, 0, 0.65), 0 0 22px rgba(208, 32, 42, 0.55), inset 0 3px 6px rgba(255, 255, 255, 0.35);
	cursor: pointer;
	touch-action: manipulation;
	transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease;
}
#actions #spin:hover {
	filter: brightness(1.1);
}
#actions #spin:active {
	transform: translateY(6px) scale(1);
	box-shadow: 0 1px 0 #4f0a10, 0 4px 8px rgba(0, 0, 0, 0.65), 0 0 14px rgba(208, 32, 42, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.25);
}
#actions #spin.is-spinning,
#actions #spin.is-spinning:hover {
	cursor: progress;
	transform: translateY(6px);
	filter: none;
	box-shadow: 0 1px 0 #4f0a10, 0 4px 8px rgba(0, 0, 0, 0.65), 0 0 14px rgba(208, 32, 42, 0.4), inset 0 3px 6px rgba(255, 255, 255, 0.25);
	animation: spinGlow 0.9s ease-in-out infinite;
}
@keyframes spinGlow {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.72; }
}
#actions.no-coins #spin {
	filter: grayscale(0.85) brightness(0.65);
	box-shadow: 0 7px 0 #2b0a0d, 0 12px 20px rgba(0, 0, 0, 0.65);
}
#actions.no-coins .wallet-display {
	border-color: var(--arcade-red);
}
#actions.no-coins .wallet-coins {
	color: #ff6b6f;
	text-shadow: 0 0 8px rgba(255, 60, 70, 0.8);
}
#actions.no-coins .btn-buy {
	animation: buyPulse 1.4s ease-in-out infinite;
}
#buyCoins:focus-visible,
#spin:focus-visible,
.coin-package:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}
#afterSpin .insert-coin {
	display: inline-block;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	text-shadow: 0 0 8px var(--gold), 0 0 20px var(--arcade-red);
	animation: insertCoinBlink 1.1s steps(1, end) infinite;
}
@keyframes insertCoinBlink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.08; }
}
@keyframes buyPulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
	#afterSpin .insert-coin,
	#actions.no-coins .btn-buy,
	#actions #spin.is-spinning {
		animation: none;
	}
}

/* Kauf-Fenster */
#coinsModal .modal-content,
#infoModal .modal-content {
	color: #eee;
	background: linear-gradient(180deg, #1c1115 0%, #0d0809 100%);
	border: 2px solid var(--gold-deep);
	border-radius: 10px;
	box-shadow: 0 0 40px rgba(208, 32, 42, 0.35), 0 18px 50px rgba(0, 0, 0, 0.8);
}
#coinsModal .modal-header,
#infoModal .modal-header {
	padding: 16px 20px 14px;
	background: transparent;
	border-bottom: 1px solid rgba(245, 197, 24, 0.25);
}
#coinsModal .modal-title,
#infoModal .modal-title {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--gold);
	text-shadow: 0 0 8px rgba(245, 197, 24, 0.4);
}
#coinsModal .modal-header small,
#infoModal .modal-header small {
	display: block;
	margin-top: 4px;
	color: #a79ca0;
	text-wrap: balance;
}
#coinsModal .close,
#infoModal .close {
	color: #fff;
	opacity: 0.8;
	text-shadow: none;
}
#coinsModal .modal-body,
#infoModal .modal-body {
	padding: 16px 20px 20px;
	background: transparent;
}
.coin-package {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0 0 10px;
	padding: 12px 16px;
	font-size: 16px;
	text-align: left;
	color: #fff;
	background: #1d1318;
	border: 1px solid #3b2a31;
	border-radius: 8px;
	cursor: pointer;
	touch-action: manipulation;
	transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
.coin-package:hover {
	background: #271a21;
	border-color: var(--gold-deep);
	transform: translateY(-1px);
}
.coin-package:active {
	transform: translateY(1px);
}
.coin-package:disabled {
	opacity: 0.55;
	cursor: progress;
}
.coin-package .coin-bonus {
	margin: 0 auto 0 10px;
	padding: 2px 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--gold);
	background: rgba(245, 197, 24, 0.12);
	border-radius: 999px;
}
.coin-package .coin-amount {
	float: none;
	font-size: 17px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--gold);
}
.coin-package.is-popular {
	margin-top: 18px;
	border-color: var(--gold);
	background: linear-gradient(180deg, rgba(245, 197, 24, 0.14) 0%, #1d1318 100%);
	box-shadow: 0 0 18px rgba(245, 197, 24, 0.2);
}
.coin-flag {
	position: absolute;
	top: -11px;
	left: 14px;
	padding: 2px 10px;
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	color: #1a1204;
	background: var(--gold);
	border-radius: 999px;
}
#coinsBuyMsg:empty {
	display: none;
}
#coinsBuyMsg {
	margin-bottom: 8px;
	font-weight: 600;
	color: #8fe08f;
}

/* Info-Button links neben LOS */
#actions .btn-info {
	grid-area: info;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 0;
	color: var(--gold);
	background: none;
	border: 0;
	cursor: pointer;
	touch-action: manipulation;
}
#actions .btn-info-icon {
	float: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 38px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	color: var(--gold);
	background: radial-gradient(circle at 35% 28%, #2b1b20 0%, #0b0809 80%);
	border: 3px solid var(--gold);
	border-radius: 50%;
	box-shadow: 0 0 12px rgba(245, 197, 24, 0.45), inset 0 0 10px rgba(0, 0, 0, 0.9);
	text-shadow: 0 0 8px rgba(245, 197, 24, 0.7);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#actions .btn-info-label {
	float: none;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
#actions .btn-info:hover .btn-info-icon {
	transform: translateY(-1px) scale(1.05);
	box-shadow: 0 0 18px rgba(245, 197, 24, 0.7), inset 0 0 10px rgba(0, 0, 0, 0.9);
}
#actions .btn-info:active .btn-info-icon {
	transform: translateY(2px);
}
#infoBtn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

/* Info-Fenster: Gewinntabelle im Automaten-Look */
#infoModal .misc-info,
#infoModal .misc-info tbody,
#infoModal .misc-info thead,
#infoModal .misc-info tr {
	background: transparent;
}
#infoModal .misc-info {
	width: 100%;
	border-collapse: collapse;
}
#infoModal .misc-info th {
	padding: 8px 10px;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
	background: transparent;
	border-bottom: 1px solid rgba(245, 197, 24, 0.35);
}
#infoModal .misc-info td {
	padding: 10px;
	color: #e6dde0;
	background: transparent;
	border-bottom: 1px solid #2e2026;
}
#infoModal .misc-info td:last-child {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--gold);
}
#infoModal .misc-info tbody tr:last-child td {
	border-bottom: 0;
}

/* Hot Tip unter dem Spiel */
.hot-tip {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	width: 84%;
	margin: 18px auto 14px;
	padding: 12px 16px;
	background: linear-gradient(180deg, rgba(245, 197, 24, 0.1) 0%, rgba(208, 32, 42, 0.08) 100%);
	border: 1px solid rgba(245, 197, 24, 0.5);
	border-radius: 8px;
}
.hot-tip-flag {
	flex: none;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #1a1204;
	background: var(--gold);
	border-radius: 999px;
}
.hot-tip p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	text-align: left;
	color: #e6dde0;
	text-wrap: pretty;
}
.hot-tip a {
	font-weight: 700;
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.hot-tip a:hover {
	color: #fff;
}
.hot-tip a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
