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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    padding: 40px 0;
}

.header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, .3);
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header .subtitle {
    font-size: 1.3rem;
    opacity: .9;
    font-weight: 300;
}

.week-overview {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.day-pill {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    color: white;
    transition: all .3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.day-pill:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.day-pill .day-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.day-pill .day-date {
    font-size: .9rem;
    opacity: .8;
}

.training-grid {
    display: grid;
    gap: 30px;
}

.day-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.day-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff6b6b);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.day-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .15);
}

.day-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.day-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.day-info h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 5px;
}

.day-info .date {
    color: #666;
    font-size: 1rem;
}

.program-section {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 5px solid;
    position: relative;
    transition: transform .3s ease;
}

.crossfit-section {
    border-left-color: #ff6b6b;
}

.hyrox-section {
    border-left-color: #48dbfb;
}

.barbell-section {
    border-left-color: #feca57;
}

.gymnastics-section {
    border-left-color: #ff9ff3;
}

.program-section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.program-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: .8rem;
}

.crossfit-section .program-icon {
    background: #ff6b6b;
}

.hyrox-section .program-icon {
    background: #48dbfb;
}

.barbell-section .program-icon {
    background: #feca57;
}

.gymnastics-section .program-icon {
    background: #ff9ff3;
}

.workout-details {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
}

.workout-details h4 {
    color: #555;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.workout-details ul {
    list-style: none;
}

.workout-details li {
    padding: 5px 0 5px 20px;
    position: relative;
}

.workout-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-card {
    background: rgba(255, 255, 255, .2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #feca57, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: .9;
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    color: rgba(255, 255, 255, .8);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
    transition: all .3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-top[data-visible='true'] {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem
    }

    .day-card {
        padding: 20px
    }

    .day-header {
        flex-direction: column;
        text-align: center
    }

    .day-icon {
        margin: 0 0 15px
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}

