/* Acknowledgments Section Styles */
:root {
    --trail-color: #ffffff;
}

.acknowledgments-section {
    margin-top: 2rem;
    background: linear-gradient(135deg, var(--color-background-dark) 0%, var(--color-background-dark-light) 100%);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-highlight);
}

.acknowledgments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(245, 222, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.acknowledgments-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-highlight);
    margin-bottom: 0.5rem;
    font-family: var(--serif-font), serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.acknowledgments-title i {
    color: var(--color-highlight);
    font-size: 1.5rem;
    animation: gentle-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(245, 222, 179, 0.3));
}

.acknowledgments-subtitle {
    color: var(--color-text-white);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--color-highlight);
    font-family: var(--serif-font), serif;
    position: relative;
    z-index: 1;
}

.section-title i {
    color: var(--color-highlight);
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 4px rgba(245, 222, 179, 0.3));
    animation: gentle-glow 4s ease-in-out infinite;
}

/* Contributors Section */
.contributors-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

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

.contributor-card {
    background: linear-gradient(145deg, var(--color-background-dark-light), var(--color-background-dark));
    border: 2px solid rgba(245, 222, 179, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-highlight), rgba(245, 222, 179, 0.8), var(--color-highlight));
    background-size: 300% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.contributor-card::after {
    content: '✨';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--color-highlight);
}

.contributor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(245, 222, 179, 0.2);
    border-color: var(--color-highlight);
}

.contributor-card:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.contributor-avatar {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
}

.contributor-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-highlight);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contributor-card:hover .contributor-avatar img {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(245, 222, 179, 0.4);
}

.contributor-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: linear-gradient(135deg, var(--color-highlight), #ffd700);
    color: var(--color-background-dark);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    border: 2px solid var(--color-background-dark-light);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.contributor-info {
    text-align: center;
}

.contributor-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-highlight);
    font-family: var(--serif-font), serif;
}

.contributor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    background: rgba(245, 222, 179, 0.1);
    border: 1px solid rgba(245, 222, 179, 0.2);
}

.contributor-link:hover {
    color: var(--color-highlight);
    background: rgba(245, 222, 179, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(245, 222, 179, 0.2);
}

/* Translators Section */
.translators-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

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

.translator-card {
    background: linear-gradient(145deg, var(--color-background-dark-light), var(--color-background-dark));
    border: 2px solid rgba(245, 222, 179, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.translator-card::before {
    content: '🌍';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.translator-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(245, 222, 179, 0.15);
    border-color: var(--color-highlight);
}

.translator-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.translator-avatar {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
}

.translator-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.translator-card:hover .translator-avatar img {
    transform: scale(1.1);
}

.completion-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 3px solid var(--color-background-dark-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 45px;
    text-align: center;
}

.completion-badge.incomplete {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.translator-info {
    text-align: center;
}

.translator-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-highlight);
    font-family: var(--serif-font), serif;
}

.translator-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.language-tag {
    background: linear-gradient(135deg, rgba(245, 222, 179, 0.2), rgba(245, 222, 179, 0.1));
    color: var(--color-highlight);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(245, 222, 179, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.language-tag:hover {
    background: var(--color-highlight);
    color: var(--color-background-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 222, 179, 0.3);
}

.completion-bar {
    background: rgba(245, 222, 179, 0.2);
    height: 8px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(245, 222, 179, 0.3);
    position: relative;
}

.completion-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-highlight), rgba(245, 222, 179, 0.8), var(--color-highlight));
    border-radius: 10px;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.completion-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progress-shine 3s ease-in-out infinite;
}

.translator-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    background: rgba(245, 222, 179, 0.1);
    border: 1px solid rgba(245, 222, 179, 0.2);
}

.translator-link:hover {
    color: var(--color-highlight);
    background: rgba(245, 222, 179, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 222, 179, 0.2);
}

/* Projects Section */
.projects-section {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: linear-gradient(145deg, var(--color-background-dark-light), var(--color-background-dark));
    border: 2px solid rgba(245, 222, 179, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.project-card::before {
    content: '⚡';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
    transition: all 0.3s ease;
    z-index: 2;
    color: var(--color-highlight);
}

.project-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 25px rgba(245, 222, 179, 0.15);
    border-color: var(--color-highlight);
}

.project-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.project-header {
    background: linear-gradient(135deg, rgba(245, 222, 179, 0.15), rgba(245, 222, 179, 0.05));
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(245, 222, 179, 0.2);
    position: relative;
}

.project-category {
    background: linear-gradient(135deg, var(--color-highlight), #ffd700);
    color: var(--color-background-dark);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 222, 179, 0.3);
}

.project-license {
    color: var(--color-text-white);
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.8;
    background: rgba(245, 222, 179, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(245, 222, 179, 0.2);
}

.project-content {
    padding: 2rem;
}

.project-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-highlight);
    font-family: var(--serif-font), serif;
}

.project-description {
    color: var(--color-text-white);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(245, 222, 179, 0.2), rgba(245, 222, 179, 0.1));
    border: 1px solid rgba(245, 222, 179, 0.3);
    backdrop-filter: blur(5px);
}

.project-link:hover {
    color: var(--color-background-dark);
    background: var(--color-highlight);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245, 222, 179, 0.3);
    gap: 1rem;
}

/* Thank You Message */
.thank-you-message {
    background: linear-gradient(135deg, 
        rgba(245, 222, 179, 0.3) 0%, 
        rgba(245, 222, 179, 0.1) 50%, 
        rgba(255, 107, 107, 0.1) 100%);
    border: 2px solid rgba(245, 222, 179, 0.4);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    cursor: pointer;
}

.thank-you-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(245, 222, 179, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--color-highlight);
    margin-bottom: 1.5rem;
    animation: gentle-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(245, 222, 179, 0.3));
}

@keyframes gentle-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes gentle-glow {
    0% { filter: drop-shadow(0 2px 4px rgba(245, 222, 179, 0.3)); }
    50% { filter: drop-shadow(0 2px 8px rgba(245, 222, 179, 0.5)); }
    100% { filter: drop-shadow(0 2px 4px rgba(245, 222, 179, 0.3)); }
}

@keyframes shimmer {
    0% { background-position: -300% 0; }
    100% { background-position: 300% 0; }
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.thank-you-message h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-highlight);
    margin-bottom: 1.5rem;
    font-family: var(--serif-font), serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.thank-you-message p {
    color: var(--color-text-white);
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Fireworks Container */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contributors-grid,
    .translators-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .acknowledgments-section {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .acknowledgments-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .project-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .contributor-card,
    .translator-card,
    .project-card {
        padding: 1.5rem;
    }
    
    .thank-you-message {
        padding: 2rem;
        margin-top: 2rem;
    }
    
    .thank-you-icon {
        font-size: 3rem;
    }
    
    .thank-you-message h4 {
        font-size: 1.5rem;
    }
    
    .thank-you-message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .acknowledgments-section {
        padding: 1rem;
    }
    
    .contributor-card,
    .translator-card,
    .project-card {
        padding: 1rem;
    }
    
    .contributors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .contributor-avatar,
    .translator-avatar {
        width: 60px;
        height: 60px;
    }
    
    .acknowledgments-title {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
}
