163 lines
3.0 KiB
CSS
163 lines
3.0 KiB
CSS
/**
|
|
* 24 Hours Payout — reusable floor module.
|
|
* Used by pages/modules/payout-24h.section.html
|
|
*/
|
|
.payout-24h {
|
|
--payout-24h-primary: #f98715;
|
|
--payout-24h-amount: #f28c28;
|
|
--payout-24h-paid: #22c55e;
|
|
--payout-24h-card-bg: rgba(18, 18, 18, 0.85);
|
|
--payout-24h-card-border: rgba(255, 255, 255, 0.08);
|
|
margin-bottom: 96px;
|
|
text-align: center;
|
|
}
|
|
|
|
.payout-24h__title {
|
|
margin: 0 0 12px;
|
|
font-size: clamp(32px, 5.26vw, 60px);
|
|
line-height: 1.307;
|
|
font-weight: 800;
|
|
text-align: center;
|
|
letter-spacing: -0.035em;
|
|
color: #f9f9f9;
|
|
}
|
|
|
|
.payout-24h__accent {
|
|
color: var(--payout-24h-primary);
|
|
}
|
|
|
|
.payout-24h__subtitle {
|
|
margin: 0 auto 36px;
|
|
|
|
font-size: clamp(18px, 2.63vw, 30px);
|
|
line-height: 1.588;
|
|
font-weight: 400;
|
|
letter-spacing: 0;
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
.payout-24h__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 16px;
|
|
max-width: 960px;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.payout-24h__grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
max-width: 640px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.payout-24h__grid {
|
|
grid-template-columns: 1fr;
|
|
max-width: 360px;
|
|
}
|
|
}
|
|
|
|
.payout-24h__card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
padding: 16px 18px;
|
|
border-radius: 12px;
|
|
border: 1px solid var(--payout-24h-card-border);
|
|
background: var(--payout-24h-card-bg);
|
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.payout-24h__card:hover {
|
|
border-color: rgba(249, 135, 21, 0.25);
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
|
|
}
|
|
|
|
.payout-24h__card-top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.payout-24h__amount {
|
|
font-size: clamp(18px, 2.5vw, 22px);
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.02em;
|
|
color: var(--payout-24h-amount);
|
|
}
|
|
|
|
.payout-24h__badge {
|
|
flex-shrink: 0;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(34, 197, 94, 0.15);
|
|
border: 1px solid rgba(34, 197, 94, 0.45);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
color: var(--payout-24h-paid);
|
|
}
|
|
|
|
.payout-24h__card-bottom {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.payout-24h__avatar {
|
|
flex-shrink: 0;
|
|
align-self: flex-end;
|
|
display: block;
|
|
width: 40px;
|
|
height: 40px;
|
|
margin-bottom: 2px;
|
|
border-radius: 0;
|
|
object-fit: cover;
|
|
border: none;
|
|
background: #1a1a1a;
|
|
}
|
|
|
|
.payout-24h__col {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.payout-24h__label {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
line-height: 1.63;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.payout-24h__value {
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
line-height: 1.35;
|
|
color: #fff;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.payout-24h {
|
|
margin-bottom: 64px;
|
|
}
|
|
|
|
.payout-24h__subtitle {
|
|
margin-bottom: 28px;
|
|
}
|
|
}
|