2026-04-14 17:41:39 +02:00

676 lines
14 KiB
CSS

/* ============================================
MercyV Loading Screen - Premium Edition
============================================ */
:root {
--primary: #ff6b35;
--primary-light: #ff9a56;
--accent: #ffc107;
--discord: #5865F2;
--discord-light: #7289DA;
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--glass-blur: 20px;
--text-primary: #fff;
--text-muted: rgba(255, 255, 255, 0.5);
--glow-primary: rgba(255, 107, 53, 0.4);
--glow-accent: rgba(255, 193, 7, 0.3);
--transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Montserrat', sans-serif;
min-height: 100vh;
overflow: hidden;
color: var(--text-primary);
}
/* ---- Video Background ---- */
.video-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.video-background video {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
object-fit: cover;
filter: blur(0px) brightness(0.85);
pointer-events: none;
transform: scale(1.05);
}
.video-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
135deg,
rgba(255, 107, 53, 0.3) 0%,
rgba(255, 154, 86, 0.2) 25%,
rgba(147, 112, 219, 0.3) 50%,
rgba(255, 107, 107, 0.2) 75%,
rgba(255, 193, 7, 0.3) 100%
);
background-size: 200% 200%;
backdrop-filter: blur(2px);
animation: gradientShift 12s ease-in-out infinite alternate;
}
.particle-canvas {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
/* ---- Main Container ---- */
.container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 40px 20px 120px;
position: relative;
z-index: 1;
}
/* ---- Ambient Glow ---- */
.ambient-glow {
position: absolute;
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -60%);
animation: glowPulse 4s ease-in-out infinite alternate;
pointer-events: none;
z-index: 0;
will-change: transform, opacity;
}
/* ---- Logo ---- */
.logo {
text-align: center;
margin-bottom: 60px;
animation: revealDown 1s var(--transition-smooth) both;
will-change: transform;
position: relative;
z-index: 1;
}
.logo img {
max-width: 400px;
width: 100%;
height: auto;
filter: drop-shadow(0 0 25px var(--glow-primary))
drop-shadow(0 0 50px rgba(255, 107, 53, 0.25));
animation: float 6s ease-in-out infinite;
}
/* ---- Loading Section ---- */
.loading-section {
width: 100%;
max-width: 500px;
margin-bottom: 45px;
animation: revealUp 0.8s var(--transition-smooth) 0.2s both;
position: relative;
z-index: 1;
}
.loading-info {
display: flex;
justify-content: space-between;
margin-bottom: 12px;
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
}
.loading-text {
color: rgba(255, 255, 255, 0.8);
}
.loading-percent {
color: var(--primary-light);
text-shadow: 0 0 15px var(--glow-primary);
font-variant-numeric: tabular-nums;
}
.progress-bar {
width: 100%;
height: 10px;
background: var(--glass-bg);
border-radius: 10px;
overflow: hidden;
border: 1px solid var(--glass-border);
position: relative;
}
.progress-fill {
width: 0%;
height: 100%;
background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
border-radius: 10px;
transition: width 0.5s var(--transition-smooth);
box-shadow: 0 0 20px var(--glow-primary), 0 0 8px var(--glow-primary);
position: relative;
}
.progress-fill::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(
90deg,
transparent,
rgba(255, 255, 255, 0.4),
transparent
);
animation: shimmer 2s infinite;
border-radius: 10px;
}
.loading-section.complete .progress-fill {
box-shadow: 0 0 25px var(--glow-accent), 0 0 50px var(--glow-accent);
}
.loading-status {
margin-top: 15px;
font-size: 0.8rem;
color: var(--text-muted);
text-align: center;
font-weight: 300;
letter-spacing: 0.5px;
}
.player-status {
margin-top: 10px;
font-size: 0.72rem;
color: rgba(255, 255, 255, 0.4);
text-align: center;
font-weight: 300;
letter-spacing: 1px;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
/* ---- Social Buttons ---- */
.social-buttons {
display: flex;
gap: 20px;
margin-bottom: 20px;
animation: revealUp 0.8s var(--transition-smooth) 0.4s both;
position: relative;
z-index: 1;
}
.btn {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 0.9rem;
letter-spacing: 1px;
transition: all 0.4s var(--transition-smooth);
border: 2px solid transparent;
position: relative;
overflow: hidden;
cursor: pointer;
}
.btn::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255, 255, 255, 0.12);
border-radius: 50%;
transform: translate(-50%, -50%);
transition: width 0.6s ease, height 0.6s ease;
}
.btn:hover::before {
width: 300px;
height: 300px;
}
.btn i {
font-size: 1.2rem;
position: relative;
z-index: 1;
}
.btn span {
position: relative;
z-index: 1;
}
.btn-discord,
.btn-website {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(12px);
color: rgba(255, 255, 255, 0.85);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.btn-discord:hover,
.btn-website:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateY(-3px) scale(1.02);
border-color: rgba(255, 255, 255, 0.25);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
color: #fff;
}
.btn-discord:active,
.btn-website:active {
transform: translateY(-1px) scale(0.98);
}
/* ---- Clock (oben links) ---- */
.clock {
position: fixed;
top: 25px;
left: 30px;
font-size: 0.8rem;
font-weight: 300;
color: rgba(255, 255, 255, 0.4);
letter-spacing: 2px;
z-index: 10;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
animation: revealDown 0.8s var(--transition-smooth) 0.5s both;
}
/* ---- Changelog (links mittig) ---- */
.changelog-panel {
position: fixed;
left: 30px;
top: 50%;
transform: translateY(-50%);
display: flex;
align-items: center;
gap: 10px;
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.5);
font-weight: 300;
background: rgba(0, 0, 0, 0.2);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 30px;
padding: 10px 18px;
z-index: 5;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
animation: revealLeft 0.8s var(--transition-smooth) 0.7s both;
max-width: 280px;
}
.pulse-dot {
width: 6px;
height: 6px;
background: #4ade80;
border-radius: 50%;
animation: dotPulse 2s ease-in-out infinite;
flex-shrink: 0;
}
.player-count {
text-transform: uppercase;
letter-spacing: 1.5px;
font-weight: 400;
}
.changelog-badge {
background: var(--primary);
color: #fff;
font-size: 0.55rem;
font-weight: 700;
padding: 2px 7px;
border-radius: 4px;
letter-spacing: 1px;
text-transform: uppercase;
flex-shrink: 0;
}
.changelog-text {
transition: opacity 0.4s ease;
line-height: 1.4;
}
.changelog-text.fade-out {
opacity: 0;
}
/* ---- Music Player ---- */
.music-player {
position: fixed;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(30px) saturate(1.4);
border-radius: 50px;
padding: 14px 28px;
display: flex;
align-items: center;
gap: 22px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
animation: revealUp-music 0.8s var(--transition-smooth) 0.8s both;
transition: border-color 0.4s ease, box-shadow 0.4s ease;
z-index: 10;
}
.music-player:hover {
border-color: rgba(255, 154, 86, 0.2);
box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.12),
0 0 30px rgba(255, 107, 53, 0.08);
}
.music-info {
display: flex;
align-items: center;
gap: 10px;
color: rgba(255, 255, 255, 0.75);
font-size: 0.85rem;
min-width: 120px;
}
/* Audio Visualizer */
.audio-visualizer {
display: flex;
align-items: flex-end;
gap: 3px;
height: 18px;
}
.audio-visualizer .bar {
display: block;
width: 3px;
background: linear-gradient(to top, var(--primary), var(--accent));
border-radius: 2px;
transform-origin: bottom;
}
.audio-visualizer .bar:nth-child(1) { height: 60%; animation: barBounce 0.8s ease-in-out infinite 0s; }
.audio-visualizer .bar:nth-child(2) { height: 100%; animation: barBounce 0.8s ease-in-out infinite 0.15s; }
.audio-visualizer .bar:nth-child(3) { height: 40%; animation: barBounce 0.8s ease-in-out infinite 0.3s; }
.audio-visualizer .bar:nth-child(4) { height: 80%; animation: barBounce 0.8s ease-in-out infinite 0.1s; }
.audio-visualizer.paused .bar {
animation-play-state: paused;
transform: scaleY(0.2);
transition: transform 0.3s ease;
}
.music-controls {
display: flex;
align-items: center;
gap: 8px;
}
.music-btn {
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.6);
font-size: 0.95rem;
cursor: pointer;
padding: 10px;
border-radius: 50%;
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.music-btn:hover {
color: #fff;
background: rgba(255, 255, 255, 0.1);
}
.play-btn {
background: linear-gradient(135deg, var(--primary), var(--primary-light));
color: #fff !important;
width: 42px;
height: 42px;
font-size: 0.9rem;
box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}
.play-btn:hover {
transform: scale(1.1);
box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}
.play-btn:active {
transform: scale(0.95);
}
.volume-control {
display: flex;
align-items: center;
gap: 8px;
margin-left: 8px;
padding-left: 14px;
border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.volume-slider {
width: 80px;
height: 4px;
-webkit-appearance: none;
appearance: none;
background: linear-gradient(
to right,
var(--primary) 0%,
var(--primary) var(--volume-pct, 50%),
rgba(255, 255, 255, 0.15) var(--volume-pct, 50%)
);
border-radius: 4px;
cursor: pointer;
transition: height 0.2s ease;
}
.volume-slider:hover {
height: 6px;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
border-radius: 50%;
cursor: pointer;
box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
transition: transform 0.2s ease;
}
.volume-slider::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
.volume-slider::-moz-range-thumb {
width: 14px;
height: 14px;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
border-radius: 50%;
cursor: pointer;
border: none;
box-shadow: 0 2px 8px rgba(255, 107, 53, 0.5);
}
/* ============================================
Animations
============================================ */
@keyframes revealDown {
0% {
opacity: 0;
transform: translateY(-40px) scale(0.95);
filter: blur(10px);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
filter: blur(0);
}
}
@keyframes revealUp {
0% {
opacity: 0;
transform: translateY(40px) scale(0.95);
filter: blur(10px);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
filter: blur(0);
}
}
@keyframes revealUp-music {
0% {
opacity: 0;
transform: translate(-50%, 30px);
filter: blur(10px);
}
100% {
opacity: 1;
transform: translate(-50%, 0);
filter: blur(0);
}
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
@keyframes glowPulse {
0% { opacity: 0.5; transform: translate(-50%, -60%) scale(1); }
100% { opacity: 1; transform: translate(-50%, -60%) scale(1.15); }
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
@keyframes revealLeft {
0% {
opacity: 0;
transform: translate(-30px, -50%);
filter: blur(10px);
}
100% {
opacity: 1;
transform: translate(0, -50%);
filter: blur(0);
}
}
@keyframes dotPulse {
0%, 100% { opacity: 1; box-shadow: 0 0 4px #4ade80; }
50% { opacity: 0.4; box-shadow: 0 0 10px #4ade80; }
}
@keyframes barBounce {
0%, 100% { transform: scaleY(0.3); }
50% { transform: scaleY(1); }
}
/* ============================================
Responsive
============================================ */
@media (max-width: 768px) {
.logo img {
max-width: 260px;
}
.ambient-glow {
width: 300px;
height: 300px;
}
.social-buttons {
flex-direction: column;
gap: 12px;
}
.btn {
padding: 12px 24px;
font-size: 0.85rem;
}
.music-player {
flex-direction: column;
gap: 12px;
padding: 18px;
border-radius: 20px;
width: calc(100% - 40px);
max-width: 340px;
}
.volume-control {
border-left: none;
padding-left: 0;
margin-left: 0;
}
.changelog-panel {
display: none;
}
.clock {
font-size: 0.7rem;
}
.loading-section {
max-width: 90%;
}
}