@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Палитра крипто-проекта (Dark Mode) */
    --bg-main: #06070A;        /* Глубокий черный фон */
    --bg-card: #11131A;        /* Темно-серый для карточек */
    --bg-header: transparent;  /* Прозрачный хедер */
    
    --accent: #FF4433;         /* Яркий красно-оранжевый акцент */
    --accent-hover: #E63828;
    --accent-glow: rgba(255, 68, 51, 0.15); /* Цвет свечения */
    
    --text-white: #FFFFFF;
    --text-gray: #A0A5B5;      /* Светло-серый для читаемости */
    --border-color: #222530;   /* Тонкие темные рамки */
    
    /* Современный технологичный шрифт */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: var(--font-main); 
    background-color: var(--bg-main); 
    /* Добавляем то самое красное неоновое свечение сверху как на скрине */
    background-image: radial-gradient(ellipse 80% 50% at 50% -10%, var(--accent-glow) 0%, rgba(6,7,10,0) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-gray); 
    line-height: 1.6; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }
h1, h2, h3, h4 { color: var(--text-white); font-weight: 700; letter-spacing: -0.5px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; width: 100%; }

/* --- HEADER --- */
.site-header { background: var(--bg-header); border-bottom: none; padding-top: 10px; }
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 30px; max-width: 1200px; margin: 0 auto; }
.header-left { display: flex; align-items: center; gap: 10px; color: var(--text-white); cursor: pointer; }
.header-left svg { display: none; } /* Скроем старую иконку, чтобы сделать логотип текстом + кружком */

/* Стилизуем логотип под "Coinzy" с красным акцентом */
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-white); letter-spacing: -0.5px; text-transform: none; display: flex; align-items: center; gap: 8px;}
.logo::before { 
    content: 'Z'; display: flex; justify-content: center; align-items: center; 
    width: 32px; height: 32px; background: var(--accent); color: #fff; 
    border-radius: 50%; font-size: 1rem; font-weight: 800; 
}

/* Стилизуем правую часть хедера в красную кнопку "Download App" */
.header-right { 
    background: var(--accent); color: var(--text-white); 
    padding: 10px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem;
    transition: all 0.3s ease; cursor: pointer; box-shadow: 0 4px 15px rgba(255, 68, 51, 0.2);
}
.header-right:hover { background: var(--accent-hover); transform: translateY(-1px); }
.header-right svg { width: 16px; height: 16px; fill: currentColor; }

.header-nav { border-top: none; background: transparent; margin-top: -65px; pointer-events: none;} /* Поднимаем навигацию в центр хедера */
.nav-links { display: flex; justify-content: center; gap: 35px; padding: 15px 20px; max-width: 1200px; margin: 0 auto; pointer-events: auto;}
.nav-links a { color: var(--text-gray); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text-white); }

/* --- TAG CLOUD (Стилизуем под тикеры или партнеров) --- */
.tag-cloud-wrapper { margin: 60px auto 40px; max-width: 1200px; padding: 0 30px; text-align: center; }
.tag-cloud-title { color: var(--text-gray); margin-bottom: 20px; font-size: 1.1rem; display: block; text-align: center; font-weight: 500; }
.tag-cloud-title::before { display: none; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.tag-item { 
    background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-gray); 
    padding: 10px 20px; border-radius: 12px; font-size: 0.95rem; font-weight: 600; 
    display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
}
.tag-item:hover { background: #1A1D27; color: var(--text-white); border-color: #353945; transform: none; }
.tag-count { background: #222530; padding: 3px 8px; border-radius: 6px; font-size: 0.75rem; color: var(--text-gray); }

/* --- HERO GRID SECTION --- */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 40px auto 80px; max-width: 1200px; padding: 0 30px; }
.hero-right { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Карточки превращаем в строгие крипто-виджеты */
.post-thumb-card { 
    position: relative; border-radius: 20px; overflow: hidden; 
    display: flex; flex-direction: column; justify-content: flex-end; 
    padding: 30px; transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.post-thumb-card:hover { transform: translateY(-4px); border-color: #353945; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Убираем фото, делаем градиенты строгими техно-фонами */
.bg-gradient-1 { background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%), var(--bg-card); }
.bg-gradient-2 { background: linear-gradient(180deg, rgba(255,68,51,0.05) 0%, rgba(255,255,255,0) 100%), var(--bg-card); }
.bg-gradient-3 { background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%), var(--bg-card); }

.hero-left .post-thumb-card { height: 100%; min-height: 400px; justify-content: center; text-align: center; }
.hero-right .post-thumb-card { height: 220px; padding: 24px; justify-content: space-between;}

/* Бейдж категории превращаем в кнопку-таблетку с красной рамкой (как "About us" на скрине) */
.cat-badge { 
    background: rgba(255, 68, 51, 0.05); color: var(--accent); 
    padding: 6px 14px; font-size: 0.75rem; font-weight: 600; 
    text-transform: capitalize; border-radius: 30px; display: inline-block; 
    margin-bottom: auto; width: fit-content; border: 1px solid rgba(255, 68, 51, 0.2);
}
.hero-left .cat-badge { margin: 0 auto 20px auto; } /* Центрируем бейдж в главной карточке */

.post-thumb-title { color: var(--text-white); font-size: 1.25rem; line-height: 1.4; font-weight: 700; text-shadow: none; margin-top: auto;}
.hero-left .post-thumb-title { font-size: 3rem; line-height: 1.1; letter-spacing: -1px; }
.hero-left .post-thumb-title::after { 
    content: 'Reliable, secure, and here to support you from your first crypto transaction.';
    display: block; font-size: 1rem; color: var(--text-gray); font-weight: 400; margin-top: 20px; line-height: 1.6;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-left .post-thumb-card { min-height: 350px; }
    .header-nav { margin-top: 20px; pointer-events: auto; }
}
@media (max-width: 600px) {
    .hero-right { grid-template-columns: 1fr; }
    .hero-left .post-thumb-title { font-size: 2rem; }
}

/* --- BOTTOM POST GRID --- */
.section-header { display: flex; justify-content: center; align-items: center; border-bottom: none; padding-bottom: 0; margin-bottom: 40px; }
.section-header h3 { font-size: 2rem; text-transform: none; letter-spacing: -0.5px; color: var(--text-white); text-align: center; }
.section-header h3::before { display: none; }

.bottom-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 80px; max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 30px;}
.bottom-grid .post-thumb-card { height: 220px; border-radius: 16px; justify-content: space-between; }

/* --- POST ARTICLE --- */
.post-container { max-width: 800px; margin: 40px auto 80px; background: var(--bg-card); padding: 50px; border-radius: 20px; border: 1px solid var(--border-color); }
@media(max-width: 768px) { .post-container { padding: 30px 20px; } }
.post-header { margin-bottom: 40px; }
.post-h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--text-white); letter-spacing: -1px; }
.post-meta-info { display: flex; align-items: center; gap: 15px; color: var(--text-gray); font-size: 0.9rem; border-top: 1px solid var(--border-color); padding-top: 20px; }
.post-meta-info img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--border-color);}
.post-meta-text strong { color: var(--text-white); display: block; font-size: 0.95rem; font-weight: 600;}

