/* Tool Page Common Styles */
.tool-page {
    padding-top: 0;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    color: #f5576c;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #ddd;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

.tool-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.tool-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.tool-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tool-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.tool-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 16px;
}

.meta-separator {
    opacity: 0.5;
}

.tool-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

/* Name Generator Specific Styles */
.name-gen-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 15px 60px rgba(0,0,0,0.12);
    overflow: hidden;
}

.name-gen-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 45px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.name-gen-header::before {
    content: '👤';
    position: absolute;
    font-size: 200px;
    opacity: 0.1;
    top: -40px;
    left: -30px;
}

.name-gen-header h2 {
    font-size: 38px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.name-gen-header p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

.name-gen-body {
    padding: 40px 30px;
}

/* API Notice */
.name-api-notice {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.name-api-notice h4 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.name-api-notice p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}

/* Tabs */
.name-gen-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 15px;
    flex-wrap: wrap;
}

.name-gen-tab {
    flex: 1;
    min-width: 100px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.name-gen-tab.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.name-gen-tab:hover:not(.active) {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
}

.name-gen-tab-content {
    display: none;
}

.name-gen-tab-content.active {
    display: block;
    animation: fadeIn 0.4s;
}

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

/* Input Section */
.name-gen-input-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.name-gen-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.name-gen-input-group {
    position: relative;
}

.name-gen-input-group label {
    display: block;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.name-gen-input-group select,
.name-gen-input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    background: white;
    transition: all 0.3s;
    cursor: pointer;
}

.name-gen-input-group input {
    cursor: text;
}

.name-gen-input-group select:focus,
.name-gen-input-group input:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.2);
}

.name-gen-input-group select:hover,
.name-gen-input-group input:hover {
    border-color: rgba(255,255,255,0.6);
}

.name-gen-btn {
    width: 100%;
    padding: 18px;
    background: white;
    color: #f5576c;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.name-gen-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.name-gen-btn:active {
    transform: translateY(-1px);
}

/* Search Section */
.name-search-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.name-search-input {
    width: 100%;
    padding: 18px 25px;
    border: 3px solid #e0e0e0;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
}

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

.search-hint {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Loading State */
.name-gen-loading {
    text-align: center;
    padding: 60px 20px;
}

.name-loader {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #f5576c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.name-gen-loading p {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

/* Results Section */
.name-gen-results {
    display: none;
}

.name-gen-results.show {
    display: block;
    animation: slideUp 0.5s;
}

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

.name-gen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.name-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #f5576c;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.name-card::before {
    content: '📋';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.name-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #667eea;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eaf6 100%);
}

.name-card:hover::before {
    opacity: 0.3;
}

.name-card-name {
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.name-card-origin {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.name-card-meaning {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.name-card-gender {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Info Box */
.name-info-box {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.name-info-box h4 {
    color: #e65100;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
}

.name-info-box ul {
    margin: 0;
    padding-left: 20px;
    color: #555;
}

.name-info-box li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.name-info-box li:last-child {
    margin-bottom: 0;
}

.name-info-box strong {
    color: #333;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 20px;
    background: white;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-article h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #333;
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #333;
}

.content-article p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

.content-article ul,
.content-article ol {
    margin-bottom: 25px;
    padding-left: 30px;
    color: #666;
}

.content-article li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.content-article strong {
    color: #333;
    font-weight: 700;
}

/* Related Tools */
.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.related-tools h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #f5576c;
}

.related-tool-card .tool-icon {
    font-size: 42px;
}

.related-tool-card .tool-name {
    font-weight: 700;
    color: #333;
}
/* Add at the end of name-generator.css */

/* Copy Notification Animations */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Summary Card */
.name-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    color: white;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.name-summary-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
}

.name-summary-card p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}
/* Responsive Design */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 32px;
    }
    
    .tool-subtitle {
        font-size: 16px;
    }
    
    .tool-icon-large {
        font-size: 52px;
    }
    
    .tool-meta {
        font-size: 14px;
    }

    .content-article h2 {
        font-size: 26px;
    }
    
    .content-article h3 {
        font-size: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }

    .name-gen-input-grid {
        grid-template-columns: 1fr;
    }
    
    .name-gen-grid {
        grid-template-columns: 1fr;
    }
    
    .name-gen-header h2 {
        font-size: 28px;
    }
    
    .name-gen-input-section {
        padding: 25px 20px;
    }
    
    .name-gen-body {
        padding: 30px 20px;
    }

    .name-gen-tabs {
        flex-direction: column;
    }

    .name-gen-tab {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .name-card {
        padding: 20px;
    }
    
    .name-card-name {
        font-size: 20px;
    }
    
    .name-gen-btn {
        font-size: 16px;
        padding: 16px;
    }
    
    .name-search-input {
        font-size: 16px;
        padding: 16px 20px;
    }
}