/* Premium Collection Theme */


/* Gold Accent Lines */
.accent-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.accent-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
}

.line-1 {
    top: 20%;
    left: 5%;
    width: 90%;
    height: 1px;
}

.line-2 {
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
}

.line-3 {
    top: 80%;
    left: 15%;
    width: 70%;
    height: 1px;
}

/* Main Container */
.collection-container {
    width: 100%;
    overflow: hidden;
    margin: 20px auto;
}

/* Collection Header */
.collection-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    position: relative;
}

/* Elegant Title */
.collection-title {
    font-size: 4rem;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0 0 15px;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.collection-title::before,
.collection-title::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(212, 175, 55, 0.5);
    font-size: 2rem;
}

.collection-title::before {
    left: -60px;
}

.collection-title::after {
    right: -60px;
}

/* Collection Subtitle */
.collection-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    color: #666;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
    letter-spacing: 1px;
}

/* Collection Badge */
.collection-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.collection-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 175, 55, 0.3) 50%,
            transparent 100%);
}

.collection-badge i {
    color: #d4af37;
    font-size: 1.2rem;
}

.collection-badge span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Collection Stats */
.collection-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    color: #d4af37;
    margin-bottom: 5px;
    font-family: 'Georgia', serif;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Premium Gallery Grid - Vertical Cards */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    padding: 40px 20px;
    position: relative;
}

/* Collection Card - Premium Design */
.collection-card {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    aspect-ratio: 9/16;
    height: 520px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.collection-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Card Hover Effects */
.collection-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        0 0 40px rgba(212, 175, 55, 0.1);
}

/* Premium Rank Badge */
.premium-rank {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    z-index: 20;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transform: rotate(-5deg);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.collection-card:hover .premium-rank {
    transform: rotate(0deg) scale(1.1);
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: white;
    box-shadow:
        0 12px 30px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Top 3 Special Badges */
.collection-card[data-rank="1"] .premium-rank {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: white;
    border-color: rgba(212, 175, 55, 0.4);
}

.collection-card[data-rank="2"] .premium-rank {
    background: linear-gradient(135deg, #c0c0c0, #d3d3d3);
    color: white;
    border-color: rgba(192, 192, 192, 0.4);
}

.collection-card[data-rank="3"] .premium-rank {
    background: linear-gradient(135deg, #cd7f32, #e3963e);
    color: white;
    border-color: rgba(205, 127, 50, 0.4);
}

/* Card Image Container */
.card-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            transparent 30%,
            transparent 70%,
            rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    filter: brightness(0.95) contrast(1.05);
}

.collection-card:hover .card-image {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.1);
}

/* Card Content - Premium Style */
.card-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.85) 50%,
            transparent 100%);
    color: white;
    z-index: 10;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.collection-card:hover .card-details {
    transform: translateY(0);
    opacity: 1;
}

/* Card Title */
.card-title-elite {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: white;
    line-height: 1.4;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.card-title-elite::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
}

/* Card Description */
.card-description-elite {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

/* Card Stats Bar */
.card-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-elite {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-elite i {
    font-size: 1rem;
}

.stat-views-elite i {
    color: #d4af37;
}

.stat-date-elite i {
    color: #74b9ff;
}


/* Collection Tag */
.collection-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #d4af37;
    letter-spacing: 1px;
    z-index: 20;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Loading Animation */
.collection-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
}

.loading-pulse-elite {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
}

.loading-pulse-elite::before,
.loading-pulse-elite::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loading-pulse-elite::before {
    width: 100%;
    height: 100%;
    border-top-color: #d4af37;
    border-bottom-color: #74b9ff;
    animation: pulseElite 1.5s linear infinite;
}

.loading-pulse-elite::after {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-left-color: #00cec9;
    border-right-color: #fd79a8;
    animation: pulseEliteReverse 1s linear infinite;
}

@keyframes pulseElite {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes pulseEliteReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.loading-text-elite {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Empty State */
.collection-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-icon-elite {
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
    display: block;
}

.empty-title-elite {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

.empty-subtitle-elite {
    color: #999;
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
    font-weight: 300;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatParticle 20s infinite linear;
}

.particle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.particle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.particle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.7;
    }

    50% {
        transform: translate(0, -60px) scale(1);
        opacity: 0.5;
    }

    75% {
        transform: translate(-30px, -30px) scale(0.9);
        opacity: 0.3;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 1000;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-line-elite {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom,
            #d4af37 0%,
            rgba(212, 175, 55, 0.5) 50%,
            transparent 100%);
}

.scroll-text-elite {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #d4af37;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }

    .collection-card {
        height: 480px;
    }
}

@media (max-width: 992px) {
    .collection-title {
        font-size: 3rem;
    }

    .premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
        padding: 30px 15px;
    }

    .collection-card {
        height: 430px;
    }

    .collection-stats {
        gap: 20px;
    }

    .stat-item {
        min-width: 100px;
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .collection-container {
        padding: 30px 15px;
    }

    .collection-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .collection-title::before,
    .collection-title::after {
        font-size: 1.5rem;
        left: -40px;
        right: -40px;
    }

    .premium-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .collection-card {
        height: 380px;
    }

    .card-details {
        padding: 20px;
    }

    .card-title-elite {
        font-size: 1.2rem;
    }

    .premium-rank {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        top: 20px;
        left: 20px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 576px) {
    .premium-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .collection-card {
        height: 520px;
    }

    .collection-title {
        font-size: 2rem;
    }

    .collection-subtitle {
        font-size: 1rem;
    }
}

/* Collection Footer */
.collection-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-text {
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 1px;
}