/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #16161d 0%, #1a1a2e 100%);
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.15);
}

.site-title a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.site-title a:hover {
    filter: brightness(1.2);
}

.site-description {
    color: #b0b0c0;
    margin-top: 0.5rem;
}

/* Main content */
main {
    min-height: calc(100vh - 200px);
    background: rgba(22, 22, 29, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.1);
}

/* Workout list page */
.workout-list h2 {
    color: #a855f7;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.day-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.day-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 22, 29, 0.9) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.day-card:hover {
    border-color: #a855f7;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.day-card h3 {
    margin-bottom: 0.5rem;
}

.day-card h3 a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.day-card h3 a:hover {
    color: #a855f7;
}

.day-card .description {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Single workout day page */
.workout-day {
    max-width: 800px;
}

.workout-header {
    border-bottom: 3px solid rgba(168, 85, 247, 0.5);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    padding: 1rem;
    border-radius: 8px;
}

.workout-header h2 {
    color: #a855f7;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.workout-description {
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Workout content */
.workout-content h1 {
    color: #a855f7;
    font-size: 1.6rem;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.workout-content h2 {
    color: #b794f6;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
}

.workout-content ul {
    list-style: none;
    padding: 0;
}

.workout-content li {
    padding: 0.75rem;
    margin: 0.5rem 0;
    background: rgba(26, 26, 46, 0.6);
    border-left: 4px solid #9333ea;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.workout-content li:hover {
    background: rgba(26, 26, 46, 0.8);
    border-left-color: #a855f7;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

/* Checkbox styling */
.workout-content input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    vertical-align: middle;
    accent-color: #a855f7;
}

.workout-content li:has(input[type="checkbox"]:checked) {
    background: rgba(168, 85, 247, 0.15);
    border-left-color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    opacity: 0.7;
}

/* Images */
.workout-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0 1.5rem 0;
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.workout-content p img {
    margin: 1rem auto 1.5rem auto;
}

/* Navigation */
.workout-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(168, 85, 247, 0.3);
}

.workout-nav a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    background: rgba(26, 26, 46, 0.6);
    transition: all 0.3s ease;
}

.workout-nav a:hover {
    background: #9333ea;
    color: white;
    box-shadow: 0 4px 16px rgba(147, 51, 234, 0.4);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #16161d 0%, #1a1a2e 100%);
    border-top: 2px solid rgba(138, 43, 226, 0.3);
    color: white;
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(138, 43, 226, 0.15);
}

footer p {
    color: #b0b0c0;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .day-cards {
        grid-template-columns: 1fr;
    }

    .workout-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .workout-nav a {
        text-align: center;
    }
}
