.tools-generator {
    --primary: #0077BE;
    --primary-dark: #005a8b;
    --primary-light: #00CED1;
    --gradient-main: linear-gradient(135deg, #0077BE 0%, #00CED1 100%);
    --accent: linear-gradient(135deg, #0077BE 0%, #00CED1 100%);
    --accent-special: linear-gradient(135deg, #0077BE 0%, #00CED1 100%);
    --accent-hover: #005a8b;
    --primary-bg-1: rgba(0, 119, 190, 0.03);
    --primary-bg-2: rgba(0, 206, 209, 0.03);
    --hero-filter: drop-shadow(0 4px 20px rgba(0, 206, 209, 0.3));
    --focus-shadow: 0 25px 50px rgba(0, 206, 209, 0.2), inset 0 0 0 2px rgba(0, 119, 190, 0.1);
}

.hero-section.hidden {
    display: none;
}

.generator-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.generator-input {
    width: 100%;
    min-height: 120px;
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.6;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.generator-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--focus-shadow);
}

.generator-input::placeholder {
    color: #999;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.country-select {
    flex: 1;
    padding: 14px 20px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary);
}

#generateBtn {
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    color: #666;
    font-size: 16px;
}

.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-title {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.results-meta {
    color: #666;
    font-size: 14px;
}

.market-analysis {
    background: linear-gradient(135deg, var(--primary-bg-1) 0%, var(--primary-bg-2) 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.market-analysis h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.market-analysis p {
    color: #444;
    line-height: 1.7;
    white-space: pre-line;
}

.domain-suggestions h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.suggestion-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.suggestion-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.15);
}

.suggestion-info {
    width: 100%;
}

.suggestion-domain {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.suggestion-reason {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.suggestion-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tld-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tld-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

.tld-tag .tld-name {
    font-weight: 600;
}

.tld-tag .tld-action {
    font-size: 11px;
    opacity: 0.9;
}

.tld-tag.register {
    background: var(--global-btn-register);
}

.tld-tag.offer {
    background: var(--global-btn-offer);
}

.tld-tag.price {
    background: var(--global-btn-price);
}

.tld-tag.expired {
    background: var(--global-btn-expired);
}

.validation-error {
    color: #dc2626;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
}

.suggestion-explore {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    align-items: center;
}

.explore-label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-right: 4px;
}

.explore-form {
    display: inline;
}

.explore-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    background: #f3f4f6;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.explore-btn:hover {
    background: var(--primary-bg-1);
    color: var(--primary-dark);
    border-color: var(--primary);
}

@media screen and (max-width: 768px) {
    .generator-input {
        min-height: 100px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .country-select,
    #generateBtn {
        width: 100%;
    }
    
    .suggestion-tlds {
        gap: 6px;
    }
    
    .tld-tag {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .suggestion-explore {
        gap: 6px;
    }
    
    .explore-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}