/* Responsive Gallery Layout */
.gp-gallery-container {
    font-family: 'Inter', sans-serif;
    color: #fff;
    margin: 20px 0;
}

/* Filter Bar */
.gp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.gp-filter-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s ease;
}
.gp-filter-btn:hover, .gp-filter-btn.active {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

/* Grid */
.gp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card */
.gp-gallery-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.gp-gallery-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.gp-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    background: #0f172a;
    overflow: hidden;
}
.gp-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gp-gallery-card:hover .gp-thumbnail-wrapper img {
    transform: scale(1.05);
}
.gp-no-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
}
.gp-no-thumb span {
    font-size: 48px;
    width: 48px;
    height: 48px;
}

/* Badges */
.gp-badge-wrapper {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}
.gp-badge {
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gp-badge-premium {
    background: #eab308;
    color: #000;
    box-shadow: 0 0 8px rgba(234, 179, 8, 0.4);
}
.gp-badge-free {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(4px);
}

/* Count Tag */
.gp-image-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}
.gp-image-count span {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Hover Overlay CTA */
.gp-overlay-cta {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 20;
}
.gp-thumbnail-wrapper:hover .gp-overlay-cta {
    opacity: 1;
}
.gp-cta-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #fff;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}
.gp-overlay-cta:hover .gp-cta-icon {
    transform: scale(1.1);
}
.gp-cta-text {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.gp-overlay-cta.gp-locked {
    background: rgba(239, 68, 68, 0.85);
}
.gp-overlay-cta.gp-locked .gp-cta-icon {
    color: #fff;
}

.gp-card-content {
    padding: 16px;
}
.gp-card-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0 !important;
    color: #fff;
}
.gp-card-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Lightbox overlay */
.gp-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(8px);
}
.gp-lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
}
.gp-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
    margin: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.gp-lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.gp-lightbox-close:hover {
    color: #bbb;
}
.gp-lightbox-prev, .gp-lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background: rgba(255,255,255,0.05);
}
.gp-lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.gp-lightbox-prev {
    left: 0;
}
.gp-lightbox-prev:hover, .gp-lightbox-next:hover {
    background-color: rgba(255,255,255,0.2);
}
.gp-lightbox-caption {
    text-align: center;
    color: #94a3b8;
    padding: 16px;
    font-size: 14px;
}

/* Locked Modal */
.gp-locked-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}
.gp-modal-box {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    max-width: 450px;
    width: 90%;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    color: #fff;
}
.gp-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}
.gp-modal-close:hover {
    color: #fff;
}
.gp-modal-icon {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #eab308;
    margin-bottom: 20px;
}
.gp-modal-box h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
}
.gp-modal-box p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 14px;
}
.gp-modal-btn {
    background: #3b82f6;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.2s;
}
.gp-modal-btn:hover {
    background: #2563eb;
}
