/* Pack Page Styling - Professional Single-Column Wide Design */
:root {
    --pack-dark-bg: #121212;
    --pack-darker-bg: #0a0a0a;
    --pack-lighter-bg: #1f1f1f;
    --pack-red: #e50914;
    --pack-red-hover: #ff3b47;
    --pack-red-dark: #b30710;
    --pack-text: #ffffff;
    --pack-text-secondary: #e2e2e2;
    --pack-text-muted: #b0b0b0;
    --pack-border: rgba(255, 255, 255, 0.05);
    --pack-gradient-card: linear-gradient(160deg, #131313 0%, #0d0d0d 100%);
    --pack-gradient-header: linear-gradient(to right, rgba(19, 19, 19, 0.9), rgba(24, 24, 24, 0.9));
}

body {
    background-color: var(--pack-dark-bg);
    color: var(--pack-text);
}

/* Wide Professional Pack Container */
.pack-container {
    width: 95%;
    max-width: 1400px;
    margin: 40px auto;
    background: var(--pack-gradient-card);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--pack-border);
    overflow: hidden;
}

/* Premium Pack Header */
.pack-header {
    background: var(--pack-gradient-header);
    padding: 30px 40px;
    border-bottom: 1px solid var(--pack-border);
    position: relative;
}

.pack-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--pack-text);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

/* Premium Red Accent Line */
.pack-header:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 40px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--pack-red), var(--pack-red-hover));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* File List - Wide Professional Layout */
.file-list {
    padding: 40px;
}

.file-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

/* Single Column File Items */
.file-item {
    margin-bottom: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Sequential Animation Delays */
.file-item:nth-child(1) { animation-delay: 0.05s; }
.file-item:nth-child(2) { animation-delay: 0.1s; }
.file-item:nth-child(3) { animation-delay: 0.15s; }
.file-item:nth-child(4) { animation-delay: 0.2s; }
.file-item:nth-child(5) { animation-delay: 0.25s; }
.file-item:nth-child(6) { animation-delay: 0.3s; }
.file-item:nth-child(7) { animation-delay: 0.35s; }
.file-item:nth-child(8) { animation-delay: 0.4s; }
.file-item:nth-child(9) { animation-delay: 0.45s; }
.file-item:nth-child(10) { animation-delay: 0.5s; }

/* Premium File Item Design */
.file-item a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(160deg, rgba(35, 35, 35, 0.6) 0%, rgba(28, 28, 28, 0.7) 100%);
    border-left: 4px solid var(--pack-red);
    border-radius: 10px;
    color: var(--pack-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.file-item a:hover {
    transform: translateY(-2px);
    background: linear-gradient(160deg, rgba(40, 40, 40, 0.8) 0%, rgba(33, 33, 33, 0.9) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(229, 9, 20, 0.3);
    color: var(--pack-text);
    text-decoration: none;
}

/* Premium File Number Design */
.file-number {
    background-color: rgba(229, 9, 20, 0.1);
    color: var(--pack-red);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 20px;
    border: 1px solid rgba(229, 9, 20, 0.2);
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Professional Filename Styling */
.file-name {
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.1rem;
    overflow-wrap: break-word;
    word-break: break-word;
    color: var(--pack-text);
    padding: 0 20px 0 0;
}

/* Download Icon */
.file-icon {
    color: var(--pack-red);
    margin-left: 15px;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.file-item a:hover .file-icon {
    opacity: 1;
    transform: scale(1.3);
    filter: drop-shadow(0 0 5px rgba(229, 9, 20, 0.5));
}

/* Premium Download All Button */
.download-all {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.download-all button {
    background: linear-gradient(135deg, var(--pack-red-dark) 0%, var(--pack-red) 100%);
    color: white;
    border: none;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 rgba(229, 9, 20, 0);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.download-all button:hover {
    background: linear-gradient(135deg, var(--pack-red) 0%, var(--pack-red-hover) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(229, 9, 20, 0.3);
}

.download-all button i {
    font-size: 1.4rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Empty Pack Message */
.no-files {
    background: linear-gradient(160deg, rgba(57, 49, 0, 0.15) 0%, rgba(46, 40, 0, 0.2) 100%);
    color: #ffc107;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.no-files i {
    font-size: 1.8rem;
}

/* Professional Timestamp Footer */
.pack-timestamp {
    text-align: center;
    margin: 20px auto 30px;
    font-size: 0.85rem;
    color: var(--pack-text-muted);
    max-width: 90%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.pack-timestamp i {
    margin-right: 5px;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .pack-container {
        width: 92%;
    }
    
    .pack-header {
        padding: 25px 30px;
    }
    
    .pack-header h1 {
        font-size: 1.8rem;
    }
    
    .file-list {
        padding: 30px;
    }
    
    .file-item a {
        padding: 16px 20px;
    }
    
    .file-name {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .pack-container {
        margin: 30px auto;
        border-radius: 10px;
    }
    
    .pack-header {
        padding: 20px 25px;
    }
    
    .pack-header h1 {
        font-size: 1.6rem;
    }
    
    .file-list {
        padding: 20px;
    }
    
    .file-number {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }
    
    .download-all button {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .pack-header h1 {
        font-size: 1.4rem;
    }
    
    .file-item a {
        padding: 12px 15px;
    }
    
    .file-number {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
        margin-right: 10px;
    }
    
    .file-name {
        font-size: 0.95rem;
    }
    
    .download-all button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}