.amp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.amp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.amp-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 1/1;
    background: #f8f9fa;
}

.amp-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.amp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.amp-gallery-item:hover img {
    transform: scale(1.05);
}

.amp-gallery-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amp-gallery-badge .amp-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.amp-gallery-badge i {
    font-size: 16px;
}

.amp-gallery-title {
    margin: 10px 0 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.amp-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.amp-media-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
    position: relative;
}

.amp-media-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.amp-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amp-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background: rgba(0,0,0,0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.amp-gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.amp-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.amp-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.amp-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.amp-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.amp-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.amp-gallery-item:nth-child(6) { animation-delay: 0.6s; }