Fictional Reward Generator UI
CONNECTING GAME SERVER...
:root {
--bg-color: #0c0a1c;
--panel-bg: rgba(20, 16, 45, 0.7);
--border-color: rgba(67, 102, 225, 0.4);
--glow-color: #4366e1;
--text-primary: #e0e0e0;
--text-secondary: #a0a0b8;
--green-glow: #2fdd91;
--pink-glow: #ff4b91;
--cyan-glow: #2bd7ef;
}
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background-color: var(--bg-color);
background-image:
linear-gradient(to bottom, var(--bg-color) 40%, #1f1b40),
repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(67, 102, 225, 0.1) 35px, rgba(67, 102, 225, 0.1) 70px),
repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(67, 102, 225, 0.1) 35px, rgba(67, 102, 225, 0.1) 70px);
color: var(--text-primary);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
overflow: hidden;
position: relative;
}
.background-diamonds .diamond {
position: absolute;
width: 80px;
height: 60px;
background: linear-gradient(135deg, #a777ff, #74aaff);
clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
opacity: 0.3;
filter: blur(2px);
animation: float 15s infinite ease-in-out;
}
.background-diamonds .diamond:nth-child(2) { animation-delay: -5s; animation-duration: 20s; }
.background-diamonds .diamond:nth-child(3) { animation-delay: -10s; animation-duration: 25s; }
.background-diamonds .diamond:nth-child(4) { animation-delay: -2s; animation-duration: 18s; }
.background-diamonds .diamond:nth-child(5) { filter: blur(1px); opacity: 0.8; animation-duration: 10s; }
@keyframes float {
0% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-25px) rotate(15deg); }
100% { transform: translateY(0px) rotate(0deg); }
}
.container {
width: 900px;
background-color: var(--panel-bg);
border: 1px solid var(--border-color);
border-radius: 15px;
padding: 25px 40px;
box-shadow: 0 0 30px rgba(67, 102, 225, 0.3);
backdrop-filter: blur(10px);
z-index: 10;
}
.main-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border-color);
}
.logo {
display: flex;
align-items: center;
font-weight: 600;
color: var(--text-secondary);
}
.logo svg {
margin-right: 8px;
color: var(--cyan-glow);
}
.title {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
margin: 0;
text-shadow: 0 0 5px var(--glow-color);
}
.header-button {
background-color: #3b3b8d;
color: var(--text-primary);
border: 1px solid var(--glow-color);
border-radius: 5px;
padding: 8px 15px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.header-button:hover {
background-color: var(--glow-color);
box-shadow: 0 0 10px var(--glow-color);
}
.content-grid {
display: grid;
grid-template-columns: 1fr 2fr 1fr;
gap: 40px;
align-items: center;
}
/* Left Panel */
.left-panel form {
display: flex;
flex-direction: column;
}
.left-panel label {
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 5px;
}
.left-panel input {
background-color: #110e2b;
border: 1px solid #3a3a6b;
border-radius: 5px;
padding: 10px;
color: var(--text-primary);
margin-bottom: 15px;
font-size: 0.9rem;
}
.form-button {
background-color: #312e6c;
border: 1px solid var(--glow-color);
color: var(--text-primary);
padding: 10px;
border-radius: 5px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.form-button:hover {
background-color: var(--glow-color);
}
/* Center Panel */
.center-panel {
text-align: center;
}
.center-panel h2 {
font-size: 1.2rem;
font-weight: 600;
color: var(--text-secondary);
letter-spacing: 1px;
}
.progress-bar-container {
margin-top: 20px;
}
.progress-bar-container span {
display: block;
margin-bottom: 10px;
font-weight: 600;
color: var(--text-primary);
}
.progress-bar {
width: 100%;
height: 15px;
background-color: #110e2b;
border-radius: 10px;
border: 1px solid var(--border-color);
overflow: hidden;
}
.progress-bar-fill {
width: 60%;
height: 100%;
background: linear-gradient(90deg, var(--pink-glow), var(--cyan-glow));
border-radius: 10px;
}
/* Right Panel */
.right-panel {
display: flex;
flex-direction: column;
align-items: center;
}
.reward-buttons {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
width: 100%;
margin-bottom: 20px;
}
.reward-btn {
padding: 10px;
border: none;
border-radius: 5px;
color: white;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
}
.reward-btn.green { background-color: #2fdd91; box-shadow: 0 0 10px #2fdd9188; }
.reward-btn.pink { background-color: #ff4b91; box-shadow: 0 0 10px #ff4b9188; }
.reward-btn.blue { background-color: #4366e1; box-shadow: 0 0 15px #4366e1aa; font-size: 1.1rem; }
.reward-btn:hover {
transform: scale(1.05);
}
.start-button {
width: 100%;
padding: 15px;
border: none;
border-radius: 8px;
font-size: 1.2rem;
font-weight: 700;
color: white;
background: var(--cyan-glow);
box-shadow: 0 0 20px var(--cyan-glow);
cursor: pointer;
transition: all 0.3s ease;
}
.start-button:hover {
background: #54e3f7;
box-shadow: 0 0 30px var(--cyan-glow);
}
Comentarios
Publicar un comentario