/* POST CONTENT */
.post-content { font-size: 1.1rem; line-height: 1.8; color: var(--text-gray); }
.post-content p { margin-bottom: 25px; }
.post-content h2 { font-size: 1.8rem; margin: 50px 0 20px; color: var(--text-white); border-bottom: none; }
.post-content h3 { font-size: 1.4rem; margin: 30px 0 15px; color: var(--text-white); }
.post-content ul, .post-content ol { margin: 0 0 25px 20px; padding-left: 20px; }
.post-content li { margin-bottom: 10px; }
.post-content blockquote { 
    font-style: normal; font-size: 1.1rem; border-left: 2px solid var(--accent); 
    padding: 20px 25px; margin: 30px 0; background: linear-gradient(90deg, rgba(255, 68, 51, 0.05) 0%, rgba(255,255,255,0) 100%); 
    color: var(--text-white); border-radius: 0 12px 12px 0; 
}
.post-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 30px 0; border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; }
.post-content th, .post-content td { padding: 15px; border-bottom: 1px solid var(--border-color); border-right: 1px solid var(--border-color); text-align: left; }
.post-content th:last-child, .post-content td:last-child { border-right: none; }
.post-content tr:last-child td { border-bottom: none; }
.post-content th { background: rgba(255,255,255,0.02); font-weight: 600; color: var(--text-white); }
.post-content a { color: var(--text-white); font-weight: 600; border-bottom: 1px dashed var(--accent); }
.post-content a:hover { color: var(--accent); border-bottom-style: solid; }

/* FAQ BLOCK */
.faq-block { background: var(--bg-main); padding: 25px 30px; margin: 30px 0; border-radius: 16px; border: 1px solid var(--border-color); transition: 0.3s; }
.faq-block:hover { border-color: #353945; }
.faq-question { font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; color: var(--text-white); }
.faq-answer { font-size: 1rem; color: var(--text-gray); }

/* --- PAGINATION --- */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 20px 0 60px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border-color); border-radius: 10px; font-size: 0.95rem; color: var(--text-gray); background: var(--bg-card); transition: 0.2s; font-weight: 600; }
.page-link:hover, .page-link.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* --- FOOTER --- */
.site-footer { background: transparent; border-top: 1px solid var(--border-color); padding: 60px 0 20px; margin-top: auto; }
.footer-container { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 30px;}
@media(min-width: 768px) { .footer-container { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: var(--text-white); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -0.5px;}
.footer-logo::before { 
    content: 'Z'; display: flex; justify-content: center; align-items: center; 
    width: 28px; height: 28px; background: var(--accent); color: #fff; 
    border-radius: 50%; font-size: 0.85rem; font-weight: 800; 
}
.footer-text { color: var(--text-gray); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-title { color: var(--text-white); font-size: 1.05rem; margin-bottom: 20px; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-gray); transition: color 0.2s; font-size: 0.9rem; }
.footer-links a:hover { color: var(--text-white); }
.contact-info { list-style: none; color: var(--text-gray); font-size: 0.9rem; }
.contact-info li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; }
.footer-bottom { text-align: center; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.85rem; color: #555; }