* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f5f7fa;
    color: #20252b;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    background: #1f2937;
    color: white;
    padding: 34px 0;
}

.header h1 {
    margin: 0 0 8px;
    font-size: 30px;
}

.header p {
    margin: 0;
    opacity: .8;
}

.search-box {
    margin: 28px 0 18px;
    background: white;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,.06);
}

.search-row {
    display: flex;
    gap: 10px;
}

.search-row input {
    flex: 1;
    min-width: 0;
    padding: 15px 16px;
    font-size: 17px;
    border: 1px solid #ccd3dc;
    border-radius: 8px;
    outline: none;
}

.search-row input:focus {
    border-color: #667eea;
}

.search-row button {
    border: 0;
    padding: 0 26px;
    border-radius: 8px;
    background: #374151;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.search-row button:hover {
    background: #111827;
}

.hint {
    display: block;
    margin-top: 12px;
    color: #68717d;
    font-size: 14px;
}

.status {
    padding: 13px 16px;
    background: #e8eef7;
    border-radius: 8px;
    margin-bottom: 16px;
}

.status.error {
    background: #fde8e8;
    color: #9b1c1c;
}

.hidden {
    display: none;
}

.result-card {
    display: flex;
    gap: 16px;
    background: white;
    margin-bottom: 14px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.result-number {
    min-width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef1f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-content h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.result-content h2 a {
    color: inherit;
}

.domain {
    color: #667085;
    font-size: 13px;
    margin-bottom: 10px;
}

.result-content p {
    line-height: 1.5;
    margin: 8px 0;
}

.preview {
    margin-top: 10px;
    padding: 12px;
    background: #f7f8fa;
    border-radius: 7px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
}

.result-footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.score {
    font-size: 13px;
    color: #667085;
}

.empty {
    background: white;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
}

.footer {
    margin-top: 50px;
    padding: 25px 0;
    color: #7a8490;
    font-size: 13px;
}

@media (max-width: 650px) {
    .search-row {
        flex-direction: column;
    }

    .search-row button {
        height: 48px;
    }

    .result-card {
        padding: 15px;
    }

    .result-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
