@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --third-color: #fbbc05;
    --text-color: #333;
    --light-color: #f5f5f5;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --glow-color: rgba(66, 133, 244, 0.6);
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #134e5e, #1d2671);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    padding-bottom: 70px; /* 为底部备案信息留出空间 */
}

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

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 10;
    margin-bottom: 10px; /* 减少底部间距 */
    perspective: 1000px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--card-shadow), 0 0 20px var(--glow-color);
    transform-style: preserve-3d;
    transform: translateY(0) rotateX(0deg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 40px var(--glow-color);
}

.card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--third-color));
    background-size: 400% 400%;
    animation: gradient 5s ease infinite;
}

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

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-color);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite, pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-color);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 35px var(--glow-color);
    }
    100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-color);
    }
}

.logo-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
    position: relative;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.logo:hover .logo-inner {
    transform: rotateY(180deg);
}

.logo-inner:before, .logo-inner:after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.logo-inner:before {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 15px;
    left: 15px;
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    animation: move 3s ease-in-out infinite alternate;
}

@keyframes move {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(5px) translateY(5px);
    }
}

.logo-inner:after {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    bottom: 15px;
    right: 15px;
    box-shadow: 0 0 10px rgba(234, 67, 53, 0.5);
    animation: move 3s ease-in-out infinite alternate-reverse;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
}

.title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info-container {
    margin: 40px 0;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 15px;
    border-radius: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.info-container::-webkit-scrollbar {
    width: 8px;
}

.info-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.info-container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.info-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--accent-color), var(--third-color));
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(5px);
    border-bottom: 1px solid rgba(66, 133, 244, 0.3);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item:nth-child(1) {
    animation-delay: 0.1s;
}

.info-item:nth-child(2) {
    animation-delay: 0.15s;
}

.info-item:nth-child(3) {
    animation-delay: 0.2s;
}

.info-item:nth-child(4) {
    animation-delay: 0.25s;
}

.info-item:nth-child(5) {
    animation-delay: 0.3s;
}

.info-item:nth-child(6) {
    animation-delay: 0.35s;
}

.info-item:nth-child(7) {
    animation-delay: 0.4s;
}

.info-item:nth-child(8) {
    animation-delay: 0.45s;
}

.info-item:nth-child(9) {
    animation-delay: 0.5s;
}

.label {
    font-weight: 500;
    color: #666;
    min-width: 120px;
    position: relative;
    transition: all 0.3s ease;
}

.info-item:hover .label {
    color: var(--primary-color);
}

.value {
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
    word-break: break-word;
    flex: 1;
    transition: all 0.3s ease;
    position: relative;
}

.info-item:hover .value {
    color: var(--accent-color);
}

#remark {
    line-height: 1.6;
}

.footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.badge {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: linear-gradient(145deg, #f0f0f0, #e6e6e6);
    border-radius: 30px;
    font-size: 14px;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05),
                -5px -5px 10px rgba(255, 255, 255, 0.8);
}

.badge:hover {
    background: linear-gradient(145deg, var(--primary-color), #3b78e7);
    color: white;
    transform: translateY(-5px);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1),
                -5px -5px 15px rgba(255, 255, 255, 0.1),
                0 0 15px var(--glow-color);
}

.badge .material-icons {
    font-size: 18px;
    margin-right: 8px;
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 炫光效果 */
.card:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        left: -60%;
        opacity: 0;
    }
    10% {
        left: 120%;
        opacity: 0.6;
    }
    11%, 100% {
        left: 120%;
        opacity: 0;
    }
}

/* 工信部备案信息样式 - 官方风格 */
.icp-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(242, 242, 242, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    text-align: center;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    height: 40px;
    line-height: 20px;
    transition: all 0.3s ease;
}

.icp-footer:hover {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -5px 20px rgba(66, 133, 244, 0.1);
}

.icp-info, .gongan-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.icp-icon, .gongan-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.icp-info:hover .icp-icon, .gongan-info:hover .gongan-icon {
    transform: scale(1.1);
}

.icp-info a, .gongan-info a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icp-info:hover a, .gongan-info:hover a {
    color: var(--primary-color);
}

/* 分隔符 */
.icp-info:after {
    content: '|';
    color: #ddd;
    margin-left: 20px;
}

/* 添加水波纹效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 1s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .label {
        margin-bottom: 5px;
    }
    
    .title {
        font-size: 26px;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-inner {
        width: 50px;
        height: 50px;
    }
    
    .value {
        text-align: left;
    }
    
    .icp-footer {
        flex-direction: column;
        height: auto;
        padding: 8px 0;
    }
    
    .icp-info, .gongan-info {
        margin: 2px 0;
    }
    
    .icp-info:after {
        display: none;
    }
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
    100% {
        transform: translateY(0px);
    }
} 

/* 背景形状样式 */
.background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
    animation: floatShape 15s infinite ease-in-out;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: rgba(66, 133, 244, 0.4);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 250px;
    height: 250px;
    background: rgba(52, 168, 83, 0.4);
    bottom: 10%;
    right: 15%;
    animation-delay: -3s;
}

.shape3 {
    width: 200px;
    height: 200px;
    background: rgba(234, 67, 53, 0.3);
    top: 15%;
    right: 10%;
    animation-delay: -6s;
}

.shape4 {
    width: 350px;
    height: 350px;
    background: rgba(251, 188, 5, 0.3);
    bottom: 20%;
    left: 5%;
    animation-delay: -9s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(10px, -10px) scale(1.05);
    }
    50% {
        transform: translate(20px, 10px) scale(0.95);
    }
    75% {
        transform: translate(-10px, 15px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
} 

/* 卡片装饰边框 */
.card-decoration span {
    position: absolute;
    display: block;
}

.card-decoration span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    animation: animateCardBorder1 3s linear infinite;
    animation-delay: 0s;
}

@keyframes animateCardBorder1 {
    0% {
        left: -100%;
    }
    50%,100% {
        left: 100%;
    }
}

.card-decoration span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--secondary-color));
    animation: animateCardBorder2 3s linear infinite;
    animation-delay: 0.75s;
}

@keyframes animateCardBorder2 {
    0% {
        top: -100%;
    }
    50%,100% {
        top: 100%;
    }
}

.card-decoration span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, var(--accent-color));
    animation: animateCardBorder3 3s linear infinite;
    animation-delay: 1.5s;
}

@keyframes animateCardBorder3 {
    0% {
        right: -100%;
    }
    50%,100% {
        right: 100%;
    }
}

.card-decoration span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--third-color));
    animation: animateCardBorder4 3s linear infinite;
    animation-delay: 2.25s;
}

@keyframes animateCardBorder4 {
    0% {
        bottom: -100%;
    }
    50%,100% {
        bottom: 100%;
    }
} 