/* Source Code page - overrides and additions to styles.css */

/* Nav overrides - simpler nav on source-code page */
.nav-links {
    display: none;
}

.status-badge,
.warning-badge {
    display: none;
}

@keyframes pulse {
    0% { box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3); }
    50% { box-shadow: 0 5px 25px rgba(255, 152, 0, 0.6); }
    100% { box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3); }
}

/* Hero overrides */
.hero p {
    margin: 0 auto 2rem;
}

.warning-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid var(--warning);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    animation: fadeInUp 0.8s forwards 0.4s;
    opacity: 0;
}

.warning-notice .warning-icon {
    font-size: 2rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
}

/* Section title override */
.section-title {
    margin: 4rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-icon {
    font-size: 2rem;
}

/* Act grid */
.act-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.act-card {
    background: rgba(47, 47, 47, 0.1);
    border: 1px solid rgba(110, 7, 243, 0.3);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(50px);
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.act-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.act-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(110, 7, 243, 0.2);
}

.act-card.complete {
    border-color: var(--success);
}

.act-card.incomplete {
    border-color: var(--warning);
}

.act-card.missing {
    border-color: var(--error);
}

.act-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(110, 7, 243, 0.2), transparent);
    transition: 0.5s;
}

.act-card:hover::before {
    left: 100%;
}

.act-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.act-title {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Progress badges */
.progress-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.progress-complete {
    background: var(--success);
    color: white;
}

.progress-incomplete {
    background: var(--warning);
    color: white;
}

.progress-missing {
    background: var(--error);
    color: white;
}

/* Feature list */
.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    margin: 0.8rem 0;
    color: #cccccc;
    padding-left: 2rem;
    position: relative;
    line-height: 1.4;
}

.feature-list li::before {
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.feature-complete::before {
    content: '\2705';
}

.feature-incomplete::before {
    content: '\26A0\FE0F';
}

.feature-missing::before {
    content: '\274C';
}

.feature-info::before {
    content: '\1F539';
    color: var(--accent);
}

/* Stats overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: rgba(47, 47, 47, 0.3);
    border: 1px solid rgba(110, 7, 243, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(110, 7, 243, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-complete {
    color: var(--success);
}

.stat-incomplete {
    color: var(--warning);
}

.stat-missing {
    color: var(--error);
}

.stat-label {
    color: #cccccc;
    font-size: 1rem;
}

/* Disclaimer */
.disclaimer {
    background: rgba(47, 47, 47, 0.1);
    border: 1px solid rgba(110, 7, 243, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

/* Tech highlights */
.tech-highlights {
    background: rgba(47, 47, 47, 0.1);
    border: 1px solid rgba(110, 7, 243, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
}

.tech-highlights h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tech-item {
    background: rgba(47, 47, 47, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    border-left: 4px solid var(--accent);
}

.tech-item h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Mobile overrides */
@media (max-width: 768px) {
    .nav {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--nav-height);
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .container {
        padding: 1rem;
        padding-top: calc(var(--nav-height) + 3rem);
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 2rem 0;
    }

    .logo {
        font-size: 2.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin: 2rem 0 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .act-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .act-card {
        padding: 1.5rem;
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .background-overlay {
        background: rgba(10, 10, 10, 0.6);
    }
}

@media (max-width: 480px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }

    .act-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .warning-notice {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
