Everbit | مرکز خبر و آموزش کریپتو
:root {
–bg-main: #0c0c0c;
–bg-header: #0a0a0a;
–bg-card: #1e1c19;
–border-card: #383327;
–text-main: #e0e0e0;
–text-muted: #b0b0b0;
–gold-primary: #e5c15c;
–gold-hover: #d4af37;
–btn-dark-border: #333333;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: ‘Vazirmatn’, sans-serif;
background-color: var(–bg-main);
color: var(–text-main);
min-height: 100vh;
display: flex;
flex-direction: column;
line-height: 1.8;
}
/* ———- هدر ———- */
header {
background-color: var(–bg-header);
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
position: sticky;
top: 0;
z-index: 100;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-right, .header-left {
display: flex;
align-items: center;
gap: 12px;
}
.logo {
display: flex;
align-items: center;
gap: 8px;
font-size: 20px;
font-weight: 800;
color: var(–gold-primary);
text-decoration: none;
letter-spacing: -0.5px;
direction: ltr;
}
.logo-dot {
width: 10px; height: 10px;
border-radius: 50%;
background-color: var(–gold-primary);
box-shadow: 0 0 12px var(–gold-primary);
}
.btn {
padding: 8px 16px;
border-radius: 8px;
font-family: inherit;
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all .3s ease;
text-decoration: none;
display: inline-block;
}
.btn-register { background-color: var(–gold-primary); color: #000; }
.btn-register:hover { background-color: var(–gold-hover); }
.btn-login {
background-color: transparent;
color: #fff;
border: 1px solid var(–btn-dark-border);
}
.btn-login:hover { background-color: rgba(255,255,255,0.05); }
/* ———- بدنه ———- */
main {
padding: 40px 20px 60px;
display: flex;
justify-content: center;
flex: 1;
}
.container { width: 100%; max-width: 900px; }
.hero-title {
color: var(–gold-primary);
text-align: center;
font-size: 26px;
font-weight: 800;
line-height: 1.6;
margin-bottom: 10px;
}
.hero-sub {
text-align: center;
color: var(–text-muted);
font-size: 15px;
margin-bottom: 40px;
}
/* ———- گرید کارتها ———- */
.cards-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 22px;
}
@media (max-width: 700px) {
.cards-grid { grid-template-columns: 1fr; }
}
.card-link {
text-decoration: none;
color: inherit;
display: block;
}
.card {
background-color: var(–bg-card);
border: 1px solid var(–border-card);
border-radius: 20px;
padding: 32px 26px;
height: 100%;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
position: relative;
overflow: hidden;
}
.card::before {
content: “”;
position: absolute;
inset: 0 0 auto 0;
height: 3px;
background: linear-gradient(90deg, transparent, var(–gold-primary), transparent);
opacity: 0;
transition: opacity .3s ease;
}
.card-link:hover .card {
transform: translateY(-6px);
border-color: var(–gold-primary);
box-shadow: 0 16px 40px rgba(229,193,92,0.15);
}
.card-link:hover .card::before { opacity: 1; }
.card-icon {
width: 56px; height: 56px;
border-radius: 14px;
background-color: rgba(229,193,92,0.08);
border: 1px solid var(–border-card);
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
font-size: 26px;
}
.card h2 {
font-size: 20px;
font-weight: 800;
color: #fff;
margin-bottom: 10px;
display: flex;
align-items: center;
gap: 10px;
}
.card h2 .bar {
display: block;
width: 4px;
height: 20px;
background-color: var(–gold-primary);
border-radius: 3px;
}
.card p {
color: var(–text-muted);
font-size: 14.5px;
line-height: 2.1;
text-align: justify;
margin-bottom: 22px;
}
.card-cta {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(–gold-primary);
font-size: 14px;
font-weight: 700;
}
.card-cta .arrow {
transition: transform .3s ease;
display: inline-block;
}
.card-link:hover .card-cta .arrow { transform: translateX(-6px); }
/* ———- فوتر ———- */
footer {
background-color: var(–bg-header);
border-top: 1px solid rgba(255,255,255,0.05);
text-align: center;
padding: 22px 20px;
color: var(–text-muted);
font-size: 13px;
}
footer a { color: var(–gold-primary); text-decoration: none; }
همیشه یک قدم جلوتر از بازار باشید
به بخش خبر و آموزش everbit خوش آمدید — دو مسیر برای آگاهی و رشد