.main-content {
    padding: 110px 20px 42px;
    justify-content: flex-start;
    text-align: center;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 12px;
    line-height: 1.1;
}

.subtitle {
    max-width: 760px;
    margin: 0 auto 34px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #dbeafe;
    opacity: 0.9;
}

.about-gallery {
    width: 100%;
    margin-top: 6px;
}

.gallery {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
    align-items: stretch;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    text-align: left;
    min-height: 210px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.025));
    border: 1px solid rgba(96, 165, 250, 0.14);
    border-radius: 22px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.gallery-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #60a5fa, transparent);
    opacity: 0.9;
}

.gallery-card:nth-child(1)::after {
    content: "01";
}

.gallery-card:nth-child(2)::after {
    content: "02";
}

.gallery-card:nth-child(3)::after {
    content: "03";
}

.gallery-card:nth-child(4)::after {
    content: "04";
}

.gallery-card::after {
    position: absolute;
    right: 14px;
    bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    color: rgba(147, 197, 253, 0.06);
    pointer-events: none;
    line-height: 1;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.28);
    box-shadow:
        0 0 28px rgba(96,165,250,0.15),
        0 16px 34px rgba(0,0,0,0.28);
}

.gallery-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #60a5fa;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.gallery-card p {
    font-size: 0.9rem;
    color: #dbeafe;
    line-height: 1.65;
    opacity: 0.92;
    max-width: 95%;
}

@media (max-width: 1100px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
        max-width: 760px;
    }

    .gallery-card {
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 104px 16px 34px;
    }

    .title {
        font-size: 1.95rem;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 24px;
    }

    .gallery {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 14px;
    }

    .gallery-card {
        min-height: auto;
        padding: 18px 16px 16px;
    }

    .gallery-card h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .gallery-card p {
        font-size: 0.85rem;
        line-height: 1.55;
    }

    .gallery-card::after {
        font-size: 2.8rem;
    }
}