/* Main Grid */
        .main-grid {
            margin: 0 -20px 30px;
        }

        /* Control Panel */
        .control-panel {
            background: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: sticky;
            top: 20px;
        }

        .input-group {
            margin-bottom: 15px;
        }

        .input-group:last-of-type {
            margin-bottom: 20px;
        }

        .input-group label {
            display: block;
            font-weight: 500;
            color: #333;
            margin-bottom: 6px;
            font-size: 14px;
        }

        .input-group input,
        .input-group select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: #fafafa;
            font-size: 14px;
            transition: all 0.2s;
        }

        .input-group input:focus,
        .input-group select:focus {
            outline: none;
            border-color: #4285f4;
            background: #fff;
        }

        /* Generate Button */
        .generate-btn {
            width: 100%;
            padding: 12px 20px;
            background: #4285f4;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .generate-btn:hover:not(:disabled) {
            background: #3367d6;
        }

        .generate-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        /* Loading State */
        .loading-state {
            display: none;
            text-align: center;
            padding: 15px;
            color: #666;
            margin-top: 15px;
        }

        .control-panel.loading .loading-state {
            display: block;
        }

        .control-panel.loading .generate-btn {
            opacity: 0.6;
        }

        .spinner {
            width: 24px;
            height: 24px;
            border: 2px solid #f3f3f3;
            border-top: 2px solid #4285f4;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 10px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Error Message */
        .error-message {
            background: #fee;
            border: 1px solid #fcc;
            color: #c00;
            padding: 10px;
            border-radius: 6px;
            display: none;
            font-size: 13px;
            margin-top: 10px;
        }

        /* Results Section */
        .results-section {
            display: none;
        }

        .results-section.visible {
            display: block;
        }

        .results-content {
            background: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin: 0 -20px 30px;
        }

        .nickname-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 12px;
        }

        .nickname-item {
            background: #fafafa;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
        }

        .nickname-item:hover {
            border-color: #4285f4;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .nickname-text {
            color: #333;
            margin-bottom: 6px;
            word-break: break-all;
            line-height: 1.4;
            font-size: 15px;
        }

        .nickname-label {
            font-size: 11px;
            color: #999;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .copy-indicator {
            position: absolute;
            bottom: 8px;
            right: 8px;
            font-size: 14px;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .nickname-item:hover .copy-indicator {
            opacity: 1;
        }

        /* Suggestions Section */
        .suggestions-section {
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid #e0e0e0;
            text-align: center;
            display: none;
        }

        .suggestions-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: #34a853;
            color: white;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
        }

        .suggestions-btn:hover {
            background: #2d8e47;
        }

        /* Toast */
        .toast {
            position: fixed;
            top: 20px;
            right: 20px;
            background: #34a853;
            color: white;
            padding: 12px 16px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            transform: translateX(400px);
            transition: all 0.3s;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .toast.show {
            transform: translateX(0);
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .main-grid {
                grid-template-columns: 1fr;
            }
            
            .control-panel {
                position: static;
            }
        }

        @media (max-width: 768px) {
            

            .nickname-grid {
                grid-template-columns: 1fr;
            }
        }