/* Attributions页面专用样式 */

/* 全屏宽度图片 */
.attributions-fullwidth-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0;
    overflow: hidden;
}

.fullwidth-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center center;
}

/* 内容区域 */
.attributions-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    position: relative;
}

.attributions-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00c1a4, #007bff, #00c1a4);
}

.attributions-title-area {
    text-align: center;
    padding: 2rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.attributions-title-area::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 193, 164, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.attributions-title {
    color: #00c1a4;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #00c1a4, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.attributions-subtitle {
    color: #666;
    font-size: 1.3rem;
    font-weight: 300;
    margin: 0;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 2;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .attributions-content-section {
        padding: 2rem 0;
    }

    .attributions-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .attributions-subtitle {
        font-size: 1.1rem;
    }

    .attributions-title-area {
        padding: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .attributions-content-section {
        padding: 1.5rem 0;
    }

    .attributions-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .attributions-subtitle {
        font-size: 1rem;
    }

    .attributions-title-area {
        padding: 1rem;
        margin: 0 0.5rem 1.5rem 0.5rem;
    }
}

/* iframe容器美化 */
.row.mt-4 {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin: 0 auto !important;
    max-width: 1200px;
}

#igem-attribution-form {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 旋转动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 悬停效果 */
.attributions-title:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.attributions-subtitle:hover {
    color: #00c1a4;
    transition: color 0.3s ease;
}
