@font-face {
    font-family: 'Strogo';
    src: url('font/Strogo-Regular.ttf') format('truetype');
}

:root { 
    --accent: #ff0000; 
    --bg: #000; 
    --text: #fff; 
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Базовые стили и скрытие стандартного курсора */
body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: 'Strogo', sans-serif; 
    margin: 0; 
    padding: 20px; 
    cursor: none; 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a, .card, .close-btn { 
    cursor: none !important; 
}

/* --- ИНДИКАТОР СКРОЛЛА --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px; 
    background-color: var(--accent);
    z-index: 10000000;
    will-change: width;
}

/* --- ЭФФЕКТ CRT КИНЕСКОПА --- */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 999998;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    opacity: 0.3;
}

/* --- ЭКРАН ЗАГРУЗКИ --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-dot {
    width: 16px;
    height: 16px;
    background-color: var(--accent);
    border-radius: 50%;
    animation: pulse 0.8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

.preloader-text {
    color: var(--text);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- КАСТОМНЫЙ КУРСОР --- */
.custom-cursor {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999999;
    mix-blend-mode: difference;
    transform: translate3d(var(--cursor-x, 0px), var(--cursor-y, 0px), 0) translate(-50%, -50%);
    will-change: transform;
}

.custom-cursor.cursor-grow {
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

/* --- ШАПКА И НАСТОЯЩИЙ МОНОХРОМНЫЙ ГЛИТЧ --- */
header { text-align: center; padding: 80px 0 40px; }

.glitch-text { 
    font-size: 4.5rem; 
    text-transform: uppercase; 
    cursor: default; 
    position: relative; 
    display: inline-block;
    letter-spacing: 4px;
    margin: 0 0 10px 0;
    font-weight: normal;
    transition: letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glitch-text:hover {
    letter-spacing: 8px;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    color: var(--text);
    opacity: 0;
}

.glitch-text:hover::before {
    left: 3px;
    text-shadow: -1px 0 rgba(255,255,255,0.7);
    clip: rect(30px, 9999px, 75px, 0);
    animation: premium-glitch 2s infinite linear alternate-reverse;
    opacity: 1;
}

.glitch-text:hover::after {
    left: -3px;
    text-shadow: 1px 0 rgba(255,255,255,0.5);
    clip: rect(90px, 9999px, 130px, 0);
    animation: premium-glitch-2 2.5s infinite linear alternate-reverse;
    opacity: 1;
}

@keyframes premium-glitch {
    0% { clip: rect(40px, 9999px, 60px, 0); opacity: 0.9; }
    20% { clip: rect(10px, 9999px, 50px, 0); opacity: 0.3; }
    40% { clip: rect(90px, 9999px, 120px, 0); opacity: 0.8; }
    60% { clip: rect(20px, 9999px, 80px, 0); opacity: 0.4; }
    80% { clip: rect(100px, 9999px, 140px, 0); opacity: 0.9; }
    100% { clip: rect(50px, 9999px, 70px, 0); opacity: 1; }
}

@keyframes premium-glitch-2 {
    0% { clip: rect(70px, 9999px, 105px, 0); }
    25% { clip: rect(30px, 9999px, 55px, 0); }
    50% { clip: rect(110px, 9999px, 145px, 0); }
    75% { clip: rect(15px, 9999px, 85px, 0); }
    100% { clip: rect(80px, 9999px, 125px, 0); }
}

.brand-subtitle {
    font-size: 0.9rem;
    color: #555;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 5px auto 35px;
    max-width: 800px;
    line-height: 1.6;
}

.socials { display: flex; justify-content: center; gap: 30px; margin: 20px 0 40px; }
.socials a { color: #ff0000 !important; text-decoration: none; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s; }
.socials a:hover { filter: brightness(1.4); letter-spacing: 2px; }

/* --- РАЗДЕЛЫ И ЗАГОЛОВКИ --- */
.works, .clothing-brand, .collabs { 
    margin-top: 100px; 
    text-align: center; 
}

.section-title {
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 20px;
    color: var(--text);
}

/* --- СТРУКТУРА ДЛЯ БЛОКОВ ВНУТРИ РАЗДЕЛОВ --- */
.brand-entry {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
    border-top: 1px solid #161616;
}

.section-block .brand-entry:first-of-type,
.works .gallery {
    border-top: 1px solid #161616;
    padding-top: 40px;
}

.brand-divider {
    max-width: 1160px;
    margin: 60px auto;
    border-top: 1px dashed #161616;
}

.collab-brand { 
    font-size: 2.2rem; 
    margin: 40px 0 20px 0; 
    letter-spacing: 5px; 
    color: var(--accent); 
    text-transform: uppercase;
}

/* --- СЕТКА ГАЛЕРЕИ --- */
.gallery { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px; 
    max-width: 1200px; 
    margin: 40px auto; 
}

.card { 
    height: 450px; 
    background: transparent; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: visible; 
    border: none; 
    position: relative;
    z-index: 1;
}

.card img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    filter: grayscale(100%); 
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease; 
    transform: scale(1);
    will-change: transform;
}

.card:hover {
    z-index: 10; 
}

.card:hover img { 
    filter: grayscale(0%); 
    transform: scale(1.05); 
}

/* --- БЛОК ОПИСАНИЯ --- */
.brand-info {
    margin: 20px 0 40px 0;
    color: #777; 
}

.info-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.main-desc p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.meta-geo {
    font-size: 1rem;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.meta-link a {
    font-size: 1.1rem;
    color: #666;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: inline-block;
}

.meta-link a:hover {
    color: var(--accent);
}

.release-summary {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    color: #999;
}

.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.items-list li {
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 1px;
}

/* --- ФУТЕР --- */
footer {
    margin: 160px 0 60px 0;
    text-align: center;
}

.footer-manifest {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.footer-manifest p {
    margin: 0;
    font-size: 0.8rem;
    color: #333; 
    letter-spacing: 3px;
    text-transform: uppercase;
    line-height: 1.5;
}

/* --- АНИМАЦИЯ СКРОЛЛА --- */
.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* --- МЕДИА-ЗАПРОСЫ (ПЛАНШЕТЫ) --- */
@media (max-width: 968px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .glitch-text {
        font-size: 3.2rem;
    }
    .info-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ КЛАССА ЛЮКС (МИКРО-ТИПОГРАФИКА ДЛЯ IOS / IPHONE) --- */
@media (max-width: 600px) {
    body {
        cursor: default; 
        padding: 10px 20px !important; /* Даем больше аккуратных отступов по бокам экрана */
    }
    
    .custom-cursor {
        display: none !important; 
    }

    .main-header {
        text-align: center !important;
        padding-top: 50px !important;
    }
    
    .glitch-text {
        font-size: 2.0rem !important; /* Изящный компактный размер главного лого */
        letter-spacing: 2px !important;
    }
    
    .glitch-text::before, .glitch-text::after { opacity: 1 !important; }
    .glitch-text::before { animation: premium-glitch 4s infinite linear alternate-reverse !important; }
    .glitch-text::after { animation: premium-glitch-2 5s infinite linear alternate-reverse !important; }

    /* Описание художника: уменьшено до премиального книжного размера */
    .brand-subtitle {
        font-size: 0.7rem !important; 
        letter-spacing: 1.5px !important;
        line-height: 1.6 !important;
        margin: 15px auto 25px auto !important;
        text-align: left !important; 
        padding: 0 !important;
        color: #555 !important; /* Глубокий сдержанный серый */
        max-width: 90%;
    }

    .socials {
        display: flex !important;
        justify-content: center !important;
        gap: 15px 25px !important;
        margin-bottom: 50px !important;
    }

    .socials a {
        color: #ff0000 !important; 
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
    }

    /* Мобильные блоки */
    .section-block {
        text-align: left !important;
        margin-top: 70px !important;
    }

    .left-title {
        text-align: left !important;
        font-size: 1.1rem !important; /* Тонкие строгие заголовки разделов */
        letter-spacing: 3px !important;
        margin-left: 0 !important;
        margin-bottom: 25px !important;
    }

    .brand-entry {
        margin-top: 35px !important;
        padding: 0 !important;
        text-align: left !important;
        border-top: 1px solid #161616 !important;
    }

    .collab-brand {
        font-size: 1.2rem !important; /* Уменьшено до размеров компьютерной аккуратности */
        margin: 25px 0 15px 0 !important;
        letter-spacing: 3px !important;
        text-align: left !important;
    }

    .brand-info {
        margin: 15px 0 30px 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .info-container {
        display: block !important; 
        text-align: left !important;
    }

    .info-block {
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* МИКРО-ТИПОГРАФИКА ДЛЯ ОПИСАНИЙ: Теперь выглядит один в один как компьютерная верстка */
    .main-desc p {
        font-size: 0.85rem !important; /* Элитарный мелкий размер шрифта */
        line-height: 1.6 !important;
        color: #777 !important; 
        text-align: left !important;
        margin: 0 0 10px 0 !important;
        letter-spacing: 0.5px !important;
    }

    .meta-geo {
        font-size: 0.75rem !important;
        color: #444 !important; 
        text-align: left !important;
        margin: 0 0 6px 0 !important;
        letter-spacing: 1px !important;
    }
    
    .meta-link {
        text-align: left !important;
    }
    
    .meta-link a {
        font-size: 0.8rem !important;
        color: #555 !important;
        border-bottom: 1px solid #222 !important; 
        display: inline-block !important;
    }

    .release-summary {
        font-size: 0.8rem !important;
        margin: 0 0 10px 0 !important;
        color: #888 !important; 
        text-align: left !important;
        letter-spacing: 1px !important;
    }

    .items-list {
        text-align: left !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .items-list li {
        font-size: 0.85rem !important;
        line-height: 1.7 !important;
        color: #666 !important; 
        text-align: left !important;
    }

    /* Аккуратная журнальная подача изображений */
    .gallery {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
        margin: 30px auto !important;
        padding: 0 !important;
    }
    
    .card {
        height: 380px !important;
    }

    .card img {
        filter: grayscale(100%) !important;
        transform: scale(1) !important;
    }
    
    .card:active img {
        filter: grayscale(0%) !important;
    }

    /* Нижний манифест: Микро-принт на левой стороне экрана */
    .main-footer {
        margin: 100px 0 40px 0 !important;
        text-align: left !important;
    }

    .footer-manifest {
        display: block !important;
        text-align: left !important;
        padding: 0 !important;
    }

    .footer-manifest p {
        font-size: 0.6rem !important; /* Ультра-микро размер для концептуального копирайта */
        letter-spacing: 1.5px !important;
        line-height: 1.6 !important;
        color: #252525 !important; /* Скрытый, очень дорогой темный оттенок */
        text-align: left !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
}

/* --- МОДАЛЬНОЕ ОКНО --- */
.modal {
    display: none;
    position: fixed;
    z-index: 2000000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal.active { 
    display: flex; 
    opacity: 1; 
}

#modal-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: 1px solid #111;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3.5rem;
    color: var(--text);
    line-height: 1;
    transition: color 0.3s ease;
    user-select: none;
}

.close-btn:hover {
    color: var(--accent);
}