:root { --bg-dark: #0d0c13; --bg-card: rgba(26, 24, 38, 0.94); --gold: #e5b948; --gold-glow: rgba(229, 185, 72, 0.4); --gold-hover: #f7d274; --parchment-bg: #f8f1de; --parchment-border: #8b6d3b; --parchment-ink: #2b1f14; --purple-fire: #aa26eb; --purple-fire-glow: rgba(170, 38, 235, 0.6); --black-fire: #120d1e; --black-fire-glow: rgba(67, 18, 114, 0.8); --poison-green: #2ecc71; --wine-red: #9e2a2b; --text-light: #ece8e1; --text-dim: #a59fa8; --house-accent: #d3a625; --font-gothic: 'MedievalSharp', cursive, serif; --font-script: 'Caveat', cursive, sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--bg-dark); background-image: radial-gradient(circle at 15% 20%, rgba(138, 43, 226, 0.12) 0%, transparent 40%), radial-gradient(circle at 85% 80%, rgba(229, 185, 72, 0.08) 0%, transparent 40%), url('/static/img/parchment_texture.jpg'); background-blend-mode: overlay; color: var(--text-light); font-family: var(--font-gothic); min-height: 100vh; display: flex; flex-direction: column; } /* Site Header (Sleek & Mobile First) */ .site-header { background: rgba(13, 12, 19, 0.95); border-bottom: 2px solid var(--gold); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); } .header-inner { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; } .brand-link { display: flex; align-items: center; gap: 0.4rem; text-decoration: none; color: var(--gold); font-size: 1.3rem; text-shadow: 0 0 10px var(--gold-glow); white-space: nowrap; } .brand-sparkle { font-size: 1.3rem; } .brand-title { font-weight: bold; } .header-right { display: flex; align-items: center; gap: 0.6rem; } /* Player Bag Button */ .btn-bag { background: linear-gradient(135deg, #2b1f14, #4a3520); color: var(--gold); border: 2px solid var(--gold); padding: 0.4rem 0.85rem; border-radius: 20px; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: bold; display: flex; align-items: center; gap: 0.4rem; transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); user-select: none; } .btn-bag:hover { background: linear-gradient(135deg, #4a3520, #6e4f30); transform: translateY(-2px) scale(1.04); box-shadow: 0 4px 15px var(--gold-glow); color: #fff; } .bag-house-icon { font-size: 1.15rem; } .bag-label { display: inline-block; } .bag-badge { background: #e63946; color: #fff; font-size: 0.75rem; padding: 0.15rem 0.45rem; border-radius: 10px; font-weight: bold; border: 1px solid #ffd700; } .bag-badge.pulse { animation: badgePulse 0.6s infinite alternate; } @keyframes badgePulse { 0% { transform: scale(1); filter: brightness(1); } 100% { transform: scale(1.3); filter: brightness(1.4) drop-shadow(0 0 8px #ff0055); } } /* Control Buttons */ .btn-control { background: rgba(255, 255, 255, 0.08); color: var(--gold); border: 1px solid var(--gold); padding: 0.4rem 0.75rem; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; transition: all 0.2s; user-select: none; } .btn-control.icon-only { padding: 0.4rem 0.55rem; font-size: 1.1rem; border-radius: 50%; } .btn-control:hover { background: var(--gold); color: var(--bg-dark); box-shadow: 0 0 12px var(--gold-glow); } /* Slide-Over Drawer & Backdrop */ .drawer-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px); z-index: 2000; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .drawer-backdrop.open { opacity: 1; pointer-events: auto; } .player-drawer { position: fixed; top: 0; right: 0; width: 400px; max-width: 92vw; height: 100vh; background: var(--bg-dark); background-image: radial-gradient(circle at 10% 10%, rgba(229, 185, 72, 0.08) 0%, transparent 40%), url('/static/img/parchment_texture.jpg'); background-blend-mode: overlay; border-left: 3px solid var(--gold); box-shadow: -5px 0 35px rgba(0, 0, 0, 0.85); z-index: 2001; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1); } .player-drawer.open { transform: translateX(0); } .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; border-bottom: 2px solid rgba(229, 185, 72, 0.3); background: rgba(17, 15, 25, 0.95); } .drawer-title { font-size: 1.4rem; color: var(--gold); display: flex; align-items: center; gap: 0.5rem; } .drawer-close-btn { background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; transition: color 0.2s; line-height: 1; } .drawer-close-btn:hover { color: var(--gold); } .drawer-tabs { display: flex; border-bottom: 1px solid rgba(229, 185, 72, 0.25); background: rgba(22, 19, 32, 0.9); } .drawer-tab-btn { flex: 1; padding: 0.75rem 0.5rem; background: none; border: none; color: var(--text-dim); font-family: inherit; font-size: 0.95rem; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.2s; } .drawer-tab-btn:hover { color: var(--text-light); background: rgba(229, 185, 72, 0.05); } .drawer-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); font-weight: bold; background: rgba(229, 185, 72, 0.1); } .drawer-body { flex: 1; overflow-y: auto; padding: 1.25rem; } .drawer-tab-pane { display: none; } .drawer-tab-pane.active { display: block; animation: fadeIn 0.25s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } .drawer-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(229, 185, 72, 0.25); background: rgba(17, 15, 25, 0.95); } /* Inventory Grid (Tab 1) */ .inv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; } .inv-item-slot { background: rgba(26, 23, 38, 0.85); border: 2px solid rgba(229, 185, 72, 0.35); border-radius: 10px; padding: 0.85rem 0.5rem; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: all 0.2s; user-select: none; } .inv-item-slot:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(229, 185, 72, 0.25); } .inv-item-slot.selected { border-color: var(--gold); background: rgba(229, 185, 72, 0.15); box-shadow: 0 0 15px var(--gold-glow); } .inv-item-icon { font-size: 2.2rem; margin-bottom: 0.35rem; } .inv-item-name { font-size: 0.85rem; text-align: center; color: var(--text-light); font-weight: bold; } /* Item Detail Card */ .inv-detail-card { background: rgba(18, 15, 26, 0.95); border: 2px solid var(--gold); border-radius: 12px; padding: 1.1rem; text-align: center; box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6); } .inv-detail-icon { font-size: 3rem; margin-bottom: 0.4rem; } .inv-detail-name { font-size: 1.25rem; color: var(--gold); margin-bottom: 0.4rem; font-weight: bold; } .inv-detail-desc { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; } /* House Picker (Tab 2) */ .house-picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; } .house-select-btn { background: rgba(22, 19, 32, 0.85); border: 2px solid rgba(229, 185, 72, 0.3); border-radius: 10px; padding: 0.75rem 0.5rem; color: var(--text-light); font-family: inherit; font-size: 0.95rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; transition: all 0.2s; } .house-select-btn:hover { border-color: var(--gold); transform: scale(1.03); } .house-select-btn.active { border-color: var(--gold); background: rgba(229, 185, 72, 0.2); box-shadow: 0 0 12px var(--gold-glow); font-weight: bold; } .house-icon { font-size: 1.8rem; } .profile-stats-card { background: rgba(20, 18, 29, 0.9); border: 1px solid rgba(229, 185, 72, 0.3); border-radius: 10px; padding: 0.9rem 1rem; } .stat-row { display: flex; justify-content: space-between; align-items: center; padding: 0.45rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.9rem; } .stat-row:last-child { border-bottom: none; } /* Chambers Navigation (Tab 3) */ .rooms-nav-list { display: flex; flex-direction: column; gap: 0.6rem; } .room-nav-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1rem; background: rgba(25, 22, 36, 0.85); border: 1px solid rgba(229, 185, 72, 0.3); border-radius: 10px; text-decoration: none; color: var(--text-light); transition: all 0.2s; } .room-nav-item:hover, .room-nav-item.current { border-color: var(--gold); background: rgba(229, 185, 72, 0.15); transform: translateX(4px); } .room-nav-item.external { border-color: #ffd700; background: rgba(212, 175, 55, 0.1); } .room-icon { font-size: 1.8rem; } .room-info { display: flex; flex-direction: column; } .room-info strong { font-size: 1rem; color: var(--gold); } .room-info small { font-size: 0.8rem; color: var(--text-dim); } /* Floating Toast */ .escape-toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(30px); background: rgba(18, 14, 26, 0.96); border: 2px solid var(--gold); border-radius: 12px; padding: 0.8rem 1.4rem; color: var(--text-light); font-size: 1rem; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 20px var(--gold-glow); z-index: 9999; opacity: 0; pointer-events: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; max-width: 90vw; } .escape-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); } /* Lumos Effect Overlay */ .lumos-light { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 500; background: radial-gradient(circle at 50% 50%, rgba(255, 248, 220, 0.18) 0%, transparent 60%); opacity: 0; transition: opacity 0.5s ease; } .lumos-light.active { opacity: 1; } /* Container */ .container { max-width: 1100px; margin: 1.2rem auto 2.5rem auto; padding: 0 1rem; flex: 1; width: 100%; } /* Parchment Box */ .parchment-scroll { background: var(--parchment-bg); color: var(--parchment-ink); border: 4px double var(--parchment-border); border-radius: 12px; padding: 1.5rem 1.25rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(139, 109, 59, 0.25); position: relative; margin-bottom: 1.5rem; } .parchment-title { font-size: 1.8rem; text-align: center; color: #5c1818; margin-bottom: 0.75rem; text-shadow: 1px 1px 0px rgba(255,255,255,0.7); } .riddle-poem { font-family: var(--font-script); font-size: 1.35rem; line-height: 1.7; text-align: center; margin: 1rem 0; white-space: pre-line; font-weight: bold; } /* Dungeon Card */ .dungeon-card { background: var(--bg-card); border: 1px solid rgba(229, 185, 72, 0.4); border-radius: 12px; padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.5); margin-bottom: 1.5rem; } /* Chamber Overview Grid */ .chamber-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.25rem; } .chamber-card { background: rgba(20, 18, 30, 0.9); border: 2px solid rgba(229, 185, 72, 0.3); border-radius: 12px; padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s; position: relative; overflow: hidden; } .chamber-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 30px var(--gold-glow); } .chamber-badge { position: absolute; top: 0.8rem; right: 0.8rem; background: rgba(229, 185, 72, 0.2); border: 1px solid var(--gold); color: var(--gold); font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 20px; } .chamber-badge.solved { background: rgba(46, 204, 113, 0.25); border-color: #2ecc71; color: #2ecc71; } .chamber-icon { font-size: 3rem; margin-bottom: 0.75rem; text-align: center; } .chamber-title { font-size: 1.35rem; color: var(--gold); margin-bottom: 0.6rem; text-align: center; } .chamber-desc { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; margin-bottom: 1rem; text-align: center; } /* Magical Buttons */ .btn-magical { display: inline-block; background: linear-gradient(135deg, #b8860b, #d4af37, #f7d274); color: #1a1505; text-decoration: none; font-weight: bold; font-size: 1.05rem; padding: 0.75rem 1.25rem; border-radius: 8px; border: none; cursor: pointer; text-align: center; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); transition: all 0.2s; text-shadow: 0 1px 1px rgba(255,255,255,0.4); } .btn-magical:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(212, 175, 55, 0.7); color: #000; } /* Flaming Gates */ .flame-chamber-arena { position: relative; background: radial-gradient(circle at center, #191629 0%, #0c0a14 100%); border: 2px solid #4a3b63; border-radius: 16px; padding: 1.5rem 1rem; box-shadow: inset 0 0 80px rgba(0,0,0,0.9), 0 10px 40px rgba(0,0,0,0.8); overflow: hidden; } .flame-wall-container { display: flex; justify-content: space-between; margin-bottom: 1.5rem; position: relative; gap: 0.75rem; } .flame-gate { flex: 1; padding: 1.2rem 0.75rem; border-radius: 12px; text-align: center; position: relative; overflow: hidden; } .flame-gate.purple { background: rgba(75, 15, 110, 0.35); border: 2px solid var(--purple-fire); box-shadow: 0 0 25px var(--purple-fire-glow); } .flame-gate.black { background: rgba(18, 12, 28, 0.8); border: 2px solid #5a287a; box-shadow: 0 0 25px var(--black-fire-glow); } .flame-icon-animated { font-size: 2.5rem; animation: flameFlicker 1.5s infinite alternate; } @keyframes flameFlicker { 0% { transform: scale(1) rotate(-2deg); opacity: 0.85; } 50% { transform: scale(1.1) rotate(3deg); opacity: 1; filter: drop-shadow(0 0 15px currentColor); } 100% { transform: scale(0.95) rotate(-1deg); opacity: 0.9; } } /* 7 Bottles Table */ .bottles-table-wrapper { margin: 1.5rem 0; padding: 1.25rem 0.75rem; background: linear-gradient(180deg, #2a201b 0%, #17110e 100%); border: 3px solid #6b5338; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.9); } .bottles-table { display: flex; justify-content: space-around; align-items: flex-end; gap: 0.5rem; flex-wrap: nowrap; overflow-x: auto; padding: 0.5rem 0; -webkit-overflow-scrolling: touch; } .bottle-slot { display: flex; flex-direction: column; align-items: center; min-width: 85px; cursor: pointer; transition: transform 0.2s; user-select: none; } .bottle-slot:hover { transform: translateY(-6px); } .bottle-slot.selected { transform: translateY(-10px); filter: drop-shadow(0 0 15px var(--gold)); } .bottle-pedestal { width: 75px; height: 18px; background: linear-gradient(180deg, #574635 0%, #2f251c 100%); border: 2px solid #856a52; border-radius: 6px; margin-top: 0.4rem; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--gold); font-weight: bold; } .bottle-svg { filter: drop-shadow(0 6px 10px rgba(0,0,0,0.6)); transition: filter 0.3s; } .bottle-tag-select { margin-top: 0.35rem; background: rgba(13, 12, 19, 0.9); border: 1px solid var(--gold); color: var(--text-light); font-family: inherit; font-size: 0.75rem; padding: 0.15rem; border-radius: 4px; cursor: pointer; width: 80px; } /* Canvas Broom Game */ .canvas-wrapper { position: relative; width: 100%; max-width: 900px; margin: 0 auto; border: 3px solid var(--gold); border-radius: 12px; overflow: hidden; box-shadow: 0 0 40px rgba(0,0,0,0.9), 0 0 20px var(--gold-glow); background: #000; } #broomCanvas { display: block; width: 100%; touch-action: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; cursor: crosshair; } .game-hud { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1rem; background: rgba(13, 12, 19, 0.9); border-bottom: 2px solid var(--gold); font-size: 1rem; color: var(--gold); flex-wrap: wrap; gap: 0.5rem; } /* Mobile Flight Cockpit & D-Pad */ .mobile-flight-cockpit { display: flex; flex-direction: row; align-items: center; justify-content: space-around; gap: 1rem; margin-top: 1.25rem; padding: 1rem; background: rgba(18, 15, 26, 0.9); border: 2px solid rgba(229, 185, 72, 0.35); border-radius: 14px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); user-select: none; -webkit-user-select: none; } .dpad-box { display: flex; flex-direction: column; align-items: center; gap: 4px; } .dpad-middle { display: flex; align-items: center; gap: 4px; } .dpad-btn { width: 48px; height: 48px; background: linear-gradient(145deg, #2a2238, #161220); border: 2px solid var(--gold); color: var(--gold); border-radius: 8px; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); transition: transform 0.1s, background 0.1s; touch-action: none; -webkit-tap-highlight-color: transparent; } .dpad-btn:active { transform: scale(0.92); background: var(--gold); color: #000; } .dpad-core { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--gold); opacity: 0.7; } .mobile-flight-actions { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex: 1; max-width: 200px; } .dpad-boost-btn { width: 100%; padding: 0.9rem 1.25rem; background: linear-gradient(135deg, #d4af37, #f39c12); color: #1a1100; border: 2px solid #fff; border-radius: 12px; font-size: 1.15rem; font-weight: bold; cursor: pointer; box-shadow: 0 0 20px var(--gold-glow); touch-action: none; -webkit-tap-highlight-color: transparent; transition: transform 0.1s; } .dpad-boost-btn:active { transform: scale(0.95); filter: brightness(1.2); } .touch-hint { font-size: 0.78rem; color: var(--text-dim); text-align: center; line-height: 1.4; } @media (max-width: 768px) { .flame-wall-container { flex-direction: column; } .brand-title { font-size: 1.15rem; } .bag-label { display: none; } .btn-bag { padding: 0.35rem 0.6rem; } } .btn-bag { padding: 0.35rem 0.6rem; } } /* Modal Feedback */ .modal-backdrop { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.85); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; } .modal-backdrop.show { opacity: 1; pointer-events: auto; } .modal-content { background: var(--bg-card); border: 2px solid var(--gold); border-radius: 14px; max-width: 520px; width: 100%; padding: 1.75rem; text-align: center; box-shadow: 0 0 50px var(--gold-glow); transform: scale(0.9); transition: transform 0.3s; } .modal-backdrop.show .modal-content { transform: scale(1); } .modal-icon { font-size: 3.5rem; margin-bottom: 0.8rem; } .modal-title { font-size: 1.6rem; color: var(--gold); margin-bottom: 0.8rem; } .modal-text { color: var(--text-light); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.25rem; } /* Sliding Puzzle (Schieberätsel) */ .sliding-board-container { max-width: 380px; margin: 1.25rem auto; background: #171421; border: 3px solid var(--gold); border-radius: 14px; padding: 1rem; box-shadow: 0 0 30px rgba(0,0,0,0.8), inset 0 0 30px rgba(0,0,0,0.6); } .sliding-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 8px; width: 100%; aspect-ratio: 1 / 1; } .sliding-tile { background: linear-gradient(145deg, #2b253b, #1b1725); border: 2px solid var(--gold); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; user-select: none; transition: transform 0.15s, background 0.2s; box-shadow: 0 4px 8px rgba(0,0,0,0.5); padding: 0.4rem; } .sliding-tile:hover { transform: scale(1.03); background: #39324e; } .sliding-tile.blank { background: transparent; border: 2px dashed rgba(229, 185, 72, 0.2); box-shadow: none; cursor: default; } .tile-icon { font-size: 2rem; } .tile-num { font-size: 0.8rem; color: var(--gold); font-weight: bold; } .tile-name { font-size: 0.7rem; color: var(--text-dim); text-align: center; margin-top: 2px; } /* Footer */ .footer { background: rgba(10, 9, 15, 0.95); border-top: 1px solid rgba(229, 185, 72, 0.3); text-align: center; padding: 1.25rem 1rem; color: var(--text-dim); font-size: 0.85rem; } .footer a { color: var(--gold); text-decoration: none; } .footer a:hover { text-decoration: underline; } /* McGonagall's Wizard Chess (Zauberschach) */ .chess-board-wrapper { max-width: 440px; margin: 1.25rem auto; background: #171322; border: 3px solid var(--gold); border-radius: 12px; padding: 0.75rem; box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), inset 0 0 20px rgba(0, 0, 0, 0.8); } .chess-board { display: grid; grid-template-columns: repeat(8, 1fr); width: 100%; aspect-ratio: 1 / 1; border: 2px solid #5a4b38; border-radius: 6px; overflow: hidden; user-select: none; -webkit-user-select: none; } .chess-sq { display: flex; align-items: center; justify-content: center; position: relative; cursor: pointer; transition: background 0.15s; } .chess-sq.light { background: #e8d8be; } .chess-sq.dark { background: #5c4b37; } .chess-sq.selected { background: #d4af37 !important; box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7); } .chess-piece { font-size: 2.2rem; line-height: 1; transition: transform 0.15s; pointer-events: none; } .white-piece { color: #ffffff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8)); text-shadow: 0 0 2px #333; } .black-piece { color: #1a1226; filter: drop-shadow(0 2px 4px rgba(229, 185, 72, 0.4)); text-shadow: 0 0 3px #e5b948; } .chess-sq:hover .chess-piece { transform: scale(1.1); } .move-dot { width: 14px; height: 14px; background: rgba(229, 185, 72, 0.75); border-radius: 50%; position: absolute; box-shadow: 0 0 8px var(--gold); pointer-events: none; } .move-capture-ring { width: 80%; height: 80%; border: 3px solid rgba(231, 76, 60, 0.85); border-radius: 50%; position: absolute; box-shadow: 0 0 10px #e74c3c; pointer-events: none; animation: ringPulse 1s infinite alternate; } @keyframes ringPulse { 0% { transform: scale(0.9); opacity: 0.7; } 100% { transform: scale(1.05); opacity: 1; } } @media (max-width: 480px) { .chess-piece { font-size: 1.8rem; } }