/* Shared theme for testworkart1 (used by index.html and test4.html). */

:root {
    --grad-start: #667eea;
    --grad-end: #764ba2;
    --gradient: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --card-radius: 12px;
    --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --text-dark: #333;
    --text-muted: #666;
    --text-faint: #999;
}

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

body {
    font-family: var(--font);
    background: var(--gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Card container (index page) */
.container {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 40px;
    max-width: 600px;
    width: 100%;
}

h1 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 2.5em;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1em;
}

.files-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background: #fafafa;
}

.file-item:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-color: var(--grad-start);
    transform: translateX(5px);
}

.file-icon {
    font-size: 2em;
}

.file-info h2 {
    color: var(--text-dark);
    font-size: 1.3em;
    margin-bottom: 5px;
}

.file-info p {
    color: var(--text-faint);
    font-size: 0.95em;
}

.arrow {
    margin-left: auto;
    font-size: 1.5em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-item:hover .arrow {
    opacity: 1;
}

.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: var(--text-faint);
    text-align: center;
    font-size: 0.9em;
}

/* Centered hero heading (test4 page) */
.hero {
    color: #fff;
    font-size: 3em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
