/* Main/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-main, #141414);
    color: var(--text-main, #ffffff);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= Кнопки ================= */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary, #ff6b57);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover, #ff523b);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #333333;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #444444;
    transform: translateY(-2px);
}

/* ================= Шапка ================= */
.header {
    padding: 20px 0;
    background-color: var(--bg-secondary, #1a1a1a);
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.logo i {
    color: var(--primary, #ff6b57);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary, #ff6b57);
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* ================= Hero ================= */
.hero {
    padding: 120px 0;
    background: linear-gradient(to right, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.7) 100%), url('https://images.unsplash.com/photo-1605901309584-818e25960b8f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    text-align: left;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 54px;
    max-width: 800px;
    margin-bottom: 25px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted, #a1a1aa);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ================= Общие стили секций ================= */
.section-title {
    font-size: 32px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #555;
    font-size: 28px;
}

/* ================= О проекте ================= */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-card {
    background-color: var(--bg-card, #222222);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
}

.about-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted, #a1a1aa);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.placeholder-img {
    width: 100%;
    height: 250px;
    background-color: #2a2a2a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 60px;
    overflow: hidden;
}

.placeholder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ================= Как начать играть ================= */
.how-to-play {
    padding: 80px 0;
    background-color: var(--bg-secondary, #1a1a1a);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background-color: var(--bg-card, #222222);
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 50px;
    color: var(--primary, #ff6b57);
    margin-bottom: 25px;
}

.step-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    line-height: 1.5;
}

/* Статус сервера */
.server-status {
    background-color: var(--bg-card, #222222);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 25px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
}

.server-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.server-info > i {
    color: var(--primary, #ff6b57);
    font-size: 32px;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-muted, #a1a1aa);
    margin-top: 5px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 8px #4caf50;
}

/* ================= Социальные сети ================= */
.socials-section {
    padding: 80px 0;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.social-card {
    padding: 50px 20px;
    border-radius: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.social-card i {
    font-size: 50px;
    color: #fff;
}

.social-card span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.vk-card { background: var(--grad-vk, linear-gradient(135deg, #719ecc, #4a76a8)); }
.tg-card { background: var(--grad-tg, linear-gradient(135deg, #5fcaff, #27a6e6)); }
.yt-card { background: var(--grad-yt, linear-gradient(135deg, #ff6666, #e60000)); }
.ds-card { background: var(--grad-ds, linear-gradient(135deg, #8ea1e1, #5865f2)); }

/* ================= Подвал (Footer) ================= */
.footer {
    background-color: var(--bg-secondary, #1a1a1a);
    padding: 60px 0 40px 0;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-left {
    max-width: 400px;
}

.footer-left p {
    font-size: 13px;
    color: var(--text-muted, #a1a1aa);
    margin-top: 20px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary, #ff6b57);
}

.footer-contacts p {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-contacts a {
    font-size: 14px;
    color: var(--text-muted, #a1a1aa);
    transition: color 0.3s;
}
.footer-contacts a:hover {
    color: var(--text-main, #ffffff);
}

/* Добавить в конец файла /Main/style.css */
@media (max-width: 768px) {
    .header { padding: 15px 0; }
    .header-container { flex-direction: column; gap: 15px; text-align: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .header-buttons { width: 100%; justify-content: center; flex-direction: column; gap: 10px; }
    .header-buttons .btn { width: 100%; justify-content: center; }
    
    .hero { text-align: center; padding: 80px 0; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; margin: 0 auto 30px auto; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .about-grid, .steps-grid, .socials-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 24px; justify-content: center; text-align: center; flex-direction: column; }
    
    .server-status { flex-direction: column; gap: 20px; text-align: center; padding: 20px 15px; }
    .server-info { flex-direction: column; gap: 10px; }
    
    .footer-content { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
}