DeepEx-AI / src /index.css
yogesh rana
navbar
d3a79fa
:root {
--primary: #22c55e;
--primary-hover: #16a34a;
--bg-gradient: linear-gradient(135deg, #4c1d95, #b54414);
--glass: rgba(219, 13, 137, 0.08);
--glass-border: rgba(174, 6, 211, 0.15);
--text-muted: #cbd5e1;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
background: linear-gradient(45deg, #0f172a, #1e1b4b, #581c87, #0f172a);
background-size: 400% 400%;
animation: gradientBG 5s ease infinite;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 40px 20px;
color: white;
overflow-x: hidden;
margin: 0;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.card {
background: var(--glass);
backdrop-filter: blur(25px);
-webkit-backdrop-filter: blur(25px);
border: 1px solid var(--glass-border);
padding: 45px;
border-radius: 30px;
width: 100%;
max-width: 500px;
text-align: center;
box-shadow: 0 0 50px rgba(0,0,0,0.4), inset 0 0 20px rgba(139,92,246,0.1);
margin: auto;
}
.header {
position: relative;
margin-bottom: 30px;
}
.social-icons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 15px;
}
.social-icons a:nth-child(1) { color: #0077b5; }
.social-icons a:nth-child(2) { color: #ffffff; }
.social-icons a {
font-size: 30px;
transition: 0.3s ease;
display: flex;
align-items: center;
}
.social-icons a:hover {
transform: scale(1.2);
filter: brightness(1.2);
}
h1 {
font-size: 32px;
font-weight: 800;
letter-spacing: -0.5px;
background: linear-gradient(to right, #fff, #94a3b8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
color: var(--text-muted);
font-size: 14px;
line-height: 1.6;
margin-top: 10px;
}
/* ===== UPLOAD ===== */
.upload-label {
display: block;
margin: 25px 0;
border: 2px dashed var(--glass-border);
padding: 30px;
border-radius: 16px;
cursor: pointer;
transition: 0.3s;
background: rgba(255,255,255,0.03);
}
.upload-label:hover {
border-color: var(--primary);
background: rgba(34,197,94,0.05);
}
.btn-primary {
width: 100%;
padding: 14px;
background: var(--primary);
border: none;
border-radius: 12px;
color: white;
font-weight: 600;
font-size: 16px;
cursor: pointer;
transition: 0.3s;
box-shadow: 0 4px 15px rgba(34,197,94,0.3);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-1px);
}
.image-preview {
width: 100%;
border-radius: 12px;
margin-top: 20px;
border: 1px solid var(--glass-border);
}
/* ===== IMAGE CONTAINER / SCAN ===== */
.image-container {
position: relative;
margin: 20px auto;
width: fit-content;
border-radius: 12px;
overflow: hidden;
border: 1px solid var(--glass-border);
}
.image-container img {
display: block;
max-width: 300px;
height: auto;
}
.scan-line {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: #22c55e;
box-shadow: 0 0 15px #22c55e, 0 0 30px #22c55e;
z-index: 10;
display: none;
}
.scanning .scan-line {
display: block;
animation: scannerMove 3s ease-in-out infinite;
}
@keyframes scannerMove {
0% { top: 0%; opacity: 0.3; }
50% { top: 100%; opacity: 1; }
100% { top: 0%; opacity: 0.3; }
}
/* ===== FEEDBACK ===== */
.feedback-grid {
display: flex;
gap: 10px;
margin: 15px 0;
}
.feedback-grid button {
flex: 1;
padding: 12px;
background: rgba(255,255,255,0.05);
border: 1px solid var(--glass-border);
color: white;
border-radius: 10px;
cursor: pointer;
transition: 0.3s;
}
.feedback-grid button.selected {
background: var(--primary);
border-color: var(--primary);
}
input[type="text"],
input[type="email"],
textarea {
width: 100%;
background: rgba(0,0,0,0.2);
border: 1px solid var(--glass-border);
padding: 12px;
border-radius: 10px;
color: white;
margin-bottom: 12px;
outline: none;
font-size: 14px;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
color: var(--text-muted);
}
.star-rating {
display: flex;
flex-direction: row-reverse;
justify-content: center;
gap: 5px;
margin-bottom: 15px;
}
.star-rating input { display: none; }
.star-rating label {
font-size: 24px;
color: rgba(255,255,255,0.2);
cursor: pointer;
}
.star-rating input:checked ~ label { color: #fbbf24; }
/* ===== PROGRESS ===== */
.progress-container {
background: rgba(0,0,0,0.3);
height: 8px;
border-radius: 10px;
margin: 15px 0;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: var(--primary);
width: 0%;
transition: width 1.5s cubic-bezier(0.1, 0.5, 0.5, 1);
}
/* ===== TAKEDOWN ===== */
.takedown-section {
margin-top: 30px;
border-top: 1px solid rgba(239,68,68,0.3);
padding-top: 25px;
}
.takedown-title {
font-size: 18px;
font-weight: 700;
color: #f87171;
margin-bottom: 6px;
}
.takedown-subtitle {
font-size: 12px;
color: var(--text-muted);
margin-bottom: 20px;
}
.platform-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
margin-bottom: 20px;
}
.platform-btn {
display: flex;
align-items: center;
gap: 8px;
padding: 11px 14px;
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 10px;
color: white;
font-size: 13px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
transition: 0.25s;
justify-content: center;
}
.platform-btn:hover {
background: rgba(239,68,68,0.15);
border-color: rgba(239,68,68,0.5);
transform: translateY(-1px);
}
.dmca-toggle-btn {
width: 100%;
padding: 13px;
background: rgba(239,68,68,0.15);
border: 1px solid rgba(239,68,68,0.4);
border-radius: 12px;
color: #f87171;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: 0.3s;
margin-bottom: 15px;
}
.dmca-toggle-btn:hover { background: rgba(239,68,68,0.25); }
.dmca-box {
background: rgba(0,0,0,0.35);
border: 1px solid rgba(239,68,68,0.3);
border-radius: 14px;
padding: 20px;
text-align: left;
margin-top: 5px;
}
.dmca-box label {
font-size: 12px;
color: var(--text-muted);
display: block;
margin-bottom: 4px;
margin-top: 10px;
}
.dmca-box input,
.dmca-box textarea {
width: 100%;
background: rgba(0,0,0,0.3);
border: 1px solid rgba(255,255,255,0.1);
padding: 10px;
border-radius: 8px;
color: white;
font-size: 13px;
outline: none;
margin-bottom: 4px;
}
.dmca-box textarea {
min-height: 120px;
resize: vertical;
font-family: monospace;
font-size: 12px;
line-height: 1.6;
}
.dmca-copy-btn {
width: 100%;
margin-top: 12px;
padding: 11px;
background: #ef4444;
border: none;
border-radius: 10px;
color: white;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: 0.3s;
}
.dmca-copy-btn:hover { background: #dc2626; }
.copy-toast {
background: rgba(34,197,94,0.2);
border: 1px solid #22c55e;
color: #4ade80;
padding: 8px 14px;
border-radius: 8px;
font-size: 13px;
margin-top: 10px;
text-align: center;
}
/* ===== VIDEO POLLING ===== */
.video-processing-box {
margin-top: 30px;
border-top: 1px solid var(--glass-border);
padding-top: 25px;
text-align: center;
}
.processing-spinner {
width: 48px;
height: 48px;
border: 3px solid rgba(34,197,94,0.15);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.9s linear infinite;
margin: 0 auto 18px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-label {
font-size: 15px;
font-weight: 600;
color: white;
margin-bottom: 6px;
}
.processing-sub {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 20px;
}
.pulse-bar {
height: 6px;
border-radius: 10px;
background: rgba(255,255,255,0.07);
overflow: hidden;
margin-bottom: 6px;
}
.pulse-fill {
height: 100%;
width: 40%;
background: var(--primary);
border-radius: 10px;
animation: pulseSlide 1.6s ease-in-out infinite;
}
@keyframes pulseSlide {
0% { transform: translateX(-100%); }
100% { transform: translateX(350%); }
}
.poll-status-text {
font-size: 12px;
color: var(--text-muted);
margin-top: 8px;
}
.poll-error-box {
background: rgba(239,68,68,0.15);
border: 1px solid rgba(239,68,68,0.4);
color: #f87171;
border-radius: 10px;
padding: 14px;
font-size: 14px;
margin-top: 20px;
}
/* ===== NAVBAR ===== */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 32px;
background: rgba(15, 10, 40, 0.4);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(174, 6, 211, 0.12);
transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar--scrolled {
background: rgba(15, 10, 40, 0.75);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
border-bottom-color: rgba(174, 6, 211, 0.25);
}
/* ── Logo ── */
.navbar__logo {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
cursor: default;
user-select: none;
}
.navbar__logo-icon {
font-size: 22px;
}
.navbar__logo-text {
font-size: 20px;
font-weight: 800;
letter-spacing: -0.5px;
color: #fff;
}
.navbar__logo-accent {
color: #22c55e;
}
/* ── Desktop Links ── */
.navbar__links {
display: flex;
list-style: none;
gap: 32px;
margin: 0;
padding: 0;
}
.navbar__link {
text-decoration: none;
color: #cbd5e1;
font-size: 14px;
font-weight: 500;
position: relative;
transition: color 0.2s;
letter-spacing: 0.3px;
}
.navbar__link::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0%;
height: 2px;
background: #22c55e;
border-radius: 2px;
transition: width 0.25s ease;
}
.navbar__link:hover {
color: #fff;
}
.navbar__link:hover::after {
width: 100%;
}
/* ── Right Side ── */
.navbar__right {
display: flex;
align-items: center;
gap: 12px;
}
.navbar__user {
display: flex;
align-items: center;
gap: 7px;
font-size: 13px;
color: #cbd5e1;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 5px 12px;
border-radius: 20px;
}
.navbar__user-dot {
width: 7px;
height: 7px;
background: #22c55e;
border-radius: 50%;
box-shadow: 0 0 6px #22c55e;
animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.6; transform: scale(0.85); }
}
.navbar__logout {
background: rgba(239, 68, 68, 0.15);
border: 1px solid rgba(239, 68, 68, 0.4);
color: #f87171;
border-radius: 8px;
padding: 5px 14px;
cursor: pointer;
font-size: 13px;
font-weight: 600;
transition: background 0.2s, transform 0.15s;
}
.navbar__logout:hover {
background: rgba(239, 68, 68, 0.28);
transform: translateY(-1px);
}
/* ── Hamburger (mobile) ── */
.navbar__hamburger {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 4px;
}
.navbar__hamburger span {
display: block;
width: 22px;
height: 2px;
background: #cbd5e1;
border-radius: 2px;
transition: all 0.3s ease;
}
.navbar__hamburger.open span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.open span:nth-child(2) {
opacity: 0;
}
.navbar__hamburger.open span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
/* ── Mobile Dropdown ── */
.navbar__mobile-menu {
display: none;
position: fixed;
top: 58px;
left: 0;
width: 100%;
background: rgba(15, 10, 40, 0.97);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(174, 6, 211, 0.2);
flex-direction: column;
padding: 16px 24px 24px;
gap: 4px;
transform: translateY(-10px);
opacity: 0;
transition: opacity 0.25s ease, transform 0.25s ease;
pointer-events: none;
}
.navbar__mobile-menu--open {
opacity: 1;
transform: translateY(0);
pointer-events: all;
}
.navbar__mobile-link {
display: block;
text-decoration: none;
color: #cbd5e1;
font-size: 15px;
font-weight: 500;
padding: 12px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
transition: color 0.2s;
}
.navbar__mobile-link:hover {
color: #22c55e;
}
.navbar__mobile-user {
display: block;
font-size: 13px;
color: #94a3b8;
padding: 12px 0 6px;
}
.navbar__mobile-logout {
margin-top: 8px;
width: 100%;
padding: 11px;
background: rgba(239, 68, 68, 0.15);
border: 1px solid rgba(239, 68, 68, 0.4);
border-radius: 10px;
color: #f87171;
font-weight: 600;
font-size: 14px;
cursor: pointer;
transition: background 0.2s;
}
.navbar__mobile-logout:hover {
background: rgba(239, 68, 68, 0.28);
}
/* ── Responsive ── */
@media (max-width: 640px) {
.navbar__links,
.navbar__right {
display: none;
}
.navbar__hamburger {
display: flex;
}
.navbar__mobile-menu {
display: flex;
}
.navbar {
padding: 14px 20px;
}
}