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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
            min-height: 100vh;
            color: #2d3748;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        header:not(.tool-header) {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 20px 0;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

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

        .logo {
            font-size: 24px;
            font-weight: 700;
            text-decoration: none;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 28px;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .breadcrumb {
            background: white;
            padding: 15px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .breadcrumb-list {
            display: flex;
            align-items: center;
            gap: 10px;
            list-style: none;
            list-style-type: none;
            margin: 0;
            padding: 0;
            font-size: 14px;
            color: #718096;
        }

        .breadcrumb-list li {
            display: flex;
            align-items: center;
            list-style: none;
            list-style-type: none;
        }

        .breadcrumb-list a {
            color: #667eea;
            text-decoration: none;
        }

        .breadcrumb-list li::after {
            content: '/';
            margin-left: 10px;
            color: #cbd5e0;
        }

        .breadcrumb-list li:last-child::after {
            display: none;
        }

        .main-content {
            padding: 40px 0;
        }

        .tool-section {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            margin-bottom: 40px;
            position: relative;
            z-index: 1;
        }

        .tool-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .tool-header h1 {
            font-size: 32px;
            color: #2d3748;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .tool-header h1 i {
            color: #667eea;
            margin-right: 10px;
        }

        .tool-header p {
            color: #718096;
            font-size: 16px;
        }

        .search-box {
            background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
            border-radius: 15px;
            padding: 35px;
            margin-bottom: 30px;
        }

        .search-form {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
        }

        .search-input-wrapper {
            position: relative;
            flex: 1;
            min-width: 200px;
            max-width: 400px;
        }

        .search-input-wrapper i {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #667eea;
            font-size: 20px;
        }

        .search-input {
            width: 100%;
            padding: 16px 20px 16px 55px;
            font-size: 18px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            background: white;
            transition: all 0.3s;
        }

        .search-input:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-btn {
            padding: 16px 40px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .search-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }

        .result-section {
            display: none;
            animation: fadeIn 0.5s ease;
        }

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

        .result-section.show {
            display: block;
        }

        .char-info {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 30px;
            flex-wrap: wrap;
        }

        .char-display {
            width: 100px;
            height: 100px;
            background: white;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 60px;
            font-weight: 700;
            color: #667eea;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .char-details {
            flex: 1;
            color: white;
        }

        .char-details h2 {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .char-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .char-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }

        .char-meta-item i {
            opacity: 0.8;
        }

        .words-section {
            margin-bottom: 30px;
        }

        .words-section h3 {
            font-size: 18px;
            color: #2d3748;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e2e8f0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .words-section h3 i {
            color: #667eea;
        }

        .words-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }

        .word-item {
            background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
            border-radius: 10px;
            padding: 15px;
            transition: all 0.3s;
        }

        .word-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
        }

        .word-title {
            font-size: 16px;
            font-weight: 600;
            color: #667eea;
            margin-bottom: 5px;
        }

        .word-desc {
            font-size: 14px;
            color: #718096;
            line-height: 1.5;
        }

        .recent-queries {
            background: white;
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            margin-bottom: 40px;
            position: relative;
            z-index: 1;
        }

        .recent-queries h3 {
            font-size: 18px;
            color: #2d3748;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .recent-queries h3 i {
            color: #667eea;
        }

        .recent-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .recent-item {
            padding: 8px 20px;
            background: linear-gradient(135deg, #f8fafc 0%, #f0f4ff 100%);
            border-radius: 20px;
            font-size: 16px;
            color: #4a5568;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .recent-item:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateY(-2px);
        }

        .hot-chars {
            background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
        }

        .hot-chars h3 {
            font-size: 18px;
            color: #c53030;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .hot-chars h3 i {
            color: #e53e3e;
        }

        .hot-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .hot-item {
            width: 45px;
            height: 45px;
            background: white;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #2d3748;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
        }

        .hot-item:hover {
            background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
            color: white;
            transform: scale(1.1);
        }

        .info-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            position: relative;
            z-index: 1;
        }

        .info-section h2 {
            font-size: 20px;
            color: #2d3748;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-section h2 i {
            color: #667eea;
        }

        .info-section p {
            color: #4a5568;
            margin-bottom: 15px;
            line-height: 1.8;
        }

        .info-section ul {
            margin-left: 20px;
            color: #4a5568;
        }

        .info-section li {
            margin-bottom: 10px;
            line-height: 1.8;
        }

        footer {
            background: #2d3748;
            color: #a0aec0;
            padding: 40px 0 20px;
            margin-top: 60px;
        }

        .footer-content {
            text-align: center;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #a0aec0;
            text-decoration: none;
        }

        .copyright {
            font-size: 14px;
            color: #718096;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }

            nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }

            .tool-section {
                padding: 25px 20px;
            }

            .tool-header h1 {
                font-size: 24px;
            }

            .search-form {
                flex-direction: column;
            }

            .search-input-wrapper {
                max-width: 100%;
            }

            .search-btn {
                width: 100%;
                justify-content: center;
            }

            .char-info {
                flex-direction: column;
                text-align: center;
            }

            .char-meta {
                justify-content: center;
            }

            .breadcrumb-list {
                font-size: 13px;
            }
        }
