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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 24px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.tab:hover, .tab.active {
    background: rgba(255,255,255,0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.symbols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.symbol-item {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.symbol-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255,255,255,1);
}

.symbol-char {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.2s ease;
    font-family: "Apple SD Gothic Neo", "儷黒 Pro", "Microsoft JhengHei", "SimSun", "Arial Unicode MS", sans-serif;
}

.symbol-item:hover .symbol-char {
    color: #667eea;
}

.symbol-name {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.copied-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.copied-indicator.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.info-section {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.info-section p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
}

.info-section ul {
    margin-bottom: 18px;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255,255,255,0.8);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
}

.footer p {
    font-size: 0.9em;
    margin-bottom: 8px;
}

.footer p:last-of-type {
     margin-bottom: 0;
}

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

.footer a:hover {
    color: #eee;
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .symbols-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }
    
    .symbol-item {
        padding: 15px;
    }
    
    .symbol-char {
        font-size: 2rem;
    }
    
    .info-section {
        padding: 20px;
    }

    .footer p {
        font-size: 0.85em;
    }
}