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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 弹幕容器 */
.danmaku-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

/* 弹幕项 */
.danmaku-item {
    position: absolute;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 
        0 0 4px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3);
    animation: danmaku-move linear;
    will-change: transform;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.3s;
}

.danmaku-item:hover {
    opacity: 0.3;
}

/* 弹幕移动动画 */
@keyframes danmaku-move {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

/* 移动端弹幕优化 */
@media (max-width: 768px) {
    .danmaku-item {
        font-size: 14px;
    }
}

/* 微信提示弹窗样式 */
.wechat-tip {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.wechat-tip.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tip-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    max-width: 90%;
    width: 400px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.tip-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.tip-content h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.tip-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: left;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-text {
    color: #333;
    font-size: 15px;
}

.tip-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-weight: 500;
}

.tip-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.tip-close:active {
    transform: translateY(0);
}

/* 主容器样式 - 移动端优先 */
.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0;
    padding: 20px 15px;
    max-width: 100%;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    animation: fadeInUp 0.6s ease;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.header {
    text-align: center;
    margin-bottom: 15px;
    padding-top: 5px;
    flex-shrink: 0;
}

.avatar-container {
    margin-bottom: 10px;
    position: relative;
}

.avatar-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    display: block;
    animation: rotate 15s linear infinite;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.avatar:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.logo {
    font-size: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1px;
}

/* 地址发布区域 */
.address-section {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.address-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.address-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.address-content {
    width: 100%;
}

.address-title {
    color: #333;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.address-desc {
    color: #555;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

.address-tip {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}


/* 网站导航列表样式 - 单列布局，手机电脑一致 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    width: 100%;
    flex: 1;
    overflow-y: auto;
}

.main-content .website-card {
    width: 100%;
    display: block;
}

.website-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 16px 20px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

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

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

.website-card:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
    transform: translateY(-4px);
    border-color: rgba(102, 126, 234, 0.3);
}

.website-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.website-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.website-info {
    flex: 1;
    min-width: 0;
}

.website-info h3 {
    color: #333;
    font-size: 17px;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.website-action {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.website-card:hover .website-action {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.visit-text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.website-arrow {
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: inline-block;
    font-weight: bold;
}

.website-card:hover .website-arrow {
    transform: translateX(5px);
}

.footer {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    flex-shrink: 0;
}

.footer p {
    color: #999;
    font-size: 12px;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer .address-tip {
    color: #667eea;
    font-weight: 600;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 桌面端适配 - 保持单列布局 */
@media (min-width: 768px) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .container {
        border-radius: 24px;
        padding: 30px;
        max-width: 600px;
        height: 90vh;
        max-height: 800px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .header {
        margin-bottom: 15px;
    }

    .logo {
        font-size: 26px;
    }

    .avatar {
        width: 80px;
        height: 80px;
    }

    .avatar-container::before {
        width: 90px;
        height: 90px;
    }

    .address-box {
        padding: 18px 20px;
    }

    .address-title {
        font-size: 16px;
    }

    .address-desc {
        font-size: 13px;
    }

    .website-card {
        padding: 18px 24px;
    }

    .website-card:hover {
        transform: translateY(-4px);
    }
}

/* 大屏设备 - 仍然保持单列 */
@media (min-width: 1024px) {
    .container {
        max-width: 700px;
        padding: 35px;
    }
}

