Загрузка данных
/* =========================
ОСНОВНЫЕ НАСТРОЙКИ
========================= */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: Arial, Helvetica, sans-serif;
background: #101114;
color: #eeeeee;
line-height: 1.6;
}
.container {
width: 90%;
max-width: 1150px;
margin: 0 auto;
}
/* =========================
ШАПКА
========================= */
.header {
background: #0b0c0f;
border-bottom: 1px solid #292b30;
padding: 30px 0;
text-align: center;
}
.header h1 {
font-size: 48px;
font-weight: 900;
letter-spacing: 4px;
color: #f2a900;
}
.subtitle {
color: #aaa;
font-size: 18px;
margin-top: 5px;
margin-bottom: 25px;
}
/* =========================
НАВИГАЦИЯ
========================= */
nav {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
}
nav a {
color: #ddd;
text-decoration: none;
padding: 9px 18px;
border: 1px solid #33363d;
transition: 0.3s;
}
nav a:hover {
background: #f2a900;
color: #111;
border-color: #f2a900;
}
/* =========================
ГЛАВНЫЙ БЛОК
========================= */
.hero {
background:
linear-gradient(
90deg,
#111318 35%,
rgba(17,19,24,0.75)
);
padding: 80px 0;
}
.hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}
.small-title {
color: #f2a900;
font-weight: bold;
letter-spacing: 3px;
margin-bottom: 10px;
}
.hero h2 {
font-size: 52px;
line-height: 1.1;
margin-bottom: 25px;
}
.hero p {
color: #bdbdbd;
font-size: 18px;
margin-bottom: 30px;
}
.hero img {
width: 100%;
height: 370px;
object-fit: cover;
border-radius: 5px;
border: 1px solid #444;
box-shadow:
0 20px 50px rgba(0,0,0,0.5);
}
/* =========================
КНОПКА
========================= */
.button {
display: inline-block;
background: #f2a900;
color: #111;
text-decoration: none;
padding: 13px 25px;
font-weight: bold;
transition: 0.3s;
}
.button:hover {
background: #ffc433;
transform: translateY(-3px);
}
/* =========================
СЕКЦИИ
========================= */
.section {
padding: 75px 0;
}
.section h2 {
font-size: 38px;
text-align: center;
margin-bottom: 20px;
color: #fff;
}
.section-text {
max-width: 800px;
margin: 0 auto 40px;
text-align: center;
color: #aaa;
font-size: 17px;
}
/* =========================
КАРТОЧКИ
========================= */
.cards {
display: grid;
grid-template-columns:
repeat(3, 1fr);
gap: 25px;
margin-top: 40px;
}
.card {
background: #191b20;
border: 1px solid #2b2e34;
padding: 30px;
transition: 0.3s;
}
.card:hover {
border-color: #f2a900;
transform: translateY(-7px);
}
.number {
color: #f2a900;
font-size: 14px;
font-weight: bold;
margin-bottom: 15px;
}
.card h3 {
font-size: 24px;
margin-bottom: 10px;
}
.card p {
color: #999;
}
/* =========================
ТЁМНАЯ СЕКЦИЯ
========================= */
.dark {
background: #0b0c0f;
}
/* =========================
РЕЖИМЫ
========================= */
.mode-grid {
display: grid;
grid-template-columns:
repeat(4, 1fr);
gap: 20px;
margin-top: 40px;
}
.mode {
background: #16181d;
border: 1px solid #2a2d33;
padding: 25px;
min-height: 230px;
transition: 0.3s;
}
.mode:hover {
border-color: #f2a900;
transform: translateY(-5px);
}
.mode span {
color: #f2a900;
font-size: 14px;
font-weight: bold;
}
.mode h3 {
font-size: 21px;
margin: 15px 0;
}
.mode p {
color: #999;
}
/* =========================
ОРУЖИЕ
========================= */
.weapon-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-top: 40px;
}
.weapon {
background: #191b20;
border: 1px solid #303238;
overflow: hidden;
transition: 0.3s;
}
.weapon:hover {
border-color: #f2a900;
}
.weapon img {
width: 100%;
height: 270px;
object-fit: cover;
}
.weapon-info {
padding: 25px;
}
.weapon-info h3 {
color: #f2a900;
font-size: 28px;
margin-bottom: 10px;
}
.weapon-info p {
color: #aaa;
}
/* =========================
КАРТЫ
========================= */
.maps {
background: #191b20;
}
.map-list {
display: grid;
grid-template-columns:
repeat(3, 1fr);
gap: 20px;
margin-top: 40px;
}
.map {
background: #101114;
border-left: 4px solid #f2a900;
padding: 25px;
}
.map h3 {
font-size: 25px;
margin-bottom: 10px;
}
.map p {
color: #999;
}
/* =========================
СПИСОК
========================= */
.list-title {
text-align: center;
font-size: 27px;
margin-top: 55px;
margin-bottom: 20px;
}
.skills {
max-width: 600px;
margin: 0 auto;
list-style: none;
}
.skills li {
background: #101114;
border-bottom: 1px solid #292b30;
padding: 13px 20px;
color: #ccc;
}
.skills li::before {
content: "✓";
color: #f2a900;
font-weight: bold;
margin-right: 12px;
}
/* =========================
ФИНАЛЬНЫЙ БЛОК
========================= */
.quote {
padding: 70px 0;
background: #0e0f12;
}
.quote .container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
align-items: center;
}
.quote img {
width: 100%;
height: 330px;
object-fit: cover;
}
.quote h2 {
font-size: 35px;
margin-bottom: 20px;
color: #f2a900;
}
.quote p {
color: #aaa;
font-size: 17px;
}
/* =========================
FOOTER
========================= */
footer {
background: #07080a;
text-align: center;
padding: 40px 0;
border-top: 1px solid #292b30;
}
footer h3 {
color: #f2a900;
font-size: 25px;
margin-bottom: 8px;
}
footer p {
color: #777;
}
.copyright {
margin-top: 15px;
font-size: 13px;
}
/* =========================
ТЕЛЕФОН
========================= */
@media (max-width: 850px) {
.header h1 {
font-size: 35px;
}
.hero-content,
.quote .container {
grid-template-columns: 1fr;
}
.hero h2 {
font-size: 40px;
}
.cards,
.mode-grid,
.map-list {
grid-template-columns: 1fr 1fr;
}
.weapon-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 550px) {
.section {
padding: 50px 0;
}
.cards,
.mode-grid,
.map-list {
grid-template-columns: 1fr;
}
.gallery {
grid-template-columns: 1fr;
}
.hero img {
height: 250px;
}
.header h1 {
font-size: 28px;
}
.hero h2 {
font-size: 32px;
}
}