/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f23 25%, #1a1a2e 50%, #16213e 75%, #1e293b 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    border-bottom: 1px solid rgba(45, 55, 72, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 28px;
    color: #0ea5e9;
    background: linear-gradient(135deg, #0ea5e9, #0284c7, #0369a1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.3));
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.header-actions {
    display: flex;
    gap: 16px;
}

.tagline {
    text-align: center;
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Search Container */
.search-container {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0ea5e9;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.search-input::placeholder {
    color: #94a3b8;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.5);
}

.search-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #0ea5e9;
    background: rgba(255, 255, 255, 0.08);
}

.filter-select option {
    background: #1e293b;
    color: #ffffff;
}

.search-results {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    text-align: center;
}

.search-results h3 {
    color: #0ea5e9;
    margin-bottom: 8px;
    font-size: 18px;
}

.search-results p {
    color: #94a3b8;
    font-size: 14px;
}
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* Product Card */
.product-card {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(71, 85, 105, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #6366f1, #8b5cf6, #ec4899);
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5),
                0 0 0 2px rgba(71, 85, 105, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: #64748b;
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 50%, #475569 100%);
}

.product-card:hover::before {
    opacity: 1;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.7);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
                0 0 0 2px rgba(255, 255, 255, 0.1);
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: -0.025em;
}



.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-actions {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.05em;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3), 
                0 0 0 1px rgba(14, 165, 233, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.4),
                0 0 0 2px rgba(14, 165, 233, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4),
                0 0 0 2px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #4f46e5 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.3),
                0 0 0 1px rgba(244, 63, 94, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-danger:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(244, 63, 94, 0.4),
                0 0 0 2px rgba(244, 63, 94, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #fb7185 0%, #f43f5e 50%, #e11d48 100%);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #334155;
    border-top: 4px solid #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-state p {
    color: #94a3b8;
    font-size: 16px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #475569;
    margin-bottom: 24px;
    opacity: 0.6;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.empty-state p {
    color: #94a3b8;
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    padding: 0 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
    border: 1px solid #64748b;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-actions {
    padding: 0 24px 24px;
}

/* Purchase Modal Specific */
.purchase-content {
    padding: 0 24px;
}

.product-preview {
    text-align: center;
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
    border-radius: 12px;
    border: 1px solid #64748b;
}

.product-preview img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.product-preview h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.product-preview p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 16px;
}

.price-display {
    margin-bottom: 16px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #10b981;
}

.payment-instructions {
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
    border: 1px solid #64748b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.payment-instructions h5 {
    font-size: 16px;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 12px;
}

.payment-instructions p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 12px;
}

.paypal-info {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
}

.paypal-info strong {
    color: #10b981;
}

.copy-btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: auto;
    margin-left: auto;
    background: rgba(14, 165, 233, 0.2);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #7dd3fc;
}

.copy-btn:hover {
    background: rgba(14, 165, 233, 0.3);
    border-color: rgba(14, 165, 233, 0.5);
}

/* Warning modal styles */
.warning-modal {
    max-width: 500px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 2px solid #f59e0b;
}

.warning-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1f2937;
    border-bottom: 2px solid #f59e0b;
}

.warning-header h3 {
    color: #1f2937;
    font-weight: 700;
}

.warning-header i {
    color: #dc2626;
    margin-right: 8px;
}

.warning-content {
    padding: 20px;
    text-align: center;
}

.warning-icon {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 16px;
}

.warning-content h4 {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 18px;
}

.warning-text {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.discord-info {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid #5865f2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.discord-info strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 8px;
}

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5865f2;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 6px;
    transition: all 0.2s;
}

.discord-link:hover {
    background: rgba(88, 101, 242, 0.2);
    color: #818cf8;
    transform: translateY(-1px);
}

.discord-link i {
    font-size: 18px;
}

.warning-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.warning-actions .btn {
    min-width: 140px;
}

.note {
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}

/* Sold Products */
.sold-products-list {
    padding: 0 24px 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.sold-product {
    background: linear-gradient(145deg, #334155 0%, #475569 100%);
    border: 1px solid #64748b;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    opacity: 0.8;
    filter: grayscale(0.3);
    position: relative;
}

.sold-product::after {
    content: 'SOLD';
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Messages */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
}

.message {
    background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.message.success {
    border-left: 4px solid #10b981;
    background: linear-gradient(145deg, #064e3b 0%, #065f46 100%);
}

.message.error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(145deg, #7f1d1d 0%, #991b1b 100%);
}

.message.info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 100%);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center;
    }
    
    .search-container {
        padding: 16px;
        margin-bottom: 24px;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .filter-select {
        min-width: auto;
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .modal-content {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }
    
    .form-group {
        padding: 0 20px;
    }
    
    .form-actions {
        padding: 0 20px 20px;
    }
    
    .warning-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .warning-actions .btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 24px;
    }
    
    .logo i {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 14px;
    }
    
    .product-card {
        padding: 16px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

/* Focus States */
.btn:focus,
.form-input:focus,
.close-btn:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #64748b, #475569);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

/* Form Steps */
.form-step {
    transition: all 0.3s ease-in-out;
}

.form-step.hidden {
    display: none;
}

/* Secret Key Verification */
#step1 {
    text-align: center;
    padding: 20px 0;
}

#step1 .form-group {
    margin-bottom: 30px;
}

#step1 .form-input {
    font-size: 18px;
    padding: 16px 20px;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

#verifyKeyBtn {
    font-size: 16px;
    padding: 16px 32px;
    min-width: 200px;
}

/* Upload Form */
#uploadForm {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Discord Button */
.btn-discord {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 50%, #3c45a5 100%);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.3),
                0 0 0 1px rgba(88, 101, 242, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-discord:hover {
    background: linear-gradient(135deg, #7289da 0%, #5865f2 50%, #4752c4 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.4),
                0 0 0 2px rgba(88, 101, 242, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Link Notification */
.link-notification {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.link-notification.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-notification-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: slideIn 0.4s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-notification-header {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: white;
    padding: 24px 30px 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.link-notification-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.link-notification-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.link-notification-header i {
    font-size: 24px;
    color: #ffffff;
}

.link-notification-body {
    padding: 30px;
    text-align: center;
}

.link-notification-body p {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 24px;
}

.product-link-display {
    margin: 24px 0;
    padding: 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.1);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0ea5e9;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 25px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(2, 132, 199, 0.1) 100%);
    border: 1px solid rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(2, 132, 199, 0.2) 100%);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
}

.product-link i {
    font-size: 16px;
}

.link-notification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.link-notification-actions .btn {
    min-width: 120px;
}

/* Responsive for link notification */
@media (max-width: 768px) {
    .link-notification-content {
        width: 95%;
        margin: 20px;
    }
    
    .link-notification-header {
        padding: 20px 25px 15px;
    }
    
    .link-notification-body {
        padding: 25px 20px;
    }
    
    .link-notification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .link-notification-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}
