/* ================= "Где играть": drawn devices streaming real games ================= */
.device-grid { gap: 14px; }
.device {
  --glow: 46, 230, 255;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 18px 18px 18px; gap: 4px; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(5,6,13,0.55));
  border: 1px solid var(--line);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.35s;
}
.device:nth-child(2) { --glow: 139, 92, 246; }
.device:nth-child(3) { --glow: 255, 79, 160; }
.device:nth-child(4) { --glow: 61, 123, 255; }
.device::before { content: ''; position: absolute; left: 50%; top: 38%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(var(--glow), 0.35), transparent 65%); filter: blur(10px); z-index: -1; transition: opacity 0.35s; opacity: 0.7; }
.device:hover { transform: translateY(-5px); border-color: rgba(var(--glow), 0.45); box-shadow: 0 24px 50px -24px rgba(var(--glow), 0.6); }
.device:hover::before { opacity: 1; }
.device b { font-size: 16px; font-weight: 800; }
.device small { color: var(--muted); font-size: 13px; font-weight: 600; }

.dv-art { height: 112px; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 12px; }
.dv-screen { position: relative; overflow: hidden; background: #0b0d1a; border: 3px solid #1d2133; box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 14px 30px -12px rgba(0,0,0,0.9), 0 0 30px -6px rgba(var(--glow), 0.55); }
.dv-screen img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.device:hover .dv-screen img { transform: scale(1.08); }
.dv-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,0.16) 0%, transparent 38%); pointer-events: none; }

/* TV */
.dv-tv .dv-screen { width: 150px; height: 86px; border-radius: 6px; border-width: 4px; }
.dv-tv-stand { width: 54px; height: 10px; margin-top: 2px; background: linear-gradient(#262b40, #151826); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
/* Laptop */
.dv-laptop .dv-screen { width: 132px; height: 82px; border-radius: 8px 8px 2px 2px; border-width: 5px; border-bottom-width: 6px; }
.dv-laptop-base { width: 168px; height: 9px; border-radius: 2px 2px 10px 10px; background: linear-gradient(#3a405a, #1a1e2e); position: relative; }
.dv-laptop-base::after { content: ''; position: absolute; left: 50%; top: 0; width: 34px; height: 4px; transform: translateX(-50%); border-radius: 0 0 6px 6px; background: #12141f; }
/* Phone (landscape) */
.dv-phone .dv-screen { width: 150px; height: 70px; border-radius: 16px; border-width: 5px; border-color: #20243a; }
.dv-notch { position: absolute; left: 6px; top: 50%; width: 5px; height: 18px; transform: translateY(-50%); border-radius: 4px; background: #0b0d1a; z-index: 1; }
/* Browser window */
.dv-browser .dv-screen { width: 156px; height: 96px; border-radius: 9px; border-width: 1px; border-color: rgba(255,255,255,0.16); display: flex; flex-direction: column; }
.dv-bar { flex: none; display: flex; align-items: center; gap: 4px; height: 16px; padding: 0 6px; background: #1a1d2e; }
.dv-bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.dv-bar i:nth-child(2) { background: #febc2e; }
.dv-bar i:nth-child(3) { background: #28c840; }
.dv-bar span { margin-left: 6px; flex: 1; height: 10px; border-radius: 5px; background: rgba(255,255,255,0.08); font-size: 7px; line-height: 10px; color: var(--muted); padding-left: 6px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.dv-browser .dv-screen img { flex: 1; min-height: 0; }

@media (max-width: 560px) {
  .dv-art { height: 92px; transform: scale(0.82); margin-bottom: 4px; }
  .device { padding: 14px; }
  .device b { font-size: 14px; }
  .device small { font-size: 12px; }
}
