* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0f;
    font-family: 'Inter', sans-serif;
    color: #ecedee;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    padding: 24px 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #a0a0c0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.logo i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #6c6cff;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #cfcfdf;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    font-size: 1rem;
}

.nav-links a i {
    margin-right: 8px;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255,255,255,0.3);
}

.marquee-section {
    background: rgba(12, 12, 20, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 20px 0;
    margin-bottom: 60px;
    border: 1px solid rgba(108,108,255,0.2);
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content img {
    height: 50px;
    width: auto;
    margin: 0 30px;
    filter: blur(2px) brightness(0.75);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    opacity: 0.8;
}

.marquee-content img:hover {
    filter: blur(0) brightness(1);
    transform: scale(1.15);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(108, 108, 255, 0.7));
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.page-header {
    margin-bottom: 48px;
    margin-top: 20px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
}

.page-header h1 i {
    margin-right: 16px;
    color: #6c6cff;
}

footer {
    margin-top: 80px;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #6f6f8f;
}

footer i {
    margin: 0 6px;
}

.back-home {
    margin-top: 40px;
    display: inline-block;
    background: #2c2c3a;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.back-home i {
    margin-right: 8px;
}

.back-home:hover {
    background: #3f3f5e;
}

@media (max-width: 800px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    .marquee-content img {
        height: 35px;
        margin: 0 15px;
        filter: blur(1.5px);
    }
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Стили для страницы статей */
.articles-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.article-full-card {
    background: #11111b;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2a2a3a;
    cursor: pointer;
    text-decoration: none;
}

.article-full-card:hover {
    transform: translateY(-8px);
    border-color: #6c6cff;
    box-shadow: 0 20px 35px -12px rgba(108,108,255,0.3);
}

.article-full-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-full-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-full-card:hover .article-full-card-img img {
    transform: scale(1.05);
}

.article-full-card-content {
    padding: 24px;
}

.article-full-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.article-full-card-content p {
    color: #a8a8c0;
    margin-bottom: 16px;
    line-height: 1.4;
}

.read-more-btn {
    display: inline-block;
    color: #6c6cff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.read-more-btn i {
    margin-left: 6px;
    transition: 0.2s;
}

.read-more-btn:hover {
    color: #8c8cff;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* Стили для отдельной статьи */
.single-article-page {
    background: #0e0e16;
    border-radius: 48px;
    padding: 48px;
    margin-top: 20px;
}

.single-article-img {
    width: 100%;
    height: 500px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 40px;
}

.single-article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-article-title {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: #e2e2ff;
}

.single-article-title i {
    margin-right: 16px;
    color: #6c6cff;
}

.single-article-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cdcddf;
}

.back-to-articles {
    display: inline-block;
    margin-top: 40px;
    background: #2c2c3a;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.back-to-articles:hover {
    background: #3f3f5e;
}

.back-to-articles i {
    margin-right: 8px;
}

@media (max-width: 800px) {
    .single-article-title {
        font-size: 1.8rem;
    }
    .single-article-img {
        height: 250px;
    }
    .single-article-page {
        padding: 24px;
    }
}

/* Стили для Telegram страницы */
.telegram-links-page {
    background: linear-gradient(135deg, #0a0a12, #050508);
    border-radius: 48px;
    padding: 60px 40px;
    text-align: center;
}

.telegram-links-page h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff, #6c6cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.telegram-links-page h1 i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #27a0e0;
    margin-right: 12px;
}

.telegram-links-page > p {
    color: #9a9ac0;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.tg-link-card {
    background: #11111b;
    border-radius: 32px;
    padding: 32px 28px;
    width: 260px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2a2a3a;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.tg-link-card:hover {
    transform: translateY(-8px);
    border-color: #6c6cff;
    box-shadow: 0 20px 35px -12px rgba(108,108,255,0.3);
    background: #161622;
}

.tg-icon-large {
    font-size: 4rem;
    color: #27a0e0;
}

.tg-link-card h3 {
    font-size: 1.5rem;
    margin: 8px 0;
}

.tg-link-card p {
    color: #8f8faf;
    font-size: 0.85rem;
}

.tg-link-card span {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #6c6cff;
}

.back-from-tg {
    display: inline-block;
    margin-top: 40px;
    background: #2c2c3a;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    color: white;
    transition: 0.2s;
}

.back-from-tg:hover {
    background: #3f3f5e;
}

/* Стили для страницы О нас */
.about-page-content {
    background: #0e0e16;
    border-radius: 48px;
    padding: 40px;
    margin-top: 20px;
}

.about-page-content i {
    margin-right: 8px;
    color: #6c6cff;
}

/* Стили для главной страницы */
.access-section {
    background: linear-gradient(135deg, #0c0c14, #08080e);
    border-radius: 32px;
    margin-bottom: 40px;
    padding: 32px;
    border: 1px solid rgba(100,100,180,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.access-title {
    text-align: center;
    margin-bottom: 24px;
}

.access-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.access-title h2 i {
    color: #6c6cff;
    margin-right: 12px;
}

.access-title p {
    color: #9a9ac0;
    margin-top: 8px;
}

.captcha-box {
    max-width: 480px;
    margin: 0 auto;
    background: #11111b;
    padding: 28px 24px;
    border-radius: 36px;
}

.captcha-display {
    background: #1e1e2c;
    font-family: monospace;
    font-size: 2rem;
    letter-spacing: 12px;
    padding: 12px;
    border-radius: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #d0d0ff;
    text-align: center;
}

.captcha-input {
    width: 100%;
    padding: 14px 18px;
    background: #1a1a24;
    border: 1px solid #323246;
    border-radius: 60px;
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    outline: none;
    transition: 0.2s;
}

.captcha-input:focus {
    border-color: #7c7cff;
}

.captcha-btn {
    background: #6c6cff;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.captcha-btn:hover {
    background: #8c8cff;
    transform: scale(0.98);
}

.error-msg {
    color: #ff8080;
    margin-top: 12px;
    font-size: 0.85rem;
    text-align: center;
}

.hero-split {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
    background: radial-gradient(circle at 20% 30%, rgba(20,20,35,0.6), transparent);
    border-radius: 48px;
    padding: 20px 0;
}

.about-half {
    flex: 1;
    min-width: 260px;
    background: rgba(15,15,25,0.7);
    backdrop-filter: blur(2px);
    border-radius: 32px;
    padding: 32px 28px;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.5);
}

.articles-half {
    flex: 1.8;
    min-width: 280px;
}

.about-half h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #e2e2ff, #b0b0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-half h2 i {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #6c6cff;
    margin-right: 12px;
}

.about-half p {
    color: #b9b9ce;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.about-highlight {
    border-left: 3px solid #6c6cff;
    padding-left: 20px;
    font-style: italic;
    margin-top: 30px;
    color: #cbcbff;
}

.about-highlight i {
    margin-right: 8px;
    color: #6c6cff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.preview-card {
    background: #111117;
    border-radius: 28px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s;
    border: 1px solid #252530;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -15px black;
    border-color: #3f3f55;
}

.preview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.preview-card p {
    color: #a8a8c0;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-tag {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.75rem;
    color: #8f8fcf;
    letter-spacing: 0.5px;
}

.card-tag i {
    margin-right: 6px;
}