
        :root {
            --primary-red: #d32f2f;
            --primary-blue: #0057b7;
            --primary-yellow: #ffd700;
            --light-gray: #f5f5f5;
            --dark-gray: #333;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Roboto', 'Arial', sans-serif;
        }
        body {
            background-color: var(--light-gray);
            color: var(--dark-gray);
            line-height: 1.6;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        

        .ukraine-header {
            background: linear-gradient(to right, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
            color: white;
            padding: 15px;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: bold;
        }
        .location-badge {
            background: #0057b7;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            display: inline-block;
            margin: 10px 0;
            font-weight: bold;
        }
        header {
            text-align: center;
            padding: 30px 0;
            border-bottom: 2px solid #ff4444;
            margin-bottom: 40px;
        }
        h1 {
            color: #d32f2f;
            margin-bottom: 10px;
        }
        
        /* Галерея фото мошенницы */
        .photos-section {
            width: 100%;
            margin: 30px 0;
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        .photos-section h2 {
            color: #d32f2f;
            margin-bottom: 25px;
            text-align: center;
        }
        .photos-gallery {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            width: 100%;
        }
        @media (max-width: 1024px) {
            .photos-gallery {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 768px) {
            .photos-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .photos-gallery {
                grid-template-columns: 1fr;
            }
        }
        .photo-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 10px;
            background: #fafafa;
            transition: transform 0.3s ease;
            text-align: center;
        }
        .photo-item:hover {
            transform: translateY(-5px);
        }
        .photo-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 10px;
            cursor: zoom-in;
        }
        .photo-caption {
            font-size: 0.85em;
            color: #666;
            padding-top: 8px;
            border-top: 1px solid #eee;
        }
        
        /* Блок с оригинальным постом */
        .original-post {
            margin: 40px 0;
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        .post-header {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        .post-header h2 {
            margin: 0;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .toggle-icon {
            font-size: 1.5em;
            transition: transform 0.3s ease;
        }
        .post-content {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease, padding 0.5s ease;
            background: #f9f9f9;
        }
        .post-content.expanded {
            padding: 30px;
            max-height: 2000px;
        }
        .post-text {
            background: white;
            padding: 25px;
            border-radius: 8px;
            border-left: 5px solid #6a11cb;
            white-space: pre-line;
            line-height: 1.8;
            font-size: 1.05em;
        }
        .post-text .highlight {
            background: #fffacd;
            padding: 2px 5px;
            border-radius: 3px;
        }
        .post-meta {
            margin-top: 20px;
            padding: 15px;
            background: #f0f7ff;
            border-radius: 8px;
            font-size: 0.9em;
            color: #555;
        }
        
        .scam-alert {
            background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
            border: 2px solid #ff4444;
            padding: 25px;
            border-radius: 10px;
            margin: 30px 0;
            text-align: center;
        }
        .scam-alert h2 {
            color: #d32f2f;
            margin-bottom: 15px;
        }
        .scheme-container {
            background: white;
            padding: 30px;
            border-radius: 10px;
            margin: 30px 0;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        .step {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
            padding-bottom: 25px;
            border-bottom: 1px dashed #eee;
        }
        .step:last-child {
            border-bottom: none;
        }
        .step-number {
            background: #d32f2f;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.2em;
            margin-right: 20px;
            flex-shrink: 0;
        }
        .step-content h3 {
            color: #d32f2f;
            margin-bottom: 10px;
        }
        .warning-signs {
            background: #fff8e1;
            border-left: 5px solid #ffc107;
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 10px 10px 0;
        }
        .warning-signs ul {
            list-style: none;
            padding-left: 0;
        }
        .warning-signs li {
            padding: 8px 0;
            position: relative;
            padding-left: 30px;
        }
        .warning-signs li:before {
            content: "⚠️";
            position: absolute;
            left: 0;
        }
        .projects-analysis {
            background: #e8f5e9;
            border-left: 5px solid #4caf50;
            padding: 25px;
            margin: 30px 0;
            border-radius: 0 10px 10px 0;
        }
        .project-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
            border: 1px solid #ddd;
        }
        .project-card h4 {
            color: #333;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        .project-card h4:before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            margin-right: 10px;
            border-radius: 50%;
        }
        .project-card.scam h4:before {
            background: #ff4444;
        }
        .project-card.suspicious h4:before {
            background: #ff9800;
        }
        .project-card.ok h4:before {
            background: #4caf50;
        }
        .red-flags {
            color: #d32f2f;
            font-weight: bold;
        }
        
        /* Галерея скриншотов */
        .screenshots-section {
            width: 100%;
            margin: 40px 0;
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        .screenshots-gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            width: 100%;
        }
        @media (max-width: 1024px) {
            .screenshots-gallery {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 768px) {
            .screenshots-gallery {
                grid-template-columns: 1fr;
            }
        }
        .screenshot-item {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            background: #fafafa;
            transition: transform 0.3s ease;
        }
        .screenshot-item:hover {
            transform: translateY(-5px);
        }
        .screenshot-item img {
            width: 100%;
            height: auto;
            border-radius: 5px;
            margin-bottom: 10px;
            cursor: zoom-in;
        }
        
        /* Украинская символика */
        .ukrainian-law {
            background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
            border: 2px solid #0057b7;
            padding: 25px;
            border-radius: 10px;
            margin: 30px 0;
        }
        .ukrainian-law h3 {
            color: #0057b7;
            margin-bottom: 15px;
        }
        
        .odessa-info {
            background: #fff3e0;
            border-left: 5px solid #ff9800;
            padding: 20px;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }
        
        footer {
            text-align: center;
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid #ccc;
            color: #777;
        }
        
        /* Стили для статусов */
        .status-badge {
            display: inline-block;
            padding: 5px 10px;
            border-radius: 15px;
            font-size: 0.8em;
            font-weight: bold;
            margin-left: 10px;
        }
        .status-active {
            background: #4caf50;
            color: white;
        }
        .status-warning {
            background: #ff9800;
            color: white;
        }
        .status-danger {
            background: #f44336;
            color: white;
        }
        
        .contact-block {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 20px;
            margin: 20px 0;
            border-left: 4px solid #0057b7;
        }
        
        .analysis-note {
            background: #e8f5e9;
            padding: 15px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #4caf50;
            font-style: italic;
        }



/* ua хедер */
        .ukraine-header {
            background: linear-gradient(to right, var(--primary-blue) 0%, var(--primary-blue) 50%, var(--primary-yellow) 50%, var(--primary-yellow) 100%);
            color: white;
            padding: 15px;
            text-align: center;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /* Языковой переключатель */
        .language-switcher {
            display: flex;
            gap: 10px;
            background: rgba(255,255,255,0.2);
            padding: 5px 10px;
            border-radius: 20px;
        }
        .lang-btn {
            background: transparent;
            border: 2px solid white;
            color: white;
            padding: 5px 15px;
            border-radius: 15px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        .lang-btn:hover {
            background: white;
            color: var(--primary-blue);
        }
        .lang-btn.active {
            background: white;
            color: var(--primary-blue);
        }
        
        .location-badge {
            background: var(--primary-blue);
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            display: inline-block;
            margin: 10px 0;
            font-weight: bold;
        }
        
        header {
            text-align: center;
            padding: 30px 0;
            border-bottom: 2px solid var(--primary-red);
            margin-bottom: 40px;
        }
        h1 {
            color: var(--primary-red);
            margin-bottom: 10px;
            font-size: 2.2em;
        }
        
        /* Основной блок с фото и текстом */
        .main-proof {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            margin: 40px 0;
            background: white;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            align-items: flex-start;
        }
        
        .photo-container {
            flex: 1;
            /* min-width: 300px; */
            max-width: 450px;

            display: flex;
            justify-content: center;
        }
        
        .main-photo {
            width: 100%;
            height: 500px;
            object-fit: cover;
            object-position: top;
            border-radius: 10px;
            border: 3px solid var(--primary-red);
            cursor: zoom-in;
            transition: transform 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        .main-photo:hover {
            transform: scale(1.02);
        }
        
        .description {
            flex: 2;
            min-width: 300px;
        }
        
        .description h2 {
            color: var(--primary-red);
            margin-bottom: 25px;
            font-size: 1.8em;
            border-bottom: 2px solid var(--primary-blue);
            padding-bottom: 10px;
        }
        
        .description ul {
            list-style: none;
            padding-left: 0;
            margin: 15px 0;
        }
        
        .description li {
            padding: 8px 0;
            position: relative;
            padding-left: 35px;
            margin-bottom: 5px;
        }
        
        .description li:before {
            content: "•";
            color: var(--primary-red);
            font-weight: bold;
            font-size: 1.5em;
            position: absolute;
            left: 15px;
            top: 5px;
        }
        
        .description li strong {
            color: var(--primary-blue);
        }
        
        .analysis-note {
            background: #e8f5e9;
            padding: 20px;
            border-radius: 10px;
            margin: 25px 0;
            border-left: 5px solid #4caf50;
            font-style: italic;
        }
        
        /* Адаптивность для основного блока */
        @media (max-width: 992px) {
            .main-proof {
                flex-direction: column;
            }
            .photo-container {
                max-width: 100%;
                order: -1;
            }
            .main-photo {
                height: 400px;
            }
            .description {
                order: 1;
            }
        }
        
        @media (max-width: 768px) {
            .main-photo {
                height: 350px;
            }
            .ukraine-header {
                flex-direction: column;
                gap: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .main-photo {
                height: 300px;
            }
            h1 {
                font-size: 1.8em;
            }
        }
        
        /* Блок социальных сетей */
        .social-media-block {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 30px;
            border-radius: 15px;
            margin: 40px 0;
            box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        }
        
        .social-media-block h2 {
            color: white;
            margin-bottom: 25px;
            text-align: center;
            font-size: 1.8em;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .social-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .social-link {
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.2);
            border-radius: 10px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: all 0.3s ease;
            text-decoration: none;
            color: white;
        }
        
        .social-link:hover {
            background: rgba(255,255,255,0.2);
            border-color: var(--primary-yellow);
            transform: translateY(-5px);
        }
        
        .social-icon {
            font-size: 2em;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            /*background: rgba(255,255,255,0.1);*/
            border-radius: 50%;
        }
        
        .social-info h3 {
            margin-bottom: 5px;
            font-size: 1.2em;
        }
        
        .social-info p {
            opacity: 0.8;
            font-size: 0.9em;
        }
        
        .instagram { color: #E4405F; }
        .facebook { color: #1877F2; }
        .telegram { color: #0088cc; }
        .tiktok { color: #000000; }
        .whatsapp { color: #25D366; }
        
        .warning-note {
            background: rgba(255,255,255,0.1);
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            border-left: 4px solid var(--primary-yellow);
        }



.header-official {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 87, 183, 0.1);
    position: relative;
    overflow: hidden;
}

.official-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
}

.location-official {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0057b7;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.location-official i {
    color: #ffd700;
}

.title-official {
    font-size: 2.4rem;
    color: #1a237e;
    margin: 20px 0;
    padding-left: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.title-official::before {
    content: '⚠️';
    position: absolute;
    left: -5px;
    top: 5px;
    font-size: 1.8rem;
}

.subtitle-official {
    color: #d32f2f;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 25px 0;
    padding-left: 20px;
    border-left: 3px solid #d32f2f;
}

.scam-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.scam-tag {
    background: #fff5f5;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.scam-tag i {
    margin-right: 5px;
}

    
/* Секция анализа AI */
.ai-analysis {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.ai-analysis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0057b7, #ffd700, #0057b7);
    border-radius: 15px 15px 0 0;
}

.analysis-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.analysis-header h2 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.analysis-badge {
    display: inline-block;
    background: #0057b7;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.analysis-question {
    background: #f5f7ff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid #4c6ef5;
}

.analysis-question h3 {
    color: #1a237e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.answer-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.answer-label {
    background: #1a237e;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.answer-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.answer-text.yes {
    color: #d32f2f;
}

.analysis-facts h3 {
    color: #1a237e;
    margin: 40px 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.fact-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.fact-card:hover {
    border-color: #4c6ef5;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 110, 245, 0.1);
}

.fact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4c6ef5 0%, #3b5bdb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.fact-card h4 {
    color: #1a237e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.fact-card p {
    color: #666;
    line-height: 1.6;
}

.analysis-conclusion {
    background: #fff9e6;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    border: 2px solid #ffd700;
}

.analysis-conclusion h3 {
    color: #1a237e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conclusion-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid #ffd700;
}

.conclusion-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    font-style: italic;
}

.conclusion-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.rating-label {
    font-weight: 600;
    color: #1a237e;
}

.rating-stars {
    display: flex;
    gap: 5px;
}

.rating-stars i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.rating-text {
    color: #d32f2f;
    font-weight: 600;
}

.warning-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.warning-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border-top: 5px solid;
}

.warning-card.red {
    border-color: #d32f2f;
}

.warning-card.orange {
    border-color: #ff9800;
}

.warning-card.dark {
    border-color: #1a237e;
}

.warning-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.warning-card.red i { color: #d32f2f; }
.warning-card.orange i { color: #ff9800; }
.warning-card.dark i { color: #1a237e; }

.warning-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.warning-card p {
    color: #666;
    margin: 5px 0;
}

.warning-card p:first-of-type {
    font-size: 1.2rem;
    font-weight: 700;
    color: inherit;
}

.analysis-footer {
    margin-top: 40px;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 10px;
    border-left: 4px solid #0057b7;
}

.analysis-footer p {
    margin: 0;
    color: #1a237e;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.analysis-footer i {
    color: #0057b7;
    margin-top: 3px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ai-analysis {
        padding: 25px;
    }
    
    .analysis-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .fact-grid {
        grid-template-columns: 1fr;
    }
    
    .warning-cards {
        grid-template-columns: 1fr;
    }
    
    .conclusion-rating {
        flex-direction: column;
        align-items: flex-start;
    }
}


    
/* Instagram Gallery - Чистая сетка */
.instagram-gallery {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    border: 1px solid #dbdbdb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ig-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #efefef;
}

.ig-header h2 {
    color: #262626;
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ig-header h2 i {
    color: #E4405F;
    font-size: 1.3em;
}

.ig-header p {
    color: #8e8e8e;
    font-size: 0.95rem;
    margin: 0;
}

/* Instagram Grid - 4 колонки на ПК */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* 3 колонки на планшетах */
@media (max-width: 1024px) {
    .ig-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 колонки на мобильных */
@media (max-width: 640px) {
    .ig-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Чистый Instagram стиль для фото */
.ig-photo {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1; /* Квадратные фото как в Instagram */
    background: #fafafa;
    transition: opacity 0.3s ease;
}

.ig-photo:hover {
    opacity: 0.95;
}

.ig-photo-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.ig-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ig-photo:hover img {
    transform: scale(1.05);
}

/* Instagram-like overlay эффект */
.ig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-photo:hover .ig-overlay {
    opacity: 1;
}

.ig-overlay i {
    color: white;
    font-size: 24px;
    /*background: rgba(0, 0, 0, 0.5);*/
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Instagram подпись */
.ig-caption {
    margin-top: 25px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid #dbdbdb;
}

.ig-caption p {
    color: #8e8e8e;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ig-caption i {
    color: #8e8e8e;
}

/* Ленивая загрузка */
.ig-photo img[loading="lazy"] {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.ig-photo img.loaded {
    opacity: 1;
}

/* Анимация загрузки (опционально) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ig-photo {
    animation: fadeIn 0.5s ease;
}

.ig-photo:nth-child(1) { animation-delay: 0.1s; }
.ig-photo:nth-child(2) { animation-delay: 0.2s; }
.ig-photo:nth-child(3) { animation-delay: 0.3s; }
.ig-photo:nth-child(4) { animation-delay: 0.4s; }
.ig-photo:nth-child(5) { animation-delay: 0.5s; }
.ig-photo:nth-child(6) { animation-delay: 0.6s; }
.ig-photo:nth-child(7) { animation-delay: 0.7s; }
.ig-photo:nth-child(8) { animation-delay: 0.8s; }
.ig-photo:nth-child(9) { animation-delay: 0.9s; }
.ig-photo:nth-child(10) { animation-delay: 1s; }
.ig-photo:nth-child(11) { animation-delay: 1.1s; }
.ig-photo:nth-child(12) { animation-delay: 1.2s; }

/* Instagram Stories (опционально, если нужно) */
.ig-stories-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 0;
    margin-bottom: 25px;
    scrollbar-width: none;
}

.ig-stories-container::-webkit-scrollbar {
    display: none;
}

.ig-story {
    flex: 0 0 auto;
    width: 66px;
    text-align: center;
    text-decoration: none;
    color: #262626;
}

.ig-story-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 2px;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ig-story-inner {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    overflow: hidden;
    border: 2px solid white;
}

.ig-story-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-story span {
    font-size: 0.75rem;
    color: #8e8e8e;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



@media (min-width: 1024px) {
  .photo-container {
    position: sticky;
    top: 20px;
  }
}


.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.lang-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: #f0f0f0;
    border-color: #bbb;
}

.lang-active {
    background: #0066cc;
    color: white;
    border-color: #0055aa;
    pointer-events: none; /* чтобы не кликалось на активный */
}

/* Адаптив — на мобильных чуть меньше */
@media (max-width: 768px) {
    .lang-switch {
        top: 12px;
        right: 12px;
    }
    .lang-btn {
        padding: 5px 10px;
        font-size: 13px;
    }
}

