* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 1400px) {
    .container {
        max-width: 700px;
    }
}

.header {
    padding: 24px 0;
    background-color: #ffffff;
    color: #333333;
    border-bottom: 1px solid #e0e0e0;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #28a745;
}

.logo-domain {
    font-size: 18px;
    color: #666;
    margin-left: 10px;
    font-weight: 400;
}

.search-wrapper {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-form {
    display: flex;
    width: 100%;
    height: 44px;
    border: 1px solid #1a73e8;
    border-radius: 8px;
    overflow: hidden;
}

.search-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background-color: #f8f9fa;
    flex-shrink: 0;
    min-width: 40px;
}

.search-logo img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.search-input {
    flex: 1;
    padding: 0 12px;
    height: 100%;
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    display: flex;
    align-items: center;
}

.search-btn {
    padding: 0 20px;
    height: 100%;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.search-btn:hover {
    background-color: #1557b0;
}

.main {
    padding: 30px 0;
}

.main .container {
    margin-bottom: 30px;
}

.category {
    margin-bottom: 30px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a73e8;
}

.site-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-list a {
    padding: 10px 16px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.site-list a:hover {
    background-color: #e8f0fe;
    color: #1a73e8;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
}

.footer {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #1a73e8;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
}

.friend-links {
    padding: 25px 0;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #e0e0e0;
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.friend-links-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.friend-links-list a:hover {
    background-color: #e8f0fe;
    color: #1a73e8;
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .logo {
        font-size: 26px;
        letter-spacing: 2px;
    }
    
    .logo-domain {
        font-size: 15px;
    }
    
    .search-wrapper {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    
    .logo {
        font-size: 22px;
        letter-spacing: 1.5px;
        text-align: center;
    }
    
    .logo-domain {
        font-size: 13px;
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .search-form {
        height: 44px;
    }
    
    .search-logo {
        padding: 0 8px;
        min-width: 36px;
    }
    
    .search-logo img {
        width: 16px;
        height: 16px;
    }
    
    .search-input {
        font-size: 14px;
    }
    
    .search-btn {
        padding: 0 16px;
        font-size: 14px;
    }
    
    .site-list {
        gap: 10px;
    }
    
    .site-list a {
        padding: 9px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 12px 0;
    }
    
    .logo {
        font-size: 20px;
        letter-spacing: 1px;
    }
    
    .logo-domain {
        font-size: 12px;
    }
    
    .search-wrapper {
        gap: 10px;
    }
    
    .search-form {
        height: 44px;
    }
    
    .search-logo {
        padding: 0 6px;
        min-width: 32px;
    }
    
    .search-logo img {
        width: 14px;
        height: 14px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .search-btn {
        padding: 0 14px;
        font-size: 13px;
    }
    
    .site-list {
        gap: 8px;
    }
    
    .site-list a {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .footer-links a {
        margin: 0 10px;
        font-size: 13px;
    }
}