AuthentiCheck / style.css
aheedsajid's picture
Update style.css
923cc7f verified
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #3B82F6;
--primary-dark: #2563EB;
--secondary: #64748B;
--success: #10B981;
--warning: #F59E0B;
--error: #EF4444;
--text: #0F172A;
--text-light: #64748B;
--bg: #F8FAFC;
--surface: #FFFFFF;
--border: #E2E8F0;
--glass: rgba(255, 255, 255, 0.1);
--shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
--shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
body {
font-family: 'Space Mono', monospace;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: var(--text);
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.hero {
text-align: center;
margin-bottom: 4rem;
position: relative;
}
.hero-content {
position: relative;
z-index: 2;
}
.hero-title {
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 700;
margin-bottom: 1rem;
line-height: 1.1;
}
.gradient-text {
background: linear-gradient(45deg, #FF6B6B, #4ECDC4, #45B7D1, #96CEB4);
background-size: 400% 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 3s ease infinite;
}
@keyframes gradientShift {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
.hero-subtitle {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 2rem;
font-weight: 400;
}
.hero-visual {
position: relative;
width: 200px;
height: 200px;
margin: 0 auto;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
display: flex;
align-items: center;
justify-content: center;
}
.scan-animation {
position: relative;
width: 100px;
height: 100px;
}
.scan-line {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, transparent, #4ECDC4, transparent);
animation: scanDown 2s ease-in-out infinite;
}
.scan-grid {
position: absolute;
inset: 0;
background-image:
linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
background-size: 10px 10px;
border-radius: 8px;
}
@keyframes scanDown {
0% { transform: translateY(0); opacity: 1; }
100% { transform: translateY(100px); opacity: 0; }
}
.main-content {
display: grid;
gap: 2rem;
grid-template-columns: 1fr;
}
.card {
background: var(--surface);
border-radius: 24px;
padding: 2rem;
box-shadow: var(--shadow);
border: 1px solid var(--border);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.glass {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5rem;
}
.card-header h2 {
font-size: 1.5rem;
font-weight: 700;
color: var(--text);
}
.status-indicator {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--error);
animation: pulse 2s infinite;
}
.status-dot.active {
background: var(--success);
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.input-group {
display: flex;
gap: 1rem;
align-items: center;
}
.api-input {
flex: 1;
padding: 1rem;
border: 2px solid var(--border);
border-radius: 12px;
font-size: 1rem;
font-family: inherit;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
background: rgba(255, 255, 255, 0.8);
}
.api-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}
.btn {
padding: 1rem 2rem;
border: none;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
font-family: inherit;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}
.btn-secondary {
background: var(--border);
color: var(--text);
}
.btn-secondary:hover:not(:disabled) {
background: var(--secondary);
color: white;
}
.btn-large {
padding: 1.25rem 2.5rem;
font-size: 1.125rem;
}
.btn-loader {
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top: 2px solid white;
border-radius: 50%;
animation: spin 1s linear infinite;
display: none;
}
.btn.loading .btn-text {
opacity: 0;
}
.btn.loading .btn-loader {
display: block;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.upload-area {
border: 2px dashed var(--border);
border-radius: 16px;
padding: 3rem;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
background: rgba(59, 130, 246, 0.02);
}
.upload-area:hover {
border-color: var(--primary);
background: rgba(59, 130, 246, 0.05);
}
.upload-area.dragover {
border-color: var(--primary);
background: rgba(59, 130, 246, 0.1);
transform: scale(1.02);
}
.upload-content h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: var(--text);
}
.upload-content p {
color: var(--text-light);
margin-bottom: 1.5rem;
}
.upload-icon {
width: 48px;
height: 48px;
margin: 0 auto 1rem;
color: var(--primary);
}
.action-buttons {
display: flex;
gap: 1rem;
justify-content: flex-end;
margin-top: 2rem;
}
.result-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2rem;
}
.result-badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.result-badge.real {
background: rgba(16, 185, 129, 0.1);
color: var(--success);
}
.result-badge.fake {
background: rgba(239, 68, 68, 0.1);
color: var(--error);
}
.result-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
align-items: start;
}
.result-image {
position: relative;
border-radius: 12px;
overflow: hidden;
aspect-ratio: 1;
}
.result-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.result-details {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.detail-item {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.detail-item label {
font-size: 0.875rem;
font-weight: 600;
color: var(--text-light);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.detail-item span,
.detail-item p {
font-size: 1rem;
color: var(--text);
line-height: 1.5;
}
.upload-stats {
font-size: 0.875rem;
color: var(--text-light);
font-weight: 500;
}
.upload-stats span {
color: var(--primary);
font-weight: 700;
}
.api-info {
margin-bottom: 1rem;
padding: 1rem;
background: rgba(59, 130, 246, 0.05);
border-radius: 8px;
border: 1px solid rgba(59, 130, 246, 0.1);
}
.api-info p {
margin: 0;
font-size: 0.875rem;
color: var(--text-light);
}
.api-info a {
color: var(--primary);
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease;
}
.api-info a:hover {
color: var(--primary-dark);
text-decoration: underline;
}
.input-hint {
font-size: 0.875rem;
color: var(--text-light);
margin-top: 0.5rem;
text-align: center;
}
@media (max-width: 768px) {
.container {
padding: 1rem;
}
.hero {
margin-bottom: 2rem;
}
.input-group {
flex-direction: column;
align-items: stretch;
}
.result-content {
grid-template-columns: 1fr;
}
.action-buttons {
flex-direction: column;
}
.upload-area {
padding: 2rem 1rem;
}
}