* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    min-height: 100vh;
    padding: 80px 0 60px;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.page-header h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Product Card - Clean, No Glass */
.product-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.25) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(0, 0, 0, 0.35) 100%);
    /* background-color: white; */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Stagger animation for cards */
.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Product Image */
.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding: 25px;
}

.product-title {
    font-size: clamp(20px, 2.5vw, 24px);
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.product-description {
    font-size: clamp(14px, 1.5vw, 16px);
    color: whitesmoke;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Glass Button - ONLY Glass Element */
.glass-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    width: 100%;

    /* Liquid Glass Effect */
    background-color: #2563ff;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    /* White Border - Clearly Visible */
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;

    /* Text */
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    /* Shadow & Glow */
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

    /* Transition */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.glass-button:hover {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.5) 100%);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(255, 255, 255, 0.3);
}

.glass-button:active {
    transform: scale(0.98);
}

.glass-button i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.glass-button:hover i {
    transform: translateX(3px);
}

/* Price Tag (Optional) */
.product-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge (Optional) */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 60px 0 40px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 220px;
    }

    .container {
        padding: 0 15px;
    }
}

/* Back Button */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-5px);
}

/* Loading Animation (Optional) */
.loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
    color: white;
    font-size: 18px;
}

.loading i {
    font-size: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Purchase Cards Grid */
.purchases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* Purchase Card */
.purchase-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease backwards;
}

.purchase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Stagger animation */
.purchase-card:nth-child(1) {
    animation-delay: 0.1s;
}

.purchase-card:nth-child(2) {
    animation-delay: 0.2s;
}

.purchase-card:nth-child(3) {
    animation-delay: 0.3s;
}

.purchase-card:nth-child(4) {
    animation-delay: 0.4s;
}

.purchase-card:nth-child(5) {
    animation-delay: 0.5s;
}

.purchase-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Card Image */
.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.purchase-card:hover .card-image img {
    transform: scale(1.05);
}

/* Paid Badge */
.paid-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(72, 187, 120, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.paid-badge i {
    font-size: 12px;
}

/* Card Content */
.card-content {
    padding: 25px;
}

.card-title {
    font-size: clamp(18px, 2.5vw, 22px);
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-subtitle {
    font-size: clamp(13px, 1.5vw, 15px);
    color: whitesmoke;
    margin-bottom: 20px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: white;
}

.meta-item i {
    color: #2563ff;
}

/* Glass Download Button */
.download-button,
.download-Free-button,
.sended-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;

    /* Liquid Glass Effect */
    background: rgba(102, 126, 234, 0.15);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    /* White Border */
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;

    /* Text */
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    /* Shadow & Glow */
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);

    /* Transition */
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.download-button:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.8);
    color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(102, 126, 234, 0.2);
}

.download-Free-button:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.8);
    color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(102, 126, 234, 0.2);
}

.sended-button:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.8);
    color: #667eea;
    transform: scale(1.02);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 20px rgba(102, 126, 234, 0.2);
}

.download-button:active {
    transform: scale(0.98);
}

.download-Free-button:active {
    transform: scale(0.98);
}

.sended-button:active {
    transform: scale(0.98);
}

.sended-button i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.download-button i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.download-Free-button i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.download-button i {
    transform: translateY(-2px);
}

.download-Free-button i {
    transform: translateY(-2px);
}

.sended-button:hover i {
    transform: translateY(-2px);
}