Web2k / client /src /index.css
Shinhati2023's picture
Update client/src/index.css
ae0f6f4 verified
/* RESET & FONTS */
:root {
--glass-border: rgba(255, 255, 255, 0.4); /* Brighter borders for thick look */
--glass-bg: rgba(255, 255, 255, 0.05);
--accent-pink: #ff0080;
--font-dream: 'Cinzel Decorative', cursive; /* The Fancy Font */
}
body {
margin: 0;
color: white;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
overflow-x: hidden;
padding-top: env(safe-area-inset-top);
/* WARM LIQUID ANIMATION (Red/Pink/Magenta) */
background: linear-gradient(
135deg,
#ff0055, /* Vivid Red */
#ff00aa, /* Hot Pink */
#aa00ff, /* Purple */
#5500aa /* Deep Violet */
);
background-size: 240% 240%;
animation: liquidFlow 12s ease infinite; /* Faster flow for energy */
min-height: 100vh;
}
@keyframes liquidFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* --- DREAM STACK (The Thick Glass Login) --- */
.dream-stack-outer {
width: 280px;
height: 280px;
border-radius: 40px;
background: rgba(255, 255, 255, 0.02);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Deep shadow */
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.dream-stack-middle {
width: 200px;
height: 200px;
border-radius: 32px;
background: rgba(255, 255, 255, 0.08); /* Slightly more opaque */
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow:
inset 0 0 20px rgba(255, 255, 255, 0.1), /* Inner glow */
0 10px 30px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 20px;
}
.dream-title {
font-family: var(--font-dream);
font-size: 24px;
font-weight: 900;
color: white;
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
margin-bottom: 20px;
letter-spacing: 1px;
}
/* The "Enter" Button inside the glass */
.dream-btn {
background: rgba(255, 255, 255, 0.15);
border: 1px solid rgba(255, 255, 255, 0.5);
backdrop-filter: blur(10px);
padding: 10px 30px;
border-radius: 9999px;
color: white;
font-family: -apple-system, sans-serif;
font-weight: 600;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.dream-btn:hover {
background: white;
color: #ff0055;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
/* --- EXISTING UI (For the main app) --- */
.glass-panel {
background: rgba(255, 255, 255, 0.08);
backdrop-filter: blur(24px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
border-radius: 24px;
}
.glass-pill {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 9999px;
padding: 8px 12px;
color: white;
font-size: 13px;
font-weight: 500;
cursor: pointer;
outline: none;
min-width: 70px;
}
.glass-pill option { background: #2a0010; color: white; }
.logo-expand-container {
display: flex; align-items: center; background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(20px);
border-radius: 9999px; padding: 8px 16px; transition: all 0.4s;
overflow: hidden; width: 32px; white-space: nowrap; flex-shrink: 0;
}
.logo-expand-container:hover { width: 110px; background: rgba(255, 255, 255, 0.2); }
.logo-main { font-weight: 900; letter-spacing: 2px; font-size: 0.9rem; margin-right: 8px; }
.logo-hidden { opacity: 0; font-size: 0.8rem; letter-spacing: 1px; transition: all 0.3s ease; }
.logo-expand-container:hover .logo-hidden { opacity: 1; }
textarea {
background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255,255,255,0.2); color: white;
border-radius: 24px; backdrop-filter: blur(20px); font-family: inherit;
}
textarea:focus { background: rgba(0, 0, 0, 0.5); border-color: rgba(255,255,255,0.5); outline: none; }
.run-btn {
background: linear-gradient(135deg, #ff0080 0%, #ff4e50 100%);
border: none; border-radius: 50%; color: white;
box-shadow: 0 10px 20px rgba(255, 0, 80, 0.3);
display: flex; align-items: center; justify-content: center;
}
.holo-box {
border: 2px dashed rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05);
border-radius: 18px; padding: 5px; position: relative;
}
.pwa-banner {
position: fixed; bottom: 160px; left: 20px; right: 20px;
background: rgba(40, 0, 20, 0.9); backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px;
padding: 15px; z-index: 100; display: flex; align-items: center; justify-content: space-between;
animation: slideUp 0.5s ease-out;
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }