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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #16213e 100%);
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 20% 50%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(0, 206, 209, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #00ced1, #8a2be2, #00ced1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 900;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-size: 1.4rem;
    color: #00ced1;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

.tagline {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 30px;
}

.team {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    border: 3px solid #8a2be2;
    margin-bottom: 8px;
    background: transparent;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.team-member a {
    color: #00ced1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.team-member a:hover {
    color: #8a2be2;
}

/* Phase Indicators */
.phase-indicator {
    text-align: center;
    margin: 40px 0 30px;
    padding: 20px;
    background: rgba(138, 43, 226, 0.15);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.4);
    display: none;
}

.phase-indicator.visible {
    display: block;
}

.phase-indicator.phase-1 {
    background: rgba(70, 130, 180, 0.15);
    border-color: rgba(70, 130, 180, 0.4);
}

.phase-indicator.phase-2 {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

.phase-indicator.phase-3 {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.phase-indicator h2 {
    font-size: 1.8rem;
    color: #00ced1;
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.6);
}

.phase-indicator.phase-3 h2 {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Day Box */
.day-box {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.day-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 206, 209, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.day-box:hover::before {
    opacity: 1;
}

/* Locked state */
.day-box.locked {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: rgba(100, 100, 100, 0.3);
    background: rgba(20, 20, 30, 0.6);
}

.day-box.locked .day-title {
    opacity: 0;
    filter: blur(8px);
    user-select: none;
}

.day-box.locked .day-title::after {
    content: '🔒 Locked';
    display: block;
    opacity: 1;
    filter: blur(0);
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.day-box.locked:hover {
    transform: none;
    box-shadow: none;
}

/* Unlocked state */
.day-box.unlocked {
    cursor: pointer;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.day-box.unlocked:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
    border-color: #8a2be2;
}

@keyframes gentle-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2); }
    50% { box-shadow: 0 4px 30px rgba(138, 43, 226, 0.4); }
}

/* Day 10 - Portal Opening */
.day-box.current-day {
    border: 3px solid #00ced1;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 206, 209, 0.3));
    box-shadow: 0 0 40px rgba(0, 206, 209, 0.5);
    animation: portal-pulse 2s ease-in-out infinite;
}

@keyframes portal-pulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(0, 206, 209, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 60px rgba(138, 43, 226, 0.7);
        transform: scale(1.05);
    }
}

.day-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8a2be2;
    position: relative;
    z-index: 1;
}

.day-box.unlocked .day-number {
    color: #00ced1;
}

.day-box.day-10 .day-number {
    font-size: 2.2rem;
    color: #00ced1;
    text-shadow: 0 0 15px rgba(0, 206, 209, 0.8);
}

.day-title {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    min-height: 40px;
}

.day-box.unlocked .day-title {
    color: #e0e0e0;
}

.day-phase {
    font-size: 0.75rem;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px 20px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

footer p {
    margin-bottom: 15px;
    color: #a0a0a0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00ced1;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a:hover {
    color: #8a2be2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .subtitle {
        font-size: 1.1rem;
    }

    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .day-box {
        min-height: 150px;
        padding: 20px 10px;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .team {
        gap: 20px;
    }

    .team-member img {
        width: 90px;
        height: 90px;
    }
}

.day-category {
    display: inline-block;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-top: 5px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: #b19cd9;
}

/* Category color variations */
.day-category.tdd {
    background: rgba(0, 206, 209, 0.2);
    border-color: rgba(0, 206, 209, 0.4);
    color: #7dd3d5;
}

.day-category.refactoring {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
    color: #ff9d9d;
}

.day-category.design {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
    color: #ffd966;
}

.day-category.meta-skills {
    background: rgba(255, 159, 64, 0.2);
    border-color: rgba(255, 159, 64, 0.4);
    color: #ffb380;
}

.day-category.testing {
    background: rgba(153, 102, 255, 0.2);
    border-color: rgba(153, 102, 255, 0.4);
    color: #b999ff;
}

.day-category.mindset {
    background: rgba(72, 187, 120, 0.2);
    border-color: rgba(72, 187, 120, 0.4);
    color: #90ee90;
}

/* Hide category on locked days */
.day-box.locked .day-category {
    opacity: 0;
    filter: blur(5px);
}
