diff --git a/public/css/events.css b/public/css/events.css index b7684f8..02c2972 100644 --- a/public/css/events.css +++ b/public/css/events.css @@ -31,7 +31,7 @@ justify-content: center; padding: 6px; box-sizing: border-box; - position: relative; /* ← fix: damit event-done-overlay korrekt positioniert wird */ + position: relative; /* ← fix: damit event-done-overlay korrekt positioniert wird */ } .event-card-img-wrap img { @@ -406,7 +406,73 @@ white-space: nowrap; } -/* ── Holz-Spenden Stempel ── */ +/* ── Arena Daily UI ── */ +.arena-daily-wrap { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 16px; + flex: 1; + padding: 20px; +} + +.arena-mode-card-daily { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + padding: 20px 40px; + background: linear-gradient(135deg, #2a1a08, #1a0f04); + border: 2px solid #6b4b2a; + border-radius: 12px; + cursor: pointer; + transition: all 0.2s; +} +.arena-mode-card-daily:hover { + border-color: #f0d060; + box-shadow: 0 0 20px rgba(200,160,60,0.3); + transform: scale(1.04); +} +.arena-mode-card-daily.searching { + opacity: 0.6; + pointer-events: none; + border-color: rgba(255,215,80,0.5); +} +.arena-mode-icon { font-size: 2rem; } +.arena-mode-label-daily { + font-family: "Cinzel", serif; + font-size: 18px; + font-weight: bold; + color: #f0d9a6; +} +.arena-mode-desc-daily { + font-family: "Cinzel", serif; + font-size: 11px; + color: #a08060; + text-align: center; +} + +#arena-daily-status { + padding: 10px 18px; + border-radius: 8px; + background: rgba(255,215,80,0.08); + border: 1px solid rgba(255,215,80,0.3); + color: #dceb15; + font-family: "Cinzel", serif; + font-size: 12px; + text-align: center; + letter-spacing: 1px; + animation: pulse 2s ease-in-out infinite; +} +.arena-cancel-link { + display: inline-block; + margin-top: 6px; + font-size: 10px; + color: rgba(255,100,100,0.8); + cursor: pointer; + text-decoration: underline; +} .wood-btn-wrap { position: relative; width: 100%; @@ -440,7 +506,7 @@ color: #e85010; background: rgba(0, 0, 0, 0.5); font-family: "Cinzel", serif; - font-size: 14px; + font-size: 8px; font-weight: bold; letter-spacing: 1px; white-space: nowrap; @@ -451,7 +517,7 @@ .gold-stamp { border-color: #b8960a; - color: #000000; + color: #f0c020; box-shadow: 0 0 6px rgba(200, 160, 10, 0.5); text-shadow: 0 0 6px rgba(200, 160, 10, 0.6); } diff --git a/public/js/quickmenu.js b/public/js/quickmenu.js index 9ce799d..2cd21af 100644 --- a/public/js/quickmenu.js +++ b/public/js/quickmenu.js @@ -120,6 +120,13 @@ function isBoosterSpinning() { const goldUi = document.getElementById("gold-ui"); if (goldUi && goldUi.style.display !== "none" && goldUi.querySelector(".booster-slot.spinning")) return true; + // Arena Daily: sperren während Gegnersuche läuft + const arenaUi = document.getElementById("arena-ui"); + if (arenaUi && arenaUi.style.display !== "none") { + const card = arenaUi.querySelector(".arena-mode-card-daily.searching"); + if (card) return true; + } + return false; } diff --git a/public/js/quickmenu/events.js b/public/js/quickmenu/events.js index aa72776..54fe9f6 100644 --- a/public/js/quickmenu/events.js +++ b/public/js/quickmenu/events.js @@ -60,7 +60,7 @@ export async function loadEvents() { label: "Booster Öffnen", type: "booster", }, - { id: 2, img: "/images/items/1v1.png", label: "1 v 1" }, + { id: 2, img: "/images/items/1v1.png", label: "1 v 1", type: "arena" }, { id: 3, img: "/images/items/2v2.png", label: "2 v 2" }, { id: 4, @@ -189,6 +189,19 @@ export async function loadEvents() { + +
+