Init
This commit is contained in:
479
frontend/src/styles/app.css
Normal file
479
frontend/src/styles/app.css
Normal file
@@ -0,0 +1,479 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Space Grotesk', 'Helvetica Neue', system-ui, sans-serif;
|
||||
background: radial-gradient(circle at 20% 20%, #0f172a 0, #0f172a 35%, #0a1325);
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
padding: 2.4rem 1.6rem 2.8rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 1fr;
|
||||
gap: 1rem;
|
||||
background: linear-gradient(125deg, #111827, #111b34 45%, #162146);
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
color: #f8fafc;
|
||||
padding: 1.8rem;
|
||||
border-radius: 22px;
|
||||
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
|
||||
margin-bottom: 1.6rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hero::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: -40px;
|
||||
top: -40px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: radial-gradient(circle, rgba(99, 102, 241, 0.28), transparent 60%);
|
||||
filter: blur(2px);
|
||||
}
|
||||
|
||||
.hero-copy h1 {
|
||||
margin: 0.3rem 0 0.6rem;
|
||||
font-size: clamp(2.1rem, 4vw, 2.8rem);
|
||||
}
|
||||
|
||||
.hero .lede {
|
||||
max-width: 720px;
|
||||
opacity: 0.92;
|
||||
line-height: 1.5;
|
||||
color: #e2e8f0;
|
||||
margin: 0 0 0.6rem;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
letter-spacing: 0.14em;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.78rem;
|
||||
color: #a5b4fc;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
gap: 0.6rem;
|
||||
margin: 1rem 0;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
button {
|
||||
border: none;
|
||||
background: #eab308;
|
||||
color: #0f172a;
|
||||
padding: 0.75rem 1.1rem;
|
||||
border-radius: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
|
||||
transition:
|
||||
transform 120ms ease,
|
||||
box-shadow 120ms ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
|
||||
}
|
||||
|
||||
button.ghost {
|
||||
background: rgba(255, 255, 255, 0.12);
|
||||
color: #f8fafc;
|
||||
border: 1px solid rgba(255, 255, 255, 0.16);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
button.outline {
|
||||
background: transparent;
|
||||
color: #eab308;
|
||||
border: 1px dashed rgba(234, 179, 8, 0.5);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.meta {
|
||||
color: #cbd5f5;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.price-hero {
|
||||
background: linear-gradient(145deg, #0ea5e9, #22d3ee);
|
||||
color: #03263b;
|
||||
border-radius: 16px;
|
||||
padding: 1rem 1.2rem;
|
||||
box-shadow:
|
||||
inset 0 0 0 1px rgba(255, 255, 255, 0.22),
|
||||
0 14px 36px rgba(14, 165, 233, 0.35);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: 0.1rem;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.price-hero::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.3), transparent 40%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.price-stack {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.6rem;
|
||||
margin: 0.4rem 0;
|
||||
}
|
||||
|
||||
.old {
|
||||
text-decoration: line-through;
|
||||
opacity: 0.7;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.new {
|
||||
font-size: 1.8rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.pill {
|
||||
display: inline-block;
|
||||
padding: 0.2rem 0.5rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.22);
|
||||
color: #03263b;
|
||||
font-weight: 700;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.availability {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.tiny {
|
||||
margin: 0;
|
||||
font-size: 0.85rem;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
.cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: #0b1224;
|
||||
border-radius: 16px;
|
||||
padding: 1.25rem;
|
||||
box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.card-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 0.75rem;
|
||||
}
|
||||
|
||||
.label {
|
||||
font-weight: 800;
|
||||
color: #f8fafc;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.sub {
|
||||
margin: 0;
|
||||
color: #cbd5f5;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.tag {
|
||||
background: rgba(99, 102, 241, 0.12);
|
||||
color: #a5b4fc;
|
||||
border-radius: 12px;
|
||||
padding: 0.25rem 0.6rem;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.menu-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.menu-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.menu-layout.with-alternative {
|
||||
grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1.1fr);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.menu-primary {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.menu-alternative {
|
||||
border-radius: 14px;
|
||||
padding: 1rem 1.1rem;
|
||||
border: 1px dashed rgba(234, 179, 8, 0.45);
|
||||
background: linear-gradient(160deg, rgba(234, 179, 8, 0.1), rgba(234, 179, 8, 0.02));
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 32px rgba(0, 0, 0, 0.22);
|
||||
color: #fef9c3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.alt-label {
|
||||
color: #fde68a;
|
||||
}
|
||||
|
||||
.alt-price {
|
||||
margin: 0.15rem 0 0.2rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
.alt-price-value {
|
||||
font-size: 1.5rem;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.alt-price-meta {
|
||||
color: #fef3c7;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.alt-items {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
margin: 0.2rem 0 0.1rem;
|
||||
}
|
||||
|
||||
.alt-items li {
|
||||
position: relative;
|
||||
padding-left: 1rem;
|
||||
margin: 0.15rem 0;
|
||||
}
|
||||
|
||||
.alt-items li::before {
|
||||
content: '•';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
color: #facc15;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.alt-note {
|
||||
margin: 0.2rem 0;
|
||||
color: #fefce8;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 1.2rem;
|
||||
margin: 0.4rem 0 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin-bottom: 0.2rem;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
color: #e2e8f0;
|
||||
}
|
||||
|
||||
.notes {
|
||||
display: flex;
|
||||
gap: 0.6rem;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.notes span {
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
padding: 0.35rem 0.6rem;
|
||||
border-radius: 10px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.deal {
|
||||
display: flex;
|
||||
gap: 0.8rem;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
margin-top: 0.8rem;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.price-line {
|
||||
display: flex;
|
||||
gap: 0.6rem;
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.fish {
|
||||
font-weight: 800;
|
||||
color: #34d399;
|
||||
}
|
||||
|
||||
.chip {
|
||||
display: inline-block;
|
||||
padding: 0.4rem 0.8rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(56, 189, 248, 0.16);
|
||||
color: #cffafe;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.chip.subtle {
|
||||
background: rgba(148, 163, 184, 0.16);
|
||||
color: #cbd5e1;
|
||||
}
|
||||
|
||||
.cta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.4rem;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.price-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.price-card {
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-radius: 12px;
|
||||
padding: 0.7rem 0.9rem;
|
||||
background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
|
||||
}
|
||||
|
||||
.item {
|
||||
margin: 0;
|
||||
font-weight: 700;
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.value {
|
||||
margin: 0.2rem 0;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 800;
|
||||
color: #38bdf8;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
margin: 0;
|
||||
color: #cbd5f5;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.banner {
|
||||
border-radius: 12px;
|
||||
padding: 0.75rem 1rem;
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
.banner.error {
|
||||
background: #fef2f2;
|
||||
color: #991b1b;
|
||||
border: 1px solid #fecdd3;
|
||||
}
|
||||
|
||||
.caption {
|
||||
margin: 0;
|
||||
color: #cbd5f5;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
margin: 0.2rem 0 0.4rem;
|
||||
font-size: 1.1rem;
|
||||
font-weight: 700;
|
||||
color: #f8fafc;
|
||||
}
|
||||
|
||||
.menu-card {
|
||||
background: linear-gradient(180deg, #0b1224, #0b1224 40%, #0e1530);
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.hero {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.price-hero {
|
||||
grid-row: 2;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
main {
|
||||
padding: 1.5rem 1.1rem 2rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 1.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
.menu-layout.with-alternative {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 980px) {
|
||||
.menu-card {
|
||||
grid-column: span 2;
|
||||
}
|
||||
}
|
||||
|
||||
.ci-card {
|
||||
background: linear-gradient(180deg, #0f172a, #0b1224);
|
||||
}
|
||||
|
||||
.ci-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
||||
gap: 0.8rem;
|
||||
}
|
||||
|
||||
.ci-item {
|
||||
padding: 0.7rem 0.8rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.06);
|
||||
border-radius: 10px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.mono {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
||||
}
|
||||
Reference in New Issue
Block a user