@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #0c0c0c;
    --secondary-color: #1a1a1a;
    --accent-color: #d4af37; /* Premium Gold */
    --text-color: #f5f5f7;
    --text-dim: #a1a1a6;
    --bg-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

p.subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 300;
}

.container {
    width: 100%;
    max-width: 500px;
    display: grid;
    gap: 1rem;
}

.file-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.file-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.file-card:active {
    transform: scale(0.98);
}

.icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.file-info {
    flex: 1;
}

.file-name {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.file-meta {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.chevron {
    color: var(--text-dim);
    font-size: 1.2rem;
    opacity: 0.5;
}

footer {
    margin-top: auto;
    padding: 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.container > * {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Stagger animation for children */
.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.15s; }
.container > *:nth-child(3) { animation-delay: 0.2s; }
.container > *:nth-child(4) { animation-delay: 0.25s; }
.container > *:nth-child(5) { animation-delay: 0.3s; }
.container > *:nth-child(6) { animation-delay: 0.35s; }
.container > *:nth-child(7) { animation-delay: 0.4s; }
.container > *:nth-child(8) { animation-delay: 0.45s; }
.container > *:nth-child(9) { animation-delay: 0.5s; }
