38386-vm/static/css/custom.css
2026-02-12 16:53:09 +00:00

154 lines
2.9 KiB
CSS

:root {
--primary-dark: #121212;
--accent-red: #D90429;
--accent-red-hover: #EF233C;
--text-silver: #8D99AE;
--bg-light: #EDF2F4;
--white: #ffffff;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg-light);
color: var(--primary-dark);
line-height: 1.6;
}
h1, h2, h3, h4, .navbar-brand {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
}
/* Navbar */
.navbar {
background-color: var(--primary-dark);
padding: 1rem 0;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.navbar-brand {
font-size: 1.5rem;
letter-spacing: -1px;
}
.brand-auto { color: var(--white); }
.brand-bid { color: var(--accent-red); }
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-dark) 0%, #2b2d42 100%);
padding: 100px 0;
color: var(--white);
position: relative;
overflow: hidden;
}
.hero::after {
content: '';
position: absolute;
top: -50%;
right: -10%;
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(217, 4, 41, 0.15) 0%, transparent 70%);
z-index: 0;
}
.hero-content {
position: relative;
z-index: 1;
}
/* Cards & Glassmorphism */
.auction-card {
border: none;
border-radius: 16px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
background: var(--white);
box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.auction-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.card-img-container {
height: 200px;
overflow: hidden;
position: relative;
}
.card-img-top {
width: 100%;
height: 100%;
object-fit: cover;
}
.badge-bid {
position: absolute;
top: 15px;
right: 15px;
background: rgba(217, 4, 41, 0.9);
backdrop-filter: blur(4px);
color: white;
padding: 6px 12px;
border-radius: 8px;
font-weight: 600;
font-size: 0.85rem;
}
.badge-time {
position: absolute;
bottom: 15px;
left: 15px;
background: rgba(18, 18, 18, 0.7);
backdrop-filter: blur(4px);
color: white;
padding: 4px 10px;
border-radius: 6px;
font-size: 0.75rem;
}
/* Buttons */
.btn-primary {
background-color: var(--accent-red);
border-color: var(--accent-red);
font-weight: 600;
border-radius: 8px;
padding: 10px 24px;
}
.btn-primary:hover {
background-color: var(--accent-red-hover);
border-color: var(--accent-red-hover);
}
/* Search Bar */
.search-container {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 8px;
max-width: 600px;
}
.search-input {
background: transparent;
border: none;
color: white;
padding-left: 15px;
}
.search-input:focus {
background: transparent;
color: white;
box-shadow: none;
}
footer {
background-color: var(--primary-dark);
color: var(--text-silver);
}