: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; } } /* ======================================================== MINI-GAME: DIE ZAUBERTRANK-BRAUKÜCHE (/brew) ======================================================== */ .brew-container { max-width: 650px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; } .recipe-book { background: linear-gradient(135deg, #2b1f14, #19120b); border: 2px solid var(--gold); border-radius: 12px; padding: 1rem 1.25rem; width: 100%; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7); text-align: center; } .recipe-step-badge { display: inline-block; background: rgba(212, 175, 55, 0.2); border: 1px solid var(--gold); color: var(--gold); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.85rem; font-weight: bold; margin-bottom: 0.5rem; } .cauldron-wrapper { position: relative; width: 280px; height: 280px; display: flex; justify-content: center; align-items: center; margin: 0.5rem 0; touch-action: none; } .cauldron-pot { width: 250px; height: 230px; background: radial-gradient(circle at 35% 30%, #4a4a55 0%, #202025 50%, #0d0d12 100%); border-radius: 50% 50% 45% 45% / 30% 30% 60% 60%; border: 6px solid #1a1a20; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), inset 0 -10px 20px rgba(0, 0, 0, 0.8); position: relative; display: flex; justify-content: center; align-items: flex-start; padding-top: 25px; } .cauldron-pot::before { content: ''; position: absolute; top: 5px; width: 210px; height: 48px; border-radius: 50%; background: #111116; border: 4px solid #2d2d38; } .cauldron-pot::after { content: ''; position: absolute; bottom: -16px; width: 120px; height: 18px; background: #000; border-radius: 50%; filter: blur(8px); } .potion-surface { position: absolute; top: 12px; width: 190px; height: 36px; border-radius: 50%; background: radial-gradient(ellipse at center, #2ecc71 0%, #16a085 60%, #0e5042 100%); box-shadow: 0 0 20px #2ecc71; overflow: hidden; transition: background 1s ease, box-shadow 1s ease; } .potion-surface.state-stir { background: radial-gradient(ellipse at center, #9b59b6 0%, #8e44ad 60%, #4a235a 100%); box-shadow: 0 0 25px #9b59b6; } .potion-surface.state-heat { background: radial-gradient(ellipse at center, #e67e22 0%, #d35400 60%, #78281f 100%); box-shadow: 0 0 25px #e67e22; } .potion-surface.state-gold { background: radial-gradient(ellipse at center, #fff6a5 0%, #f1c40f 50%, #b7950b 100%); box-shadow: 0 0 35px #f1c40f, 0 0 60px rgba(241, 196, 15, 0.6); animation: goldShimmer 1.5s infinite alternate; } @keyframes goldShimmer { 0% { filter: brightness(1) drop-shadow(0 0 10px #f1c40f); } 100% { filter: brightness(1.3) drop-shadow(0 0 30px #fff); } } .cauldron-fire { position: absolute; bottom: 5px; font-size: 2.2rem; animation: flameFlicker 0.8s infinite alternate; pointer-events: none; } /* Stir Interactive Ring */ .stir-circle { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 3px dashed var(--gold); display: none; align-items: center; justify-content: center; pointer-events: auto; cursor: grab; animation: rotateDashed 6s linear infinite; } .stir-circle.active { display: flex; } .stir-arrow-hint { font-size: 1.8rem; position: absolute; top: 5px; right: 35px; } @keyframes rotateDashed { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } /* Ingredient Shelf */ .ingredients-shelf { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; width: 100%; } .ingredient-btn { background: rgba(30, 24, 40, 0.85); border: 2px solid #5a422d; border-radius: 12px; padding: 0.6rem 0.8rem; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; color: var(--text-light); cursor: pointer; transition: all 0.2s; user-select: none; min-width: 90px; } .ingredient-btn:hover, .ingredient-btn:active { border-color: var(--gold); transform: translateY(-3px) scale(1.03); box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3); } .ingredient-btn.done { opacity: 0.5; border-color: #27ae60; pointer-events: none; } .ing-icon { font-size: 1.8rem; } .ing-name { font-size: 0.85rem; font-weight: bold; } .ing-count { font-size: 0.75rem; color: var(--gold); background: rgba(0, 0, 0, 0.4); padding: 0.1rem 0.5rem; border-radius: 10px; } /* Heat Bellows Bar */ .heat-control-panel { display: none; flex-direction: column; align-items: center; width: 100%; gap: 0.75rem; } .heat-control-panel.active { display: flex; } .temp-bar-container { width: 100%; max-width: 320px; height: 24px; background: #111; border: 2px solid #555; border-radius: 12px; position: relative; overflow: hidden; } .temp-ideal-zone { position: absolute; left: 60%; width: 25%; height: 100%; background: rgba(46, 204, 113, 0.4); border-left: 2px dashed #2ecc71; border-right: 2px dashed #2ecc71; } .temp-indicator { height: 100%; width: 10%; background: linear-gradient(90deg, #3498db, #f39c12, #e74c3c); border-radius: 10px; transition: width 0.15s ease-out; } .bellows-btn { background: linear-gradient(180deg, #c0392b, #962d22); border: 2px solid #e74c3c; border-radius: 12px; color: #fff; padding: 0.75rem 1.5rem; font-size: 1.1rem; font-family: inherit; font-weight: bold; cursor: pointer; box-shadow: 0 6px 18px rgba(231, 76, 60, 0.4); display: inline-flex; align-items: center; gap: 0.5rem; user-select: none; touch-action: manipulation; } .bellows-btn:active { transform: scale(0.95); background: #e74c3c; } /* ======================================================== MINI-GAME: DAS RUNEN-DREHSCHLOSS / CRYPTEX (/cryptex) ======================================================== */ .cryptex-container { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; } .cryptex-box { background: linear-gradient(180deg, #3a2b1d 0%, #1f160e 50%, #120d08 100%); border: 4px solid var(--gold); border-radius: 16px; padding: 1.25rem 1rem; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), inset 0 0 25px rgba(212, 175, 55, 0.15); width: 100%; position: relative; } .cryptex-frame-line { position: absolute; top: 50%; left: 4%; right: 4%; height: 4px; background: rgba(212, 175, 55, 0.85); box-shadow: 0 0 10px var(--gold); transform: translateY(-50%); pointer-events: none; z-index: 10; } .cryptex-rings-row { display: flex; justify-content: space-around; gap: 0.5rem; position: relative; z-index: 5; } .cryptex-dial { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex: 1; } .dial-step-btn { background: rgba(212, 175, 55, 0.15); border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; width: 44px; height: 38px; font-size: 1.2rem; display: flex; justify-content: center; align-items: center; cursor: pointer; user-select: none; touch-action: manipulation; transition: all 0.15s; } .dial-step-btn:active { background: var(--gold); color: #120d08; transform: scale(0.92); } .dial-cylinder { width: 100%; max-width: 90px; height: 90px; background: linear-gradient(180deg, #1b1712 0%, #4a3822 50%, #15110c 100%); border: 3px solid #8c6e3b; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: inset 0 8px 12px rgba(0,0,0,0.8), inset 0 -8px 12px rgba(0,0,0,0.8); position: relative; user-select: none; touch-action: pan-y; } .dial-symbol { font-size: clamp(1.6rem, 5vw, 2.3rem); filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8)); transition: transform 0.15s ease, opacity 0.15s ease; } .dial-label { font-size: 0.72rem; color: var(--gold-light); margin-top: -2px; font-weight: bold; } /* ======================================================== MINI-GAME: WICHTEL-PANIK / CORNISH PIXIES (/pixies) ======================================================== */ .pixies-container { max-width: 580px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; } .pixies-hud { display: flex; justify-content: space-between; width: 100%; background: rgba(20, 15, 30, 0.85); border: 2px solid var(--gold); border-radius: 12px; padding: 0.6rem 1rem; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(0,0,0,0.6); } .arena-start-overlay { position: absolute; inset: 0; background: rgba(16, 11, 23, 0.92); border: 3px solid var(--gold); border-radius: 16px; z-index: 20; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; text-align: center; box-shadow: 0 0 35px rgba(0, 0, 0, 0.95); backdrop-filter: blur(4px); } .pixies-arena { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; width: 100%; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #1f1728, #100b17); border: 3px solid #4a3461; border-radius: 16px; padding: 0.5rem; box-shadow: inset 0 0 25px rgba(0,0,0,0.8); touch-action: manipulation; -webkit-user-select: none; user-select: none; } .pixie-hole { background: radial-gradient(circle, #2b1f3d 0%, #150f20 80%); border: 2px solid #3c2a50; border-radius: 12px; position: relative; overflow: hidden; display: flex; justify-content: center; align-items: center; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; box-shadow: inset 0 6px 10px rgba(0,0,0,0.7); } .hole-decor { font-size: 1.5rem; opacity: 0.25; position: absolute; bottom: 6px; pointer-events: none; } .pixie-target { font-size: clamp(2.4rem, 8vw, 3.4rem); position: absolute; transform: translateY(120%); transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28); pointer-events: none; /* Let hole handle tap directly! */ filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8)); animation: pixieFloat 0.8s infinite alternate ease-in-out; } .pixie-target.active { transform: translateY(0); } .pixie-target.frozen { filter: drop-shadow(0 0 12px #3498db) hue-rotate(180deg) brightness(1.2); animation: none; transform: translateY(0) scale(1.08); } .pixie-target.neville { font-size: clamp(2.6rem, 9vw, 3.6rem); animation: shakeNeville 0.4s infinite alternate; } @keyframes pixieFloat { 0% { transform: translateY(-4px) rotate(-3deg); } 100% { transform: translateY(4px) rotate(3deg); } } @keyframes shakeNeville { 0% { transform: translateY(0) rotate(-5deg); } 100% { transform: translateY(0) rotate(5deg); } } /* Mobile responsive adjustments */ @media (max-width: 600px) { .container { padding: 0.5rem; } .parchment-scroll { padding: 0.75rem 0.9rem; margin-bottom: 0.75rem; } .parchment-title { font-size: 1.35rem; } .riddle-poem { font-size: 1rem !important; line-height: 1.4 !important; margin: 0.25rem 0 !important; } .cauldron-wrapper { width: 220px; height: 220px; } .cauldron-pot { width: 200px; height: 185px; } .dial-cylinder { height: 70px; } .dial-step-btn { height: 38px; } .cryptex-box { padding: 0.75rem 0.4rem; } .cryptex-rings-row { gap: 0.25rem; } }