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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #3584e4;
    --primary-light: #4e9cf3;
    --primary-dark: #1d6fd0;
    --bg-dark: #0d1117;
    --bg-card: #161b22;
    --text-primary: #ffffff;
    --text-secondary: #c9d1d9;
    --border-color: rgba(48, 54, 61, 0.6);
    --glow-color: rgba(53, 132, 228, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-dark);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(53, 132, 228, 0.15) 0%, rgba(13, 17, 23, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Header styles */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(13, 17, 23, 0.8);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Navigation bar logo styles */
#header-logo-icon {
    height: 42px; /* Adjust icon size */
    filter: drop-shadow(0 0 8px rgba(53, 132, 228, 0.3));
}

#header-logo-text {
    height: 34px; /* Adjust text size */
    margin-left: 6px; /* Reduce spacing */
    filter: drop-shadow(0 0 8px rgba(53, 132, 228, 0.3));
    position: relative;
    top: 1px; /* Fine-tune position */
}

.site-nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    margin-right: 20px;
}

.site-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.site-nav a:hover {
    color: var(--text-primary);
}

.site-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
}

.header-btn {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(53, 132, 228, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(53, 132, 228, 0.35);
}

/* Main content styles */
.container {
    width: 90%;
    max-width: 900px;
    padding: 40px 0;
    position: relative;
    margin: 20px auto 60px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    border: 1px solid var(--border-color);
    width: 100%;
    margin-bottom: 40px;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px; 
    padding: 1px;
    background: linear-gradient(120deg, rgba(53, 132, 228, 0.3), rgba(53, 132, 228, 0), rgba(53, 132, 228, 0.3));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

.logo {
    text-align: center;
    margin-bottom: 36px;
}

.main-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    padding: 10px 0;
}

/* Central logo styles */
#logo-icon {
    height: 84px; /* Adjust icon size */
    filter: drop-shadow(0 0 12px rgba(53, 132, 228, 0.4));
}

#logo-text {
    height: 68px; /* Adjust text size */
    margin-left: 10px; /* Adjust spacing */
    filter: drop-shadow(0 0 12px rgba(53, 132, 228, 0.4));
    position: relative;
    top: 2px; /* Fine-tune position */
}

.content {
    text-align: center;
}

h1 {
    color: var(--text-primary);
    margin-bottom: 24px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, rgba(53, 132, 228, 0), var(--primary), rgba(53, 132, 228, 0));
    bottom: -8px;
    left: 20%;
    border-radius: 3px;
}

.new-address {
    background-color: rgba(53, 132, 228, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin: 32px auto;
    border: 1px solid rgba(53, 132, 228, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 移除左边的竖线
.new-address::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}
*/

/* 添加微妙的发光边框效果 */
.new-address::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px; 
    padding: 1.5px;
    background: linear-gradient(120deg, var(--primary), rgba(53, 132, 228, 0.3), var(--primary));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    pointer-events: none;
}

/* 修改h2样式 */
h2 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    text-align: center;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
}

a:hover {
    color: var(--primary-light);
}

.jump-btn {
    margin: 36px 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 16px rgba(53, 132, 228, 0.3);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(53, 132, 228, 0.4);
}

.btn:hover::before {
    left: 100%;
}

.btn.clicked {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(53, 132, 228, 0.2);
}

.notice {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 24px;
    margin-top: 24px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.notice p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice b {
    color: var(--primary-light);
    font-weight: 600;
}

/* 示例图片展示区域 */
.sample-images {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sample-images::-webkit-scrollbar {
    display: none;
}

.sample-image {
    flex: 0 0 auto;
    width: 140px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.sample-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px; 
    padding: 1px;
    background: linear-gradient(120deg, rgba(53, 132, 228, 0.3), rgba(53, 132, 228, 0), rgba(53, 132, 228, 0.3));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sample-image:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 0 15px var(--glow-color);
}

.sample-image:hover::before {
    opacity: 1;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #11151d, #1d2535);
    position: relative;
    overflow: hidden;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(53, 132, 228, 0.1), transparent 30%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

/* Link click ripple effect */
.link-ripple {
    position: absolute;
    background: rgba(53, 132, 228, 0.3);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Redirect message styles */
.redirect-message {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(23, 27, 35, 0.9);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    animation: fadeIn 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 8px var(--glow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.redirect-message::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 1.5s infinite;
}

.redirect-message span {
    margin-left: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(53, 132, 228, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(53, 132, 228, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(53, 132, 228, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 92%;
        padding: 20px 0;
        margin: 10px auto 40px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .header-content {
        flex-wrap: wrap;
        padding: 0 16px;
    }
    
    .site-nav {
        order: 3;
        width: 100%;
        margin-top: 16px;
        justify-content: space-between;
        gap: 10px;
    }
    
    .site-nav a {
        font-size: 14px;
    }
    
    .sample-images {
        gap: 12px;
    }
    
    .sample-image {
        width: 110px;
        height: 110px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .notice {
        padding: 20px;
    }
    
    .notice p {
        font-size: 14px;
    }
} 