/* Sample 2 · THE iDELIVER-O-MATIC · homepage */
.vm-room { padding: 28px 0 56px; background:
  linear-gradient(#0000 calc(100% - 140px), #e9dfc8 calc(100% - 140px)),
  repeating-linear-gradient(0deg, transparent 0 58px, rgba(17,17,17,.06) 58px 60px),
  repeating-linear-gradient(90deg, transparent 0 58px, rgba(17,17,17,.06) 58px 60px), #f6efdf; }
.vm-intro { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.vm-sticker { display: inline-block; background: #111; color: #fdc41b; font-weight: 700; padding: 6px 14px; border-radius: 999px; transform: rotate(-3deg); font-size: .85rem; letter-spacing: .04em; }
.vm-intro h1 { font-family: var(--ff-head); font-size: clamp(2.4rem, 7.4vw, 5.2rem); line-height: .92; margin: 16px 0 12px; letter-spacing: -.02em; text-transform: uppercase; }
.vm-intro h1 span { background: #fdc41b; padding: 0 .15em; border: 3px solid #111; box-shadow: 6px 6px 0 #111; display: inline-block; transform: rotate(-1.5deg); margin-top: 6px; }
.vm-intro p { font-size: 1.05rem; color: #3d3a33; margin: 18px auto 0; max-width: 520px; }

.vm { position: relative; max-width: 1000px; margin: 0 auto; background: linear-gradient(90deg, #f0b400, #fdc41b 8%, #ffd54a 50%, #fdc41b 92%, #e0a800); border: 4px solid #111; border-radius: 36px 36px 20px 20px; box-shadow: 14px 14px 0 #111; padding: 14px 14px 18px; }
.vm.thud { animation: thud .35s; }
@keyframes thud { 30% { transform: translateY(4px); } 60% { transform: translateY(-2px); } }
@media (max-width: 959px), (pointer: coarse) { .vm.thud { animation: none; } }
.vm-top { display: flex; align-items: center; gap: 10px; background: #111; border-radius: 24px 24px 10px 10px; padding: 10px 14px; margin-bottom: 14px; }
.vm-bulbs { flex: 1; display: flex; justify-content: space-around; }
.vm-bulbs i { width: 9px; height: 9px; border-radius: 50%; background: #fdc41b; box-shadow: 0 0 10px #fdc41b; animation: bulb 1.2s infinite; }
.vm-bulbs i:nth-child(2n) { animation-delay: .6s; }
@keyframes bulb { 50% { opacity: .25; box-shadow: none; } }
.vm-title { display: flex; align-items: center; gap: 6px; color: #fdc41b; font-family: var(--ff-head); font-size: clamp(1.2rem, 3.6vw, 2rem); white-space: nowrap; }
.vm-title .brand-mark { width: 40px; height: 40px; }
.vm-title b { font-weight: 400; }
.vm-title i { font-style: normal; color: #fff; }
@media (max-width: 560px) { .vm-bulbs:last-child { display: none; } .vm-bulbs { flex: 0 0 40px; overflow: hidden; } }

.vm-body { display: grid; gap: 14px; }
@media (min-width: 900px) { .vm-body { grid-template-columns: 1fr 290px; } }
.vm-glass { position: relative; background: radial-gradient(120% 70% at 50% 0%, #2c2c2c, #151515 70%); border: 4px solid #111; border-radius: 18px; padding: 10px 10px 4px; overflow: hidden; box-shadow: inset 0 0 0 3px #3a3a3a, inset 0 20px 50px rgba(0,0,0,.6); }
.vm-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.13) 0 12%, transparent 12% 20%, rgba(255,255,255,.07) 20% 24%, transparent 24%); }
.vm-floors { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 10px; position: relative; z-index: 2; }
.vm-floors::-webkit-scrollbar { display: none; }
.vm-floors button { flex: none; border: 2px solid #fdc41b; background: transparent; color: #fdc41b; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .8rem; }
.vm-floors button.on { background: #fdc41b; color: #111; }

.vm-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.slot { position: relative; border: 0; background: none; padding: 8px 4px 0; display: grid; color: #fff; text-align: center; }
.slot-img { aspect-ratio: 1 / .86; display: flex; align-items: flex-end; justify-content: center; padding: 6px 8% 0; position: relative; z-index: 1; }
.slot-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0,0,0,.6)); transition: transform .35s var(--spring); }
.slot-img img.solid { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 3px solid #fff; }
.slot-img img.back { animation: restock .6s var(--spring); }
@keyframes restock { from { transform: translateY(-30px); opacity: 0; } }
.slot-img i { color: #555; font-size: .7rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20%; }
.slot:not(.empty):hover .slot-img img { transform: translateY(-6px) scale(1.05); }
.coil { height: 16px; margin: -6px 2px 0; border-radius: 8px; background: repeating-linear-gradient(115deg, #cfcfcf 0 3px, #8a8a8a 3px 5px, transparent 5px 11px); background-size: 22px 16px; opacity: .9; }
.slot.spin .coil { animation: coil .45s linear infinite; }
@keyframes coil { to { background-position: 22px 0; } }
.slot-lip { display: flex; justify-content: space-between; align-items: center; gap: 4px; background: linear-gradient(#4a4a4a, #2a2a2a); border-top: 2px solid #6a6a6a; padding: 5px 6px; margin: 0 -4px 8px; }
.slot-lip b { background: #fdc41b; color: #111; font-family: var(--ff-head); font-weight: 400; border-radius: 5px; padding: 1px 6px; font-size: .78rem; }
.slot-lip em { font-style: normal; font-family: "VT323", monospace; font-size: 1.05rem; color: #9dff8a; white-space: nowrap; }
.slot-new, .slot-sale, .slot-sold { position: absolute; top: 8px; left: 6px; z-index: 2; font-size: .62rem; font-weight: 800; padding: 2px 6px; border-radius: 4px; background: #fff; color: #111; letter-spacing: .06em; transform: rotate(-6deg); }
.slot-sale { background: #e0245e; color: #fff; }
.slot-sold { background: #555; color: #ddd; }
.slot.out .slot-img img { filter: grayscale(1) brightness(.6); }
.slot.lit .slot-img { background: radial-gradient(closest-side, rgba(253,196,27,.55), transparent); }
.slot.nope { animation: qsShake .4s; }
.vm-grid.restock .slot { animation: slotIn .5s var(--spring) both; animation-delay: var(--d); }
@keyframes slotIn { from { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 699px) { .slot-lip em { font-size: .95rem; } .slot-lip b { font-size: .7rem; padding: 1px 4px; } .slot-lip { padding: 4px; } }

.vm-panel { background: #111; border-radius: 18px; padding: 14px; display: grid; gap: 12px; align-content: start; }
.vm-lcd { background: #0d2a10; border: 3px solid #333; border-radius: 10px; padding: 10px 12px; font-family: "VT323", monospace; color: #9dff8a; text-shadow: 0 0 6px rgba(157,255,138,.6); display: grid; min-height: 104px; align-content: center; overflow: hidden; }
.vm-lcd small { font-size: 1rem; opacity: .7; }
.vm-lcd b { font-weight: 400; font-size: 1.6rem; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-lcd span { font-size: 1rem; opacity: .8; }
.vm-keys { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.vm-keys button { grid-column: span 4; }
.vm-keys button.k-num { grid-column: span var(--ns, 3); }
.vm-keys button { height: 46px; border-radius: 10px; border: 3px solid #000; background: linear-gradient(#f4f4f4, #cfcfcf); font-family: var(--ff-head); font-size: 1.1rem; color: #111; box-shadow: 0 4px 0 #000; transition: transform .08s, box-shadow .08s; }
.vm-keys button:active, .vm-keys button.press { transform: translateY(4px); box-shadow: 0 0 0 #000; }
.vm-keys .k-clr { background: linear-gradient(#ff6b6b, #c4372b); color: #fff; grid-column: span 6; font-size: .9rem; }
.vm-keys .k-ok { background: linear-gradient(#7be38b, #1f9d55); color: #fff; grid-column: span 6; font-size: .9rem; }
.vm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vm-actions button { height: 48px; border-radius: 12px; border: 3px solid #000; font-weight: 700; font-size: .9rem; }
.vm-rand { background: #fdc41b; color: #111; box-shadow: 0 4px 0 #6b5200; }
.vm-next { background: #fff; color: #111; box-shadow: 0 4px 0 #555; }
.vm-coin { display: flex; align-items: center; gap: 10px; color: #888; font-size: .7rem; letter-spacing: .1em; font-weight: 700; }
.vm-coin i { width: 12px; height: 46px; border-radius: 6px; background: #000; border: 2px solid #444; flex: none; }
@media (max-width: 899px) { .vm-panel { grid-template-columns: 1fr; } .vm-coin { display: none; } }

.vm-tray { position: relative; display: block; width: 100%; margin-top: 14px; height: 120px; border: 4px solid #111; border-radius: 16px; background: linear-gradient(#000, #1d1d1d); overflow: visible; color: #fff; padding: 0; cursor: pointer; }
.tray-flap { position: absolute; left: 10px; right: 10px; top: 8px; height: 30px; border-radius: 8px; background: linear-gradient(#3a3a3a, #222); color: #777; display: grid; place-items: center; font-weight: 800; letter-spacing: .3em; font-size: .75rem; }
.tray-in { position: absolute; inset: 22px 0 10px; display: flex; align-items: flex-end; justify-content: center; }
.tray-in img { height: 86px; width: auto; max-width: 70%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); animation: landed .5s var(--spring); }
@keyframes landed { 0% { transform: translateY(-20px) rotate(-8deg); } 60% { transform: translateY(4px) rotate(3deg); } }
.tray-hint { position: absolute; right: 14px; bottom: 10px; font-size: .78rem; font-weight: 700; color: #aaa; }
.vm-tray.full .tray-hint { color: #111; background: #fdc41b; padding: 6px 10px; border-radius: 999px; animation: pulseHint 1.2s infinite; }
@keyframes pulseHint { 50% { transform: scale(1.06); } }
.vm-tray.got { box-shadow: 0 0 0 4px #fdc41b, 0 0 40px rgba(253,196,27,.6); }
.vm-pow { position: absolute; left: 50%; top: -18px; transform: translateX(-50%) rotate(-8deg); font-family: var(--ff-head); font-size: 2rem; color: #fdc41b; -webkit-text-stroke: 2px #111; animation: pow 1s var(--spring) forwards; pointer-events: none; }
@keyframes pow { 0% { transform: translateX(-50%) scale(.2) rotate(-8deg); } 30% { transform: translateX(-50%) scale(1.2) rotate(-8deg); } 100% { transform: translateX(-50%) translateY(-30px) scale(1) rotate(-8deg); opacity: 0; } }
.vm-drop { position: absolute; z-index: 30; object-fit: contain; pointer-events: none; filter: drop-shadow(0 12px 12px rgba(0,0,0,.5)); }
.vm-drop.solid { object-fit: cover; border-radius: 8px; border: 3px solid #fff; }
.vm-feet { display: flex; justify-content: space-between; padding: 0 40px; position: absolute; left: 0; right: 0; bottom: -22px; }
.vm-feet i { width: 70px; height: 18px; background: #111; border-radius: 0 0 8px 8px; }

.vm-tape { background: #111; color: #fdc41b; overflow: hidden; border-block: 4px solid #fdc41b; transform: rotate(-1.2deg); margin: 10px -10px 20px; }
.vm-tape div { display: flex; gap: 28px; padding: 12px 0; white-space: nowrap; width: max-content; animation: tape 26s linear infinite; font-family: var(--ff-head); font-size: 1.05rem; }
@keyframes tape { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vm-tape div { animation: none; } }

.vm-card { background: #111; color: #fff; border: 4px solid #111; border-radius: 28px; padding: clamp(22px, 4vw, 48px); box-shadow: 12px 12px 0 #fdc41b; }
.vm-card .btn-ghost { color: #fff; }

@media (max-width: 699px) { .vm { box-shadow: 6px 6px 0 #111; padding: 10px 10px 14px; border-radius: 28px 28px 16px 16px; } .vm-room .wrap { padding-right: 22px; } }

body.vend-page[data-page] { background: #f6efdf; }
