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

        body {
            font-family: 'Segoe UI', Roboto, sans-serif;
            background: #f8f9fa;
            padding: 12px;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
        }

        .logo {
            font-size: 24px;
            font-weight: 700;
            color: #e91e63;
            text-decoration: none;
        }

        .main-container {
            max-width: 100%;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 4fr 1fr;
            gap: 20px;
            flex: 1;
        }

        .symbols-section {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .seo-content {
            margin-top: 20px;
            line-height: 1.6;
            color: #333;
        }

        .seo-content h1 {
            font-size: 28px;
            margin-bottom: 15px;
            color: #e91e63;
        }

        .seo-content p {
            font-size: 16px;
            margin-bottom: 10px;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .section-title {
            font-size: 20px;
            font-weight: 600;
        }

        .character-list__list {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 12px;
            list-style: none;
            padding: 0;
        }

        .character-list-item {
            background: white;
            border-radius: 12px;
            text-align: center;
            transition: transform 0.2s;
            border: 1px solid #eee;
        }

        .symbol-link {
            display: block;
            padding: 15px;
            text-decoration: none;
            color: inherit;
        }

        .character-list-item__char {
            font-size: 2.5rem;
            cursor: pointer;
        }

        .tippy-box[data-theme~='custom'] {
            background: white;
            color: #333;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
            border: 1px solid #eee;
            width: 280px; /* Fixed width for all popups */
            min-height: 300px; /* Fixed minimum height for consistency */
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0.95);
            transition: transform 0.2s ease-out;
        }

        .tippy-box[data-theme~='custom'][data-state='visible'] {
            transform: scale(1);
        }

        .tippy-content .popup-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            width: 100%;
        }

        .popup-symbol {
            font-size: 6rem;
            margin-bottom: 10px;
        }

        .symbol-info {
            text-align: center;
            width: 100%;
        }

        .symbol-unicode {
            font-family: monospace;
            color: #666;
            font-size: 0.9em;
            margin-bottom: 10px;
            background: #f8f9fa;
            padding: 5px;
            border-radius: 4px;
        }

        .symbol-name {
            font-weight: 600;
            margin-bottom: 8px;
            display: block;
            text-decoration: none;
            color: #333;
            transition: color 0.2s;
            white-space: normal; /* Allow text wrapping */
            word-wrap: break-word; /* Ensure long words wrap */
            max-width: 240px; /* Limit width to fit within popup */
        }

        .symbol-name:hover {
            color: #e91e63;
        }

        .copy-btn {
            background: #e91e63;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            width: 100%;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .copy-btn:hover {
            background: #c2185b;
        }

        .close-btn {
            background: #f0f0f0;
            color: #333;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s;
            width: 100%;
            font-weight: 500;
            display: none;
        }

        .close-btn:hover {
            background: #e0e0e0;
        }

        .right-sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
            position: relative;
        }

        .categories-section, .clipboard-section {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .category-box {
            background: white;
            border-radius: 12px;
            border: 1px solid #eee;
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .category-box:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .category-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px;
            text-decoration: none;
            color: #333;
            text-align: center;
        }

        .category-icon {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .category-name {
            font-weight: 600;
            font-size: 14px;
        }

        .clipboard-container {
            border: 1px dashed #ddd;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            min-height: 60px;
            font-size: 20px;
            line-height: 1.5;
            word-wrap: break-word;
        }

        .clipboard-actions {
            display: flex;
            justify-content: space-between;
            gap: 10px;
        }

        .clear-btn, .copy-all-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.2s;
        }

        .clear-btn {
            background: #f0f0f0;
            color: #333;
        }

        .clear-btn:hover {
            background: #e0e0e0;
        }

        .copy-all-btn {
            background: #e91e63;
            color: white;
        }

        .copy-all-btn:hover {
            background: #c2185b;
        }

        .toast-message {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0,0,0,0.9);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            font-size: 14px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            max-width: 80%;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .toast-symbol {
            font-size: 24px;
            animation: zoomEffect 0.5s ease-out;
        }

        @keyframes zoomEffect {
            0% { transform: scale(0); }
            50% { transform: scale(1.4); }
            100% { transform: scale(1); }
        }

        .toast-message.active {
            opacity: 1;
            visibility: visible;
        }

        .goto-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #e91e63;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 100;
        }

        .goto-top.active {
            opacity: 1;
            visibility: visible;
        }

        .goto-top:hover {
            background: #c2185b;
            transform: translateY(-3px);
        }

        footer {
            margin-top: 50px;
            background: #1a1a1a;
            color: #fff;
            padding: 40px 0;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
        }

        .footer-column {
            margin-bottom: 20px;
        }

        .footer-column h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #e91e63;
        }

        .footer-links {
            list-style: none;
            padding: 0;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: #e91e63;
        }

        .social-share {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-share a {
            color: #fff;
            font-size: 20px;
            transition: transform 0.2s, color 0.2s;
        }

        .social-share a:hover {
            color: #e91e63;
            transform: scale(1.2);
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            color: #999;
            font-size: 14px;
            border-top: 1px solid #333;
            margin-top: 20px;
        }

        .language-selector {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }

        .language-btn {
            background: #e91e63;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            transition: background 0.2s;
        }

        .language-btn:hover {
            background: #c2185b;
        }

        .language-menu {
            display: none;
            position: absolute;
            bottom: 60px;
            right: 0;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            padding: 10px 0;
            min-width: 150px;
        }

        .language-menu.active {
            display: block;
        }

        .language-menu a {
            display: block;
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            font-size: 14px;
            transition: background 0.2s;
        }

        .language-menu a:hover {
            background: #f8f9fa;
            color: #e91e63;
        }

        @media (max-width: 768px) {
            .main-container {
                grid-template-columns: 1fr;
            }

            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .character-list__list {
                grid-template-columns: repeat(6, 1fr);
                gap: 10px;
            }

            .character-list-item__char {
                font-size: 1.8rem;
            }

            .close-btn {
                display: block;
            }

            .tippy-box[data-theme~='custom'] {
                width: auto; /* Revert to auto width for mobile */
                min-height: auto; /* Revert to auto height for mobile */
            }

            .symbol-name {
                max-width: 200px; /* Adjust for mobile */
            }
        }

        @media (max-width: 480px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .character-list__list {
                grid-template-columns: repeat(6, 1fr);
                gap: 8px;
            }

            .character-list-item__char {
                font-size: 1.6rem;
            }

            .symbol-link {
                padding: 8px;
            }

            .goto-top, .language-btn {
                right: 15px;
                bottom: 15px;
                width: 40px;
                height: 40px;
            }
        }