:root {
            --primary: #fe2c55;
            --primary-hover: #ea284e;
            --primary-light: #fff0f3;
            --secondary: #25f4ee;
            --accent: #ff0050;
            --success: #00f2ea;
            --error: #ff4757;
            --warning: #ffa502;
            --bg-main: #ffffff;
            --bg-dark: #161823;
            --bg-gray: #f8f8f8;
            --bg-card: #ffffff;
            --text-primary: #161823;
            --text-secondary: rgba(22, 24, 35, 0.75);
            --text-muted: rgba(22, 24, 35, 0.5);
            --border: rgba(22, 24, 35, 0.12);
            --border-light: rgba(22, 24, 35, 0.08);
            --shadow-sm: 0 1px 1px rgba(0,0,0,0.06);
            --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-lg: 0 4px 14px rgba(0,0,0,0.08);
            --radius: 8px;
        }

        /* Main Content */
        .main-content {
            background: var(--bg-card);
            border-radius: var(--radius);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            border: 1px solid var(--border-light);
        }

        /* Generator Section */
        .generator-section {
            padding: 40px;
            position: relative;
            background: var(--bg-card);
        }

        .generator-title {
            text-align: center;
            margin-bottom: 40px;
        }

        .generator-title h1 {
            font-size: 32px;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .generator-title h1::before,
        .generator-title h1::after {
            content: '✨';
            font-size: 24px;
            animation: sparkle 2s ease-in-out infinite;
        }

        @keyframes sparkle {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.8); }
        }

        .generator-title p {
            color: var(--text-secondary);
            font-size: 16px;
        }

        /* Input Section */
        .input-section {
            max-width: 600px;
            margin: 0 auto;
        }

        .main-input-group {
            margin-bottom: 30px;
        }

        .input-label {
            display: block;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 10px;
            font-size: 14px;
        }

        .input-container {
            position: relative;
            display: flex;
            gap: 12px;
        }

        .main-input {
            flex: 1;
            padding: 14px 20px;
            font-size: 16px;
            border: 2px solid var(--border);
            border-radius: var(--radius);
            transition: all 0.2s ease;
            background: var(--bg-gray);
        }

        .main-input:focus {
            outline: none;
            border-color: var(--text-primary);
            background: var(--bg-card);
            box-shadow: 0 0 0 3px rgba(22, 24, 35, 0.06);
        }

        .generate-button {
            padding: 14px 32px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: var(--radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }

        .generate-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .generate-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .generate-button:hover:not(:disabled) {
            background: var(--primary-hover);
            transform: scale(1.02);
        }

        .generate-button:active {
            transform: scale(0.98);
        }

        .generate-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Options Row */
        .options-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .option-group {
            display: flex;
            flex-direction: column;
        }

        .option-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .option-select {
            padding: 10px 14px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: var(--bg-gray);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            appearance: none;
            background-image: url("data:image/svg+xml,%3csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1 1L5 5L9 1' stroke='%23161823' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 14px center;
            padding-right: 36px;
        }

        .option-select:focus {
            outline: none;
            border-color: var(--text-primary);
            background-color: var(--bg-card);
        }

        /* Loading State */
        .loading-overlay {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.95);
            z-index: 10;
            align-items: center;
            justify-content: center;
            border-radius: var(--radius);
        }

        .loading-overlay.active {
            display: flex;
        }

        .loading-content {
            text-align: center;
        }

        .loader {
            width: 48px;
            height: 48px;
            position: relative;
            margin: 0 auto 16px;
        }

        .loader::before,
        .loader::after {
            content: '';
            position: absolute;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 3px solid transparent;
            border-top-color: var(--primary);
            animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
        }

        .loader::after {
            border-top-color: var(--secondary);
            animation-delay: 0.5s;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            color: var(--text-secondary);
            font-size: 14px;
        }

        /* Results Section */
        .results-section {
            padding: 40px;
            display: none;
            background: var(--bg-gray);
            border-top: 1px solid var(--border-light);
        }

        .results-section.visible {
            display: block;
            animation: fadeInUp 0.4s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .results-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 30px;
        }

        .results-title {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .results-count {
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        /* Nickname Grid */
        .nickname-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 16px;
        }

        .nickname-card {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .nickname-card::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
            border-radius: var(--radius);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

        .nickname-card:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .nickname-card:hover::before {
            opacity: 1;
        }

        .nickname-card:hover {
            border-color: transparent;
        }

        .nickname-text {
            font-size: 16px;
            font-weight: 500;
            color: var(--text-primary);
            margin-bottom: 8px;
            word-break: break-all;
            line-height: 1.4;
            position: relative;
            background: var(--bg-card);
            z-index: 1;
        }

        .nickname-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            background: var(--bg-card);
            z-index: 1;
        }

        .nickname-type {
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .copy-icon {
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            transition: all 0.2s ease;
        }

        .nickname-card:hover .copy-icon {
            color: var(--primary);
            transform: scale(1.2);
        }

        /* Suggestions Banner */
        .suggestions-banner {
            margin-top: 30px;
            padding: 20px;
            background: linear-gradient(135deg, var(--primary-light), rgba(37, 244, 238, 0.05));
            border-radius: var(--radius);
            text-align: center;
            border: 1px solid rgba(254, 44, 85, 0.1);
        }

        .suggestions-text {
            color: var(--text-primary);
            margin-bottom: 16px;
            font-size: 16px;
        }

        .suggestions-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: var(--text-primary);
            color: white;
            text-decoration: none;
            border-radius: var(--radius);
            font-weight: 600;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .suggestions-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shimmer 2s infinite;
        }

        @keyframes shimmer {
            to {
                left: 100%;
            }
        }

        .suggestions-link:hover {
            /*transform: scale(1.02);
            box-shadow: var(--shadow-lg);*/
        }

        /* Error Message */
        .error-message {
            display: none;
            padding: 12px 16px;
            background: #fff5f5;
            border: 1px solid #feb2b2;
            border-radius: var(--radius);
            color: var(--error);
            font-size: 14px;
            margin-top: 16px;
        }

        /* Toast */
        .toast {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: var(--text-primary);
            color: white;
            padding: 14px 20px;
            border-radius: var(--radius);
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            box-shadow: var(--shadow-lg);
        }

        .toast.show {
            transform: translateY(0);
            opacity: 1;
            animation: bounce 0.5s ease;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }

        .toast-icon {
            width: 20px;
            height: 20px;
            background: var(--success);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 20px 16px;
            }

            .generator-section {
                padding: 24px 20px;
            }

            .generator-title h1 {
                font-size: 24px;
            }

            .generator-title p {
                font-size: 14px;
            }

            .input-container {
                flex-direction: column;
            }

            .generate-button {
                width: 100%;
                justify-content: center;
            }

            .options-row {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .results-section {
                padding: 15px 10px;
            }

            .results-header {
                flex-direction: column;
                gap: 16px;
                align-items: flex-start;
            }

            .nickname-grid {
                grid-template-columns: 1fr;
            }

            .toast {
                right: 16px;
                left: 16px;
                bottom: 20px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 16px 12px;
            }

            .generator-section {
                padding: 20px 16px;
            }

            .generator-title h1 {
                font-size: 20px;
            }

            .main-input {
                font-size: 14px;
                padding: 12px 16px;
            }

            .generate-button {
                font-size: 14px;
                padding: 12px 24px;
            }
        }
/* TikTok Style 3: Glitch Effect - Light Background Version */
.tiktok-glitch {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}
.tiktok-glitch .list-group-item {
    margin-bottom: 20px;
    border: none;
    position: relative;
}
.tiktok-glitch .list-group-item a {
    display: block;
    padding: 20px;
    text-align: center;
    color: #000000;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #ffffff;
    border: 3px solid #ff0050;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
/* Glitch effect on hover */
.tiktok-glitch .list-group-item:hover a {
    animation: glitch 0.3s infinite;
    text-shadow: 
        2px 2px 0 #00f2ea,
        -2px -2px 0 #ff0050;
    background: #f8f8f8;
    box-shadow: 0 4px 12px rgba(255, 0, 80, 0.2);
}
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    25% {
        transform: translate(-2px, 2px);
    }
    50% {
        transform: translate(2px, -2px);
    }
    75% {
        transform: translate(-2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}