/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff;
    --background-color: #f0f2f5;
    --card-background: #ffffff;
    --text-color: #333;
    --subtle-text-color: #6c757d;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.logo {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 1rem;
    color: var(--subtle-text-color);
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px var(--shadow-color);
    border: 1px solid var(--border-color);
    text-align: left;
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.domain-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.domain-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.domain-name {
    font-weight: 500;
    word-break: break-all;
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

.copy-btn, .visit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--subtle-text-color);
    transition: color 0.2s ease;
    position: relative;
}

.copy-btn:hover, .visit-btn:hover {
    color: var(--primary-color);
}

.copy-btn .tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.copy-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.copy-btn.copied .tooltip {
    background-color: #28a745;
}

.visit-btn {
    text-decoration: none;
}

.contact-info p {
    margin-bottom: 10px;
}

.email-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
}

footer {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--subtle-text-color);
}

footer p {
    margin-bottom: 5px;
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 20px;
    }

    .domain-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .actions {
        margin-left: 0;
        align-self: flex-end;
    }
} 